/* ============================================
   REGISTER — J.B Tech Solutions — Thème Sombre
   ============================================ */

body {
    color: #F1F5F9;
    min-height: 100vh;
    /* Background handled by style.css body.register */
}

/* ===============================
   AUTH CONTAINER
================================ */
.auth-container {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 60px);
}

/* ===============================
   REGISTER CARD
================================ */
.register-card {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    padding: 40px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    width: 100%;
    max-width: 540px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 8px;
}

.auth-header p {
    color: #94A3B8;
    font-size: 15px;
}

/* ===============================
   FORM
================================ */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #CBD5E1;
    font-weight: 500;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    font-size: 16px;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid rgba(148, 163, 184, 0.20);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.25s ease;
    background: rgba(15, 23, 42, 0.80);
    color: #F1F5F9;
}

.input-wrapper input::placeholder {
    color: #475569;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 0.90);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* ===============================
   CHECKBOX
================================ */
.checkbox-group {
    margin: 10px 0;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #94A3B8;
    cursor: pointer;
    line-height: 1.6;
}

.terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    margin-top: 2px;
    flex-shrink: 0;
}

.terms-checkbox a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 500;
}

.terms-checkbox a:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

/* ===============================
   BUTTONS
================================ */
.auth-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.40);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    margin-top: 10px;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55);
}

/* ===============================
   LOGIN LINK
================================ */
.login-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.login-link p {
    color: #94A3B8;
    font-size: 15px;
}

.login-link a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

/* Alert messages */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 600px) {
    .auth-container {
        padding: 30px 15px;
    }

    .register-card {
        padding: 30px 25px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}
