.register-section {
    padding: 100px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.register-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
    padding: 50px;
}

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

.register-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.register-header p {
    color: #6b7280;
    font-size: 16px;
}

.alert-modern {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
}

.alert-modern.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-modern.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.register-footer {
    text-align: center;
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid #e5e7eb;
}

.register-footer p {
    color: #6b7280;
    font-size: 15px;
    margin: 0;
}

.register-footer a {
    color: var(--themeht-primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

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

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
    font-size: 15px;
}

.verification-section {
    display: none;
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #0ea5e9;
}

.verification-section h3 {
    color: #0c4a6e;
    margin-bottom: 15px;
    font-size: 24px;
}

.verification-section p {
    color: #374151;
    margin-bottom: 20px;
}

.verification-input {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.verification-input input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}

.verification-input input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.btn-resend {
    background: transparent;
    border: none;
    color: #0ea5e9;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.btn-resend:hover {
    color: #0284c7;
}

@media (max-width: 768px) {
    .register-card {
        padding: 30px;
    }

    .register-header h2 {
        font-size: 28px;
    }

    .verification-input input {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* ── CAPTCHA ─────────────────────────────────────────────────────────────── */
.captcha-group {
    margin-bottom: 25px;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Input takes up remaining space */
.captcha-wrapper > .form-control {
    flex: 1;
    height: 50px;
    border-radius: 6px;
}

/* Image + refresh button stacked on the right */
.captcha-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.captcha-image img {
    width: 160px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #f3f4f6;
    display: block;
}

.captcha-refresh {
    background: transparent;
    border: none;
    color: var(--themeht-primary-color, #0ea5e9);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.captcha-refresh:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .captcha-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .captcha-image {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .captcha-image img {
        width: 140px;
        height: 48px;
    }
}
