/* ===== Common shared styles for all pages ===== */

/* --- 1. Header Page Content Override --- */
.tmgm-header-page-content {
    height: auto;
}

#main {
    /* padding-bottom: 5rem; */
}

/* --- 2. Dropdown Scrollbar --- */
.dropdown-menu-new.menu-top::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu-new.menu-top::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-menu-new.menu-top::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

/* --- 3. Registration Form Styles --- */
.sign-up-header {
    font-size: calc(1.325rem + .9vw) !important;
    line-height: 1.2 !important;
}

#register-form {
    display: flex;
    flex-direction: column;
    color: #000850;
}

#register-form h2 {
    margin-bottom: 20px;
}

.select2-container {
    color: #000850;
}

#register-form .select2-selection,
#register-form .select2-selection__rendered,
#register-form .select2-selection__arrow {
    border: none !important;
    border-bottom: 1px solid #efefef !important;
    height: 55px !important;
    line-height: 55px !important;
}

#register-form .select2-selection__arrow {
    border-bottom: none !important;
}

#register-form .select2-selection__rendered {
    margin-left: 10px !important;
}

.select2-pn .iti__selected-flag {
    height: 55px !important;
    line-height: 55px !important;
    margin-left: -10px;
}

.select2-pn .iti__selected-dial-code {
    font-size: 15px !important;
    margin-left: 5px;
}

.pn-select2-dropdown {
    width: 250px !important;
}

#register-form form .form-control {
    border: none;
    border-bottom: 1px solid #efefef;
    color: #000850;
    height: 55px;
    padding: 0 20px;
    border-radius: 0;
}

#register-form form .form-control:focus {
    color: #212529;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #000850;
    outline: 0;
    box-shadow: none;
}

form .alert {
    margin: 0;
    padding: 0;
}

form .alert.show {
    margin-top: 40px;
    padding: 16px;
}

#register-form .input-error {
    color: #C81E1E;
}

.iti {
    width: 100%;
}

.iti__country-list {
    width: 250px;
}

.iti input,
.iti input[type=text],
.iti input[type=tel] {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem 0.375rem 3rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2.5;
    border-radius: 0;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    border-bottom: 1px solid #efefef;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.iti input:focus,
.iti input[type=text]:focus,
.iti input[type=tel]:focus {
    border-color: #000850;
    outline: 0;
    box-shadow: none;
}

.iti__flag {
    background-image: url(img/intlTelInput/flags.png);
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx) {
    .iti__flag {
        background-image: url(img/intlTelInput/flags@2x.png);
    }
}

/* --- 4. Header Container (breadcrumb area) --- */
.header-container {
    margin-top: 4rem;
}

/* --- 5. Breadcrumb --- */
.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item>a {
    color: #ffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
}

.breadcrumb-item>a:focus {
    color: #ffff;
    text-decoration: none;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #ffff;
    content: none;
}

a.clickable {
    color: #40dcfd;
}

@media only screen and (max-width: 500px) {
    .breadcrumb-item>a {
        font-size: 8px;
    }

    .breadcrumb-item+.breadcrumb-item::before {
        font-size: 8px;
    }
}

/* --- 6. Additional Header Wrapper --- */
.hide {
    display: none;
}

.additional-header-wrapper {
    background-color: #fff;
    color: #464646;
    border-bottom: 1px solid #EEEEEE;
    padding: 16px 0;
}

.additional-header-wrapper .responsive-wrapper {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.additional-menu-area {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
}

.additional-menu-area i {
    color: #c8dff7;
}

.additional-menu-area a {
    color: #838386;
    text-decoration: underline;
    text-decoration: none;
}

.additional-menu-area a.visited,
.breadcrumb-more-list li a.visited {
    color: #464646;
    font-weight: bold;
    text-decoration: none;
}

.more-menu-bc ul li a.dropdown-item {
    color: #464646 !important;
    font-size: 14px;
}

.more-menu-bc ul li a.dropdown-item:hover,
.main-menu:hover {
    color: #4FDFFD !important;
}

.breadcrumb-more-list {
    right: 0;
    position: absolute;
    color: #FFF;
}

/* --- 7. Fixed Bottom Bar (CTA) --- */
.gradient-button {
    background: rgb(36, 191, 255);
    background: linear-gradient(90deg, rgba(36, 191, 255, 1) 0%, rgba(0, 10, 81, 1) 100%);
}

.lightning-fast-icon {
    min-height: 50px;
    max-height: 50px;
    min-width: 50px;
    max-width: 50px;
}

.tmgm-fixed-bottom .dark-blue {
    background-color: #000f4b;
}

.glass-morphism {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.9px);
    -webkit-backdrop-filter: blur(3.9px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tmgm-fixed-bottom {
    width: 100%;
    position: fixed;
    bottom: 15px;
    left: 0;
    z-index: 20;
    text-align: center;
    font-weight: 800;
    padding: 10px 0;
    text-transform: uppercase;
}

.tmgm-fixed-bottom.my-fixed-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tmgm-fixed-bottom.my-fixed-bottom .trustpilot-widget {
    background-color: transparent;
    flex: 1;
}

.my-fixed-bottom__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(1 / 3);
    max-width: 1224px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 50px;
}

.tmgm-fixed-bottom .trustpilot-widget {
    height: auto;
    padding: 0;
}

.tmgm-fixed-bottom .tmgm-fixed-bottom-button {
    -webkit-text-decoration-line: none;
    text-decoration-line: none;
    width: auto;
    display: inline-block;
    vertical-align: top;
    color: #fff;
    line-height: 1;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 16px;
    margin-right: 25px;
    border-radius: 4px;
}

.tmgm-fixed-bottom .blue {
    background-color: #319DFF;
}

.tmgm-fixed-button-container {
    margin-left: 20px;
}

.lightning-fast-container>span {
    text-transform: math-auto;
    font-style: italic;
    font-weight: 700;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .my-fixed-bottom__inner {
        flex-direction: column;
        gap: 5px;
    }

    .tmgm-fixed-bottom .tmgm-fixed-bottom-button {
        margin-right: 0;
    }

    .tmgm-fixed-button-container {
        margin: 0;
    }
}

@media (min-width: 768px) {
    .tmgm-fixed-bottom {
        padding: 5px;
    }

    .tmgm-fixed-bottom .tmgm-fixed-bottom-button {
        min-width: 250px;
        margin: 0 8px;
    }
}

@media (max-width: 1200px) {

}

@media (min-width: 1024px) {
    .tmgm-fixed-bottom.my-fixed-bottom .trustpilot-widget {
        transform: translateX(-20px);
    }
}

/* Hide Zendesk/TMGM Chat Bot widget */
#ze-snippet-container,
iframe[src*="zendesk"],
iframe[id*="ze"],
div[class*="zendesk"],
div[class*="zE"],
div[aria-label*="Chat Bot"],
[data-testid*="chat"] {
    display: none !important;
    visibility: hidden !important;
}
