/* Reset and Base Styles */
:root {
    --font-family: 'Poppins', sans-serif;
    --color-primary: #388bf3;
    --color-secondary: #2c6fb5;
    --color-text: #333333;
    --color-text-light: #555555;
    --color-text-lighter: #666666;
    --color-text-muted: #999999;
    --color-text-dark: #4a4a4a;
    --color-text-gray: #888888;
    --color-background: #ffffff;
    --color-background-alt: #f8f9fb;
    --color-background-light: #f5f7fa;
    --color-input-background: #f9f9f9;
    --color-background-gray: #f0f0f0;
    --color-border: #cccccc;
    --color-error: red;
    --color-success: green;
    --color-warning: orange;
    --color-gray: #888888;
    --color-card-background: #e6f0fc;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

html,
body {
    height: 100%;
    width: 100%;
    font-family: var(--font-family);
}

.onboarding_body  {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-background-light);
}

/* Container */
.container {
    display: flex;
    width: 100%;
    height: 100vh;
    background-color: var(--color-background);
    overflow: hidden;
}

/* Left and Right Sections */
.left {
    flex: 0 0 35%;
    padding: 60px 60px 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: var(--color-background);
    position: relative;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
    overflow-y: auto;
    min-height: 100vh;
}

.left.corporate {
    padding-top: 20px;
}

.left.login {
    padding-top: 100px;
}

.left .content {
    width: 100%;
    max-width: 350px;
    margin-top: 20px;
}

.right {
    flex: 0 0 65%;
    padding: 80px 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: var(--color-background-alt);
    position: relative;
    z-index: 0;
}


@media (max-width: 992px) {


body .left .input-container label {
    font-weight: 700;
}

body .progress-bar-text {
    font-family: 'Poppins-bd';
}

body .new-users-message-icon {
    color: #999;
}

body .login-link,
body .signup-business,
body .signup-individual {
    font-family: 'Poppins-bd';
}

body .no-requirements {
    font-size: 14px;
}

body .rating {
    margin-bottom: 5px;
}

body .input-container input,
body .input-container select {
    background-color: unset;
}

body .left {
background: #f5f9ff;
}

body .left .sign-up.bottom {
    margin-top: 5px;
}

body .left .user-count {
    order: 10;
    margin-top: 15px;
}

    body .container {
        padding: 0;
    }
    
    body .left,
    body .right {
        padding: 60px 20px;
    }
    
    body .new-users-message-icon,
    body .new-users-message-pill {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* Logo */
.logo {
    margin-bottom: 20px;
}

.logo svg {
    color: var(--color-text);
}

.logo_desktop_only {
    display: block !important;
}
.logo_mobile_only {
    display: none !important;
}

/* Content Wrapper inside Left */
.left .content {
    width: 100%;
    max-width: 350px;
}

/* Typography */
h2 {
    font-size: 32px;
    font-family: var(--font-family);
    margin-bottom: 15px;
    color: var(--color-text);
    text-align: left;
    width: 100%;
    font-family: var(--font-family);
}

h1, p.subtitle {
    font-size: 18px;
    font-family: var(--font-family);
    margin-bottom: 30px;
    color: var(--color-text-lighter);
    text-align: left;
    width: 100%;
    font-family: var(--font-family);
}

/* Input Fields Container */
.form-container {
    width: 100%;
    margin: 0;
}

/* Input Fields */
.input-container {
    margin-bottom: 15px;
    width: 100%;
}

.input-container label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-family: var(--font-family);
    color: var(--color-text-light);
}

.input-container input,
.input-container select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-family);
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: var(--color-input-background);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.input-container input:focus,
.input-container select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 5px rgba(56, 139, 243, 0.3);
    background-color: var(--color-background);
}

/* Custom Select Arrow */
.custom-select {
    position: relative;
}

.custom-select::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 14px;
    width: 0;
    height: 0;
    pointer-events: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--color-gray);
    transform: translateY(-50%);
}

.input-container select {
    padding-right: 40px;
}

/* Input Error State */
.input-error {
    border-color: var(--color-error) !important;
}

.error-message {
    color: var(--color-error);
    font-size: 12px;
    font-family: var(--font-family);
    margin-top: 5px;
}

.info-message {
    color: var(--color-text-lighter);
    font-size: 12px;
    font-family: var(--font-family);
    margin-top: 5px;
}

/* Password Container */
.password-container {
    position: relative;
}

.password-container input {
    padding-right: 70px; /* Space for the eye icon and strength icon */
}

/* Password Strength Icon */
.password-strength-icon {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: default;
}

/* Weak Password */
.password-strength-icon.weak {
    background-color: var(--color-error);
    cursor: pointer;
}
.info-message.weak {
    color: var(--color-error);
}
/* Medium Strength Password */
.password-strength-icon.medium {
    background-color: var(--color-warning);
    cursor: pointer;
}
.info-message.medium {
    color: var(--color-warning);
}

/* Strong Password */
.password-strength-icon.strong {
    background-color: var(--color-success);
    cursor: pointer;
}
.info-message.strong {
    color: var(--color-success);
}

/* Toggle Password Visibility */
.password-container .toggle-password {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    right: 14px;
    height: 100%;
    display: flex;
    align-items: center; /* Center vertically */
    cursor: pointer;
    user-select: none;
}

.eye-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-gray);
    transition: fill 0.3s;
}

.eye-icon.active {
    fill: var(--color-primary);
}

/* Forgot Password */
.forgot-password {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.forgot-password a {
    font-size: 13px;
    font-family: var(--font-family);
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Sign In Button */
.sign-in-btn,
.next-btn {
    background-color: var(--color-primary);
    color: var(--color-background);
    font-weight: bold;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 14px;
    font-family: var(--font-family);
    width: 100%;
    margin-top: 20px;
}

.sign-in-btn:hover,
.next-btn:hover {
    background-color: var(--color-secondary);
    transform: translateY(-1px);
}

/* Sign Up and Terms */
.sign-up {
    text-align: center;
    margin-top: 25px;
}

.sign-up p {
    font-size: 14px;
    font-family: var(--font-family);
    color: var(--color-text-light);
    text-align: center;
}

.sign-up a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-family);
    font-weight: bold;
    transition: color 0.3s;
}

.sign-up a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.terms {
    text-align: center;
    font-size: 12px;
    font-family: var(--font-family);
    color: var(--color-text-muted);
    margin-top: 20px;
}

.terms a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.terms a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Right Side Content Wrapper */
.content-wrapper {
    max-width: 600px;
    color: var(--color-text);
    margin-left: 100px;
}
.content-wrapper.footer-right {
    max-width: 700px;
}

/* Rating Section */
.rating {
    margin-bottom: 20px;
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--color-text-dark);
    text-align: left;
}

.rating a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

.rating a:hover {
    text-decoration: underline;
}

/* Right Side Heading */
.right h2 {
    font-size: 28px;
    font-family: var(--font-family);
    margin-bottom: 25px;
    color: var(--color-text);
    text-align: left;
}

/* Features List */
.features {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.features li {
    font-size: 18px;
    font-family: var(--font-family);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.features li::before {
    content: '✓';
    color: var(--color-primary);
    margin-right: 10px;
    font-weight: bold;
}

/* No Requirements */
.no-requirements {
    font-size: 18px;
    font-family: var(--font-family);
    color: var(--color-text);
    font-weight: bold;
    text-align: left;
}

/* Cards for Corporate Content */
.cards {
    display: flex;
    flex-direction: column;
}

.card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-card-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.card-svg-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-primary);
}

.card-content h3 {
    font-size: 18px;
    font-family: var(--font-family);
    margin-bottom: 5px;
    color: var(--color-text);
}

.card-content p {
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Account Type Selection Styles */
.account-type-options {
    display: flex;
    margin-top: 10px;
}

.account-type-option {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-family: var(--font-family);
    font-weight: bold;
    color: var(--color-text-gray);
    background-color: var(--color-background-gray);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.account-type-option:not(:last-child) {
    margin-right: 5px;
}

.account-type-option.active {
    background-color: var(--color-primary);
    color: var(--color-background);
}

.account-type-option:hover {
    background-color: var(--color-secondary);
    color: var(--color-background);
}

.account-type-options button {
    background: none;
    border: 1px solid var(--color-border);
}

.account-type-options button.active {
    background-color: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
}

/* Hidden Class */
.hidden {
    display: none;
}

/* Input Row for Compact Layout */
.input-row {
    display: flex;
    justify-content: space-between;
}

.half-width {
    width: 48%;
}

.content-text {
    font-size: 18px;
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.5;
}

/* Adjust margins for compactness */
.input-container.half-width {
    margin-bottom: 15px;
}

@media (max-height: 700px) {
    .left {
        overflow: auto;
        justify-content: left;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        height: auto;
    }

    .left,
    .right {
        flex: 0 0 100%;
        padding: 60px 40px;
    }

    .right {
        padding-top: 20px;
    }

    .content-wrapper {
        max-width: 100%;
        padding: 0 20px;
        margin-left: 0;
    }

    h2,
    h1,
    p.subtitle {
        max-width: 100%;
    }

    .input-row {
        flex-direction: column;
    }

    .half-width {
        width: 100%;
    }

    .left .content {
        margin-top: 60px;
    }

    /* Adjust password container for mobile */
    .password-container input {
        padding-right: 50px;
    }

    .password-strength-icon {
        right: 40px;
    }

    .password-container .toggle-password {
        right: 14px;
    }

    /* Adjustments for Step Content */
    .content-wrapper {
        margin-left: 0;
    }

    .cards {
        flex-direction: column;
    }

    .card {
        flex-direction: row;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 26px;
        font-family: var(--font-family);
    }

    p.subtitle,
    .card-content h3,
    .card-content p {
        font-size: 16px;
        font-family: var(--font-family);
    }

    .right h2 {
        font-size: 24px;
        font-family: var(--font-family);
    }

    .features li {
        font-size: 16px;
        font-family: var(--font-family);
    }

    .no-requirements {
        font-size: 16px;
        font-family: var(--font-family);
    }

    .sign-in-btn {
        padding: 10px;
        font-size: 13px;
        font-family: var(--font-family);
    }

    .input-container {
        margin-bottom: 15px;
    }

    label {
        font-family: var(--font-family);
        font-size: 13px;
        font-family: var(--font-family);
    }

    input,
    select {
        padding: 10px 14px;
        font-size: 13px;
        font-family: var(--font-family);
    }

    .left .content {
        margin-top: 40px;
        max-width: unset;
        width: 100%;
    }

    /* Adjust password container for small screens */
    .password-container input {
        padding-right: 50px;
    }

    .password-strength-icon {
        right: 40px;
    }

    .password-container .toggle-password {
        right: 14px;
    }
}

/* Remove the right area starting from tablet view and ensure the logo remains visible */
@media (max-width: 992px) {
    .right {
        display: none !important; /* Hide the right section starting from tablet view */
    }

    .left {
        flex: 0 0 100%; /* Make the left section occupy the full width */
    }

    .container {
        padding: 20px; /* Add padding to the container for better spacing */
    }

    .logo {
        display: block; /* Ensure the logo remains visible */
    }

    .logo_desktop_only {
        display: none !important;
    }
    .logo_mobile_only {
        display: block !important;
    }
}

/* Ensure enough space for the logo while keeping the layout clean */
@media (max-width: 576px) {
    .left {
        padding-top: 60px; /* Add enough top padding to accommodate the logo */
    }

    .container {
        padding-top: 0; /* Ensure no extra padding is added to the container */
    }

    .logo {
        margin-bottom: 20px; /* Add spacing below the logo */
    }


    .logo_desktop_only {
        display: none !important;
    }
    .logo_mobile_only {
        display: block !important;
    }
}

/* Visually Hidden Class for Accessibility */
.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap; /* added line */
}

/* Style adjustments for buttons inside inputs */
.password-container button.toggle-password {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    right: 14px;
    height: 100%;
    display: flex;
    align-items: center; /* Center vertically */
    cursor: pointer;
}

/* Account Type Options Button Styles */
.account-type-options button {
    background: none;
    border: 1px solid var(--color-border);
}

.account-type-options button.active {
    background-color: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
}
.success-message {
    color: var(--color-success);
    font-size: 16px;
    font-family: var(--font-family);
    text-align: center;
    margin-top: 20px;
}
.logo-bottom {
    max-width: 300px;
}
.likeLink {
    padding: unset;
    background: unset;
    border: unset;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-family);
    font-weight: bold;
    transition: color 0.3s;  
    cursor: pointer; 
}
.likeLink:hover {
    text-decoration: underline;
}

/* Progress Indicator Styles */
.progress-indicator {
    margin: 30px 0;
    padding: 0 20px;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.progress-line-segment {
    position: absolute;
    height: 2px;
    background-color: #e0e0e0;
    top: 20px;
    width: 70px;
    z-index: 0;
}

.progress-line-1 {
    left: 70px;
}

.progress-line-2 {
    left: 100px;
    width: 110px;
}

.progress-line-3 {
    left: 260px;
}

.progress-steps.step-1 .progress-line-1 {
    background-color: var(--color-primary);
}

.progress-steps.step-2 .progress-line-1,
.progress-steps.step-2 .progress-line-2 {
    background-color: var(--color-primary);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    color: #999;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.progress-step.active .step-circle {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.step-label {
    font-size: 12px;
    color: #999;
    text-align: center;
    white-space: nowrap;
    margin-top: 4px;
}

.progress-step.active .step-label {
    color: #999;
    font-weight: 500;
}

.progress-line {
    display: none;
}

.progress-line-middle {
    display: block;
}

/* Responsive adjustments for progress indicator */
@media (max-width: 576px) {
    .progress-indicator {
        margin: 20px 0;
        padding: 0 10px;
    }
    
    .progress-steps {
        max-width: 300px;
    }
    
    .progress-line {
        margin: 0 10px;
    }
    
    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 12px;
    }
}

/* No Labels Variant Styles */
.progress-indicator.no-labels .progress-steps {
    align-items: center;
}

.progress-indicator.no-labels .step-circle {
    margin-bottom: 0;
    width: 30px;
    height: 30px;
    font-size: 14px;
}

.progress-indicator.no-labels .progress-line {
    margin-top: 0;
}

/* New linear rail progress indicator */
.progress-rail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.rail-line {
    flex: 0 0 auto;
    height: 2px;
    background-color: #e0e0e0;
}

/* Explicit rail segment widths: first/third smaller, second larger */
.progress-rail .line-1,
.progress-rail .line-3 {
    width: 70px;
}
.progress-rail .line-2 {
    width: 110px;
}

.progress-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px; /* spacing between line and circle */
}


/* Step circle states for new structure */
.step-circle.is-active {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.step-circle.is-complete {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* Line fill states by step for new structure */
.progress-rail.is-step-1 .line-1 {
    background-color: var(--color-primary);
}

.progress-rail.is-step-2 .line-1,
.progress-rail.is-step-2 .line-2 {
    background-color: var(--color-primary);
}

@media (max-width: 576px) {
    .progress-rail {
        max-width: 300px;
    }
}

/* Progress Bar Styles for Variant 3 */
.progress-bar-container {
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
    background: linear-gradient(
        90deg,
        var(--progress-start, #a2c7fb) 0%,
        var(--progress-mid, #5aa1f6) 40%,
        var(--progress-end, var(--color-primary)) 100%
    );
}


.progress-bar-text {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
    min-width: 40px;
    text-align: right;
}

/* Responsive adjustments for progress bar */
@media (max-width: 576px) {
    .progress-bar-container {
        margin: 20px 0;
    }
    
    .progress-bar {
        height: 6px;
    }
    
    .progress-bar-text {
        font-size: 12px;
    }
}

/* Variant 4 - Gray text with icon (no pill) */
.new-users-message-icon {
    text-align: center;
    margin-top: 25px;
}

.new-users-message-icon p {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
}

.new-users-message-icon .users-icon {
    margin-right: 8px;
    vertical-align: middle;
}


@media (max-width: 576px) {
    .new-users-message-icon {
        margin-top: 15px;
    }
    
    .new-users-message-icon p {
        font-size: 12px;
    }
}

/* ACC_CT_Form_10 - Variant 1 Styles */
.right[data-ab-experiment="ACC_CT_Form_10"][data-ab-variant="variant_1"] .logo-bottom {
    max-height: 80px !important;
}

.right[data-ab-experiment="ACC_CT_Form_10"][data-ab-variant="variant_1"] .features li strong {
    font-weight: 600;
}

.right[data-ab-experiment="ACC_CT_Form_10"][data-ab-variant="variant_1"] .desktop-only {
    display: block;
}

/* Hide mobile-only sections on desktop */
.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    /* Show mobile-only sections on mobile */
    .mobile-only {
        display: block !important;
    }
    
    .right[data-ab-experiment="ACC_CT_Form_10"][data-ab-variant="variant_1"] .desktop-only {
        display: none !important;
    }
    
    /* Mobile: Bigger Welcome text (variant 1 only) */
    [data-ab-experiment="ACC_CT_Form_10"][data-ab-variant="variant_1"] #main-heading {
        font-size: 36px !important;
    }
    
    /* Mobile: Reduce space between Welcome and Create your account (variant 1 only) */
    [data-ab-experiment="ACC_CT_Form_10"][data-ab-variant="variant_1"] #sub-heading {
        margin-top: 5px !important;
    }
    
    /* Mobile: Bigger logo (variant 1 only) */
    [data-ab-experiment="ACC_CT_Form_10"][data-ab-variant="variant_1"] .logo-bottom {
        max-height: 60px !important;
    }
}