/* ========================================
   MODERN ONBOARDING DESIGN - 2025
   Inspired by SaaS Analytics Platforms
======================================== */

:root {
    --primary-blue: #1565D8;
    --primary-purple: #764ba2;
    --success-green: #10b981;
    --error-red: #f87171;
    --warning-yellow: #f59e0b;
    --dark-blue: #0f172a;
    --light-gray: #f8fafc;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --shadow-light: 0 8px 32px rgba(31, 38, 135, 0.37);
    --shadow-strong: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.onboarding-container {
    width: 100%;
    display: flex;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.onboarding-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-10px) translateY(-20px); }
}

.onboarding-image {
    background-image: url('/img/onboarding/bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    flex: 1;
    display: none;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(21, 101, 216, 0.9) 0%, 
        rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
    backdrop-filter: blur(10px);
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-y: auto;
    position: relative;
    z-index: 2;
    max-height: 100vh;
    padding: 20px;
}
.onboarding-content {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-y: auto;
    position: relative;
    z-index: 2;
    max-height: 100vh;
    padding: 20px;
}

/* Mobile Logo Display */
.mobile-logo-container {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease-out;
}

.mobile-logo-container .logo-imetadex {
    height: 3rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
    .onboarding-image {
        display: block;
    }
    
    .mobile-logo-container {
        display: none;
    }
}

.logo-imetadex {
    height: 2.5em;
}

/* Modern Step Container */
.onboaring-step-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 520px;
    width: 100%;
    margin: 1rem;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

/* Step Title Modern Styling */
.onboaring-step-container .fs-3 {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.onboarding-step-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Modern Form Styling */
.form {
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    color: var(--text-primary);
    height: auto;
    min-height: 56px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 
        0 0 0 4px rgba(21, 101, 216, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    background: #ffffff;
}

.form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Modern Button Styling */
.form-button {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    min-height: 56px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(21, 101, 216, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.form-button:hover::before {
    left: 100%;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 101, 216, 0.4);
}

.form-button:active {
    transform: translateY(0);
}

.form-button:disabled {
    opacity: 0.7;
    transform: none;
    cursor: not-allowed;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Step Progress Animation */
.onboaring-step-container:nth-child(1) { animation-delay: 0.1s; }
.onboaring-step-container:nth-child(2) { animation-delay: 0.2s; }
.onboaring-step-container:nth-child(3) { animation-delay: 0.3s; }
.onboaring-step-container:nth-child(4) { animation-delay: 0.4s; }

/* Modern Sidebar Steps Styling */
.digit-container {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.overlay-steps {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.step-item {
    margin-bottom: 3em;
    position: relative;
    transition: all 0.3s ease;
}

.step-item.active .digit-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: var(--primary-blue);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.step-item.active .step-title {
    color: white;
    font-weight: 700;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    margin-left: 0.75rem;
}

.steps-path {
    left: 20px;
    opacity: 0.6;
}

.overlay-text {
    font-size: clamp(24px, 5vw, 40px);
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

/* Logout Button Modern Styling */
.onboarding-logout {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.onboarding-logout:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Legacy styling cleanup - removing duplicate/conflicting styles */

/* ========================================
   MODERN PLAN SELECTION & TOGGLE
======================================== */

/* Modern Toggle Button */
.toggle-button-cover {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.button-cover {
    position: relative;
}

.button.b2 {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(21, 101, 216, 0.2);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.button.b2:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.checkbox {
    display: none;
}

.knobs {
    position: relative;
    top: 0;
    left: 0;
    width: 280px;
    height: 60px;
    overflow: hidden;
}

.knobs span {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 130px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border-radius: 46px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(21, 101, 216, 0.3);
}

.checkbox:checked + .knobs span {
    transform: translateX(136px);
}

.knob-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.knob-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.knob-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    margin: 0;
}

.knob-subtext {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-blue);
    transition: color 0.3s ease;
    margin: 0;
}

.checkbox:checked + .knobs .yes-text,
.checkbox:checked + .knobs .yes-subtext {
    color: white;
}

.checkbox:not(:checked) + .knobs .no-text {
    color: white;
}

/* Modern Accordion Plans */
.accordion ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion li {
    margin-bottom: 1rem;
}

.accordion .accordion--button {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(21, 101, 216, 0.1);
    border-radius: 16px;
    color: var(--text-primary);
    padding: 1.5rem;
    margin: 0;
    display: block;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    height: auto;
    min-height: 80px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.accordion .accordion--button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.accordion-container.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border-radius: 16px;
    color: white;
    min-height: 200px;
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(21, 101, 216, 0.3);
}

.accordion-container.active .accordion--button {
    background: transparent;
    border: none;
    color: white;
    box-shadow: none;
}

.accordion-container.active .accordion--button:hover {
    transform: none;
}

.view-features {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    margin-right: 1rem;
    display: none;
    transition: all 0.3s ease;
}

.accordion-container.active .view-features {
    display: block;
}

.view-features:hover {
    color: white;
    text-decoration: none;
}

.accordion-icon-container {
    background: var(--primary-blue);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.accordion-container.active .accordion-icon-container {
    background: rgba(255, 255, 255, 0.2);
}

.accordion-action-button {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.accordion-action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(21, 101, 216, 0.3);
}

/* Modern Modal Styling */
.modal.fade .modal-dialog {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8) translateY(-50px);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

.modal-content {
    border: none;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-body {
    padding: 0;
}

.onboaring-model-content {
    padding: 2rem;
}

/* Modern Plan Details Grid */
.onboardin-plans-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.plan-details {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(21, 101, 216, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.plan-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.plan-details.active::before {
    opacity: 1;
}

.plan-details.active {
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(21, 101, 216, 0.3);
}

.plan-details > * {
    position: relative;
    z-index: 2;
}

.plan-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-title .subtitle {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--success-green);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.plan-details.active .plan-title .subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.plan-features-list {
    margin: 1.5rem 0;
}

.plan-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 14px;
    transition: all 0.3s ease;
}

.plan-feature-item i {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.plan-feature-item.no {
    opacity: 0.5;
}

.plan-price {
    text-align: center;
    margin: 1.5rem 0;
    font-size: 24px;
    font-weight: 700;
}

.plan-price .unit {
    font-size: 18px;
    vertical-align: top;
}

.plan-price .amount {
    font-size: 32px;
}

.plan-price .scal {
    font-size: 16px;
    opacity: 0.7;
}

.plan-action {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 14px;
}

.plan-details.active .plan-action {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.plan-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 101, 216, 0.4);
}

/* ========================================
   MOBILE RESPONSIVENESS
======================================== */

@media (max-width: 768px) {
    .onboarding-container {
        flex-direction: column;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    .onboarding-image {
        display: none;
    }
    
    .content {
        width: 100%;
        padding: 1rem;
        justify-content: flex-start;
    }
    
    .onboaring-step-container {
        margin: 0.5rem;
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .onboaring-step-container .fs-3 {
        font-size: 1.75rem;
    }
    
    .mobile-logo-container {
        margin-bottom: 1.5rem;
    }
    
    .mobile-logo-container .logo-imetadex {
        height: 2.5rem;
    }
    
    /* Mobile Plan Selection */
    .onboardin-plans-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .plan-details {
        padding: 1.5rem;
    }
    
    .knobs {
        width: 240px;
        height: 50px;
    }
    
    .knobs span {
        width: 110px;
        height: 42px;
    }
    
    .checkbox:checked + .knobs span {
        transform: translateX(120px);
    }
    
    .knob-text {
        font-size: 14px;
    }
    
    .knob-subtext {
        font-size: 10px;
    }
    
    /* Mobile Modal */
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .onboaring-model-content {
        padding: 1.5rem;
    }
    
    /* Mobile Form Elements */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem 1rem;
        min-height: 50px;
    }
    
    .form-button {
        padding: 1rem 1.5rem;
        min-height: 50px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .onboaring-step-container {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .onboaring-step-container .fs-3 {
        font-size: 1.5rem;
    }
    
    .onboarding-step-subtitle {
        font-size: 0.875rem;
    }
    
    .plan-details {
        padding: 1rem;
    }
    
    .plan-title {
        font-size: 18px;
    }
    
    .plan-price .amount {
        font-size: 28px;
    }
}

/* ========================================
   MODERN FORM VALIDATION STATES
======================================== */

.form-control.is-valid {
    border-color: var(--success-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-control.is-invalid {
    border-color: var(--error-red);
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.1);
}

.invalid-feedback {
    display: block;
    color: var(--error-red);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.valid-feedback {
    display: block;
    color: var(--success-green);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Validation Loading State */
.form-control.validating {
    border-color: var(--warning-yellow);
    background-image: url("data:image/svg+xml,%3csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cg fill='%23f59e0b' fill-opacity='0.7'%3e%3cpath d='M10 18a8 8 0 100-16 8 8 0 000 16zM9.5 9a.5.5 0 01.5-.5h.5a.5.5 0 01.5.5v4a.5.5 0 01-.5.5H10a.5.5 0 01-.5-.5V9zM10 6a1 1 0 100 2 1 1 0 000-2z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 16px;
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.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;
}

/* Focus indicators for keyboard navigation */
.form-control:focus,
.form-button:focus,
.plan-details:focus,
.accordion--button:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ========================================
   LOADING STATES AND PROGRESS
======================================== */

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.125rem;
}

.form-button .spinner-border {
    margin-left: 0.5rem;
}

.validation-loader {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Step Progress Enhancement */
.step-item.completed .digit-container {
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
    color: white;
}

.step-item.completed .digit-container::after {
    content: '✓';
    font-size: 14px;
}

/* Modern Error/Success Messages */
.error-message {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.1) 0%, rgba(248, 113, 113, 0.05) 100%);
    border: 1px solid rgba(248, 113, 113, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    color: var(--error-red);
    font-weight: 500;
}

.success-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    color: var(--success-green);
    font-weight: 500;
}

/* Clean up legacy styles that might conflict */
.info-box,
.form-small-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.form-small-info img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

/* ========================================
   MODERN BILLING TOGGLE (No Modal)
======================================== */

.billing-toggle-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0 3rem 0;
}

.billing-toggle {
    position: relative;
    display: inline-block;
}

.billing-checkbox {
    display: none;
}

.billing-label {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 4px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 280px;
    height: 56px;
}

.billing-option {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1rem;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.billing-text {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.billing-badge {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--success-green);
    margin-top: 2px;
}

.billing-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border-radius: 46px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 2px 10px rgba(21, 101, 216, 0.3);
}

.billing-checkbox:checked + .billing-label .billing-slider {
    transform: translateX(calc(100% + 4px));
}

.billing-checkbox:checked + .billing-label .billing-yearly .billing-text,
.billing-checkbox:checked + .billing-label .billing-yearly .billing-badge {
    color: white;
}

.billing-checkbox:not(:checked) + .billing-label .billing-monthly .billing-text {
    color: white;
}

/* ========================================
   MODERN PLAN CARDS (Inline, No Modal)
======================================== */

.modern-plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.modern-plan-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modern-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.modern-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.modern-plan-card.selected {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-blue);
    box-shadow: 0 25px 50px rgba(21, 101, 216, 0.3);
}

.modern-plan-card.selected::before {
    opacity: 0.05;
}

.modern-plan-card > * {
    position: relative;
    z-index: 2;
}

/* Recommended Badge */
.plan-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 12px 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 3;
}

.plan-recommended {
    border-color: var(--success-green);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2);
}

/* Plan Header */
.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.plan-description {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Plan Pricing */
.plan-pricing {
    text-align: center;
    margin-bottom: 2rem;
}

.price-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price-currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-period {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

.price-note {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.yearly-savings {
    color: var(--success-green);
    font-weight: 600;
}

/* Plan Features */
.plan-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.feature-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.feature-item .bi-check-circle-fill {
    color: var(--success-green);
}

.feature-item.feature-disabled {
    opacity: 0.5;
}

.feature-item.feature-disabled .bi-x-circle {
    color: var(--text-secondary);
}

/* Plan Select Button */
.plan-select-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.plan-select-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.plan-select-button:hover::before {
    left: 100%;
}

.plan-select-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 101, 216, 0.4);
}

.modern-plan-card.plan-recommended .plan-select-button {
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.modern-plan-card.plan-recommended .plan-select-button:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: flex-start;
    margin: 1rem 0 0.5rem 0;
}

.step-back-button {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    color: var(--primary-blue);
    border-radius: 12px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
}

.step-back-button:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(-2px);
}

.step-back-button i {
    font-size: 1.1rem;
}

/* Security Info */
.security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 0.625rem 0.875rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 10px;
    min-height: 48px;
}

.security-info i {
    color: var(--success-green);
    font-size: 1.1rem;
}

/* Price Change Animation */
.price-amount.changing {
    transform: scale(1.1);
    color: var(--primary-blue);
}

/* Mobile Responsiveness for Modern Plans */
@media (max-width: 768px) {
    .modern-plans-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modern-plan-card {
        padding: 1.5rem;
    }
    
    .billing-label {
        width: 240px;
        height: 50px;
    }
    
    .billing-option {
        padding: 0.5rem 0.75rem;
    }
    
    .billing-text {
        font-size: 12px;
    }
    
    .billing-badge {
        font-size: 9px;
    }
    
    .price-amount {
        font-size: 40px;
    }
    
    .plan-name {
        font-size: 20px;
    }
}

/* ========================================
   MODERN PLAN SLIDER DESIGN
======================================== */

/* Plan Slider Container */
.plan-slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    position: relative;
}

.plan-slider-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.plan-slider {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slider-plan-card {
    min-width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-right: 0;
}

.slider-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(59, 130, 246, 0.1);
}

.slider-plan-card.plan-recommended {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.slider-plan-card.plan-recommended:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 25px 50px -12px rgba(59, 130, 246, 0.3),
        0 0 0 1px rgba(59, 130, 246, 0.2);
}

.slider-plan-card.selected {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border: 2px solid var(--primary-blue);
    transform: translateY(-8px);
}

/* Navigation Buttons */
.slider-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #f1f5f9;
    backdrop-filter: blur(20px);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-nav-btn:hover:not(:disabled) {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
    border-color: var(--primary-blue);
}

.slider-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #e2e8f0;
    color: #cbd5e1;
    border-color: #e2e8f0;
}

.slider-nav-btn:active:not(:disabled) {
    transform: scale(0.95);
}

/* Plan Indicators */
.plan-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(82 82 82 / 57%);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.indicator.active {
    background: var(--primary-blue);
    transform: scale(1.5);
}

.indicator:hover {
    background: rgba(59, 130, 246, 0.7);
    transform: scale(1.2);
}

/* Step 3 Specific Container Adjustments */
#step3.onboaring-step-container {
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    overflow: visible;
}

#step3 .step-navigation {
    margin: 0.5rem 0 0.5rem 0;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: stretch;
    width: 100%;
}

#step3 .security-info {
    margin: 0;
    flex: 1;
    min-height: 48px;
}

#step3 .step-back-button {
    flex: 0 0 auto;
    min-height: 48px;
}

/* ========================================
   STEP 2 SPECIFIC STYLES
======================================== */

#step2 .step2-navigation {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: stretch;
    width: 100%;
    margin: 0.5rem 0;
}

#step2 .step2-back-link {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

#step2 .step2-back-link a {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    color: var(--primary-blue);
    border-radius: 12px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
    text-decoration: none;
}

#step2 .step2-back-link a:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(-2px);
    text-decoration: none;
}

#step2 .step2-back-link a i {
    font-size: 1.1rem;
}

#step2 .step2-navigation .form-button {
    flex: 1;
    margin: 0;
    min-height: 48px;
    height: 48px;
    padding: 0.625rem 2rem;
}

/* ========================================
   STEP 4 SPECIFIC STYLES
======================================== */

#step4 .step4-navigation {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: stretch;
    width: 100%;
    margin: 0.5rem 0;
}

#step4 .step4-back-link {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

#step4 .step4-back-link a {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    color: var(--primary-blue);
    border-radius: 12px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
    text-decoration: none;
}

#step4 .step4-back-link a:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(-2px);
    text-decoration: none;
}

#step4 .step4-back-link a i {
    font-size: 1.1rem;
}

#step4 .step4-navigation .form-button {
    flex: 1;
    margin: 0;
    min-height: 48px;
    height: 48px;
    padding: 0.625rem 2rem;
}

/* Plan Content (reuse existing styles) */
.slider-plan-card .plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.slider-plan-card .plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.slider-plan-card .plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.slider-plan-card .plan-description {
    color: var(--text-secondary);
    font-size: 1rem;
}

.slider-plan-card .plan-pricing {
    text-align: center;
    margin-bottom: 2rem;
}

.slider-plan-card .price-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.slider-plan-card .price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.slider-plan-card .price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.slider-plan-card .price-period {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.slider-plan-card .price-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.slider-plan-card .yearly-savings {
    color: var(--success-green);
    font-weight: 600;
}

.slider-plan-card .plan-features {
    margin-bottom: 2rem;
}

.slider-plan-card .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.slider-plan-card .feature-icon {
    color: var(--success-green);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.slider-plan-card .feature-item.feature-disabled .feature-icon {
    color: #d1d5db;
}

.slider-plan-card .feature-item.feature-disabled {
    opacity: 0.6;
}

.slider-plan-card .plan-select-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.slider-plan-card .plan-select-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.slider-plan-card .plan-select-button:active {
    transform: translateY(0);
}

/* Responsive Slider Design */
@media (max-width: 768px) {
    .plan-slider-container {
        margin: 1rem 0;
        gap: 0.75rem;
    }
    
    .slider-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-plan-card {
        padding: 1.5rem;
    }
    
    .slider-plan-card .plan-name {
        font-size: 1.5rem;
    }
    
    .slider-plan-card .price-amount {
        font-size: 2.5rem;
    }
    
    .plan-indicators {
        margin: 0.75rem 0;
    }
    
    /* Step 3 mobile adjustments */
    #step3.onboaring-step-container {
        min-height: auto;
        padding: 1.5rem;
    }
    
    #step3 .step-navigation {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    #step3 .step-back-button {
        width: 100%;
        justify-content: center;
    }
    
    /* Step 2 mobile adjustments */
    #step2 .step2-navigation {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    #step2 .step2-back-link a {
        width: 100%;
        justify-content: center;
    }
    
    /* Step 4 mobile adjustments */
    #step4 .step4-navigation {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    #step4 .step4-back-link a {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .plan-slider-container {
        gap: 0.5rem;
    }
    
    .slider-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .slider-plan-card {
        padding: 1.25rem;
    }
    
    .slider-plan-card .plan-name {
        font-size: 1.25rem;
    }
    
    .slider-plan-card .price-amount {
        font-size: 2rem;
    }
    
    .slider-plan-card .feature-item {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    /* Step 3 small mobile adjustments */
    #step3.onboaring-step-container {
        padding: 1rem;
    }
}



.onboarding-step-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-align: left;
    color: #8692A6;
    width: 411px;
    height: 56px;
    top: 239px;
    left: 793px;
    gap: 0px;
}

.onboaring-step-container {
    height: auto;
    width: 100%;
    margin: auto;
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
}

    .onboaring-step-container .form {
        margin: 50px 0;
        -webkit-flex-grow: 1;
        flex-grow: 1;
        width: 100%;
        max-width: 563px;
        min-width: 300px;
    }

    .onboaring-step-container .form-label {
        font-size: 16px;
        font-weight: 400;
        line-height: 19.36px;
        text-align: left;
        color: #696F79;
    }

    .onboaring-step-container .form-control {
        height: 54px;
        top: 448px;
        left: 793px;
        gap: 0px;
        border-radius: 6px;
        border: 1px 0px 0px 0px;
    }

    .onboaring-step-container .form-button {
        font-size: 16px;
        font-weight: 400;
        line-height: 19.36px;
        text-align: center;
        color: #FFFFFF;
        width: 100%;
        max-width: 426px;
        min-width: 280px;
        height: 64px;
        gap: 0px;
        border-radius: 6px;
        background: #1565D8;
        display: flex;
        align-items: center;
        -webkit-justify-content: center;
        justify-content: center;
        cursor: pointer;
        min-height: 50px;
        border: none;
        transition: all 0.3s ease;
    }

        .onboaring-step-container .form-button[disabled] {
            background: #1565d875;
            cursor: default;
        }

    .onboaring-step-container .form-button.disabled {
        background: #CACACA;
        cursor: auto;
    }

    .onboaring-step-container .form-small-info {
        margin-top: 35px;
        font-size: 12px;
        font-weight: 400;
        line-height: 14.52px;
        color: #8692A6;
        display: flex;
        -webkit-justify-content: center;
        justify-content: center;
    }

.form-input-group {
    position: relative;
}

.form-input-suffix-text {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    right: 0;
    padding: 0 15px;
}

    .form-input-suffix-text .text {
        font-size: 12px;
        font-weight: 400;
        line-height: 14.52px;
        text-align: right;
    }

        .form-input-suffix-text .text:hover {
            cursor: pointer;
            text-decoration: underline;
        }

.onboaring-model-content {
    display: flex;
    align-items: center;
    justify-content: center;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.onboardin-plans-details {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 15px;
    -webkit-justify-content: space-around;
    justify-content: space-around;
}

.plan-details {
    width: 260px;
    min-height: 370px;
    border-radius: 24px;
    padding: 10px 15px;
    color: #1565D8;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    cursor: pointer;
}

.plan-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 29.05px;
    text-align: left;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
}

.plan-features {
    font-weight: 500;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
}

.plan-features-list {
    -webkit-flex-grow: 1 !important;
    flex-grow: 1 !important;
}

.plan-feature-item.no {
    color: #1565d854;
}

.plan-price {
    font-size: 17px;
    font-weight: 700;
    line-height: 20.57px;
    text-align: left;
}

.plan-action {
    width: 212px;
    height: 48px;
    top: 295px;
    left: 24px;
    gap: 0px;
    border-radius: 6px;
    background: #1565D8;
    color: white;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}


.price .amount {
    font-size: 26px;
    font-weight: 700;
    line-height: 19.36px;
    text-align: left;
}

.price .scal, .price .scal2 {
    font-size: 22px;
    line-height: 19.36px;
    text-align: left;
    width: 71px;
    height: 25px;
    gap: 0px;
    opacity: 0.68;
}

.price .unit {
    font-size: 20px;
    font-weight: 500;
}

.accordion-action-button {
    font-size: 18px;
    font-weight: 700;
    line-height: 21.78px;
    text-align: center;
    border-radius: 16px;
    width: 150px;
    height: 40px;
    top: 741px;
    left: 1024.56px;
    gap: 0px;
    background: #FFFFFFE5;
    color: #1565D8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.plan-details .price {
    display: block;
    margin-bottom: 10px;
}

    .plan-details .price .amount {
        font-size: 20px;
        font-weight: 700;
        line-height: 19.36px;
        text-align: left;
    }

    .plan-details .price .scal {
        font-size: 16px;
        line-height: 19.36px;
        text-align: left;
        width: 71px;
        height: 25px;
        gap: 0px;
        opacity: 0.68;
        font-weight: 400;
    }

    .plan-details .price .unit {
        font-size: 16px;
        font-weight: 500;
    }

.flex-grow-1 {
    -webkit-flex-grow: 1;
    flex-grow: 1 !important;
}

.plan-details .subtitle {
    font-size: 13.5px;
    font-weight: 400;
    line-height: 35.05px;
    text-align: left;
    color: #1565D8;
    margin-left: 10px;
    display: block;
}


.plan-details.active {
    background: #1565D8;
    color: #FFFFFF;
}

    .plan-details.active .subtitle {
        color: #FFFFFF;
    }

    .plan-details.active .plan-action {
        background: #FFFFFF;
        color: #1565D8;
    }

    .plan-details.active .plan-feature-item.no {
        color: #ffffff6e;
    }
/*______________________________________________________________________*/
.toggle-button-cover {
    display: table-cell;
    position: relative;
    height: 80px;
    box-sizing: border-box;
    margin-top: 20px;
}

.button-cover,
.knobs,
.layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.button.r,
.button.r .layer {
    border-radius: 100px;
}

.button.b2 {
    border-radius: 6px;
}

.checkbox {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.knobs {
    z-index: 2;
}

.layer {
    width: 100%;
    background-color: #1565D8;
    transition: 0.3s ease all;
    z-index: 1;
}

#button-18 .knobs:before,
#button-18 .knobs span {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: #ffffff;
    border-radius: 6px;
}

/* Blue rect */
.button {
    position: relative;
    top: 10px;
    left: 10px;
    width: 320px;
    height: 55px;
    margin-top: -20px;
    overflow: hidden;
}

/* White rect */
#button-18 .knobs span {
    width: 160px;
    height: 45px;
    padding: 9px 4px;
    transition: 0.5s ease all, left 0.5s cubic-bezier(0.38, 0.89, 0.75, 1.15);
    z-index: 1;
}

#button-18 .checkbox:checked + .knobs span {
    left: 155px;
}

.knob-content {
    display: flex;
    height: 100%;
    padding: 10px;
}

.knob-section {
    flex-grow: 1;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.knob-text {
    margin-left: -22px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: 14.52px;
    text-align: left;
}

#button-18 .checkbox:checked + .knobs .yes-text,
#button-18 .checkbox:checked + .knobs .yes-subtext {
    color: #fff;
}

#button-18 .checkbox:not(:checked) + .knobs .no-text,
#button-18 .checkbox:not(:checked) + .knobs .no-subtext {
    color: #fff;
}

.knob-subtext {
    margin-top: 4px;
    margin-left: -22px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    color: #1565D8;
}

/* ------------------------------------ */
.accordion ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion li {
    margin-bottom: 1px;
}

.accordion .accordion--button {
    position: relative;
    background: none;
    border-radius: 0;
    background: #FFFFFF;
    box-shadow: 0 10px 20px -8px #c5d6d6;
    color: #000;
    padding: 12px;
    margin: 0;
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    margin-top: 20px;
    font-size: 22px;
    font-weight: 700;
    line-height: 29.05px;
    text-align: left;
    height: 77px;
}

.view-features {
    font-size: 14.8px;
    font-weight: 500;
    line-height: 16.94px;
    text-align: left;
    color: #FFFFFF;
    line-height: 100px;
    text-decoration: underline;
    margin-right: 15px;
    display: none;
}

.accordion .accordion--button .subtitle {
    font-size: 14.8px;
    font-weight: 400;
    line-height: 16.94px;
    text-align: left;
    color: #1565D8;
    line-height: 100px;
    margin-right: 15px;
    display: block;
}

.accordion .accordion--button:focus {
    outline: 1px dashed rgba(0, 0, 0, 0.5);
}

.accordion-icon-container {
    background-color: #1565D8;
    width: 26px;
    height: 26px;
    border-radius: 25px;
    font-size: 0.8em;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion .accordion-icon {
    margin-top: 2px;
    margin-left: -1px;
}

.accordion .accordion--body {
    padding: 12px;
    width: 443.44px;
    flex-direction: column;
    width: 100%;
}

    .accordion .accordion--body .accordion--text {
        height: 80px;
    }

.accordion-container {
    padding-left: 10px;
}

    .accordion-container.active {
        background-image: url('/img/global/accordion-bg.svg');
        background-size: 100% 100%;
        border-radius: 6px;
        color: #fff;
        height: 225px;
    }

        .accordion-container.active .accordion--button {
            background-color: transparent;
            box-shadow: none;
            outline: none;
            color: #fff;
        }

        .accordion-container.active .accordion--body {
            padding-top: 0;
        }

        .accordion-container.active .accordion-icon-container {
            background: #e2dede59;
        }

        .accordion-container.active .view-features {
            display: block;
        }

        .accordion-container.active .subtitle {
            display: none;
        }

    .accordion-container i.up {
        display: none;
    }

    .accordion-container i.down {
        display: block;
    }

    .accordion-container.active i.up {
        display: block;
    }

    .accordion-container.active i.down {
        display: none;
    }

/*______________________________________________________________________*/
.progress-step {
    height: 24px;
    top: 354px;
    left: 793px;
    gap: 0px;
    color: #1565D8;
    font-weight: 500;
    font-size: 0.9em;
}

.user-check-options {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

    .user-check-options .form-label {
        color: #000 !important;
    }
.info-box {
    width: 426px;
    border: 1px solid #007bff;
    border-radius: 5px;
    padding: 20px;
    color: #1B448C;
    padding: 5px 10px;
}

    .info-box .bold-text {
        color: #163873;
        font-weight: bold;
    }
.credit-card-continer{
    display: flex;
}


.error-message {
    width: 415px;
    border: solid thin #FF2200;
    padding: 5px 10px;
    border-radius: 6px;
    color: #FF2200;
}

/* Default width for small screens */
.responsive-box {
    width: 829px; /* Default to full width */
}

/* Medium screens (tablets, 768px and up) */
@media (min-width: 768px) {
    .responsive-box {
        width: 75%; /* 75% width on medium screens */
    }
}

/* Large screens (desktops, 992px and up) */
@media (min-width: 992px) {
    .responsive-box {
        width: 400px; /* 33% width on extra large screens */
    }
}

/* Extra large screens (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .responsive-box {
        width: 529px; /* 33% width on extra large screens */
    }
}
@media (min-width: 1658px) {
    .responsive-box {
        width: 829px; /* 33% width on extra large screens */
    }
    .modal-lg {
        --bs-modal-width: 1200px !important;
    }
}

.invalid {
    border-color: #dc3545 !important;
}





#card-element {
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    padding: 15px 9px;
    margin: 10px 0;
}

#card-errors {
    color: #fa755a;
    margin-top: 10px;
    font-size: 0.9em;
}

button#submit {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

    button#submit:hover {
        background-color: #0056b3;
    }

.onboarding-logout {
    position: absolute;
    top: 16px;
    right: 18px;
    background: #1565d8c7;
    padding: 2px 10px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.05em;
    font-weight: 400;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

/* ============================================
   MOBILE RESPONSIVE IMPROVEMENTS
   ============================================ */

/* Mobile Portrait - Small phones (up to 576px) */
@media (max-width: 576px) {
    .onboarding-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .content {
        justify-content: flex-start;
        padding-top: 40px;
    }
    
    .onboaring-step-container {
        padding: 15px;
        max-width: 100%;
        width: 100%;
    }
    
    .onboaring-step-container .form {
        margin: 30px 0;
        min-width: 280px;
        width: 100%;
    }
    
    .onboaring-step-container .form-button {
        width: 100%;
        min-width: 280px;
        max-width: none;
        height: 56px;
        font-size: 16px;
        margin: 20px 0;
    }
    
    .onboaring-step-container .form-control {
        height: 50px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Responsive typography */
    .fs-3 {
        font-size: 1.5rem !important;
        text-align: center;
        margin-bottom: 20px;
    }
    
    /* Better spacing for mobile */
    .mb-3 {
        margin-bottom: 1.2rem !important;
    }
    
    /* Error message responsive */
    .error-message {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Info box responsive */
    .info-box {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Mobile Landscape - Large phones (577px to 767px) */
@media (min-width: 577px) and (max-width: 767px) {
    .content {
    }
    
    .onboaring-step-container {
        padding: 20px;
        max-width: 500px;
    }
    
    .onboaring-step-container .form {
        min-width: 350px;
    }
    
    .onboaring-step-container .form-button {
        width: 100%;
        max-width: 400px;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .onboarding-container {
        flex-direction: row;
    }
    
    .onboarding-image {
        flex: 0.4;
    }
    
    .content {
        flex: 0.6;
    }
    
    .overlay-text {
        font-size: 28px;
        line-height: 1.3;
        width: auto;
        max-width: 350px;
    }
}

/* Desktop optimizations (992px and up) */
@media (min-width: 992px) {
    .onboarding-container {
        height: 100vh;
    }
    
    .content {
    }
    
    .onboaring-step-container {
        max-width: 600px;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .onboaring-step-container .form-button:hover {
        background: #1565D8;
        transform: none;
    }
    
    .onboaring-step-container .form-button:active {
        background: #1248A8;
        transform: scale(0.98);
    }
    
    /* Better touch targets */
    .onboaring-step-container .form-control {
        min-height: 48px;
    }
    
    .onboaring-step-container .form-button {
        min-height: 48px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-imetadex {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape orientation specific */
@media (max-height: 500px) and (orientation: landscape) {
    .content {
        justify-content: flex-start;
    }
    
    .onboaring-step-container {
        min-height: auto;
    }
    
    .onboaring-step-container .form {
        margin: 20px 0;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .onboaring-step-container .form-button {
        transition: none;
    }
}

/* Dark mode support preparation */
@media (prefers-color-scheme: dark) {
    /* Future dark mode styles can be added here */
}

/* ========================================
   ENHANCED WEBSITE INPUT STYLING
======================================== */

.website-input-container {
    position: relative;
}

.website-input-help {
    margin-top: 6px;
}

.website-input-help .form-text {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* Enhanced form control states with better transitions */
.form-control {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.form-control:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    outline: none;
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.form-control.invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
    background: rgba(255, 245, 245, 0.9);
}

.form-control.valid {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
    background: rgba(240, 253, 244, 0.9);
}

/* Enhanced label styling */
.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 15px;
}

/* Loading state for form controls */
.form-control.validating {
    border-color: #f59e0b;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2'%3e%3cpath d='M21 12a9 9 0 11-6.219-8.56'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
}

@keyframes spin {
    from { 
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2'%3e%3cpath d='M21 12a9 9 0 11-6.219-8.56'/%3e%3c/svg%3e");
        transform: rotate(0deg);
    }
    to { 
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2'%3e%3cpath d='M21 12a9 9 0 11-6.219-8.56'/%3e%3c/svg%3e");
        transform: rotate(360deg);
    }
}

/* Success and error icons */
.form-control.valid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2'%3e%3cpath d='M20 6L9 17l-5-5'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
}

.form-control.invalid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2'%3e%3cpath d='M18 6L6 18M6 6l12 12'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
}

/* Responsive input improvements */
@media (max-width: 768px) {
    .website-input-help .form-text {
        font-size: 12px;
    }
    
    .form-control {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-label {
        font-size: 14px;
    }
}

/* ========================================
   ENHANCED STEP PROGRESS INDICATORS
======================================== */

/* Progress Header */
.onboarding-progress-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.progress-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.current-step-info {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.progress-percentage {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 18px;
}

.progress-bar-container {
    position: relative;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-checkpoints {
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 20px;
}

.checkpoint {
    position: absolute;
    transform: translateX(-50%);
}

.checkpoint-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--text-secondary);
    transition: all 0.3s ease;
}

.checkpoint.completed .checkpoint-dot {
    background: var(--success-green);
    border-color: var(--success-green);
}

.checkpoint.current .checkpoint-dot {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.2);
}

.checkpoint-label {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Side Progress Line Enhancement */
.progress-line-container {
    position: absolute;
    left: 25px;
    top: 60px;
    bottom: 60px;
    width: 4px;
    z-index: 0;
}

.progress-line {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--success-green) 0%, var(--primary-blue) 100%);
    border-radius: 2px;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Step Items */
.step-item.enhanced {
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    margin-right: 30px;
}

/* Removed clickable class styling - steps are display only */

.step-item.current {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateX(8px);
}

.step-item.completed .digit-container {
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
    color: white;
    border-color: var(--success-green);
}

.step-item.pending {
    opacity: 0.6;
}

/* Step Validation Indicators */
.step-validation-indicator {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid white;
    z-index: 3;
}

.step-validation-indicator .validation-success,
.step-validation-indicator .validation-error {
    display: none;
    font-size: 10px;
    font-weight: bold;
}

.step-validation-indicator.success .validation-success {
    display: block;
    color: var(--success-green);
}

.step-validation-indicator.error .validation-error {
    display: block;
    color: var(--error-red);
}

.step-validation-indicator.loading .validation-loading {
    display: flex;
}

.validation-loading {
    display: none;
}

.spinner-micro {
    width: 8px;
    height: 8px;
    border: 1px solid var(--primary-blue);
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin-micro 0.8s linear infinite;
}

@keyframes spin-micro {
    to { transform: rotate(360deg); }
}

/* Step Descriptions */
.step-description {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin-top: 6px;
    margin-left: 0.75rem;
    line-height: 1.2;
}

.step-item.current .step-description {
    color: rgba(255, 255, 255, 1);
    font-weight: 500;
}

.step-item.completed .step-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Step Titles */
.step-title.text-success {
    color: var(--success-green) !important;
}

.step-title.text-danger {
    color: #ff6b6b !important;
}

/* Navigation Enhancements */
.step-item.enhanced[title] {
    position: relative;
}

/* Tooltip removed - steps are display only */

@keyframes tooltip-fade-in {
    from { opacity: 0; transform: translateY(-50%) translateX(-10px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Responsive Progress Indicators */
@media (max-width: 768px) {
    .onboarding-progress-header {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 12px;
        max-width: 100%;
        width: calc(100% - 1rem);
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    
    .progress-header-info {
        margin-bottom: 0.75rem;
    }
    
    .current-step-info,
    .progress-percentage {
        font-size: 14px;
    }
    
    .progress-checkpoints {
        display: none; /* Hide detailed checkpoints on mobile */
    }
    
    .step-item.enhanced {
        padding: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .step-description {
        font-size: 10px;
    }
    
    .step-validation-indicator {
        width: 14px;
        height: 14px;
    }
    
    /* Simplify side progress on mobile */
    .progress-line-container {
        left: 20px;
        width: 3px;
    }
    
    .step-item.enhanced:hover::after {
        display: none; /* No tooltips on mobile */
    }
}

@media (max-width: 480px) {
    .onboarding-progress-header {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        max-width: 100%;
        width: calc(100% - 1rem);
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        border-radius: 12px;
    }
    
    .step-item.enhanced {
        padding: 0.25rem;
        margin-bottom: 1rem;
    }
    
    .step-item.enhanced:hover {
        transform: none; /* Reduce transform on very small screens */
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .progress-bar-fill,
    .progress-fill,
    .step-item.enhanced,
    .checkpoint-dot {
        transition: none;
    }
    
    .progress-bar-fill::after {
        animation: none;
    }
    
    .spinner-micro {
        animation: none;
        border: 2px solid var(--primary-blue);
    }
}

/* Focus indicators for keyboard navigation */
.step-item.enhanced:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .progress-bar-fill {
        background: var(--primary-blue);
    }
    
    .step-validation-indicator {
        border-color: black;
    }
    
    .step-validation-indicator.success .validation-success {
        color: green;
    }
    
    .step-validation-indicator.error .validation-error {
        color: red;
    }
}

