
.seamless-header-image {
    margin: 20px 40px 20px 20px;
}

.o-seamless-navbar {
    text-align: center;
    min-height: 70px;
    box-shadow: 0 0.1em 0.3em -0.1em rgba(0, 0, 0, 0.3);
}

.text-purple { color: #743DBC; }

.gray-out {
    background-color: #E8E8E8 !important;
}

.mobile-stepper-header {
    box-shadow: 0 0.5em 1em -0.2em rgba(0, 0, 0, 0.07);
}

.welcome-container {
    box-shadow: 0 -4px 3px -1px rgba(0, 0, 0, 0.07);
}

.welcome-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 600px;
    width: 100%;
}

.welcome-title h1 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #111111;
    margin: 0;
}

.welcome-title .brand-name {
    font-weight: 700;
}

.welcome-image img {
    max-width: 180px;
    height: auto;
    display: block;
}

.welcome-text {
    height: 56px;
    font-size: 20px;
    line-height: 24px;
    font-weight: bold;
}

.sidebar-stepper {
    gap: 20px;
}

.sidebar-step-item {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-step-item.active {
    background-color: #F1ECF8;
    border: 1px solid #8250C3;
}

label.sidebar-step-item {
    cursor: pointer;
}

.active-main-step {
    flex: 1;
    min-width: 0;
}
.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #C7B1E4;
    background-color: #C7B1E4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-weight: 700;
}

.active .step-icon {
    border-color: #8250C3;
    background-color: #8250C3;
    color: white;
}

.completed .step-icon {
    border: none;
    background: url(/images/check_circle_complete.svg) no-repeat;
}

.step-title {
    color: #767676;
    font-size: 20px;
}

.active .step-title {
    color: black;
}

.active-subtext {
    font-size: 0.75rem;
    color: #6c757d;
}

.md-step-title-container {
    position: relative;
    height: 40px;
    width: 300px;
}

.md-step-title-container .panel {
    position: absolute;
    width: 100%;
    height: 100%;
}

.progress-bar-container {
    display: flex;
    gap: 10px;
}

.mini-progress-bar {
    height: 4px;
    width: 60px;
    background: #ddd;
    margin-top: 4px;
}

.mini-progress-bar .fill {
    height: 100%;
    background: #8250C3;
}

.fill {
    background: #8250C3;
}

.render-page {
    box-shadow: -0.2em 0 0.15em -0.1em rgba(0, 0, 0, 0.2);
}

.mobile-hideable {
    display: block;
}

.selection-container {
    width: 100%;
    max-width: 650px;
}

.selection-card-option {
    border: 2px solid #C7B1E4;
    border-radius: 12px;
    cursor: pointer;
}

.customer-image {
    width:14px;
    height:15px;
    background: url(/images/customer.svg) no-repeat;
}

.lg-image {
    width:22px;
    height:15px;
    background: url(/images/legal-guardian.svg) no-repeat;
}

.option-title {
    font-size: 20px;
    padding-left: 20px;
}

.option-description {
    line-height: 1.4;
}

.option-chevron {
    width:24px;
    height:24px;
    background: url(/images/chevron-right.svg) no-repeat;
}

.seamless-link {
    text-decoration: underline !important;
}

.btn-back-action {
    margin-bottom: 10px;
    gap: 14px;
    border: none;
    font-size: 1.15rem;
    font-weight: bold;
    background: transparent;
}

.back-arrow-icon {
    width: 15px;
    height: 12px;
    background: url(/images/left-arrow.svg) no-repeat;
}

label.selection-card-option {
    display: flex;
    border-radius: 12px;
    cursor: pointer;
    margin: 0;
}

.selection-radio-input {
    display: none;
}

.bold {
    font-weight: 900 !important;
}
.credential-banner {
    width: 100% !important;
}

.btn-outline-custom {
    color: #111111;
    background-color: #ffffff;
    border: 2px solid #c8b6e6;
    border-radius: 20px;
    transition: all 0.2s ease-in-out;
}

.btn-outline-custom:hover {
    background-color: #f7f3fd;
    border-color: #b39ddb;
    color: #111111;
}

.btn-check:checked + .btn-outline-custom {
    border-color: #a88be3;
    background-color: #ffffff;
    color: #111111;
    box-shadow: 0 4px 12px rgba(168, 139, 227, 0.25) !important;
}

.input-control {
    display: block;
    width: 90%;
    line-height: 1;
    height: 54px;
    border: 1px solid #8D8C8C;
    border-radius: 8px;
    padding: 12px 16px 12px 16px;
}
.input-control.input-validation-error {
    border-color: #dc3545;
}

.centered-input {
    text-align: center;
    caret-color: #743DBC;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.dob-container {
    width: 95%;
}

.verification-container {
    width: 100%;
    max-width: 600px;
}

.mobile-ui .credential-container .custom-verification-input {
    width: 80%;
    margin-left: 5px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #8D8C8C;
    background: #F5F5F5;
    color: #191919;

    /* Reset browser default behavior */
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.round-button-seamless {
    font-family: 'OpenSans-Bold','HelveticaNeue-Light','Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif !important;
    font-size: 16px !important;
    border-radius: 90px;
    background-color: #8250C3;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 0.25rem 0.125rem;
    transition-duration: 0.4s;
    max-width: 288px;
    height: 48px !important;
}

.round-button-seamless:hover {
    color: black;
    text-decoration: none;
    background-color: #FFA700;
}

.round-button-light {
    font-family: 'OpenSans-Bold','HelveticaNeue-Light','Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif !important;
    font-size: 16px !important;
    border-radius: 90px;
    background-color: white;
    border: solid 2px;
    color: #743DBC !important;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 0.25rem 0.125rem;
    transition-duration: 0.4s;
    max-width: 288px;
    height: 48px !important;
}

.round-button-light:hover {
    background-color: #ffa700;
    color: black !important;
    border-color: #ffa700;
    text-decoration: none;
}


.round-button-seamless:hover[disabled] {
    background-color: #8250C3;
    color: white;
}

.btn-as-link {
    /*Reset all browser button defaults */
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    outline: none;
    
    display: inline-flex;
    align-items: center;
    gap: 8px;
    
    color: #7B42BC;
    font-size: 16px;
    font-weight: 700;
    transition: opacity 0.2s ease-in-out;
}

.selection-radio-input:checked + .option-icon-wrapper ~ .option-text-block,
.selection-radio-input:checked ~ * {
}

.error-messages-container {
    margin-top: -20px;
}

.error-messages-container span:empty {
    display: none !important;
}

.error {
    font-size: 16px !important;
}

.notification-info-banner {
    display: flex;
    align-items: flex-start;
    background-color: #D2F6F8;
    border-left: 8px solid #1AD1DB;
    border-radius: 5px;
    padding: 16px;
    margin: 16px 0;
    width: 95%;
}

.notification-info-text {
    color: #000000; 
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.info-icon {
    width: 24px;
    height: 24px;
    background: url(/images/info-icon.png) no-repeat;
    flex-shrink: 0;
    margin-right: 12px;
}

.modal-close-btn {
    position: absolute;
    border: none;
    background: transparent;
    width: 24px;
    height: 24px;
    top: 16px;
    right: 20px;
    padding: 0;
    cursor: pointer;
    background: url(/images/close-icon.png) no-repeat;
    cursor: pointer;
}

.modal-close-btn:hover {
    color: #999;
}

.modal-close-btn:focus {
    outline: none;
    box-shadow: none;
}

#tryAgainOTC_Modal .container {
    padding: 40px 20px;
}

.round-modal h2 {
    margin-bottom: 1rem;
}

#tryAgainOTC_Modal p {
    text-align: center !important;
}

#modal .modal-dialog {
    max-width: 698px;
}

#tab_ShippingAddress span.text-danger {
    display: block;
    min-height: 24px; /* reserve space for error text */
}

#tab_SuccessfullyCreated {
    max-width: 666px;
    margin: 0 auto;
}

#tab_SuccessfullyCreated .success-text-content{
    margin: 0 24px 0 24px;
}

#tab_SuccessfullyCreated .success-content {
    background: #f7f6f3;
    border-radius: 8px;
    padding: 24px 0px;
    margin-bottom: 32px;
}

#tab_SuccessfullyCreated .success-icon-seamless {
    text-align: center;
    margin-bottom: 16px;
}

#tab_SuccessfullyCreated .success-icon-seamless img {
    width: 64px;
    height: auto;
    display: block;
    margin: 0 auto;
}

#tab_SuccessfullyCreated .congrats-title {
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    margin-bottom: 24px;
}

#tab_SuccessfullyCreated .next-step-title {
    font-size: 20px;
    line-height: 24px;
    color: #222;
    margin-bottom: 12px;
}

#tab_SuccessfullyCreated .next-step-text {
    font-size: 18px;
    line-height: 1.5;
    color: #4a4a4a;
    margin-top: 12px;
    margin-bottom: 0;
}

#tab_SuccessfullyCreated .round-button-seamless {
    min-width: 220px;
    display: block;
    margin: 0 auto;
}

#verifyAddressModal .container {
    padding: 0px 20px;
}

.address-details {
    margin-left: 24px;
    margin-top: 8px;
    text-align: left;
}

#verifyAddressModal .container {
    padding: 0px 20px;
}

#verifyAddressModal p {
    text-align: left !important;
}

.modal-responsive-op5-country{
    padding: 35px 40px 35px 40px;
    font-family: 'OpenSans-Regular','HelveticaNeue-Light','Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

#languageModal .modal-dialog {
    max-width: 1130px;
}

#countrySuggestionModal .modal-dialog {
    max-width: 690px;
}

#languageModal h2{
    text-align: left !important;
    margin: 1rem 50px 1rem 50px;
}

#countrySuggestionModal h2 {
    text-align: center !important;
    margin: 1rem 0px 1rem 0px;
}

#countrySuggestionModal p {
    margin-bottom: 32px;
}

.language-option span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 415px;
    overflow-y: auto;
    padding: 0;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin: 0px 50px 0px 50px;
}

.language-option {
    display: flex;
    align-items: center;
    width: 100%;

    gap: 12px;

    padding: 12px 16px;
    min-height: 48px;

    cursor: pointer;
    border-radius: 4px;

    font-size: 18px;
    font-weight: 400;
}

.language-option:hover {
    background-color: #f5f2fb;
}

.language-option.selected {
    background-color: #F1EBFF;
    color: #7F4CC9;
}

.language-option.selected span {
    color: #7F4CC9;
    font-weight: 500;
}

.selected-icon {
    margin-left: auto;
    width: 32px;
    height: 32px;
    visibility: hidden;
    flex-shrink: 0;
}

.language-option.selected .selected-icon {
    visibility: visible;
}

.language-grid::-webkit-scrollbar {
    width: 8px;
}

.language-grid::-webkit-scrollbar-track {
    background: transparent;
}

.language-grid::-webkit-scrollbar-thumb {
    background: #8c56d6;
    border-radius: 20px;
}

#btn-confirm {
    max-width: 320px !important;
    display: block;
    margin-top: 32px;
    margin-bottom: 24px;
}

#btn-language-confirm {
    max-width: 320px !important;
    display: block;
    margin-top: 32px;
}

.rtl {
    direction: rtl;
}

.modal-close-btn.rtl {
    right: auto;
    left: 20px;
}

h2.rtl,
h4.rtl {
    text-align: right !important;
}

.row.rtl {
    flex-direction: row-reverse;
}

#languageModal .rtl,
#countrySuggestionModal .rtl {
    text-align: right !important;
}

#countrySuggestionModal .btn{
    width: 246px !important;
}

#btn-detected-country .round-button-seamless  {
    margin: 1rem 0.125rem !important;
}

@media (max-width: 767px) {
    .selection-card-option {
        padding: 14px !important;
    }
    
    .option-description {
        font-size: 0.88rem;
    }
    
    .input-control {
        width: 667px;
    }

    .dob-container {
        width: 96%;
    }

    .sidebar-stepper {
        display: none !important;
    }
    .o-seamless-navbar{
        box-shadow: none;
    }

    .mobile-hideable.hidden-on-mobile {
        display: none;
    }

    .modal-header-row {
        height: auto;
    }
    .round-modal {
        border: 2px solid #767676;
        border-radius: 16px 16px 0 0;
        padding: 0 24px 0 24px;
    }

    .round-modal p {
        text-align: left;
    }
    
    .round-modal h4 {
        text-align: left;
        font-size: 24px !important;
    }
    
    .notification-info-banner {
        width: 90%
    }

    .mobile-ui .credential-container .custom-verification-input {
        width:auto;
    }
    
    /* Stack buttons vertically and center them */
    .form-row.mw-90 {
        display: flex !important;
        flex-direction: column !important; /* Stack vertically */
        align-items: center !important;   /* Center horizontally */
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Force columns to span full container width */
    .form-row.mw-90 > [class*="col-"] {
        width: 100% !important;
        max-width: 320px; /* Adjust max width of buttons if needed */
        margin-bottom: 12px; /* Gap between Send code and Skip */
    }

    /* Remove extra margin on the last item */
    .form-row.mw-90 > [class*="col-"]:last-child {
        margin-bottom: 0;
    }

    /* Make buttons stretch to fill column width */
    .form-row.mw-90 .btn {
        width: 100% !important;
        display: block !important;
    }
    
    .pl-75 {
        padding-left: 0 !important
    }

    #verifyAddressModal .container {
        padding: 0px 0px;
    }

    .modal-responsive-op5-country{
        padding: 35px 10px 35px 10px;
    }

    #countrySuggestionModal .modal-responsive-op5-country{
        padding:52px 24px 35px 24px;
    }

    #languageModal .round-modal,
    #countrySuggestionModal .round-modal {
        border: 2px solid #767676;
        border-radius: 16px 16px 0 0;
        padding: 0px !important;
    }

    #languageModal .modal-dialog,
    #countrySuggestionModal .modal-dialog {
        max-width: 420px;
        margin: 24px auto;
    }

    #languageModal .container,
    #countrySuggestionModal .container {
        padding: 0;
    }

    #languageModal h4,
    #countrySuggestionModal h4 {
        text-align: left !important;
        margin: 1rem 0px 1rem 0px;
    }


    #languageModalLabel {
        font-size: 32px;
        line-height: 1.3;
        text-align: center;
        font-weight: 700;
    }

    .modal-close-btn {
        top: 20px;
        right: 20px;
    }

    .language-grid-container {
        border-bottom: 1px solid #e5e5e5;
        width: 100%;
    }
    
    .language-grid {
        width: 95%;
        border: none;
        max-height: 440px;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }

    .language-option {
        min-height: 56px;
        padding: 0 14px;
        font-size: 16px;
    }
    
    .language-option.selected {
    border-radius: 8px;
    }

    #btn-confirm {
        float: none !important;
        display: block;
        margin: 24px auto;
        margin-top: 14px;
    }

    #btn-language-confirm {
        float: none !important;
        display: block;
        margin: 24px auto;
        margin-top: 14px;
    }

    #countrySuggestionModal .country-button-row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    #countrySuggestionModal .country-button-row > [class*="col-"] {
        width: 95% !important;
        max-width: none;
    }
    
    #countrySuggestionModal .country-button-row .btn {
        width: 100% !important;
        max-width: none !important;
        display: block !important;
    }

}