@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

/* New Header Bar Styles - Figma Specs */
.fdc-header-bar {
    width: 100vw;
    max-width: 100%;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    box-sizing: border-box;
}

.header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.header-logo {
    cursor: pointer;
}

.header-logo-icon {
    width: 103px;
    height: 77px;
    object-fit: contain;
    cursor: pointer;
}

/* Environment Badge - DEV/SIT/PROD */
.header-env-badge {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid #FCD34D;
    background: linear-gradient(90deg, #FEF9C2 0%, #FEF3C6 100%);
    box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.1), 0px 1px 2px -1px rgba(0,0,0,0.1);
}

.header-env-badge-text {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #92400E;
}

/* Top Navigation Bar - Figma Specs */
.header-topbar {
    width: auto;
    min-width: 645px;
    max-width: 800px;
    height: 53px;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 6.67px;
    background: #F3F4F6CC;
    border: 0.67px solid #E5E7EB;
    border-radius: 9999px;
    box-shadow: inset 0px 2px 4px 0px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.header-topbar .header-tab {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.header-topbar .header-tab:first-child {
    padding-left: 20px;
}

.header-topbar .header-tab-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
}

.header-topbar .header-tab-text {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #6B7280;
    text-align: center;
    white-space: nowrap;
}

.header-topbar .header-tab:hover {
    background: rgba(255, 255, 255, 0.5);
}

.header-topbar .header-tab:hover .header-tab-text {
    color: #374151;
}

.header-topbar .header-tab.active {
    background: #083050;
    box-shadow: 0px 4px 6px -4px rgba(8, 48, 80, 0.2), 0px 10px 15px -3px rgba(8, 48, 80, 0.2);
}

.header-topbar .header-tab.active .header-tab-icon {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.header-topbar .header-tab.active .header-tab-text {
    color: #FFFFFF;
}

/* Icon chip within header tabs - no circular background */
.header-tab-icon-chip,
.header-tab-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-tab-icon-chip .header-tab-icon,
.header-tab-icon-circle .header-tab-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.header-topbar .header-tab.active .header-tab-icon-chip .header-tab-icon,
.header-topbar .header-tab.active .header-tab-icon-circle .header-tab-icon {
    opacity: 1;
    filter: brightness(0) invert(1);
}

/* Right Section - Location, Support, Profile */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-action-btn {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px 0 6px;
    background: #F5F6F8;
    border: 0.67px solid rgba(229, 231, 235, 0.6);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-action-btn:hover {
    background: #EBEDF0;
    border-color: #D1D5DB;
}

.header-action-icon-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 9999px;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
}

.header-action-icon {
    width: 16px;
    height: 16px;
}

.header-action-text {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.header-action-arrow {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* Support button without arrow */
.header-action-btn.header-support {
    gap: 12px;
}

/* Profile button */
.header-action-btn.header-profile {
    gap: 12px;
}

/* Right side navigation - Figma: width: 387.21px, height: 53.99px, gap: 13.99px */
.header-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 54px;
}

/* Current Company Display */
.header-current-company {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border: 1px solid #BBF7D0;
    border-radius: 8px;
    max-width: 250px;
}

.header-current-company-text {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #166534;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Each icon box - Figma: 45x45, border-radius: 13px, padding: 11.25px */
.header-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 13px;
    padding: 11.25px;
    cursor: pointer;
    box-sizing: border-box;
}

/* Icons inside nav items - calculated: 45 - (11.25*2) = 22.5px */
.fdc-header-bar .fdc-header-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Ensure support icon matches other icons */
.header-support .fdc-header-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
}

.header-location {
    gap: 8px;
}

/* Language nav item - icon + text in same row, auto width */
.header-nav-item.header-language {
    width: auto;
    padding: 0 11.25px;
    gap: 6px;
}

/* Push the three icon boxes down to align with profile */
.header-nav-item.header-location,
.header-nav-item.header-notification,
.header-nav-item.header-language .fdc-header-icon {
    /*margin-top: 23px;*/
}

.header-location-text {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #374151;
}

.header-lang-text {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #374151;
}

.header-notification {
    position: relative;
}

.header-notification.unread::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #DC2626;
    border-radius: 50%;
}

/* Profile section - Figma: width: 184.45px, height: 53.99px, border-radius: 13px, padding: 0 13.5px, gap: 11.25px */
.header-profile {
    display: flex;
    align-items: center;
    gap: 11.25px;
    padding: 0 13.5px;
    width: 184.45px;
    height: 54px;
    border-radius: 13px;
    box-sizing: border-box;
}

.header-profile-circle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #05DF72 0%, #00A63E 100%);
    box-shadow: 0px 4px 6px -4px rgba(0,0,0,0.1), 0px 10px 15px -3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-profile-inner {
    width: 18px;
    height: 18px;
}

.header-username {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 15.75px;
    line-height: 22.5px;
    color: #111827;
}

/*.top-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 25px;
    background-color: white;
    border-bottom: 1px solid #BAD4F3;
    height: 97px;
}*/

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
    background-color: white;
    border-bottom: 1px solid #BAD4F3;
    height: 97px;
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow: visible; /* ? Allows dropdowns to render properly */
}

body, html {
    font-family: 'Inter', sans-serif;
}

.logo-icon {
    width: 236px;
    height: 81px;
    object-fit: contain;
    margin-top: 9px;
    margin-left: -13px;
}

.arrow {
    color: #333;
    width: 14px;
    margin-top: 4px;
    margin-left: 4px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    z-index: 1000;
}

.language-option.selected {
    font-weight: bold;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 45px;
}

.company-name {
    font-weight: bold;
    font-size: 18px;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: nowrap;
    width: 100%;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
    position: relative;
}

/* Override for language wrapper - icon and text in same row */
.nav-item.language-wrapper {
    flex-direction: row;
    gap: 6px;
}

    .nav-item i {
        font-size: 20px;
        color: #333;
    }

.user-info {
    flex-direction: row;
    gap: 8px;
    position: relative;
}

    .user-info .chevron {
        margin-left: 6px;
        font-size: 12px;
        color: #555;
    }

.profile-menu .menu-item {
    padding: 10px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .profile-menu .menu-item:hover {
        /*background: #f5f5f5;*/
    }

.profile-menu .logou {
    color: #b91c1c;
    font-weight: 500;
}

.avatar {
    width: 30px;
    height: 31px;
    border-radius: 50%;
    object-fit: cover;
}

.avatarplaceholder {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    object-fit: cover;
}

.user-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background-color: gold;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

.username {
    font-size: 17px;
    margin-top: 1px;
}

.apps-section {
    padding: 0 20px;
    margin-left: 37px;
}
.main-body {
    display: flex;
    flex-direction: row;
    height: calc(100vh - 97px);
    background-color: #F9FAFB;
}

.content {
    flex-grow: 1;
    padding: 0rem;
    margin-left: 2rem; 
    background-color: #F9FAFB;
    overflow-y: auto;
    max-height: calc(100vh - 97px);
}

.section-title {
    margin-top: 40px;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 240px);
    gap: 48px;
    padding: 20px 0;
}

.app-card-link {
    text-decoration: none;
    color: inherit;
}

.app-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 1px 16px rgba(0, 0, 0, 0.08);
    transition: border 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    height: 64px;
    box-sizing: border-box;
    width: 240px;
}

    .app-card:hover {
        border-top: 2px solid #ccc;
        border-bottom: 3px solid #333;
        border-left: 1px solid #bbb;
        border-right: 1px solid #bbb;
        background-color: #f9f9f9;
    }

    .app-card img {
        width: 50px;
        height: 50px;
        object-fit: contain;
        margin-right: 10px;
    }

    .app-card span {
        font-size: 15px;
        font-weight: 500;
        color: #333;
    }

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 30px 0 10px;
    color: #444;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
}

.profile-box {
    position: absolute;
    top: 105px;
    right: 28px;
    width: 224px;
    border-radius: 6px;
    background: #fff;
    border-top: 0.63px solid #E5E7EB;
    box-shadow: 0px 2px 4px -2px rgba(0,0,0,0.1), 0px 4px 6px -1px rgba(0,0,0,0.1);
    padding: 4px;
    z-index: 1001;
}

.menu-row {
    display: flex;
    align-items: center;
    height: 32px;
    border-radius: 4px;
    padding: 0 8px;
    cursor: pointer;
    gap: 12px;
}

.menu-row:hover {
    background: #ff6b35;
}

.menu-row .menu-icon {
    width: 16px;
    height: 16px;
}

.menu-text {
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #111827;
}

.menu-divider {
    border: none;
    border-top: 1px solid #E5E7EB;
    margin: 6px 0;
}

.logout-row .logout-text {
    color: #dc2626;
}

.avatarpic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.logout {
    width: 20px;
}

.display-name {
    font-size: 16px;
    margin-bottom: 4px;
}

.profile-line {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.menu-item {
    font-size: 15px;
    padding: 10px 3px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

    .menu-item:hover {
        background-color: #e0e0e0;
    }

    .menu-item i {
        font-size: 16px;
        color: #444;
    }

.language-toggle {
    justify-content: space-between;
}

.language-selected {
    font-size: 13px;
    color: #888;
}

.language-submenu {
    margin-top: 8px;
    /*    background-color: #f9f9f9;*/
    border-radius: 8px;
    padding: 8px;
    text-align: left;
}

.language-name,
.language-code {
    font-size: 13px;
}

.language-submenu {
    margin-top: 4px;
    /*    background-color: #f9f9f9;*/
    border-radius: 8px;
    padding: 8px;
    text-align: left;
}

.language-option {
    display: flex;
    justify-content: center;
    position: relative;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.6;
    padding-right: 40px;
}

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

.imagesize {
    width: 20px;
}

.section-divider {
    margin: 16px 0;
    border: none;
    border-top: 1px solid #ddd;
}

.logout-center {
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: red;
}

.language-submenu-container {
    min-height: 80px;
    padding-left: 20px;
    padding-right: 20px;
    display: block;
}

.language-submenu {
    /*background-color: #f9f9f9;*/
    padding: 8px 12px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    text-align: right;
}

.language-name {
    flex: 1;
    text-align: initial;
}

.language-code {
    position: absolute;
    right: -20px;
    font-weight: 500;
    color: #555;
    right: 16px;
}

.language-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-selected {
    margin-left: auto;
    font-weight: 500;
}

.highlight {
    color: red;
    font-size: 12px;
    font-weight: normal;
    margin-top: 4px; 
    margin-left: 5px;
}

.tag-img {
    width: 24px;
    margin-left: 41px;
}

.env-banner {
    position: fixed;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 183px;
    height: 49px;
    opacity: 1;
    border: 1px solid ;
    border-bottom-right-radius: 9999px;
    border-bottom-left-radius: 9999px;
    font-weight: bold;
    color: black;
    text-align: center;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.env-label {
    font-size: 14px;
    color: #083050;
    font-weight: 500;
    margin-top: -12px;
}

.env-subtext {
    font-size: 14px;
    color: #083050;
    margin-top: -7px;
    font-weight: 500;
}

.dev {
    background-color: #fbedb4;
    border-color: #FCD34D;
}

.sit {
    background-color: #DBE9FE;
    border-color: #92C5FD;
}

/* Language trigger - icon and text in same row */
.header-language-trigger {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    height: 45px;
}

.header-language-box-container {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1001;
}

.header-language-box {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-width: 160px;
    margin-right: -73px;
    margin-top: 31px;
}

.header-language-option {
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    text-align: center;
}

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

    .header-language-option.selected {
        font-weight: bold;
        color: #191D23;
    }

.header-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.modal-overlay-contactsupport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-box-contactsupport {
    background-color: #fff;
    border-radius: 30px;
    width: 90vw;
    max-width: 850px;
    height: auto;
    max-height: calc(100vh - 40px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    color: #000;
    display: flex;
    flex-direction: column;
    opacity: 1;
    overflow-y: auto;
}

.modal-input-textarea-contactsupport {
    resize: vertical;
    font-size: 14px;
    font-weight: 400;
    color: #636363;
    /*background-color: #F8FAFC;*/
    border-radius: 10px;
    border: 1px solid #DBDBDB;
    width: 46%;
    height: 69%;
    outline: none;
    padding: 8px 22px;
}

.modal-input-contactsupport {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    color: #636363;
    /*background-color: #F8FAFC;*/
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    outline: none;
}

.modal-content-contactsupport {
    padding: 43px;
    /*overflow-y: auto;*/
    flex-grow: 1;
}

/* Modal Header */
.modalheader-contactsupport {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: -24px;
}

.modalconfigheader-contactsupport {
    font-size: 22px;
    font-weight: 500;
    color: #000000;
    margin-left: -26px;
}

.arrowicon-contactsupport {
    margin-left: -2px;
    height: 16px;
    cursor: pointer;
}

.back-contactsupport {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    margin-left: 9px;
    cursor: pointer;
}

.modal-section-contactsupport {
    display: flex;
    flex-direction: column;
/*    gap: 3px;*/
}

.modal-divider-contactsupport {
    height: 1px;
    background-color: #DBDBDB;
    margin: 16px -43px; /* cancels modal-box padding */
}

.modal-row-contactsupport {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding-top: 3px;
}

.modal-label-group-contactsupport {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .modal-label-group-contactsupport label {
        font-size: 18px;
        font-weight: 400;
        color: #000;
    }

    .modal-label-group-contactsupport p {
        font-size: 14px;
        font-weight: 300;
        color: #666;
    }

/* Value Display */
.modal-value-contactsupport {
    /*background-color: #F8FAFC;*/
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: #636363;
    border: 1px solid #DBDBDB;
    height: 51px;
}

.closeicon.clickable {
    width: 16px;
    height: 16px;
    cursor: pointer;
    /*    margin-left: 283px;
    margin-top: -39px;*/
}

.modal-value-group-contactsupport {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*background-color: #F8FAFC;*/
    padding: 8px 12px;
    border: 1px solid #DBDBDB;
    width: 353px;
    height: 50px;
    opacity: 1;
    border-radius: 10px;
    border-width: 1px;
}

.modal-actions-contactsupport {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 5px;
    height: 50px;
    /*margin-right: -25%;*/
}

.reset-button-contactsupport,
.save-button-contactsupport {
    padding: 8px 56px;
    border-radius: 20px;
    border: none;
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    line-height: 1.4;
    border: 2px solid #083050;
    height: 41px;
}

.reset-button-contactsupport {
    background-color: white;
    color: #083050;
    font-weight: 500;
    font-size: 20px;
}

.save-button-contactsupport {
    background-color: #083050;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
}

.closeicon {
    height: 16px;
    cursor: pointer;
}

.save-button-contactsupport:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.upload-box {
    border: 2px dashed #cbd5e1;
    /*background-color: #f8fafc;*/
    border-radius: 8px;
    position: relative;
    text-align: center;
    cursor: pointer;
    color: #636363;
    border-radius: 6px;
    padding: 17px 12px;
    outline: none;
    width: 46%;
    height: 75%;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.upload-icon {
    width: 32px;
    height: 32px;
    opacity: 0.6;
}

.upload-text {
    font-size: 14px;
    color: #475569;
}

.upload-input {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    cursor: pointer;
}

.uploaded-files {
    margin-top: 10px;
}

.uploaded-file {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f3f3f3;
    padding: -1px 10px;
    border-radius: 4px;
    margin-bottom: 2px;
    width: 32%;
}

.remove-file {
    background: transparent;
    border: none;
    color: red;
    font-size: 16px;
    cursor: pointer;
}

.upload-error {
    color: red;
    margin-top: 8px;
    font-size: 14px;
}

.security-check-container {
    /*background-color: #f8fafc;*/
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.security-label {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

.security-row {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: #636363;
    border-radius: 10px;
    border: 1px solid #DBDBDB;
    width: 46%;
    height: 69%;
    outline: none;
}

.captcha-code {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 4px;
    background-color: #CFD6DC;
    padding: 7px 12px;
}

.captcha-input {
    flex: 1;
    padding: 5px 18px;
    border: 1px solid white;
    font-size: 14px;
    min-width: 120px;
    outline: none;
}

.captcha-reset-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    /*padding: 27px 21px;*/
    margin: 0 12px;
}

    .captcha-reset-icon:hover {
        opacity: 1;
    }

.captcha-error {
    color: #dc2626; /* red tone */
    font-size: 13px;
    margin-top: 4px;
}

.success-message {
    color: #059669; /* green tone */
    font-size: 16px;
    margin-top: 16px;
    margin-left: 20%;
    margin-bottom: -26px;
}
.contact-support-icon-contactsupport {
    width: 41px;
    height: 34px;
    object-fit: contain;
}


/* 1366px screen - ensure header is full width and reduce dev banner */
@media (max-width: 1400px) {
    .fdc-header-bar {
        width: 100%;
        height: 96px;
        padding: 0 16px;
    }

    .header-logo-icon {
        width: 90px;
        height: 67px;
        min-width: 90px;
        min-height: 67px;
    }

    /* Reduce DEV environment badge size for smaller screens */
    .header-env-badge {
        padding: 2px 8px;
    }

    .header-env-badge-text {
        font-size: 11px;
        line-height: 16px;
    }

    .header-topbar {
        width: auto;
        min-width: 450px;
        max-width: 550px;
    }

    .header-topbar .header-tab {
        padding: 0 10px;
        gap: 6px;
    }

    .header-topbar .header-tab-text {
        font-size: 13px;
    }

    .header-topbar .header-tab-icon,
    .header-tab-icon-chip .header-tab-icon,
    .header-tab-icon-circle .header-tab-icon {
        width: 18px;
        height: 18px;
    }

    .header-right {
        gap: 8px;
    }

    .header-action-btn {
        padding: 0 8px 0 4px;
        height: 40px;
    }

    .header-action-text {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px;
    }

    .header-action-icon-box {
        width: 28px;
        height: 28px;
    }

    .header-action-icon {
        width: 14px;
        height: 14px;
    }

    .header-left {
        gap: 10px;
    }
}

@media (max-width: 768px) {

    .modal-box-contactsupport {
        width: 90%;
        max-width: 600px;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 20px;
        padding: 24px;
    }

    .modal-content-contactsupport {
        padding: 16px;
    }

    .modal-row-contactsupport {
        flex-direction: column;
        gap: 16px;
    }

    .modal-value-group-contactsupport,
    .upload-box,
    .security-row,
    .modal-input-textarea-contactsupport {
        width: 100%;
    }

    .modal-actions-contactsupport {
        flex-direction: column;
        align-items: stretch;
        margin-top: 32px;
    }

    .reset-button-contactsupport,
    .save-button-contactsupport {
        width: 100%;
        justify-content: center;
    }

    .success-message {
        margin-left: 0;
        text-align: center;
        margin-bottom: 16px;
    }
}

.location-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* applies both row and column spacing */
    margin-top: 0.5rem;
}

.location-box {
    flex: 0 0 calc(33.333% - 1rem); /* 3 per row with spacing */
    height: 56px;
    background-color: #EDF1F7;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 14px;
}


/* Duplicate 1400px media query removed - consolidated above */

@media (max-width: 768px) {
    .header-topbar {
        width: 100%;
        max-width: 500px;
    }

    .header-topbar .header-tab {
        padding: 0 16px;
        font-size: 13px;
    }

    .header-right {
        gap: 8px;
    }

    .header-action-btn {
        padding: 0 8px 0 4px;
    }

    .header-action-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header-topbar {
        display: none;
    }

    .header-right {
        flex: 1;
        justify-content: space-between;
    }

    .header-action-btn {
        flex: 1;
        justify-content: center;
    }
}

/* ==================== CONTACT SUPPORT MODAL (CommonApp parity) ==================== */
.support-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 4000;
}

body.header-overlay-open,
html.header-overlay-open {
    overflow: hidden;
}

body.header-overlay-open .sidebar,
body.header-overlay-open .sidebar-pin-toggle,
body.header-overlay-open .sidebar-content,
body.header-overlay-open .header-nav,
body.header-overlay-open .header-left,
body.header-overlay-open .app-overlay,
body.header-overlay-open .app-drawer {
    pointer-events: none !important;
}

.support-modal-box {
    width: 756px;
    max-width: 100%;
    height: 980px;
    background: #FFFFFF;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.support-modal-box.form-disabled .support-modal-body {
    opacity: 0.5;
    pointer-events: none;
}

.support-modal-box.form-disabled .support-modal-input,
.support-modal-box.form-disabled .support-modal-textarea,
.support-modal-box.form-disabled .support-modal-upload-box {
    background: #E5E7EB;
}

.support-modal-header {
    width: 100%;
    height: 117px;
    background: linear-gradient(180deg, #083050 0%, #105583 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.support-modal-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.support-modal-title {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 27px;
    color: #FFFFFF;
}

.support-modal-subtitle {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 15.75px;
    color: rgba(255,255,255,0.8);
}

.support-modal-close {
    width: 40.5px;
    height: 40.5px;
    border-radius: 9px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9px;
}

.support-modal-body {
    width: 100%;
    height: 744px;
    padding: 27px 36px;
    display: flex;
    flex-direction: column;
    gap: 22.5px;
    overflow-y: auto;
}

.support-modal-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.support-modal-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.support-modal-icon {
    width: 18px;
    height: 18px;
}

.support-modal-label-text {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 15.75px;
    color: #374151;
}

.support-modal-required {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 15.75px;
    color: #FB2C36;
}

.support-modal-optional {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    color: #9CA3AF;
}

.support-modal-input,
.support-modal-textarea {
    width: 684px;
    max-width: 100%;
    border: 0.75px solid #D1D5DB;
    border-radius: 7px;
    background: #F9FAFB;
    padding: 9px 13.5px;
    font-family: Inter, sans-serif;
    font-size: 15.75px;
    color: #6B7280;
}

.support-modal-textarea {
    height: 90px;
    resize: none;
}

.support-modal-input:focus,
.support-modal-textarea:focus {
    outline: none;
    border: 1px solid #D1D5DB;
}

.support-modal-upload-box {
    width: 684px;
    max-width: 100%;
    height: 118px;
    border: 1.5px dashed #D1D5DB;
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    cursor: pointer;
}

.support-modal-upload-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 4px;
}

.support-modal-upload-text {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 15.75px;
    color: #083050;
    text-align: center;
    margin: 0;
}

.support-modal-upload-secondary {
    font-weight: 400;
    color: #4B5563;
}

.support-modal-upload-hint {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 13.5px;
    color: #9CA3AF;
    text-align: center;
    margin: 0;
}

.support-modal-upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.support-modal-message {
    width: 684px;
    max-width: 100%;
    margin: 16px auto 0;
    font-family: Inter, sans-serif;
    font-size: 15px;
    line-height: 22px;
    border-radius: 6px;
    padding: 10px 14px;
    text-align: center;
}

.support-modal-message.success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.support-modal-message.error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.support-modal-actions {
    width: 684px;
    max-width: 100%;
    display: flex;
    gap: 12px;
    margin: 0 auto;
    padding: 16px 0 27px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.support-modal-button-clear,
.support-modal-button-cancel,
.support-modal-button-submit {
    width: 150px;
    height: 46px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    padding: 0 12px;
    box-sizing: border-box;
}

.support-modal-button-clear {
    border: 1.5px solid #D1D5DB;
    background: #FFFFFF;
    margin-right: auto;
}

.support-modal-button-cancel {
    border: 1.5px solid #D1D5DB;
    background: #FFFFFF;
}

.support-modal-button-submit {
    background: #083050;
    border: none;
    color: #FFFFFF;
    box-shadow: 0px 4px 6px -4px rgba(0,0,0,0.1), 0px 10px 15px -3px rgba(0,0,0,0.1);
}

.support-modal-button-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.support-modal-button-cancel .support-modal-button-icon {
    width: 16px;
    height: 16px;
}

.support-modal-button-text {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #374151;
}

.support-modal-button-submit .support-modal-button-text {
    color: #FFFFFF;
}

/* Contact Support Modal - Responsive */
@media (max-width: 1366px) {
    .support-modal-actions {
        width: 100%;
        max-width: 684px;
        gap: 12px;
        justify-content: flex-end;
        padding: 16px 36px 27px;
        box-sizing: border-box;
        flex-wrap: wrap;
    }

    .support-modal-button-cancel,
    .support-modal-button-clear,
    .support-modal-button-submit {
        width: auto;
        min-width: 120px;
        max-width: 150px;
        padding: 0 16px;
        height: 42px;
        font-size: 13px;
    }

    .support-modal-button-text {
        font-size: 13px;
    }

    .support-modal-button-icon {
        width: 16px;
        height: 16px;
    }

    .support-modal-box {
        max-width: 700px;
        max-height: 100vh;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    .support-modal-header {
        flex-shrink: 0;
    }

    .support-modal-body {
        flex: 1;
        overflow-y: auto;
        padding: 4%;
    }
}

@media (max-width: 1200px) {
    .support-modal-box {
        max-width: 640px;
        max-height: 100vh;
        height: auto;
        overflow-y: auto;
    }

    .support-modal-header {
        flex-shrink: 0;
    }

    .support-modal-body {
        flex: 1;
        overflow-y: auto;
        height: auto;
    }

    .support-modal-input,
    .support-modal-textarea,
    .support-modal-upload-box {
        width: 81%;
    }

    .support-modal-actions {
        width: 100%;
        max-width: 640px;
        gap: 10px;
        justify-content: flex-end;
        padding: 16px 24px 27px;
        box-sizing: border-box;
        flex-wrap: wrap;
        flex-shrink: 0;
    }

    .support-modal-button-cancel,
    .support-modal-button-clear,
    .support-modal-button-submit {
        width: auto;
        min-width: 110px;
        max-width: 140px;
        padding: 0 14px;
        height: 40px;
    }

    .support-modal-button-text {
        font-size: 12px;
    }

    .support-modal-button-icon {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 992px) {
    .support-modal-box {
        max-width: 580px;
        max-height: 100vh;
        height: auto;
        overflow-y: auto;
    }

    .support-modal-header {
        flex-shrink: 0;
    }

    .support-modal-body {
        flex: 1;
        overflow-y: auto;
        height: auto;
    }

    .support-modal-input,
    .support-modal-textarea,
    .support-modal-upload-box {
        width: 83%;
    }

    .support-modal-actions {
        width: 100%;
        max-width: 580px;
        gap: 10px;
        justify-content: flex-end;
        padding: 16px 20px 24px;
        box-sizing: border-box;
        flex-wrap: wrap;
        flex-shrink: 0;
    }

    .support-modal-button-cancel,
    .support-modal-button-clear,
    .support-modal-button-submit {
        width: auto;
        min-width: 100px;
        max-width: 130px;
        padding: 0 12px;
        height: 38px;
    }

    .support-modal-button-text {
        font-size: 12px;
    }

    .support-modal-button-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 800px) {
    .support-modal-box {
        max-width: 520px;
        max-height: 100vh;
        height: auto;
        overflow-y: auto;
    }

    .support-modal-header {
        flex-shrink: 0;
    }

    .support-modal-body {
        flex: 1;
        overflow-y: auto;
        height: auto;
    }

    .support-modal-input,
    .support-modal-textarea,
    .support-modal-upload-box {
        width: 90%;
    }

    .support-modal-actions {
        width: 100%;
        max-width: 520px;
        gap: 8px;
        justify-content: center;
        padding: 16px 16px 24px;
        box-sizing: border-box;
        flex-wrap: wrap;
        flex-shrink: 0;
    }

    .support-modal-button-cancel,
    .support-modal-button-clear,
    .support-modal-button-submit {
        width: auto;
        min-width: 95px;
        max-width: 120px;
        padding: 0 10px;
        height: 36px;
    }

    .support-modal-button-text {
        font-size: 11px;
    }

    .support-modal-button-icon {
        width: 14px;
        height: 14px;
    }

    .support-modal-button-clear {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .support-modal-box {
        max-height: 100vh;
        height: auto;
        overflow-y: auto;
    }

    .support-modal-header {
        flex-shrink: 0;
    }

    .support-modal-body {
        flex: 1;
        overflow-y: auto;
        height: auto;
    }

    .support-modal-actions {
        width: 100%;
        max-width: 480px;
        height: auto;
        display: flex;
        gap: 8px;
        margin: 0 auto;
        justify-content: center;
        padding: 16px 16px 20px;
        box-sizing: border-box;
        flex-wrap: wrap;
        flex-shrink: 0;
    }

    .support-modal-button-cancel,
    .support-modal-button-clear,
    .support-modal-button-submit {
        width: auto;
        min-width: 90px;
        max-width: 115px;
        padding: 0 10px;
        height: 36px;
    }

    .support-modal-button-text {
        font-size: 11px;
    }

    .support-modal-button-icon {
        width: 13px;
        height: 13px;
    }

    .support-modal-button-clear {
        margin-right: 0;
        order: 1;
    }

    .support-modal-button-cancel {
        order: 2;
    }

    .support-modal-button-submit {
        order: 3;
    }
}

@media (max-width: 576px) {
    .support-modal-box {
        max-height: 100vh;
        height: auto;
        overflow-y: auto;
    }

    .support-modal-header {
        flex-shrink: 0;
    }

    .support-modal-body {
        flex: 1;
        overflow-y: auto;
        height: auto;
    }

    .support-modal-actions {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0 auto;
        justify-content: center;
        padding: 12px 16px 20px;
        box-sizing: border-box;
        flex-shrink: 0;
    }

    .support-modal-button-cancel,
    .support-modal-button-clear,
    .support-modal-button-submit {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        max-width: calc(50% - 4px);
        padding: 0 8px;
        height: 38px;
    }

    .support-modal-button-submit {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .support-modal-button-text {
        font-size: 12px;
    }

    .support-modal-button-icon {
        width: 14px;
        height: 14px;
    }

    .support-modal-button-clear {
        margin-right: 0;
        order: 1;
    }

    .support-modal-button-cancel {
        order: 2;
    }

    .support-modal-button-submit {
        order: 3;
    }
}

@media (max-width: 480px) {
    .support-modal-box {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        overflow-y: auto;
    }

    .support-modal-body {
        width: 100%;
        height: auto;
        padding: 16px;
        box-sizing: border-box;
    }

    .support-modal-header {
        height: auto;
        min-height: 80px;
        padding: 16px;
    }

    .support-modal-title {
        font-size: 20px;
        line-height: 28px;
    }

    .support-modal-subtitle {
        font-size: 13px;
        line-height: 18px;
    }

    .support-modal-input,
    .support-modal-textarea {
        width: 100%;
        box-sizing: border-box;
    }

    .support-modal-upload-box {
        width: 100%;
        box-sizing: border-box;
        height: auto;
        min-height: 100px;
    }

    .support-modal-actions {
        width: 100%;
        padding: 16px;
        box-sizing: border-box;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .support-modal-button-cancel,
    .support-modal-button-clear,
    .support-modal-button-submit {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        height: 44px;
    }

    .support-modal-button-clear {
        margin-right: 0;
        order: 1;
    }

    .support-modal-button-cancel {
        order: 2;
    }

    .support-modal-button-submit {
        order: 3;
    }

    .support-modal-message {
        width: calc(100% - 32px);
        margin: 12px 16px;
    }
}

/* ==================== SWITCH LOCATION MODAL - NEW DESIGN ==================== */
.switch-location-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4000;
}

.switch-location-modal {
    width: 896px;
    max-width: 95vw;
    height: 945px;
    max-height: 95vh;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
.switch-location-header {
    width: 100%;
    height: 98.59px;
    min-height: 98.59px;
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
    border-bottom: 0.63px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    box-sizing: border-box;
}

.switch-location-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.switch-location-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(180deg, #083050 0%, #105583 100%);
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-location-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.switch-location-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.switch-location-title {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #111827;
}

.switch-location-subtitle {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #6B7280;
}

.switch-location-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.switch-location-close:hover {
    background: #F3F4F6;
}

.switch-location-close img {
    width: 16px;
    height: 16px;
}

/* Body */
.switch-location-body {
    flex: 1;
    display: flex;
    padding: 24px 32px;
    gap: 24px;
    overflow: hidden;
}

/* Left Panel - Countries */
.switch-location-left-panel {
    width: 275px;
    min-width: 275px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.switch-location-country-box {
    width: 100%;
    min-height: 95.72px;
    border-radius: 12px;
    border: 1.88px solid #E5E7EB;
    background: #FFFFFF;
    padding: 16px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease;
}

.switch-location-country-box:hover {
    border-color: #D1D5DB;
    background: #F9FAFB;
}

.switch-location-country-box.selected {
    background: rgba(240, 253, 244, 0.5);
    border-color: #083050;
}

.switch-location-country-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.switch-location-country-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.switch-location-country-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
}

.switch-location-country-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.switch-location-country-name {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #111827;
}

.switch-location-country-name.selected {
    color: #0D542B;
}

.switch-location-country-count {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #6B7280;
}

/* Right Panel - Locations */
.switch-location-right-panel {
    flex: 1;
    height: 100%;
    border-radius: 12px;
    background: #F9FAFB;
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Search and Sort Row */
.switch-location-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.switch-location-search-container {
    width: 328px;
    height: 36px;
    position: relative;
    display: flex;
    align-items: center;
}

.switch-location-search-icon {
    width: 16px;
    height: 16px;
    position: absolute;
    top: 10px;
    left: 12px;
    opacity: 0.6;
}

.switch-location-search-input {
    width: 100%;
    height: 100%;
    padding: 0 12px 0 40px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #FFFFFF;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: #111827;
    outline: none;
    box-sizing: border-box;
}

.switch-location-search-input::placeholder {
    color: #6B7280;
}

.switch-location-search-input:focus {
    outline: none;
}

.switch-location-sort-btn {
    width: 32px;
    height: 35px;
    border-radius: 10px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.switch-location-sort-btn:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
}

.switch-location-sort-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.switch-location-sort-mode-btn {
    height: 35px;
    padding: 0 12px;
    border-radius: 10px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.switch-location-sort-mode-btn:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
}

.switch-location-sort-mode-text {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #374151;
}

.switch-location-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 16px;
    flex: 1;
    overflow-y: auto;
    align-content: flex-start;
    justify-content: flex-start;
}

.switch-location-item {
    width: 100%;
    height: 80px;
    border-radius: 12px;
    border: 1.88px solid #E5E7EB;
    background: #FFFFFF;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.switch-location-item:hover {
    border-color: #D1D5DB;
    background: #F9FAFB;
}

.switch-location-item.selected {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border-color: #083050;
    box-shadow: 0px 4px 6px -4px rgba(185, 248, 207, 0.5), 0px 10px 15px -3px rgba(185, 248, 207, 0.5);
}

.switch-location-current-badge {
    position: absolute;
    top: 4px;
    right: 4px;
}

.switch-location-current-badge img {
    width: 16px;
    height: 16px;
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(118deg) brightness(95%) contrast(88%);
}

.switch-location-default-badge {
    position: absolute;
    top: -6px;
    right: -14px;
    z-index: 2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-location-default-badge img {
    width: 30px;
    height: 30px;
}

.switch-location-item-text {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: #374151;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.switch-location-current-text {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 14px;
    color: #059669;
}

/* Footer */
.switch-location-footer {
    width: 100%;
    height: 80.625px;
    min-height: 80.625px;
    background: #F9FAFB;
    border-top: 0.63px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    box-sizing: border-box;
}

.switch-location-footer-left {
    display: flex;
    align-items: center;
}

.switch-location-default-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #4B5563;
}

.switch-location-default-checkbox input[type="checkbox"] {
    display: none;
}

.switch-location-star-icon {
    font-size: 20px;
    color: #9CA3AF;
    transition: color 0.2s ease;
}

.switch-location-star-icon.filled {
    color: #F59E0B;
}

.switch-location-footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.switch-location-btn-cancel {
    height: 40px;
    padding: 8px 24px;
    border-radius: 8px;
    border: 1.88px solid #E5E7EB;
    background: #FFFFFF;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.switch-location-btn-cancel:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
}

.switch-location-btn-save {
    height: 40px;
    padding: 8px 24px;
    border-radius: 8px;
    border: none;
    background: #083050;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
}

.switch-location-btn-save:hover {
    background: #0a3d66;
}

.switch-location-btn-save.disabled,
.switch-location-btn-save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Switch Location Modal - Responsive */
@media (max-width: 992px) {
    .switch-location-modal {
        width: 95vw;
        height: 90vh;
    }

    .switch-location-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .switch-location-left-panel {
        width: 220px;
        min-width: 220px;
    }

    .switch-location-search-container {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .switch-location-body {
        flex-direction: column;
        padding: 16px;
    }

    .switch-location-left-panel {
        width: 100%;
        min-width: unset;
        height: auto;
        max-height: 200px;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
    }

    .switch-location-country-box {
        min-width: 200px;
        min-height: 70px;
    }

    .switch-location-right-panel {
        flex: 1;
        min-height: 300px;
    }

    .switch-location-search-row {
        flex-wrap: wrap;
    }

    .switch-location-search-container {
        width: 100%;
        flex: 1;
        min-width: 200px;
    }

    .switch-location-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .switch-location-footer {
        flex-direction: column;
        height: auto;
        padding: 16px;
        gap: 12px;
    }

    .switch-location-footer-left,
    .switch-location-footer-right {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .switch-location-header {
        padding: 0 16px;
        height: 80px;
        min-height: 80px;
    }

    .switch-location-title {
        font-size: 14px;
    }

    .switch-location-subtitle {
        font-size: 12px;
    }

    .switch-location-search-container {
        width: 100%;
    }

    .switch-location-search-input {
        font-size: 13px;
    }

    .switch-location-grid {
        grid-template-columns: 1fr;
    }

    .switch-location-btn-cancel,
    .switch-location-btn-save {
        flex: 1;
        font-size: 14px;
    }
}

/* Header Topbar - Responsive for 1366px and smaller screens */
@media (max-width: 1440px) {
    .header-topbar {
        min-width: 580px;
        max-width: 720px;
    }

    .header-topbar .header-tab {
        padding: 0 16px;
        gap: 6px;
    }

    .header-topbar .header-tab-text {
        font-size: 13px;
    }
}

@media (max-width: 1366px) {
    .header-topbar {
        min-width: 520px;
        max-width: 680px;
    }

    .header-topbar .header-tab {
        padding: 0 14px;
        gap: 5px;
    }

    .header-topbar .header-tab-text {
        font-size: 12px;
    }

    .header-topbar .header-tab-icon,
    .header-tab-icon-chip .header-tab-icon,
    .header-tab-icon-circle .header-tab-icon {
        width: 16px;
        height: 16px;
        min-width: 16px;
        min-height: 16px;
    }

    .header-action-text {
        font-size: 13px;
    }

    .header-action-btn {
        padding: 0 10px 0 5px;
        gap: 6px;
    }
}

@media (max-width: 1280px) {
    .header-topbar {
        min-width: 480px;
        max-width: 620px;
    }

    .header-topbar .header-tab {
        padding: 0 12px;
        gap: 4px;
    }

    .header-topbar .header-tab-text {
        font-size: 11px;
    }

    .header-action-text {
        font-size: 12px;
    }

    .header-right {
        gap: 8px;
    }
}
