/* ===== Register Page ===== */
.register-body {
    background: linear-gradient(135deg, #0c4a6e 0%, #0f172a 40%, #064e3b 100%);
    min-height: 100vh;
}

.register-header {
    padding: 20px 32px;
    display: flex;
    justify-content: center;
}

.register-main {
    display: flex;
    justify-content: center;
    padding: 0 20px 60px;
}

.register-card {
    width: 100%;
    max-width: 580px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.register-card-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-card-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 6px;
}

.register-subtitle {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.register-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 50px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    font-size: 0.8rem;
    font-weight: 600;
    color: #38bdf8;
}

/* ===== Form Sections ===== */
.form-section {
    margin-bottom: 36px;
}

.form-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #e2e8f0;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.form-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    border-radius: 3px;
}

/* ===== Form Groups ===== */
.register-card .form-group {
    margin-bottom: 16px;
}

.register-card .form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 6px;
}

.register-card .form-group input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    transition: all 0.3s ease;
    outline: none;
}

.register-card .form-group input::placeholder {
    color: #475569;
}

.register-card .form-group input:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

/* SMS Button */
.btn-sms {
    width: 100%;
    padding: 13px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.btn-sms:hover {
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
    transform: translateY(-1px);
}

.btn-sms:active {
    transform: translateY(0);
}

/* ===== Consents / Checkboxes ===== */
.consent-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.5);
    position: relative;
    margin-top: 2px;
    transition: all 0.25s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    border-color: transparent;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.6;
}

.checkbox-text a {
    color: #38bdf8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checkbox-text a:hover {
    color: #7dd3fc;
}

.checkbox-label--all {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    margin-bottom: 4px;
}

.checkbox-label--all .checkbox-text {
    font-weight: 700;
    color: #cbd5e1;
    font-size: 0.88rem;
}

/* Channel options (inline checkboxes) */
.consent-sub {
    padding-left: 0;
}

.channel-options {
    display: flex;
    gap: 24px;
    padding-left: 32px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.checkbox-label--inline {
    align-items: center;
}

.checkbox-label--inline .checkbox-text {
    font-weight: 600;
    font-size: 0.82rem;
    color: #cbd5e1;
    letter-spacing: 0.5px;
}

/* ===== reCAPTCHA Placeholder ===== */
.recaptcha-placeholder {
    display: flex;
    justify-content: center;
    margin: 28px 0;
}

.recaptcha-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(15, 23, 42, 0.5);
    min-width: 300px;
}

.checkbox-label--recaptcha .checkbox-text {
    font-size: 0.88rem;
    color: #cbd5e1;
    font-weight: 500;
}

.recaptcha-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.recaptcha-brand span {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
}

.recaptcha-brand small {
    font-size: 0.6rem;
    color: #475569;
}

/* ===== Validation Error States ===== */
.register-card .form-group input.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.register-card .form-group input.input-error::placeholder {
    color: #ef4444;
    opacity: 0.6;
}

.checkbox-label .checkmark.checkmark-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-group .error-msg {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: #ef4444;
    font-weight: 500;
}

/* ===== Register Button ===== */
.btn-register {
    margin-top: 8px;
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ===== Footer text ===== */
.register-footer-text {
    text-align: center;
    margin-top: 24px;
    font-size: 0.88rem;
    color: #64748b;
}

.register-footer-text a {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-footer-text a:hover {
    color: #7dd3fc;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .register-card {
        padding: 32px 20px;
        border-radius: 18px;
    }

    .register-card-header h1 {
        font-size: 1.6rem;
    }

    .channel-options {
        flex-direction: column;
        gap: 10px;
        padding-left: 32px;
    }

    .recaptcha-box {
        min-width: auto;
        width: 100%;
    }
}
