.profile-avatar {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #021768;
    transition: transform 0.2s ease;
}

.navbar.fixed {
    margin: 0;
    width: 100%;
    display: none !important;
}

.profile-avatar:hover {
    transform: scale(1.05);
    border-color: #021768;
}

.navbar {
    position: fixed !important;
    top: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    z-index: 1000 !important;
    border-radius: 41px !important;
    margin: 0 auto !important;
    max-width: none !important;
    padding: 4px 12px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    /* Smooth professional transition */
}

.navbar.scrolled {
    top: 0 !important;
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    /* Enhanced shadow for scrolled state */
}

.lang-select-container {
    position: relative;
    display: inline-block;
}

.lang-select {
    border: 2px solid #ddd;
    border-radius: 30px;
    padding: 4px 24px 4px 32px;
    background-color: transparent;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.navbar.scrolled .container {
    padding: 11px 1px !important;
}

.navbar-brand img {
    width: 120px !important;
}

.navbar-nav .nav-link {
    font-size: 18px !important;
    padding: 8px 14px !important;
    margin: 0 4px !important;
    color: #021768;
}

.dropdown-menu {
    border-radius: 12px !important;
    margin-top: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.dropdown-item {
    padding: 11px 14px !important;
    font-size: 16px !important;
}

.lang-select:hover {
    border-color: #00b09b;
}

.flag-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    position: absolute;
    left: 4px;
    top: 49%;
    transform: translateY(-50%);
}

.btn {
    padding: 10px 16px !important;
    font-size: 17px;
}

.custom-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0px 0px 26px 26px;
    box-shadow: 0 8px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 200px;
    margin-top: 1px;
    padding: 4px 18px 7px 28px;
    border-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
}

.custom-dropdown.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    display: flex;
    align-items: center;
    padding: 6px;
    cursor: pointer;
    font-size: 15px;
}

.custom-option:hover {
    background-color: #f8f9fa;
}

.custom-option img {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    margin-right: 6px;
}

.custom-option i {
    margin-right: 6px;
    font-size: 16px;
    color: #021768;
}

.navbar-nav.ml-auto {
    margin-left: 16px !important;
}

.gg {
    border: 1px solid #021768 !important;
    background: transparent;
    color: #021768 !important;
    font-weight: 500;
    padding: 10px 14px !important;
    font-size: 16px;
}

.gg:hover {
    background: #021768 !important;
    color: white !important;
    border: 1px solid #021768 !important;
}

/* Mobile-specific styles */
.mobile-nav {
    display: none;
}

@media (max-width: 1470px) {
    .navbar {
        width: 94% !important;
        top: 8px !important;
    }
}

@media (max-width: 1200px) {
    .navbar {
        width: 94% !important;
        top: 8px !important;
    }

    .navbar .navbar-brand {
        padding-top: 2px !important;
        padding-bottom: 1px !important;
    }

    .navbar-other {
        display: none;
    }

    .mobile-nav .profile-avatar {
        width: 32px !important;
        height: 32px !important;
    }

    .navbar .container {
        padding-left: 2px !important;
        padding-right: 2px !important;
        flex-wrap: nowrap;
    }

    .mobile-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-nav .nav-item {
        margin: 0px 1px;
    }

    .mobile-nav .lang-select-container {
        display: flex;
        align-items: center;
    }

    .mobile-nav .lang-select-display {
        border: 1px solid rgba(41, 46, 49, 1);
        padding: 10px 2px 10px 2px;
        display: flex;
        align-items: center;
        border-radius: 20px;
        cursor: pointer;
        width: 52px;
        font-size: 12px;
    }

    .mobile-nav .lang-select-display span {
        display: inline;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 64px;
    }

    .mobile-nav .flag-icon {
        width: 28px;
        height: 27px;
        position: absolute;
        left: 3px;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-nav .profile-select-display {
        display: flex;
        align-items: center;
        border: 1.5px solid #021768;
        border-radius: 22px;
        cursor: pointer;
        width: 140px !important;
        font-size: 12px;
        font-weight: 600;
        background-color: transparent;
        position: relative;
    }

    .mobile-nav .auth-select-display {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 22px;
        cursor: pointer;
        position: relative;
    }

    .mobile-nav .profile-select-display .profile-avatar {
        margin-right: 6px;
    }

    .mobile-nav .profile-select-display .cutom-email {
        display: none;
        font-size: 10px;
        font-weight: 400;
        margin-top: 1px;
        color: #666;
    }

    .mobile-nav .gg {
        padding: 7px 8px !important;
        font-size: 15px;
        border-radius: 25px;
    }

    .mobile-nav .btn-default {
        padding: 7px 8px !important;
        font-size: 18px;
        border-radius: 18px;
        margin-left: 2px;
        margin-right: 3px;
        margin-bottom: 2px;
        color: white;
    }

    .mobile-nav .navbar-hamburger {
        margin-left: 8px;
    }

    .mobile-nav .nav-item {
        margin: 0 1px;
    }

    button.hamburger {
        display: inline-block;
        width: 24px;
        height: 26px;
        padding: 3px 4px 0 0;
    }

    .mobile-nav .profile-arrow {
        display: flex;
    }
}

/* Profile dropdown styles */
.profile-select-container {
    position: relative;
    display: inline-block;
}

.profile-select-display {
    display: flex;
    align-items: center;
    border: 1.5px solid #021768;
    border-radius: 26px;
    padding: 4.5px 5px 4.5px 5px;
    cursor: pointer;
    width: 220px;
    font-size: 14px;
    font-weight: 600;
    background-color: transparent;
    transition:
        border-radius 0.1ms ease,
        border-color 0.2s ease;
}

.profile-select-display .profile-avatar {
    margin-right: 8px;
}

.profile-select-container.open .profile-select-display {
    border-radius: 16px 16px 0px 0px;
    border-bottom: none;
    border: 1px solid rgb(227 227 227);
    border-bottom: none;
}

.profile-dropdown .custom-option {
    justify-content: flex-start;
}

.profile-dropdown .custom-option img {
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 6px;
}

.cutom-email {
    color: #333;
    font-size: 11px;
    display: none;
    font-weight: 400;
    margin-top: 2px;
}

.profile-select-container .cutom-email {
    display: none;
}

.profile-select-container.open .cutom-email {
    display: block;
}

.rooos {
    margin-top: 7px !important;
    border-radius: 9px !important;
    border-top: 1px solid #e1e1e1;
    margin-left: 0px;
}

.profile-arrow {
    margin-left: 34px;
    font-size: 12px;
    color: #021768;
    transition: transform 0.3s ease;
}

.profile-select-container.open .profile-arrow {
    transform: rotate(180deg);
}

@media (max-width: 1200px) {
    .profile-arrow {
        display: none;
    }
}

/* Mobile Modal Styles */
@media (max-width: 1200px) {
    .mobile-modal .modal-dialog {
        max-width: 280px;
        margin: 1.5rem auto;
    }

    .mobile-modal .modal-body {
        padding: 8px;
    }

    .mobile-modal .modal-header {
        padding: 8px 12px;
        border-bottom: 1px solid #dee2e6;
    }

    .mobile-modal .modal-title {
        font-size: 14px;
        margin: 0;
    }

    .mobile-modal .close {
        font-size: 20px;
        opacity: 0.5;
    }

    .mobile-modal .modal-body .option-item {
        display: flex;
        align-items: center;
        padding: 3px 2px 3px 28px;
        cursor: pointer;
        border-radius: 6px;
        margin-bottom: 4px;
        transition: background-color 0.2s ease;
        font-size: 16px;
        justify-content: space-between;
        font-weight: 300;
    }

    .mobile-modal #langModal .option-item {
        padding-left: 12px;
    }

    .mobile-modal .modal-body .option-item:hover {
        background-color: #f8f9fa;
    }

    .mobile-modal .modal-body .option-item img {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }

    .mobile-modal .modal-body .divider {
        border-top: 1px solid #ddd;
        margin: 8px 12px 6px 48px;
    }

    .custom-in-profile-modal {
        border: none;
    }

    .custom-in-profile-modal .profile {
        color: #021768;
        font-size: 17px;
        font-weight: 400;
        padding-bottom: -6px;
        line-height: 3px;
    }

    .custom-in-profile-modal .email {
        color: #404040;
        padding-top: -14px;
        margin-bottom: 0px;
        margin-top: -8px;
        font-weight: 400;
        font-size: 12px;
    }

    .custom-in-profile-modal .profile-avatar {
        width: 38px;
        height: 38px;
    }

    .modal-content {
        border: 0;
        border-radius: 28px;
        padding: 9px;
    }

    .modal button.close {
        position: absolute;
        z-index: 1;
        right: 32px !important;
        top: 36px !important;
        padding: 0;
        color: rgba(var(--rgb-black), 0.7);
    }

    .mobile-modal .modal-title {
        font-size: 14px;
        margin: 0;
        color: #021768;
    }

    /* Menu Modal Specific Styles */
    .menu-modal .modal-dialog {
        max-width: 320px;
    }

    .menu-modal .modal-header {
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        border-bottom: 1px solid #ddd;
    }

    .menu-modal .modal-header img {
        width: 130px;
    }

    .menu-modal .modal-body {
        padding: 0;
    }

    .menu-modal .navbar-nav {
        flex-direction: column;
        list-style: none;
        padding: 16px 0;
    }

    .menu-modal .nav-item {
        margin: 0 !important;
        padding: 0 !important;
    }

    .menu-modal .nav-link {
        font-size: 14px;
        color: #021768;
        padding: 13px 16px !important;
        display: block;
        border-bottom: 1px solid #eee;
        text-decoration: none;
        font-weight: 400;
    }

    .menu-modal .nav-link:hover {
        background-color: #f8f9fa;
    }

    .menu-modal .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 16px;
        margin: 0;
        box-shadow: none !important;
    }

    .menu-modal .dropdown-item {
        font-size: 15px !important;
        color: #333;
        padding: 8px 16px;
        display: block;
    }

    .menu-modal .dropdown-item:hover {
        background: transparent;
        color: #00b09b;
    }

    .doome {
        background: #0eacff !important;
        width: 100%;
        border-radius: 26px;
        color: white;
    }

    .dool {
        background: transparent;
        border: 1px solid #021768;
        color: #021768;
        width: 100%;
        border-radius: 26px;
        margin-top: 0px;
        font-weight: 800;
    }
}

.color-gray,
.bullet-gray > li:before,
.bullet-gray i {
    color: #30b2ff !important;
    font-weight: 900;
}

.tp-dottedoverlay.darkoverlay {
    background: TRANSPARENT;
}

@media (min-width: 320px) {
    .fullwidthbanner {
        height: 316px !important;
    }

    .forcefullwidth_wrapper_tp_banner {
        height: 316px !important;
    }

    .fullwidth-container {
        height: 316px !important;
    }

    .tp-parallax-wrap {
        top: 238px !important;
    }
}

@media (min-width: 500px) {
    .fullwidthbanner {
        height: 400px !important;
    }

    .forcefullwidth_wrapper_tp_banner {
        height: 400px !important;
    }

    .fullwidth-container {
        height: 400px !important;
    }

    .tp-parallax-wrap {
        top: 320px !important;
    }
}

@media (min-width: 770px) {
    .fullwidthbanner {
        height: 480px !important;
    }

    .forcefullwidth_wrapper_tp_banner {
        height: 480px !important;
    }

    .fullwidth-container {
        height: 480px !important;
    }

    .tp-parallax-wrap {
        top: 390px !important;
    }
}

@media (min-width: 983px) {
    .fullwidthbanner {
        height: 520px !important;
    }

    .forcefullwidth_wrapper_tp_banner {
        height: 520px !important;
    }

    .fullwidth-container {
        height: 520px !important;
    }

    .dropdown-menu:not(.mega-menu):not(.image-dropdown) {
        padding: 0rem 0px 0px 34px !important;
    }

    .tp-parallax-wrap {
        top: 400px !important;
    }
}

@media (min-width: 1120px) {
    .fullwidthbanner {
        height: 690px !important;
    }

    .forcefullwidth_wrapper_tp_banner {
        height: 690px !important;
    }

    .fullwidth-container {
        height: 690px !important;
    }

    .tp-parallax-wrap {
        top: 580px !important;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 1318px !important;
    }
}

.iti {
    width: 100% !important;
}

.auth-inputfield {
    display: flex;
    flex-direction: row;
    gap: 6px;
    justify-content: center;
}

.auth-inputfield input[type="number"] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #f9fafb;
    font-size: 0.875rem;
    text-align: center;
    padding: 1px;
    border: 1px solid #dee2e6;
}

@media (min-width: 576px) {
    .auth-inputfield input[type="number"] {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .auth-inputfield input[type="number"] {
        width: 56px;
        height: 56px;
        font-size: 1.125rem;
    }
}

@media (min-width: 992px) {
    .auth-inputfield input[type="number"] {
        width: 64px;
        height: 64px;
        font-size: 1.375rem;
    }
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.auth-nav-pills .nav-link.active,
.auth-nav-pills .show > .nav-link {
    color: rgb(47.2, 90.4, 161.6);
    background-color: rgb(225.6, 233.7, 247.05);
}

.auth-nav-pills .nav-link,
.auth-nav-pills .show > .nav-link {
    color: rgba(0, 0, 0, 0.55);
    background-color: #eeeeee;
    padding: 14px;
    font-size: 10px;
    border-radius: 0.25rem;
    line-height: 1 !important;
    font-weight: 500;
}

.auth-form-title {
    color: #021768;
    font-size: 30px;
    margin-bottom: -2px;
    font-weight: 600;
}

.auth-form-desc {
    color: #999999;
    font-size: 12px;
    margin-bottom: 40px;
}

.auth-form-label {
    font-weight: 400 !important;
    font-size: 13px;
    margin-bottom: 1px !important;
    margin-left: 6px;
}

.auth-colopig-input,
.auth-colopig-input-2,
.auth-colopig-input-3 {
    border-radius: 26px !important;
    border: 1.5px solid rgb(113 113 114) !important;
    position: relative;
    padding: 10px 10px 10px 44px !important;
    background-color: #f9fafb !important;
    width: 100%;
}

.auth-colopig-input-2 {
    padding: 10px 10px 10px 40px !important;
}

.auth-colopig-input-3 {
    padding: 10px 10px 10px 32px !important;
}

.auth-input-icon .fff,
.auth-input-icon-2 .fff {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 28px !important;
    height: 28px !important;
    z-index: 2;
}

.auth-input-icon-2 img {
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    z-index: 1;
}

#login-btn,
#signup-btn,
#reset-password-btn {
    border-radius: 26px !important;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

#login-btn-google {
    border-radius: 26px !important;
    border: 1px solid #606060 !important;
    background: transparent !important;
    color: #606060 !important;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

#login-btn-google:hover {
    background-color: #021768 !important;
    outline: none !important;
    color: #ffffff !important;
}

.auth-extra-actions p {
    color: #999999;
    font-size: 14px;
    margin-top: 16px;
}

.auth-extra-actions a {
    color: #30b2ff;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    margin-left: 2px !important;
    font-weight: 500;
    text-decoration: none !important;
}

.auth-nav-pills .nav-link,
.auth-nav-pills .show > .nav-link {
    border-radius: 26px;
    color: #606060;
    border: 1.5px solid #606060;
    background: transparent;
    font-size: 10px;
    padding: 2px 2px 2px 20px !important;
    position: relative;
    text-align: center !important;
    margin: 0 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-nav-pills .nav-link.active,
.auth-nav-pills .show > .nav-link {
    color: #606060;
    border: 1.5px solid #606060;
}

.text-primary {
    color: #30b2ff !important;
}

.auth-svg-icon {
    position: absolute;
    top: 4px;
    right: 4px;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: rgb(87 85 85 / 5%) !important;
    border-radius: 16px !important;
    margin: 6px !important;
    height: 28px !important;
    border: 1px solid #404040 !important;
}

/* Modal specific adjustments for auth forms */
#authFormModal .modal-dialog {
    max-width: 95vw;
    margin: 1.75rem auto;
}

#authFormModal .modal-body {
    padding: 0;
    margin-top: 0px;
    max-height: 80vh;
    overflow-y: auto;
}

#authFormModal .content-wrapper {
    margin: 0;
    border-radius: 0;
    padding: 2px 2px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

#authFormModal .modal-header {
    display: none;
}

.auth-input-icon img,
.auth-input-icon-2 img,
.auth-svg-icon img {
    width: 18px !important;
    height: 18px !important;
}

@media (max-width: 480px) {
    #authFormModal .content-wrapper {
        padding: 16px 12px;
        min-height: auto;
    }

    .input-icon {
        position: absolute;
        left: 2px;
        top: 2px;
    }

    .auth-colopig-input,
    .auth-colopig-input-2,
    .auth-colopig-input-3 {
        padding: 1px 5px 1px 40px !important;
    }

    .auth-input-icon .fff,
    .auth-input-icon-2 .fff {
        left: 3px;
    }

    #login-btn,
    #signup-btn,
    #reset-password-btn,
    #login-btn-google {
        font-size: 14px;
        padding: 10px;
    }
}

/* Responsive styles for mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    .auth-form-title {
        font-size: 24px;
        margin-bottom: 0px;
    }

    .input-icon-2 svg {
        position: absolute;
        top: 1.4px;
        left: 2px;
        z-index: 1;
    }

    .auth-form-desc {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .auth-form-label {
        font-size: 12px;
        margin-left: 0;
        margin-bottom: 6px;
    }

    .auth-nav-pills .nav-link,
    .auth-nav-pills .show > .nav-link {
        border-radius: 26px;
        color: #606060;
        border: 1.5px solid #606060;
        background: transparent;
        font-size: 10px;
        padding: 4px !important;
        position: relative;
        text-align: center !important;
        margin: 0 3px;
    }

    .auth-nav-pills .nav-link.active,
    .auth-nav-pills .show > .nav-link {
        color: #606060;
        font-size: 10px !important;
        border: 1.5px solid #606060;
        text-align: center !important;
    }

    .auth-svg-icon img {
        position: absolute;
        top: 50% !important;
        right: 10px !important;
        transform: translateY(-50%);
        height: 18px !important;
        width: 18px !important;
    }

    .auth-colopig-input,
    .auth-colopig-input-2 {
        border-radius: 26px !important;
        padding: 1px 5px 1px 40px !important;
        height: 38px !important;
        font-size: 14px !important;
    }

    #sign-up-phone-3 {
        height: auto !important;
    }

    .auth-colopig-input-3 {
        padding: 0px 8px 0px 32px !important;
        height: 40px !important;
        font-size: 14px !important;
    }

    .auth-input-icon img,
    .auth-input-icon-2 img {
        top: 50%;
        left: 8px;
        transform: translateY(-50%);
        width: 18px !important;
    }

    #login-btn,
    #signup-btn,
    #reset-password-btn {
        font-size: 14px;
        border-radius: 26px !important;
        padding: 10px;
        height: auto;
    }

    #login-btn-google {
        font-size: 14px;
        border-radius: 26px !important;
        padding: 6px !important;
        height: auto;
    }

    .row {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -1px !important;
        margin-left: -3px !important;
    }

    .auth-extra-actions p {
        font-size: 12px;
        margin-top: 12px;
    }

    .auth-extra-actions a {
        font-size: 12px;
        margin-left: 1px !important;
    }

    .form-group {
        margin-bottom: 8px !important;
    }
}

/* Adjustments for auth modals on small screens */
@media (max-width: 480px) {
    #authFormModal .modal-dialog {
        max-width: 320px !important;
        margin: 1rem auto !important;
    }

    #authFormModal .content-wrapper {
        padding: 0px 0px !important;
        min-height: auto;
    }

    #authFormModal .auth-form-title {
        font-size: 20px !important;
        margin-bottom: 4px !important;
    }

    #authFormModal .auth-form-desc {
        font-size: 10px !important;
        margin-bottom: 16px !important;
    }

    #authFormModal .auth-form-label {
        font-size: 10px !important;
        margin-bottom: 4px !important;
        margin-left: 0 !important;
    }

    #authFormModal .auth-colopig-input,
    #authFormModal .auth-colopig-input-2,
    #authFormModal .auth-colopig-input-3 {
        padding: 6px 8px 6px 38px !important;
        height: 34px !important;
        font-size: 12px !important;
    }

    #authFormModal .auth-input-icon .fff,
    #authFormModal .auth-input-icon-2 .fff {
        width: 20px !important;
        height: 20px !important;
        left: 6px !important;
    }

    #authFormModal #login-btn,
    #authFormModal #signup-btn,
    #authFormModal #reset-password-btn,
    #authFormModal #login-btn-google {
        font-size: 12px !important;
        padding: 8px !important;
        height: auto !important;
    }

    #authFormModal .auth-nav-pills .nav-link {
        padding: 3px 6px !important;
        font-size: 8px !important;
        margin: 0 2px !important;
    }

    #authFormModal .auth-extra-actions p,
    #authFormModal .auth-extra-actions a {
        font-size: 10px !important;
    }

    #authFormModal .form-group {
        margin-bottom: 6px !important;
    }

    #authFormModal .row {
        margin-right: -2px !important;
        margin-left: -2px !important;
    }

    #authFormModal .col-12,
    #authFormModal .col-xl-6 {
        padding-left: 3px !important;
        padding-right: 3px !important;
    }

    /* OTP inputs smaller */
    #authFormModal .auth-inputfield input[type="number"] {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }

    /* Recaptcha container adjustment */
    #authFormModal #recaptcha-container,
    #authFormModal #recaptcha-container2 {
        transform: scale(0.7) !important;
        transform-origin: left top !important;
        margin: 8px auto !important;
    }
}

.profile-select-display {
    display: flex;
    align-items: center;
    gap: 0px !important;
    max-width: 220px;
    /* adjust based on your layout */
}

.profile-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 150px;
    /* adjust as needed */
}

.profile-name,
.cutom-email {
    display: block;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2;
}

.profile-select-container.open .cutom-email {
    display: block;
    font-size: 12px;
    margin-top: -1px;
}

.profile-select-display {
    display: flex;
    align-items: center;
    gap: 0px;
    max-width: 200px;
}

.profile-info-mobile {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 130px;
    /* adjust for smaller devices */
}

.navbar .nav-item.dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar .nav-item.dropdown > .nav-link .dd-arrow {
    font-size: 0.75em;
    transition: transform 0.2s ease;
    line-height: 1;
    margin-left: 5px;
}

/* When the dropdown is open, rotate the arrow */
.navbar .nav-item.dropdown.show > .nav-link .dd-arrow,
.navbar .nav-item.dropdown > .nav-link[aria-expanded="true"] .dd-arrow {
    transform: rotate(180deg);
}

/* Arrows for items inside dropdown menus that themselves toggle submenus */
.navbar .dropdown-menu .dropdown-item.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    white-space: nowrap;
}

.navbar .dropdown-menu .dropdown-item .dd-arrow {
    font-size: 0.8em;
    transition: transform 0.2s ease;
    opacity: 0.75;
    display: none;
}

.navbar
    .dropdown-menu
    .dropdown.show
    > .dropdown-item.dropdown-toggle
    .dd-arrow,
.navbar
    .dropdown-menu
    .dropdown-item.dropdown-toggle[aria-expanded="true"]
    .dd-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Optional: slightly tighten caret spacing on very small screens */
@media (max-width: 576px) {
    .navbar .nav-item.dropdown > .nav-link {
        gap: 0.3rem;
    }
}

.profile-name,
.cutom-email {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.mobile-modal .profile-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: -11px;
    margin-top: 7px;
    max-width: 189px;
    overflow: hidden !important;
}

.mobile-modal .cutom-email {
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 576px) {
    .profile-select-display {
        max-width: 300px;
    }

    .profile-info-mobile {
        max-width: 110px;
    }
}

/* Force main nav dropdowns to open only on click (via JS) and not pure hover */
.navbar .nav-item.dropdown:hover > .dropdown-menu {
    display: none !important;
}

.navbar .nav-item.dropdown.show > .dropdown-menu {
    display: block !important;
}

/* Mobile menu modal dropdowns */
.menu-modal .mobile-menu-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.menu-modal .nav-item {
    margin: 0;
}

.menu-modal .nav-link {
    font-size: 14px;
    color: #021768;
    padding: 13px 16px !important;
    display: block;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    font-weight: 400;
}

/* Make the "button" toggles look like links */
.menu-modal .mobile-dropdown-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    outline: none;
    cursor: pointer;
}

/* Submenu list */
.menu-modal .mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding-left: 24px;
    margin: 0 0 6px 0;
}

.menu-modal .mobile-dropdown-menu.show {
    display: block;
}

/* Arrow icon rotation */
.menu-modal .dd-arrow {
    float: right;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.menu-modal .has-submenu.open .dd-arrow {
    transform: rotate(180deg);
}

.navbar-other .custom-dropdown .active {
    background-color: #021768;
    color: #fff;
    border-radius: 10px;
}

#langModal .active {
    background-color: #021768;
    color: #fff;
}