
/* General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0b1120;
    color: #f1f5f9;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 12px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin: 12px 3%;
    padding: 14px 24px;
    border: 1px solid #253047;
    border-radius: 16px;
    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(12px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo {
    width: 42px;
    height: 42px;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand h2 {
    margin: 0;
    font-size: 18px;
    color: #f1f5f9;
}

.brand p {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
}

.nav-links a {
    padding: 9px 10px;
    border-radius: 7px;
    color: #94a3b8;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}


.nav-links a:hover,
.nav-links a.active {
    color: #a5b4fc;
}


.nav-links .nav-login {
    color: #94a3b8;
    background: transparent;
    border: none;
    padding: 9px 10px;
}

.nav-links .nav-login:hover {
    color: #a5b4fc;
}

.nav-links .nav-signup {
    padding: 10px 15px;
    border: 1px solid #6366f1;
    border-radius: 8px;
    background: #4f46e5;
    color: #ffffff;
}

.nav-links .nav-signup:hover,
.nav-links .nav-signup.active {
    background: #6366f1;
    color: #ffffff;
}


/* .nav-links .nav-signup:hover,
.nav-links .nav-signup.active {
    background: #6366f1;
    color: #ffffff;
} */

/* Sign Up Section */
.signup-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.signup-card {
    width: 100%;
    max-width: 500px;
    padding: 36px;
    border: 1px solid #253047;
    border-radius: 16px;
    background: #111827;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

/* Form Header */
.signup-header {
    margin-bottom: 28px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #818cf8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.signup-header h1 {
    margin-bottom: 10px;
    color: #f8fafc;
    font-size: 28px;
}

.signup-header p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

/* Form Fields */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #334155;
    border-radius: 8px;
    outline: none;
    background: #0b1120;
    color: #f1f5f9;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
    color: #64748b;
}

.form-group select:invalid {
    color: #64748b;
}

.form-group select option {
    background: #111827;
    color: #f1f5f9;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.6;
}

/* Sign Up Button */
.signup-button {
    width: 100%;
    margin-top: 4px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #4f46e5;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.signup-button:hover {
    background: #6366f1;
}

.signup-button:active {
    transform: scale(0.99);
}

/* Form Validation Message */
.form-message {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.6;
}

.form-message.success {
    color: #86efac;
}

/* Login Prompt */
.login-prompt {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #253047;
    color: #94a3b8;
    font-size: 13px;
    text-align: center;
}

.login-prompt a {
    margin-left: 4px;
    color: #a5b4fc;
    font-weight: 600;
}

.login-prompt a:hover {
    color: #c7d2fe;
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 22px 5%;
    border-top: 1px solid #253047;
    background: #111827;
    color: #64748b;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1050px) {
    .navbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        gap: 16px 20px;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 16px 5%;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .signup-section {
        padding: 30px 16px;
    }

    .signup-card {
        padding: 26px 20px;
    }

    .signup-header h1 {
        font-size: 24px;
    }
}
