/* Register Page Styles - Career Orientation Survey */

/* ========================================
   CSS VARIABLES & RESET
   ======================================== */
:root {
    --primary: #002045;
    --primary-container: #1a365d;
    --on-primary: #ffffff;
    --on-primary-container: #86a0cd;
    --primary-fixed-dim: #adc7f7;
    --primary-fixed: #d6e3ff;
    --on-primary-fixed: #001b3c;
    --on-primary-fixed-variant: #2d476f;

    --secondary: #006b5f;
    --secondary-container: #62fae3;
    --on-secondary: #ffffff;
    --on-secondary-container: #007165;
    --secondary-fixed: #62fae3;
    --secondary-fixed-dim: #3cddc7;
    --on-secondary-fixed: #00201c;
    --on-secondary-fixed-variant: #005047;

    --tertiary: #371800;
    --tertiary-container: #572900;
    --on-tertiary: #ffffff;
    --on-tertiary-fixed: #301400;
    --on-tertiary-fixed-variant: #713700;
    --tertiary-fixed: #ffdcc5;
    --tertiary-fixed-dim: #ffb783;

    --error: #ba1a1a;
    --error-container: #ffdad6;
    --on-error: #ffffff;
    --on-error-container: #93000a;

    --background: #f8f9ff;
    --on-background: #0b1c30;
    --surface: #f8f9ff;
    --surface-bright: #f8f9ff;
    --surface-container: #e5eeff;
    --surface-container-low: #eff4ff;
    --surface-container-lowest: #ffffff;
    --surface-container-high: #dce9ff;
    --surface-container-highest: #d3e4fe;
    --surface-dim: #cbdbf5;
    --surface-variant: #d3e4fe;
    --surface-tint: #455f88;
    --on-surface: #0b1c30;
    --on-surface-variant: #43474e;

    --inverse-surface: #213145;
    --inverse-on-surface: #eaf1ff;
    --inverse-primary: #adc7f7;

    --outline: #74777f;
    --outline-variant: #c4c6cf;

    --shadow-sm: 0 1px 3px rgba(0, 32, 69, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 32, 69, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 32, 69, 0.10);

    --spacing-xs: 4px;
    --spacing-sm: 12px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;
    --container-max: 1120px;
    --gutter: 24px;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--on-surface);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.reg-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    width: 100%;
}

/* ========================================
   HEADER
   ======================================== */
.reg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.reg-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.reg-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--primary);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.reg-brand-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.reg-brand-name {
    font-size: 18px;
    font-weight: 700;
}

.reg-header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* Material Symbols Outlined - base class for all icon usage */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}
.material-symbols-outlined.fill {
    font-variation-settings: 'FILL' 1;
}

.reg-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--radius-full);
    color: var(--on-surface-variant);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.reg-icon-btn:hover {
    color: var(--secondary);
    background: var(--surface-container-high);
}

.reg-icon-btn:active {
    opacity: 0.8;
}

.reg-icon-btn i {
    font-size: 20px;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.reg-main {
    flex: 1;
    padding-top: 64px;
    position: relative;
    overflow: hidden;
}

/* Ambient Background */
.reg-ambient-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.reg-ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.reg-ambient-orb-1 {
    width: 50vw;
    height: 50vw;
    top: -10%;
    left: -10%;
    background: var(--surface-container-high);
    opacity: 0.5;
}

.reg-ambient-orb-2 {
    width: 60vw;
    height: 60vw;
    bottom: -20%;
    right: -10%;
    background: var(--surface-variant);
    opacity: 0.4;
}

.reg-ambient-orb-3 {
    width: 30vw;
    height: 30vw;
    top: 20%;
    right: 10%;
    background: var(--secondary-container);
    opacity: 0.2;
}

/* Content Grid - Vertical Stack: Hero top, Form bottom */
.reg-content-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 32px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

/* Hero column - always on top */
.reg-hero-col {
    order: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Form column - always below hero */
.reg-form-col {
    order: 1;
    display: flex;
    flex-direction: column;
}

/* ========================================
   HERO COLUMN STYLES
   ======================================== */

.reg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--surface-container-low);
    border: 1px solid var(--surface-dim);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    width: fit-content;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
}

.reg-hero-badge i {
    color: var(--secondary);
}

.reg-hero-title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.reg-hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--on-surface-variant);
}

/* Bento Grid */
.reg-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: var(--spacing-xs);
}

@media (min-width: 480px) {
    .reg-bento-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.reg-bento-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-container);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reg-bento-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.reg-bento-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--surface-container);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
}

.reg-bento-icon-secondary {
    background: var(--secondary-container);
    color: var(--on-secondary-container);
}

.reg-bento-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.reg-bento-text {
    font-size: 13px;
    color: var(--on-surface-variant);
    line-height: 1.4;
}

/* ========================================
   RIGHT COLUMN - FORM
   ======================================== */
.reg-form-col {
    position: relative;
}

.reg-form-glow {
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--primary-container), var(--secondary-container));
    border-radius: var(--radius-xl);
    opacity: 0.2;
    filter: blur(12px);
    z-index: -1;
}

.reg-form-card {
    background: var(--surface-container-lowest);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    border: 1px solid var(--surface-container);
}

.reg-form-header {
    margin-bottom: 16px;
    text-align: center;
}

.reg-form-title {
    font-size: 26px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.reg-form-subtitle {
    font-size: 14px;
    color: var(--on-surface-variant);
}

/* Alert */
.reg-alert {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
}

/* Field-level error (inline below input) */
.reg-field-error {
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    color: var(--error);
    display: none;
    line-height: 1.3;
    padding: 0 2px;
}

.reg-alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.reg-alert-error {
    background: var(--error-container);
    color: var(--on-error-container);
    border: 1px solid #fca5a5;
}

.reg-alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Form Fields */
.reg-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reg-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.reg-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--on-surface);
}

.reg-input-wrapper {
    position: relative;
}

.reg-input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--outline);
    font-size: 16px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.reg-input {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-md);
    padding: 8px 40px 8px 38px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 14px;
    color: var(--on-surface);
    outline: none;
    transition: all 0.2s ease;
}

.reg-input::placeholder {
    color: var(--outline-variant);
}

.reg-input:focus {
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(0, 32, 69, 0.15);
    padding-left: 37px;
}

.survey-option-card input:focus-visible + .survey-option-inner,
.survey-checkbox-card input:focus-visible + .survey-checkbox-inner,
.survey-radio-card input:focus-visible + .survey-radio-inner,
.survey-card-radio input:focus-visible + .survey-card-radio-inner {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.reg-input:focus + .reg-input-icon,
.reg-input-wrapper:focus-within .reg-input-icon {
    color: var(--primary);
}

.reg-input-error {
    border-color: var(--error) !important;
}

.reg-input-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--outline);
    padding: 4px;
    font-size: 14px;
    transition: color 0.2s ease;
}

.reg-input-toggle:hover {
    color: var(--on-surface);
}

.reg-field-error {
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    color: var(--error);
    display: none;
    line-height: 1.3;
    padding: 0 2px;
}

.reg-field-error:not(:empty) {
    display: block;
}

/* Submit Button */
    width: 100%;
    background: var(--primary);
    color: var(--on-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 12px var(--spacing-md);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.reg-submit-btn:hover:not(:disabled) {
    background: var(--on-primary-fixed-variant);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.reg-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.reg-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.reg-submit-icon {
    font-size: 16px;
}

/* Terms */
.reg-terms {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--outline);
    margin-top: var(--spacing-xs);
}

.reg-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.reg-link:hover {
    text-decoration: underline;
}

/* Form Footer */
.reg-form-footer {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    color: var(--on-surface-variant);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.reg-survey-banner {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, var(--surface-container-low) 0%, var(--surface-variant) 100%);
    border: 1px solid var(--surface-dim);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.reg-footer {
    background: var(--surface-container-lowest);
    border-top: 1px solid var(--outline-variant);
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-lg);
}

.reg-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .reg-footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.reg-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    text-align: center;
}

@media (min-width: 768px) {
    .reg-footer-brand {
        align-items: flex-start;
        text-align: left;
    }
}

.reg-footer-brand-name {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.reg-footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--on-surface-variant);
}

.reg-footer-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}

.reg-footer-link {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--on-surface-variant);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.reg-footer-link:hover {
    color: var(--primary);
}

/* ========================================
   SURVEY BANNER COMPONENTS
   ======================================== */
.reg-survey-banner-icon {
    width: 40px;
    height: 40px;
    background: #002045;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reg-survey-banner-icon i {
    color: #fff;
    font-size: 18px;
}

.reg-survey-banner-title {
    font-size: 15px;
    font-weight: 600;
    color: #002045;
    margin-bottom: 4px;
}

.reg-survey-banner-desc {
    font-size: 13px;
    color: #43474e;
    line-height: 1.5;
}

.reg-survey-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #006b5f;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,107,95,.15);
    align-self: flex-start;
}

.reg-survey-banner-btn:hover {
    background: #005047;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,107,95,.2);
}

.reg-survey-banner-btn:active {
    transform: translateY(0);
}

.reg-survey-banner-btn i {
    font-size: 14px;
}

@media (min-width: 480px) {
    .reg-survey-banner {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .reg-survey-banner-btn {
        width: 100%;
        justify-content: center;
    }
}

/* sr-only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   RESPONSIVE - MOBILE FIRST
   ======================================== */

/* Very small screens (320px - 374px) */
@media (max-width: 374px) {
    .reg-container {
        padding: 0 12px;
    }

    .reg-form-card {
        padding: 12px;
        border-radius: 10px;
    }

    .reg-form-title {
        font-size: 18px;
    }

    .wizard-steps {
        max-width: 100%;
        gap: 0;
    }

    .wizard-step-circle {
        width: 26px !important;
        height: 26px !important;
        font-size: 11px !important;
    }

    .wizard-step-label {
        font-size: 9px !important;
    }

    .survey-question-title {
        font-size: 15px;
    }

    .survey-option-card .survey-option-inner {
        padding: 8px 4px;
    }

    .survey-option-icon {
        font-size: 16px !important;
    }

    .survey-option-text {
        font-size: 11px !important;
    }

    .reg-hero-title {
        font-size: 18px;
    }

    .wizard-part-title {
        font-size: 18px;
    }

    .wizard-back-btn,
    .wizard-next-btn,
    .wizard-submit-btn,
    .wizard-back-btn-2,
    .wizard-next-btn-2 {
        padding: 12px 16px !important;
        font-size: 13px !important;
    }

    .wizard-nav {
        flex-direction: column-reverse !important;
        gap: 10px;
    }

    .wizard-nav > button {
        width: 100%;
        justify-content: center;
    }

    .wizard-nav-right {
        flex-direction: column !important;
        gap: 10px;
    }

    .wizard-nav-right > button {
        width: 100%;
        justify-content: center;
    }
}

/* Small screens (375px - 479px) */
@media (min-width: 375px) and (max-width: 479px) {
    .reg-container {
        padding: 0 16px;
    }

    .reg-form-card {
        padding: 14px;
        border-radius: 12px;
    }

    .reg-form-title {
        font-size: 19px;
    }

    .wizard-step-circle {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }

    .wizard-step-label {
        font-size: 10px !important;
    }

    .survey-question-title {
        font-size: 16px;
    }

    .survey-option-card .survey-option-inner {
        padding: 10px 6px;
    }

    .survey-option-icon {
        font-size: 18px !important;
    }

    .survey-option-text {
        font-size: 12px !important;
    }

    .reg-hero-title {
        font-size: 19px;
    }

    .wizard-part-title {
        font-size: 19px;
    }

    .wizard-nav {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .wizard-nav > button {
        width: 100%;
        justify-content: center;
    }

    .wizard-nav-right {
        flex-direction: column;
        gap: 10px;
    }

    .wizard-nav-right > button {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile (max-width: 479px) */
@media (max-width: 479px) {
    .reg-main {
        padding-top: 56px;
    }

    .reg-content-grid {
        padding-top: 16px;
        padding-bottom: 16px;
        gap: 20px;
    }

    .reg-hero-badge {
        font-size: 12px;
        padding: 4px 10px;
    }

    .reg-hero-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .reg-bento-card {
        padding: 12px;
        border-radius: 10px;
    }

    .reg-bento-icon {
        width: 30px;
        height: 30px;
    }

    .reg-bento-title {
        font-size: 13px;
    }

    .reg-bento-text {
        font-size: 12px;
    }

    .reg-form-subtitle {
        font-size: 13px;
    }

    .reg-label {
        font-size: 13px;
    }

    .reg-input {
        padding: 9px 38px 9px 36px;
        font-size: 14px;
    }

    .reg-submit-btn {
        padding: 11px 16px;
        font-size: 14px;
    }

    .reg-terms {
        font-size: 11px;
    }

    .reg-survey-banner {
        padding: 12px;
        border-radius: 10px;
    }

    .reg-survey-banner-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .reg-survey-banner-title {
        font-size: 14px;
    }

    .reg-survey-banner-desc {
        font-size: 12px;
    }

    .reg-survey-banner-btn {
        font-size: 12px;
        padding: 7px 12px;
    }

    .reg-float-contact {
        bottom: 0.75rem;
        right: 0.75rem;
    }

    .reg-float-btn {
        width: 46px;
        height: 46px;
    }

    /* Question cards on mobile */
    .survey-question {
        gap: 12px;
    }

    .survey-question-title {
        font-size: 16px;
        line-height: 1.4;
    }

    .survey-question-hint {
        font-size: 13px;
    }

    .survey-question-grid,
    .survey-question-grid-2 {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    /* Option cards - 2 cols on mobile */
    .survey-card-grid,
    .survey-card-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .survey-option-card .survey-option-inner {
        padding: 10px 6px;
    }

    .survey-option-icon {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .survey-option-text {
        font-size: 12px;
        line-height: 1.3;
    }

    .survey-check-icon {
        top: 4px;
        right: 4px;
        font-size: 12px;
    }

    /* Compact cards */
    .survey-card-compact .survey-option-inner {
        padding: 8px 4px;
    }

    .survey-card-compact .survey-option-icon {
        font-size: 16px;
    }

    .survey-card-compact .survey-option-text {
        font-size: 11px;
    }

    /* Checkbox cards */
    .survey-checkbox-card .survey-checkbox-inner {
        padding: 12px;
        gap: 10px;
    }

    .survey-checkbox-box {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }

    .survey-checkbox-label {
        font-size: 14px;
    }

    .survey-checkbox-desc {
        font-size: 12px;
    }

    /* Radio cards */
    .survey-radio-card .survey-radio-inner {
        padding: 12px;
        gap: 10px;
    }

    .survey-radio-circle {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }

    .survey-radio-dot {
        width: 8px;
        height: 8px;
    }

    .survey-radio-label {
        font-size: 14px;
    }

    /* Card radio */
    .survey-card-radio .survey-card-radio-inner {
        padding: 12px;
    }

    .survey-card-radio-text {
        font-size: 14px;
    }

    /* Navigation buttons */
    .wizard-back-btn,
    .wizard-next-btn,
    .wizard-submit-btn,
    .wizard-back-btn-2,
    .wizard-next-btn-2 {
        padding: 13px 16px;
        font-size: 14px;
        font-weight: 500;
    }

    .wizard-part-header {
        margin-bottom: 16px;
    }

    .wizard-part-title {
        font-size: 20px;
    }

    .wizard-part-desc {
        font-size: 13px;
    }

    .survey-section-badge {
        font-size: 12px;
        padding: 4px 10px;
    }

    /* Alerts */
    .reg-alert {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* Account form */
    .survey-account-form {
        padding: 16px;
        border-radius: 10px;
    }

    .survey-account-form .survey-section-title {
        font-size: 17px;
    }

    .survey-account-desc {
        font-size: 13px;
    }

    /* Question section */
    .survey-section {
        gap: 24px;
    }

    .survey-questions {
        gap: 24px;
    }

    /* Progress bar */
    .survey-progress-container {
        margin: 24px 0 16px;
    }

    .survey-progress-label,
    .survey-progress-percent {
        font-size: 13px;
    }

    /* Wizard section spacing */
    .wizard-section {
        padding: 0 0 8px;
    }
}

/* Tablet (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .reg-container {
        padding: 0 20px;
    }

    .reg-form-card {
        padding: 20px;
        border-radius: 14px;
    }

    .reg-form-title {
        font-size: 22px;
    }

    .reg-hero-title {
        font-size: 24px;
    }

    .reg-hero-desc {
        font-size: 15px;
    }

    .survey-question-title {
        font-size: 18px;
    }

    .wizard-step-circle {
        width: 32px !important;
        height: 32px !important;
    }

    .survey-card-grid,
    .survey-card-grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .survey-question-grid,
    .survey-question-grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .survey-option-card .survey-option-inner {
        padding: 12px 8px;
    }

    .survey-option-text {
        font-size: 13px;
    }
}

/* Large tablet / small desktop (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .reg-container {
        padding: 0 24px;
    }

    .reg-content-grid {
        padding-top: 24px;
        padding-bottom: 24px;
        gap: 28px;
    }

    .reg-form-col {
        order: 1;
        width: 100%;
    }

    .reg-hero-badge {
        margin: 0 auto;
    }

    .reg-bento-grid {
        margin: 0 auto;
    }

    .reg-bento-card {
        text-align: left;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .reg-content-grid {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 800px;
        margin: 0 auto;
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .reg-hero-col {
        text-align: center;
    }

    .reg-hero-badge {
        margin: 0 auto;
    }

    .reg-bento-grid {
        margin: 0 auto;
    }

    .reg-form-col {
        width: 100%;
    }
}

/* Large desktop (1280px+) */
@media (min-width: 1280px) {
    .reg-content-grid {
        max-width: 900px;
    }

    .reg-form-card {
        padding: 32px;
    }
}

/* ========================================
   EXISTING RESPONSIVE ADJUSTMENTS (preserved)
   ======================================== */
@media (max-width: 640px) {
    .survey-card {
        padding: 20px;
        border-radius: 12px;
    }

    .survey-section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .survey-actions {
        justify-content: stretch;
    }

    .survey-submit-btn {
        width: 100%;
    }

    .survey-nav-buttons {
        flex-direction: column-reverse;
    }

    .survey-back-btn,
    .survey-submit-final-btn {
        width: 100%;
        justify-content: center;
    }

    .survey-question-grid {
        grid-template-columns: 1fr;
    }

    .survey-question-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .wizard-steps {
        max-width: 100%;
    }

    .wizard-step-label {
        display: none;
    }

    .wizard-step-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .wizard-nav,
    .wizard-nav-right {
        flex-direction: column-reverse;
    }

    .wizard-back-btn,
    .wizard-next-btn,
    .wizard-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .wizard-part-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .reg-content-grid {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .reg-form-card {
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 32, 69, 0.08);
    }

    .reg-form-title {
        font-size: 20px;
    }

    .reg-hero-title {
        font-size: 20px;
    }
}

/* ========================================
   WIZARD STEP RESPONSIVE
   ======================================== */
@media (max-width: 479px) {
    .wizard-steps {
        padding: 0 8px;
    }

    .wizard-step-connector {
        margin-bottom: 18px;
    }

    .wizard-part-header {
        margin-bottom: 12px;
    }

    .wizard-part-title {
        font-size: 18px;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 4px;
    }

    .wizard-part-desc {
        font-size: 13px;
        color: var(--on-surface-variant);
        line-height: 1.5;
    }

    .wizard-section-survey {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* Hero section responsive */
    .reg-hero-col {
        gap: 12px;
    }

    .reg-survey-banner {
        margin-top: 8px;
    }

    .reg-footer {
        padding: 16px 0;
        margin-top: 32px;
    }
}

/* Prevent horizontal overflow */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden;
    }

    .reg-container,
    .reg-form-card,
    .reg-hero-col,
    .reg-bento-grid {
        max-width: 100vw;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reg-form-card {
    animation: fadeInUp 0.5s ease-out;
}

.reg-hero-col {
    animation: fadeInUp 0.5s ease-out;
}

.reg-bento-card:nth-child(2) {
    animation: fadeInUp 0.5s ease-out 0.1s both;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus visible */
.reg-input:focus-visible,
.reg-submit-btn:focus-visible,
.reg-icon-btn:focus-visible,
.reg-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--secondary-container);
    color: var(--on-secondary-container);
}

/* ========================================
   SURVEY PAGE
   ======================================== */
.survey-progress-container {
    max-width: 800px;
    margin: 32px auto 24px;
}

.survey-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.survey-progress-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--on-surface-variant);
}

.survey-progress-percent {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
}

.survey-progress-bar {
    width: 100%;
    background: var(--outline-variant);
    height: 8px;
    border-radius: 9999px;
    overflow: hidden;
}

.survey-progress-fill {
    background: var(--secondary);
    height: 100%;
    border-radius: 9999px;
    transition: width 0.3s ease;
}

.survey-card {
    max-width: 800px;
    margin: 0 auto 80px;
    background: var(--surface-container-lowest);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 32, 69, 0.05);
    border: 1px solid var(--surface-container);
}

.survey-section-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 32px;
    line-height: 1.3;
}

.survey-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Two-column grid */
.survey-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 639px) {
    .survey-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Card Selection Grid */
.survey-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.survey-card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 640px) {
    .survey-card-grid,
    .survey-card-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Compact card grid (gender row) */
.survey-card-compact {
    gap: 8px;
}

.survey-card-compact .survey-option-inner {
    padding: 10px 4px;
    gap: 2px;
}

.survey-card-compact .survey-option-icon {
    font-size: 18px;
    margin-bottom: 0;
}

.survey-card-compact .survey-option-text {
    font-size: 12px;
}

.survey-card-compact .survey-check-icon {
    font-size: 12px;
    top: 4px;
    right: 4px;
}

@media (max-width: 400px) {
    .survey-card-compact {
        gap: 4px;
    }

    .survey-card-compact .survey-option-inner {
        padding: 8px 2px;
    }

    .survey-card-compact .survey-option-icon {
        font-size: 16px;
    }

    .survey-card-compact .survey-option-text {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .survey-card-grid,
    .survey-card-grid-3 {
        gap: 4px;
    }

    .survey-option-card .survey-option-inner {
        padding: 10px 4px;
    }

    .survey-option-icon {
        font-size: 18px;
        margin-bottom: 1px;
    }

    .survey-option-text {
        font-size: 11px;
    }

    .survey-check-icon {
        font-size: 12px;
        top: 4px;
        right: 4px;
    }
}

/* Option Card */
.survey-option-card {
    cursor: pointer;
}

.survey-option-card .survey-option-inner {
    border: 1px solid var(--outline-variant);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    background: var(--surface-container-lowest);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
}

.survey-option-card:hover .survey-option-inner {
    box-shadow: 0 4px 15px rgba(0, 32, 69, 0.05);
}

.survey-option-card input:checked + .survey-option-inner {
    border-color: var(--secondary);
    background: var(--surface-container-low);
}

.survey-option-icon {
    font-size: 22px;
    color: var(--on-surface-variant);
    margin-bottom: 2px;
    transition: color 0.2s ease;
    line-height: 1;
}

.survey-option-card:hover .survey-option-icon {
    color: var(--primary);
}

.survey-option-card input:checked + .survey-option-inner .survey-option-icon {
    color: var(--secondary);
}

.survey-option-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--on-surface);
    transition: color 0.2s ease;
}

.survey-option-card:hover .survey-option-text {
    color: var(--primary);
}

.survey-option-card input:checked + .survey-option-inner .survey-option-text {
    color: var(--secondary);
    font-weight: 600;
}

.survey-check-icon {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 16px;
    color: var(--secondary);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.survey-option-card input:checked + .survey-option-inner .survey-check-icon {
    opacity: 1;
}

/* Calendar icon override */
.survey-cal-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--outline);
    font-size: 16px;
    pointer-events: none;
}

/* Actions */
.survey-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.survey-submit-btn {
    width: auto;
    min-width: 160px;
}

/* Responsive survey card */
@media (max-width: 640px) {
    .survey-card {
        padding: 24px;
    }

    .survey-section-title {
        font-size: 22px;
    }

    .survey-actions {
        justify-content: stretch;
    }

    .survey-submit-btn {
        width: 100%;
    }
}

/* sr-only utility (defined in responsive section) */

/* ========================================
   SURVEY PAGE - LAYOUT
   ======================================== */
.survey-main {
    padding-bottom: 80px;
}

.survey-container {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 32px;
}

/* ========================================
   SURVEY PAGE - PART 2
   ======================================== */
.survey-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.survey-part2-header {
    margin-bottom: 8px;
}

.survey-part2-desc {
    font-size: 16px;
    color: var(--on-surface-variant);
    margin-top: 8px;
    line-height: 1.6;
}

/* Questions */
.survey-questions {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.survey-question.is-missing {
    outline: 2px solid var(--error);
    outline-offset: 4px;
    border-radius: 8px;
    animation: shake-error 0.4s ease;
}

@keyframes shake-error {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.survey-question.is-missing .survey-question-title {
    color: var(--error);
}

.survey-question.is-missing .reg-input {
    border-color: var(--error) !important;
}

.survey-question {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.survey-question-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
}

.survey-question-hint {
    font-size: 14px;
    font-weight: 400;
    color: var(--on-surface-variant);
}

/* Grid layouts */
.survey-question-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .survey-question-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.survey-question-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .survey-question-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.survey-question-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Divider */
.survey-question-divider {
    border: none;
    border-top: 1px solid var(--outline-variant);
    opacity: 0.3;
    margin: 8px 0;
}

/* ===== CHECKBOX CARD ===== */
.survey-checkbox-card {
    cursor: pointer;
}

.survey-checkbox-card .survey-checkbox-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--outline-variant);
    border-radius: 12px;
    background: var(--surface-container-lowest);
    transition: all 0.2s ease;
    position: relative;
}

.survey-checkbox-card:hover .survey-checkbox-inner {
    border-color: var(--secondary);
    box-shadow: 0 2px 8px rgba(0, 32, 69, 0.05);
}

.survey-checkbox-card input:checked + .survey-checkbox-inner {
    border-color: var(--secondary);
    background: var(--surface-container-low);
}

.survey-checkbox-card input:checked + .survey-checkbox-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 107, 95, 0.04);
    border-radius: 11px;
    pointer-events: none;
}

.survey-checkbox-box {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 6px;
    border: 2px solid var(--outline-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.survey-checkbox-card:hover .survey-checkbox-box {
    border-color: var(--secondary);
}

.survey-checkbox-card input:checked + .survey-checkbox-inner .survey-checkbox-box {
    background: var(--secondary);
    border-color: var(--secondary);
}

.survey-checkbox-check {
    font-size: 16px;
    color: var(--surface-container-lowest);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.survey-checkbox-card input:checked + .survey-checkbox-inner .survey-checkbox-check {
    opacity: 1;
}

.survey-checkbox-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.survey-checkbox-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--on-surface);
    transition: color 0.2s ease;
}

.survey-checkbox-card:hover .survey-checkbox-label,
.survey-checkbox-card input:checked + .survey-checkbox-inner .survey-checkbox-label {
    color: var(--primary);
}

.survey-checkbox-desc {
    font-size: 14px;
    color: var(--on-surface-variant);
    line-height: 1.5;
}

/* Selected border overlay */
.survey-checkbox-card input:checked + .survey-checkbox-inner {
    outline: 2px solid var(--secondary);
    outline-offset: -2px;
}

/* ===== RADIO CARD ===== */
.survey-radio-card {
    cursor: pointer;
}

.survey-radio-card .survey-radio-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--outline-variant);
    border-radius: 12px;
    background: var(--surface-container-lowest);
    transition: all 0.2s ease;
    position: relative;
}

.survey-radio-card:hover .survey-radio-inner {
    border-color: var(--secondary);
    box-shadow: 0 2px 8px rgba(0, 32, 69, 0.05);
}

.survey-radio-card input:checked + .survey-radio-inner {
    border-color: var(--secondary);
    background: var(--surface-container-low);
}

.survey-radio-card input:checked + .survey-radio-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 107, 95, 0.04);
    border-radius: 11px;
    pointer-events: none;
}

.survey-radio-circle {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    border: 2px solid var(--outline-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.survey-radio-card:hover .survey-radio-circle {
    border-color: var(--secondary);
}

.survey-radio-card input:checked + .survey-radio-inner .survey-radio-circle {
    border-color: var(--secondary);
    border-width: 4px;
}

.survey-radio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.survey-radio-card input:checked + .survey-radio-inner .survey-radio-dot {
    opacity: 1;
    transform: scale(1);
}

.survey-radio-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--on-surface);
    line-height: 1.5;
    transition: color 0.2s ease;
    flex: 1;
}

.survey-radio-card:hover .survey-radio-label,
.survey-radio-card input:checked + .survey-radio-inner .survey-radio-label {
    color: var(--primary);
}

/* Selected border overlay */
.survey-radio-card input:checked + .survey-radio-inner {
    outline: 2px solid var(--secondary);
    outline-offset: -2px;
}

/* ===== NAVIGATION BUTTONS ===== */
.survey-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.survey-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: var(--on-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 32, 69, 0.06);
}

.survey-next-btn:hover {
    background: var(--on-secondary-container);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 32, 69, 0.08);
}

.survey-next-btn:active {
    transform: translateY(0);
}

.survey-next-btn i,
.survey-back-btn i {
    font-size: 16px;
}

.survey-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--outline-variant);
    gap: 16px;
}

.survey-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.survey-back-btn:hover {
    background: var(--surface-container-high);
    box-shadow: 0 2px 8px rgba(0, 32, 69, 0.05);
}

.survey-submit-final-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: var(--on-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 32, 69, 0.06);
}

.survey-submit-final-btn:hover:not(:disabled) {
    background: var(--on-secondary-container);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 32, 69, 0.08);
}

.survey-submit-final-btn:active:not(:disabled) {
    transform: translateY(0);
}

.survey-submit-final-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .survey-nav-buttons {
        flex-direction: column-reverse;
    }

    .survey-back-btn,
    .survey-submit-final-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   SURVEY PAGE - PART 3 (Card Radio)
   ======================================== */

/* Question header with tooltip */
.survey-question-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}

.survey-question-header .survey-question-title {
    flex: 1;
}

/* Info tooltip */
.survey-info-tooltip {
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    padding-top: 4px;
}

.survey-info-tooltip .material-symbols-outlined {
    font-size: 20px;
    color: var(--outline);
    transition: color 0.2s ease;
}

.survey-info-tooltip:hover .material-symbols-outlined {
    color: var(--primary);
}

.survey-info-tip-box {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    background: var(--primary);
    color: var(--on-primary);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 32, 69, 0.15);
}

.survey-info-tip-box::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--primary);
}

.survey-info-tooltip:hover .survey-info-tip-box {
    opacity: 1;
}

/* Card Radio (full-card option with check_circle) */
.survey-card-radio {
    cursor: pointer;
}

.survey-card-radio .survey-card-radio-inner {
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px;
    background: var(--surface-container-lowest);
    box-shadow: 0 4px 20px rgba(0, 32, 69, 0.05);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.survey-card-radio:hover .survey-card-radio-inner {
    border-color: var(--secondary);
    box-shadow: 0 8px 24px rgba(0, 32, 69, 0.08);
}

.survey-card-radio input:checked + .survey-card-radio-inner {
    border-color: var(--secondary);
    background: var(--surface-container-low);
}

.survey-card-radio-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--on-surface);
    transition: color 0.2s ease;
    line-height: 1.5;
}

.survey-card-radio:hover .survey-card-radio-text,
.survey-card-radio input:checked + .survey-card-radio-inner .survey-card-radio-text {
    color: var(--primary);
}

.survey-card-radio-check {
    font-size: 20px;
    color: var(--secondary);
    opacity: 0;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.survey-card-radio input:checked + .survey-card-radio-inner .survey-card-radio-check {
    opacity: 1;
}

/* Account Form Reveal */
.survey-reveal-account {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--surface-container-high);
    display: flex;
    justify-content: flex-end;
}

.survey-part3-summary {
    font-size: 14px;
    color: var(--secondary);
    margin-top: 4px;
    font-weight: 500;
}

.survey-account-form {
    margin-top: 24px;
    padding: 24px;
    background: linear-gradient(135deg, var(--surface-container-low) 0%, var(--surface-container) 100%);
    border-radius: 12px;
    border: 1px solid var(--surface-container-high);
}

.survey-account-form .survey-section-title {
    font-size: 20px;
    margin-bottom: 4px;
}

.survey-account-desc {
    font-size: 14px;
    color: var(--on-surface-variant);
    margin-bottom: 16px;
}

/* ========================================
   WIZARD RESPONSIVE
   ======================================== */
@media (max-width: 600px) {
    .wizard-steps { max-width: 100%; }
    .wizard-step-label { display: none; }
    .wizard-step-circle { width: 28px; height: 28px; font-size: 12px; }
    .wizard-nav,
    .wizard-nav-right { flex-direction: column-reverse; }
    .wizard-back-btn,
    .wizard-next-btn,
    .wizard-submit-btn { width: 100%; justify-content: center; }
    .wizard-part-title { font-size: 20px; }
}

/* ========================================
   FLOATING CONTACT BUTTONS (Zalo + Hotline)
   ======================================== */
@keyframes reg-float-glow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 104, 255, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 12px rgba(0, 104, 255, 0);
    }
}
@keyframes reg-float-glow-hotline {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 12px rgba(16, 185, 129, 0);
    }
}
@keyframes reg-float-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
        border-width: 1px;
    }
}

.reg-float-contact {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
    z-index: 9999;
}
.reg-float-contact .reg-float-btn {
    pointer-events: auto;
}
.reg-float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.reg-float-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    opacity: 0;
    pointer-events: none;
}
.reg-float-btn:hover {
    transform: scale(1.12);
    color: #fff;
    animation: none;
}
.reg-float-btn:hover::before {
    animation: none;
    opacity: 0;
}
.reg-float-zalo {
    background: #0068ff;
    animation: reg-float-glow 2.2s ease-in-out infinite;
}
.reg-float-zalo::before {
    border-color: #0068ff;
    animation: reg-float-ring 2.2s ease-out infinite;
}
.reg-float-zalo:hover {
    box-shadow: 0 8px 24px rgba(0, 104, 255, 0.45), 0 4px 16px rgba(0, 0, 0, 0.2);
    background: #0052cc;
}
.reg-float-zalo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}
.reg-float-hotline {
    background: #10b981;
    animation: reg-float-glow-hotline 2.2s ease-in-out infinite 0.5s;
}
.reg-float-hotline::before {
    border-color: #10b981;
    animation: reg-float-ring 2.2s ease-out infinite 0.5s;
}
.reg-float-hotline:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45), 0 4px 16px rgba(0, 0, 0, 0.2);
    background: #059669;
}
.reg-float-hotline i {
    font-size: 1.35rem;
    position: relative;
    z-index: 1;
}
.reg-float-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}
.reg-float-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--primary);
}
.reg-float-btn:hover .reg-float-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 480px) {
    .reg-float-contact {
        bottom: 1rem;
        right: 1rem;
    }
    .reg-float-btn {
        width: 46px;
        height: 46px;
    }
    .reg-float-zalo-icon {
        width: 24px;
        height: 24px;
    }
    .reg-float-hotline i {
        font-size: 1.1rem;
    }
}

/* ========================================
   COMPREHENSIVE MOBILE OVERRIDES
   ======================================== */

/* Very small screens (320px - 374px) */
@media (max-width: 374px) {
    /* Question title - reduce dramatically */
    .survey-question-title {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    .survey-question-hint {
        font-size: 12px !important;
    }

    .wizard-part-title {
        font-size: 17px !important;
    }

    .wizard-part-desc {
        font-size: 12px !important;
    }

    .wizard-section-badge {
        font-size: 11px !important;
        padding: 3px 8px !important;
    }

    .survey-section-badge {
        font-size: 11px !important;
        padding: 3px 8px !important;
    }

    .survey-progress-text {
        font-size: 12px !important;
    }

    /* Question card padding */
    .survey-question {
        gap: 10px !important;
        padding: 12px !important;
    }

    .reg-form-card {
        padding: 10px !important;
        border-radius: 10px !important;
    }

    .reg-form-title {
        font-size: 17px !important;
    }

    .reg-form-subtitle {
        font-size: 12px !important;
    }

    .reg-hero-title {
        font-size: 17px !important;
    }

    .reg-hero-desc {
        font-size: 13px !important;
    }

    .reg-bento-card {
        padding: 10px !important;
    }

    .reg-bento-title {
        font-size: 12px !important;
    }

    .reg-bento-text {
        font-size: 11px !important;
    }

    /* Section spacing */
    .wizard-section.is-active {
        gap: 16px !important;
    }

    .wizard-part-header {
        margin-bottom: 6px !important;
    }

    /* Input fields */
    .reg-input {
        font-size: 14px !important;
        padding: 8px 36px 8px 34px !important;
    }

    .reg-label {
        font-size: 12px !important;
    }

    /* Option cards */
    .survey-card-grid,
    .survey-card-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }

    .survey-option-card .survey-option-inner {
        padding: 8px 4px !important;
    }

    .survey-option-icon {
        font-size: 16px !important;
    }

    .survey-option-text {
        font-size: 11px !important;
    }

    .survey-check-icon {
        top: 3px !important;
        right: 3px !important;
        font-size: 10px !important;
    }

    /* Navigation buttons */
    .wizard-nav {
        gap: 8px !important;
        padding-top: 12px !important;
    }

    .wizard-back-btn,
    .wizard-next-btn,
    .wizard-submit-btn {
        padding: 11px 14px !important;
        font-size: 13px !important;
    }

    /* Alert */
    .reg-alert {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    /* Referral banner */
    .reg-referral-banner {
        font-size: 12px !important;
        padding: 8px 12px !important;
    }

    /* Wizard step circle */
    .wizard-step-circle {
        width: 26px !important;
        height: 26px !important;
        font-size: 10px !important;
    }

    .wizard-step-label {
        font-size: 9px !important;
    }
}

/* Small mobile (375px - 479px) */
@media (min-width: 375px) and (max-width: 479px) {
    .survey-question-title {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }

    .survey-question-hint {
        font-size: 12px !important;
    }

    .wizard-part-title {
        font-size: 18px !important;
    }

    .wizard-part-desc {
        font-size: 13px !important;
    }

    .survey-section-badge {
        font-size: 12px !important;
        padding: 4px 10px !important;
    }

    .reg-form-card {
        padding: 14px !important;
    }

    .reg-form-title {
        font-size: 19px !important;
    }

    .wizard-section.is-active {
        gap: 18px !important;
    }

    .wizard-part-header {
        margin-bottom: 6px !important;
    }

    .wizard-step-circle {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }

    .wizard-step-label {
        font-size: 10px !important;
    }

    /* Option cards - 2 cols */
    .survey-card-grid,
    .survey-card-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .survey-option-card .survey-option-inner {
        padding: 10px 6px !important;
    }

    .survey-option-text {
        font-size: 12px !important;
    }

    .survey-question {
        gap: 12px !important;
    }

    /* Checkbox & radio cards */
    .survey-checkbox-card .survey-checkbox-inner {
        padding: 10px !important;
    }

    .survey-radio-card .survey-radio-inner {
        padding: 10px !important;
    }

    .survey-card-radio .survey-card-radio-inner {
        padding: 10px !important;
    }

    /* Navigation */
    .wizard-nav {
        gap: 10px !important;
        padding-top: 12px !important;
    }
}

/* All mobile (max 479px) - global overrides */
@media (max-width: 479px) {
    /* Force these to always apply on mobile */
    .survey-question-title {
        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
    }

    .survey-question-hint {
        font-size: 12px !important;
    }

    .wizard-part-title {
        font-size: 18px !important;
        font-weight: 700 !important;
    }

    .wizard-part-desc {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .survey-section-badge {
        font-size: 12px !important;
        padding: 4px 10px !important;
    }

    .wizard-section-badge {
        font-size: 12px !important;
        padding: 4px 10px !important;
    }

    .wizard-part-header {
        margin-bottom: 8px !important;
    }

    .wizard-section.is-active {
        gap: 16px !important;
    }

    /* Question card */
    .survey-question {
        gap: 10px !important;
    }

    /* Grid layouts - single column on mobile */
    .survey-question-grid,
    .survey-question-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    /* 2-column option cards */
    .survey-card-grid,
    .survey-card-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    /* Nav buttons full width */
    .wizard-nav,
    .wizard-nav-right {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .wizard-nav > button,
    .wizard-nav-right > button {
        width: 100% !important;
        justify-content: center !important;
    }

    .wizard-back-btn,
    .wizard-next-btn,
    .wizard-submit-btn {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }

    /* Step indicator - hide labels, smaller circles */
    .wizard-step-label {
        display: none !important;
    }

    .wizard-step-circle {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
    }

    .wizard-step-connector {
        margin-bottom: 16px !important;
    }

    /* Alert */
    .reg-alert {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    /* Account form */
    .reg-field {
        gap: 4px !important;
    }

    .reg-label {
        font-size: 13px !important;
    }

    .reg-input {
        font-size: 14px !important;
        padding: 9px 36px 9px 34px !important;
    }

    /* Progress bar */
    .survey-progress-text {
        font-size: 12px !important;
    }

    /* Bento cards */
    .reg-bento-card {
        padding: 10px !important;
    }

    .reg-bento-icon {
        width: 28px !important;
        height: 28px !important;
    }

    /* Section headers */
    .reg-form-header {
        margin-bottom: 10px !important;
    }

    .reg-form-subtitle {
        font-size: 13px !important;
    }

    /* Referral banner */
    .reg-referral-banner {
        font-size: 12px !important;
        padding: 8px 12px !important;
        margin-bottom: 8px !important;
    }

    /* Hero section */
    .reg-hero-col {
        gap: 10px !important;
    }

    .reg-hero-title {
        font-size: 18px !important;
    }

    .reg-hero-desc {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    .reg-hero-badge {
        font-size: 12px !important;
        padding: 4px 10px !important;
    }

    .reg-bento-grid {
        gap: 6px !important;
    }

    /* Footer */
    .reg-footer {
        padding: 12px 0 !important;
        margin-top: 24px !important;
    }

    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden !important;
    }

    .reg-container,
    .reg-form-card,
    .reg-hero-col {
        max-width: 100vw !important;
    }
}

/* Tablet (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .wizard-step-label {
        font-size: 10px !important;
    }

    .survey-question-title {
        font-size: 17px !important;
    }

    .wizard-part-title {
        font-size: 20px !important;
    }

    /* 3-column option cards on tablet */
    .survey-card-grid,
    .survey-card-grid-3 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }

    /* 2-column question grids */
    .survey-question-grid,
    .survey-question-grid-2 {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
}

/* Survey question specific - legacy cards (inline styles override) */
@media (max-width: 479px) {
    /* Override any inline font-size on question titles */
    div.survey-question-title,
    .survey-question-title {
        font-size: 15px !important;
        font-weight: 600 !important;
    }

    /* Make sure the title inside is-legacy doesn't blow up */
    .survey-question.is-legacy .survey-question-title,
    div.survey-question.is-legacy {
        font-size: 15px !important;
    }

    /* Question card */
    .survey-question.is-legacy {
        gap: 8px !important;
        padding: 10px !important;
    }

    /* Question subtitle hint */
    .survey-question-hint {
        font-size: 12px !important;
    }

    /* The actual "Họ và tên" title inside legacy card */
    .survey-question.is-legacy .survey-question-title {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: var(--primary) !important;
    }

    /* Option cards inside legacy questions */
    .survey-question.is-legacy .survey-card-grid,
    .survey-question.is-legacy .survey-card-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .survey-question.is-legacy .survey-option-card .survey-option-inner {
        padding: 8px 4px !important;
    }

    .survey-question.is-legacy .survey-option-text {
        font-size: 11px !important;
    }

    /* Text inputs inside legacy questions */
    .survey-question.is-legacy .reg-input {
        font-size: 14px !important;
        padding: 8px 10px !important;
    }

    /* Navigation within wizard sections */
    #ws-1,
    #ws-2,
    #ws-3,
    #ws-4 {
        gap: 16px !important;
    }
}

/* Override any duplicate/broken styles from earlier sections */
@media (max-width: 600px) {
    .wizard-steps {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .wizard-step-label {
        display: none !important;
    }

    .wizard-step-circle {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
    }

    .wizard-nav,
    .wizard-nav-right {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .wizard-back-btn,
    .wizard-next-btn,
    .wizard-submit-btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .wizard-part-title {
        font-size: 19px !important;
    }
}

/* ========================================
   INPUT ICON MOBILE FIX
   ======================================== */
@media (max-width: 479px) {
    /* Push input text away from left icon */
    .reg-input {
        padding-left: 42px !important;
        padding-right: 36px !important;
    }

    /* Icon positioning */
    .reg-input-icon {
        left: 14px !important;
        z-index: 1;
    }

    /* DOB has icon + suffix - adjust */
    .reg-input.has-suffix {
        padding-right: 36px !important;
        padding-left: 42px !important;
    }

    /* For all text inputs inside reg-input-wrapper in survey questions */
    .survey-question .reg-input-wrapper .reg-input,
    #ws-1 .reg-input-wrapper .reg-input {
        padding-left: 42px !important;
    }

    /* Account form inputs */
    .wizard-section-account .reg-input-wrapper .reg-input {
        padding-left: 42px !important;
    }

    /* Radio card mobile */
    .survey-radio-card .survey-radio-inner {
        padding: 10px 12px !important;
        gap: 10px !important;
        border-radius: 10px !important;
    }

    .survey-radio-circle {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
    }

    .survey-radio-dot {
        width: 9px !important;
        height: 9px !important;
    }

    .survey-radio-label {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* Option card mobile - 2 cols */
    .survey-card-grid,
    .survey-card-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }

    .survey-option-card .survey-option-inner {
        padding: 8px 4px !important;
    }

    .survey-option-icon {
        font-size: 16px !important;
    }

    .survey-option-text {
        font-size: 11px !important;
    }

    /* Checkbox card mobile */
    .survey-checkbox-card .survey-checkbox-inner {
        padding: 10px 12px !important;
        gap: 10px !important;
        border-radius: 10px !important;
    }

    .survey-checkbox-label {
        font-size: 14px !important;
    }

    .survey-checkbox-desc {
        font-size: 12px !important;
    }

    /* Card radio mobile */
    .survey-card-radio .survey-card-radio-inner {
        padding: 10px 12px !important;
        border-radius: 10px !important;
    }

    .survey-card-radio-text {
        font-size: 14px !important;
    }

    /* Question list spacing */
    .survey-question-list {
        gap: 8px !important;
    }

    /* Question card */
    .survey-question {
        gap: 10px !important;
    }

    /* Wizard section fields spacing */
    .wizard-section-fields {
        gap: 10px !important;
    }

    /* Question title */
    .survey-question-title {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }

    /* Form field spacing */
    .reg-field {
        gap: 2px !important;
    }

    /* No horizontal overflow - prevent cards from overflowing */
    .survey-radio-card,
    .survey-checkbox-card,
    .survey-card-radio,
    .survey-option-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Force box-sizing on all cards */
    .survey-radio-inner,
    .survey-checkbox-inner,
    .survey-card-radio-inner {
        box-sizing: border-box !important;
    }
}

@media (max-width: 374px) {
    .reg-input {
        padding-left: 44px !important;
        padding-right: 36px !important;
        font-size: 14px !important;
    }

    .reg-input-icon {
        left: 14px !important;
    }

    .reg-input.has-suffix {
        padding-left: 44px !important;
        padding-right: 36px !important;
    }

    /* Radio card small mobile */
    .survey-radio-card .survey-radio-inner {
        padding: 8px 10px !important;
        gap: 8px !important;
        border-radius: 8px !important;
    }

    .survey-radio-circle {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
    }

    .survey-radio-dot {
        width: 8px !important;
        height: 8px !important;
    }

    .survey-radio-label {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    /* Option card small mobile */
    .survey-card-grid,
    .survey-card-grid-3 {
        gap: 4px !important;
    }

    .survey-option-card .survey-option-inner {
        padding: 6px 2px !important;
    }

    .survey-option-icon {
        font-size: 15px !important;
        margin-bottom: 0 !important;
    }

    .survey-option-text {
        font-size: 10px !important;
    }

    .survey-check-icon {
        top: 2px !important;
        right: 2px !important;
        font-size: 10px !important;
    }

    /* Checkbox card small mobile */
    .survey-checkbox-card .survey-checkbox-inner {
        padding: 8px 10px !important;
        gap: 8px !important;
        border-radius: 8px !important;
    }

    .survey-checkbox-box {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
    }

    .survey-checkbox-check {
        font-size: 14px !important;
    }

    .survey-checkbox-label {
        font-size: 13px !important;
    }

    .survey-checkbox-desc {
        font-size: 11px !important;
    }

    /* Card radio small mobile */
    .survey-card-radio .survey-card-radio-inner {
        padding: 8px 10px !important;
        border-radius: 8px !important;
    }

    .survey-card-radio-text {
        font-size: 13px !important;
    }

    .survey-card-radio-check {
        font-size: 16px !important;
    }

    /* Question list spacing */
    .survey-question-list {
        gap: 6px !important;
    }

    /* Question title small mobile */
    .survey-question-title {
        font-size: 14px !important;
    }

    /* Wizard section fields */
    .wizard-section-fields {
        gap: 8px !important;
    }
}

/* ========================================
   RESPONSIVE ALERTS & FIELD ERRORS
   ======================================== */
@media (max-width: 479px) {
    /* Alert banner */
    .reg-alert {
        padding: 8px 10px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        border-radius: 6px !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }

    .reg-alert i {
        font-size: 14px !important;
        flex-shrink: 0 !important;
        margin-top: 1px !important;
    }

    /* Field error text */
    .reg-field-error {
        font-size: 11px !important;
        line-height: 1.3 !important;
        padding: 0 2px !important;
    }
}

@media (max-width: 374px) {
    /* Alert banner - very small */
    .reg-alert {
        padding: 7px 8px !important;
        font-size: 11px !important;
    }

    .reg-alert i {
        font-size: 13px !important;
    }

    /* Field error - very small */
    .reg-field-error {
        font-size: 10px !important;
    }
}
