/* Global layout */
html, body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f2f3f7;
    color: #333;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a1a1d, #2d2d34);
    color: #fff;
    padding: 15px 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header a {
    color: #e6e6e6;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
}

header a:hover {
    color: #4aa3ff;
}

/* Main container */
main {
    flex: 1 0 auto;
    padding: 30px 40px;
}

/* Optional content box (only used where needed) */
.content-box {
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

/* Errors */
.error {
    color: #cc0000;
    font-weight: bold;
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

table th {
    background: #f0f2f5;
    font-weight: 600;
}

table, th, td {
    border: 1px solid #dcdcdc;
    padding: 10px;
}

/* Footer */
footer {
    background: #222;
    color: #bbb;
    padding: 15px 20px;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.15);
}

footer a {
    color: #4aa3ff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}



/* Logo */
.logo-container {
    text-align: center;
    padding: 10px 0 15px 0;
}

.site-logo {
    height: auto; 
    width: 100%;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.5));
    display: block;
}

/* Navigation button bar */
nav.nav-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 10px 0 20px 0;
}

/* Button style */
.nav-btn {
    background: #444;
    padding: 10px 16px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
}

.nav-btn:hover {
    background: #4aa3ff;
    color: #fff;
}

/* Highlight logout in red */
.nav-btn.logout {
    background: #aa2b2b;
}

.nav-btn.logout:hover {
    background: #d94343;
}

/* Welcome text style */
.welcome {
    color: #ccc;
    padding-right: 8px;
    font-size: 14px;
}




/* LICENSE PAGE */

/* Card layout */
.license-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background: #1f1f1f;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 10px;
    color: #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.card h3 {
    margin-top: 0;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
    color: #fff;
}

.license-key {
    background: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
}

/* Badges */
.badge {
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

.badge-green {
    background: #27ae60;
    color: #fff;
}

.badge-red {
    background: #c0392b;
    color: #fff;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 8px 14px;
    background: #3498db;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.button:hover {
    background: #2980b9;
}

/* Empty state card */
.empty-card {
    text-align: center;
}



/* LOGIN AND REGISTER */

/* Form Card */
.form-card {
    max-width: 400px;
    margin: 0 auto;
}

/* Form layout */
.form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form label {
    font-size: 14px;
    color: #ccc;
}

.form input {
    background: #2c2c2c;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.form input:focus {
    border-color: #3498db;
    outline: none;
}

/* Captcha style */
.captcha {
    padding: 6px 10px;
    background: #333;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: -6px;
}

