/*header style*/
.header-container {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 3px;
    /*background-color: #f8f9fa;*/
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
    flex-shrink: 0;
}

#imgEcommerceLogo {
    height: 70px !important;
}

.button-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/*END header style*/

/*Header Profile style*/
.user-menu {
    position: relative;
}

.user-image img {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.user-profile-dropdown {
    min-width: 200px !important;
    right: 0;
    left: auto;
    z-index: 1050;
    padding: 0 !important;
    display: none;
    flex-direction: column;
    align-items: center
}

.dropdown.open .user-profile-dropdown {
    display: inline;
}

.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
    background-color: var(--theme-color);
}

.dropdown-item {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    background-color: transparent;
}

.user-mobile {
    padding: 8px 10px 8px 5px !important;
    color: #fff;
    margin: 0 !important;
    list-style-type: none !important;
    width: 100%;
    display: flex;
    justify-content: center;
}
/* End Header Profile style*/

li {
    list-style-type: none;
}

.visible-mobile-tablet {
    display: none !important;
}

.hidden-mobile-tablet {
    display: block !important;
}

@media (max-width: 767px) {
    .visible-mobile-tablet {
        display: block !important;
    }

    .hidden-mobile-tablet {
        display: none !important;
    }
    /*header style*/
    #imgEcommerceLogo {
        width: 150px;
        height: 50px;
    }

    .header-container {
        flex-wrap: nowrap;
        padding: 3px;
    }

    .button-container {
        gap: 5px;
    }
    /*END header style*/
}

@media (min-width: 768px) and (max-width: 1024px) {
    .visible-mobile-tablet {
        display: block !important;
    }

    .hidden-mobile-tablet {
        display: none !important;
    }
}

/*
    Ecommerce Home/Index page css
*/
.tab {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 5px 0px;
    padding-bottom: 10px;
}

    .tab button {
        background-color: inherit;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 10px 15px;
        transition: 0.3s;
        font-size: 14px;
        color: #333;
        font-weight: 600;
    }

        .tab button.active {
            border-bottom: 3px solid var(--theme-color);
            color: var(--theme-color);
            font-weight: bold;
        }

.tab-content {
    display: none;
    padding: 0 23px 15px 15px;
    border-top: none;
    height: auto !important;
}

    .tab-content.active {
        display: block;
    }

.container-window {
    background-color: #e5e5e5;
    /*padding: 10px 10px 0px 10px;*/
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0px 30px 0px;
    max-width: 100%;
    overflow: hidden;
}

.moving-bar {
    background-color: var(--theme-color);
    border-radius: 2px;
}

.tablinks {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s ease;
}

    .tablinks.active {
        color: var(--theme-color);
    }

    .tablinks:hover {
        color: var(--theme-color);
    }

#tab-navs {
    display: flex;
    position: relative;
    gap: 10px;
    margin-left: 13px;
}

.moving-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    transition: all 0.3s ease;
}

.divGroupPurchase {
    display: flex;
    margin-right: 10px;
}

#IndividualCoursePackageDetailsModal .modal-dialog{
    top:unset;
}

#MultiCoursePackageListModal .modal-dialog {
    top: unset;
}

.navLinkContainer {
    display: inline-flex;
    gap: 10px;
    margin-top: 5px;
    margin-left: 20px;
    flex-wrap: wrap;
    align-items: normal;
}

@media (max-width: 767px) {
    /*Mobile*/
    .tab {
        justify-content: center;
        padding-bottom: 10px;
    }

    .navLinkContainer {
        align-items: center
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    /*Tablet*/
    .tab {
        justify-content: space-between;
    }

    .navLinkContainer {
        align-items: normal;
    }
}
/*
    END Ecommerce Home/Index page css
*/

#ecommerceCheckoutModal .modal-header, #ecommerceAccessCodeModal .modal-header {
    height: 60px !important;
    padding: 5px !important; /* default bootstrap padding */
}

.applycodebutton {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 15px
}

@media (max-width: 767px) {
    /*Mobile*/
    #ecommerceCheckoutModal .modal-header, #ecommerceAccessCodeModal .modal-header {
        height: 55px !important;
        padding: 5px !important;
    }

    .applycodebutton {
        margin-left: unset;
    }

    .otp-box {
        width: 30px !important;
        height: 35px !important;
    }

    #ecommerceAccessCodeModal .modal-header .pull-right .close{
        margin-left : unset !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    #ecommerceCheckoutModal .modal-header, #ecommerceAccessCodeModal .modal-header {
        height: 55px !important;
        padding: 5px !important;
    }
}

/*Header Language drop down changes*/
.language-selector {
    display: flex;
    align-items: end;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 2px 10px;
    background-color: #fff;
    cursor: pointer;
    gap: 4px; /* Adds space between elements */
    position: relative;
}

.custom-language-dropdown {
    border: none;
    appearance: none;
    -moz-appearance: none;
    padding-right: 20px;
    padding-left: 15px;
}

/* Custom caret */
.custom-caret {
    position: absolute;
    /*right: 92px;*/
    pointer-events: none;
    font-size: 40px;
    color: #555;
    left: -5px;
    top:-2px
}

/* Globe Icon Styling */
.globe-icon {
    width: 35px;
    height: 35px;
    margin-left: 5px;
    pointer-events: none;
    position: absolute;
    right: 5px;
}

/* Globe Icon Styling */
.myPurchaseIcon {
    width: 30px;
    height: 35px;
    position: absolute;
    right: 148px;
    top: 11px;
}

/* Remove default dropdown arrow */
.custom-language-dropdown::-ms-expand {
    display: none;
}

#PageLanguageCode {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    font-weight: bold;
    cursor:pointer;
}
/*End Header Language drop down changes*/
.otp-box {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.otp-box:focus {
    border-color: #007bff;
    outline: none;
}


#btnSubmitAccessCode {
    margin-top: 15px;
    border-radius: 5px;
    padding: 10px 25px
}

#ecommerceAccessCodeModal .modal-body .container .row {
    height: 300px;
    background-color: white !important;
    padding-left: 10px;
    padding-top: 10px;
}

.accessCodeThirdAttempErrorMsgBox {
    width: 350px;
    margin-top: 20px;
    line-break: auto;
    line-height: 1.2;
}