/* ==========================================================================
   TABLE OF CONTENTS
   1. FONT GLOBAL VARIABLES
   2. GLOBAL VARIABLES & RESET
   3. HEADER SHARED COMPONENT
   4. SIDEBAR SHARED COMPONENT
   5. FOOTER SHARED COMPONENT
   6. MAIN CONTENT LAYOUT
   7. DATE RANGE PICKER
   8. DASHBOARD & REPORTS
   9. MODALS (ANALYST, DOWNLOAD, SECTOR)
   10. PAGE SPECIFIC STYLES (CONTACT, SNAPSHOT, LOGIN, SEARCH)
   11. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* ==========================================================================
   1. FONT GLOBAL VARIABLE
   ========================================================================== */

@font-face {
    font-family: 'SpoqaHanSansNeo-Light';
    src: url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@latest/Subset/SpoqaHanSansNeo/SpoqaHanSansNeo-Regular.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'SpoqaHanSansNeo-Regular';
    src: url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@latest/Subset/SpoqaHanSansNeo/SpoqaHanSansNeo-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SpoqaHanSansNeo-Medium';
    src: url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@latest/Subset/SpoqaHanSansNeo/SpoqaHanSansNeo-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SpoqaHanSansNeo-Bold';
    src: url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@latest/Subset/SpoqaHanSansNeo/SpoqaHanSansNeo-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

/* ==========================================================================
   GLOBAL VARIABLE
   ========================================================================== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'SpoqaHanSansNeo', sans-serif;
    /*background: var(--bg-light) !important;*/
    margin: 0;
    color: var(--text-main);
    overflow-x: hidden;
}

:root {
    --bs-body-font-family-light: 'SpoqaHanSansNeo-Light';
    --bs-body-font-family-regular: 'SpoqaHanSansNeo-Regular';
    --bs-body-font-family-medium: 'SpoqaHanSansNeo-Medium';
    --bs-body-font-family-bold: 'SpoqaHanSansNeo-Bold';
    --brand-blue: #043B72;
    --brand-orange: #E37500;
    --active-bg: #0A2458;
    --bg-light: #F4F6F8;
    --text-main: #333;
    --text-muted: #727272;
    --header-height: 85px;
}

/* ==========================================================================
   FONT VARIABLES
   ========================================================================== */
.font-light {
    font-family: var(--bs-body-font-family-light) !important;
    font-weight: 300;
}

.font-regular {
    font-family: var(--bs-body-font-family-regular) !important;
    font-weight: 400;
}

.font-medium {
    font-family: var(--bs-body-font-family-medium) !important;
    font-weight: 500;
}

.font-bold {
    font-family: var(--bs-body-font-family-bold) !important;
    font-weight: 700;
}

/* ==========================================================================
   1. HEADER SHARED COMPONENT
   ========================================================================== */
.top-header {
    height: var(--header-height);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    border-bottom: 5px solid var(--brand-orange);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-logo img {
    height: 60px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .header-center {
        margin-left: auto;
        padding-right: 60px; /* adjust 40-80px as needed */
    }
}

@media (max-width: 768px) {
    .header-center {
        flex: 1;
        text-align: center;
    }
}

.back-link {
    color: #e67e22;
    font-weight: 600;
    text-decoration: underline;
    font-size: clamp(10px, 1.5vw, 18px);
}


/* Search Bar */
.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    width: 450px;
    border-bottom: 1px solid #707070;
    background: transparent;
}

.search-bar input {
    flex: 1;
    width: 100%;
    border: none;
    outline: none;
    padding: 0.5rem 2rem 0.5rem 0.5rem;
    font-size: 0.95rem;
    background: transparent;
    color: #333;
}

.search-bar input:focus {
    border-bottom-color: var(--brand-blue);
}

.search-bar input::placeholder {
    color: #707070;
}

.search-bar .bi-search {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-orange);
    font-size: 1.1rem;
    cursor: pointer;
}

.icon-btn {
    background: none;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
    line-height: 1;
    color: #c49a5a;
}

.icon-btn:hover {
    opacity: 0.8;
}

#clearSearch {
    color: #999;
}

#clearSearch i,
#doSearchBtn i {
    pointer-events: none;
}

.profile-icon {
    font-size: 1.8rem;
    color: var(--brand-orange);
    cursor: pointer;
}

/* Mobile Search Wrapper (Hidden by default) */
.mobile-search-wrapper {
    display: none;
}


/* ==========================================================================
   SIDEBAR SHARED COMPONENT
   ========================================================================== */
.sidebar {
    width: 269px;
    background: #fff;
    border-radius: 10px;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    height: calc(100vh - var(--header-height) - 3rem);
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #D1D1D1;
    border-radius: 4px;
}

/* Nav item base */
.nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem;
    cursor: pointer;
    color: #043B72;
    font-size: 14px;
    text-decoration: none;
    user-select: none;
    transition: background 0.2s, color 0.2s;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    border-radius: 6px;
    font-family:var(--bs-body-font-family-regular)
}

.nav-item:hover {
    background: #F7F9FB;
}

.nav-item .icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.3s ease;
    font-weight: 700;
}

/* Submenu containers */
.nav-submenu {
    font-size: 0.9rem;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.nav-submenu.collapsed {
    max-height: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.nav-submenu.expanded {
    opacity: 1;
    pointer-events: auto;
    background-color: #F7F9FB;
}

/* Level 1 e.g., Macro & Strategy */
.nav-section>.nav-item {
    font-weight: 600;
}

.nav-section>.nav-item.section-open {
    color: var(--brand-blue);
    font-weight: 700;
}

.nav-section:has(> .nav-item.section-open) {
    background-color: #F7F9FB;
}

/* Level 2 e.g., Macro */
.nav-submenu.level-1 .nav-item {
    padding-left: 1.75rem;
    font-weight: 700;
}

.nav-submenu.level-2>.nav-item-wrapper>.nav-item {
    padding-left: 2.75rem;
    font-weight: 700;
    color: var(--brand-blue);
}

/* Level 3 e.g., GDP, CPI — always pill-shaped so width never changes */
.nav-submenu.level-3 .nav-item {
    font-weight: 500;
    color: var(--brand-blue);
    padding: 0.85rem 1rem 0.85rem 3rem;
    background: transparent;
}
.nav-item.level-3 {
    font-weight: 500 !important;
    color: var(--brand-blue);
    padding: 0.85rem 1rem 0.85rem 3rem;
    background: transparent;
}


/* Global Active State - Applies to any level clicked */
.nav-item.active {
    background: var(--active-bg) !important;
    color: #fff !important;
}

.nav-item.active .icon {
    color: #fff !important;
}

/* Icon color states */
.nav-item .icon.icon-open {
    color: var(--brand-blue);
}

.nav-item .icon.icon-closed {
    color: var(--brand-blue);
}

/* ==========================================================================
   3.FOOTER SHARED COMPONENT
   ========================================================================== */
.site-footer {
    width: 100%;
    background: #F4F6F8;
    position: relative;
    z-index: 0;
}

.footer-white-box {
    background: #f4f4f4;
}

.footer-white-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 3rem 4rem 2rem 4rem;
}

.footer-columns {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col-main {
    flex: 0 0 350px;
}

.footer-col-main img {
    height: 45px;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.social-icons i {
    font-size: 1.3rem;
    color: #000;
    cursor: pointer;
}

.company-details {
    font-size: 12px;
    color: #000;
    line-height: 1.6;
}

.company-details strong {
    font-family: var(--bs-body-font-family-bold) !important;
    font-weight: 700;
    margin-bottom: 10px;
}

.company-details p {
    font-family: var(--bs-body-font-family-regular) !important;
    font-weight: 400;
}

.footer-col-links {
    flex: 1;
}

.footer-title {
    color: #000;
    margin-bottom: 1rem;
    font-size: 14px;
    font-family: var(--bs-body-font-family-bold) !important;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-family: var(--bs-body-font-family-regular) !important;
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--brand-orange);
}

.footer-warning {
    background: #fff;
    font-size: 12px;
    padding: 10px 15px;
    color: #000;
    margin-bottom: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.footer-warning strong {
    font-weight: 700;
}

/* Static heading on the left */
.footer-warning-heading {
    flex-shrink: 0;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 12px;
    font-family: var(--bs-body-font-family-bold) !important;
    font-weight: 700;
}

/*  Footer Warning Marquee (running text) */
.footer-warning-marquee {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.footer-warning-marquee-track {
    display: flex;
    width: max-content;
    animation: footerMarqueeScroll 20s linear infinite;
}

.footer-warning-marquee-content {
    white-space: nowrap;
    padding-right: 80px;
    /* gap between the two copies */
    font-family: var(--bs-body-font-family-regular) !important;
    font-weight: 400;
}

@keyframes footerMarqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.footer-compliance {
    font-size: 12px;
    color: #000;
    line-height: 1.8;
    max-width: 100%;
}

.footer-compliance strong {
    font-family: var(--bs-body-font-family-bold) !important;
    font-weight: 700;
}

.footer-compliance p {
    margin-bottom: 0.75rem;
}

.footer-dark {
    background: #5D5D5D;
    padding: 1rem 0;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.footer-bottom-links a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

.footer-bottom-links a:hover {
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    font-size: 12px;
    /*color: #D0D0D0;*/
    padding: 1rem 0;
    /*background: #5D5D5D;*/
}

.footer-copyright .heart {
    color: #E33535;
}

/* ==========================================================================
   4.MAIN CONTENT PAGE AND BODY
   ========================================================================== */
.page-content {
    position: sticky;
    bottom: 0;
    z-index: 1;
    background: #ECEFF4;
}

/*  BODY WRAPPER */
.body-wrapper {
    display: flex;
    max-width: 100%;
    margin: 0 30px;
    align-items: flex-start;
    padding: 1.5rem 1rem;
}

/* MAIN CONTENT  */
.main-content {
    flex: 1;
    padding: 0 0 2rem 2rem;
    min-width: 0;
}

.page-title {
    font-size: 22px;
    color: #171725;
    margin-bottom: 1rem;
}

/* Filters row */
.filters-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
    gap: 1rem;
}

/* Left group: Sector + Analyst side by side */
.filters-left-group {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.filter-group label {
    font-size: 13px;
    color: #171725;
    margin-left: 10px;
}

.filter-select {
    padding: 0.65rem 2.5rem 0.65rem 1.25rem;
    border-radius: 73px;
    border: none;
    background: #fff;
    font-size: 13px;
    color: #171725;
    appearance: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

.select-wrapper {
    position: relative;
}

.select-wrapper.custom-active::after {
    display: none;
}

/* Custom Select Container */
.custom-select-container {
    position: relative;
    user-select: none;
}

/* Custom Select Trigger (looks like a pill select box) */
.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 2.5rem 0.65rem 1.25rem;
    border-radius: 73px;
    background: #fff;
    font-size: 14px;
    color: #707070; /* text color matching image */
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-height: 38px;
    box-sizing: border-box;
    font-family:var(--bs-body-font-family-regular)
}

.custom-select-trigger:hover {
    border-color: #B0B0B0;
}

/* Caret Icon (Solid grey triangle pointing down, matching the image) */
.custom-select-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 1rem;
    vertical-align: middle;
    border-top: 8px solid #727272;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-bottom: 0;
    transition: transform 0.2s ease;
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #848484;
}

/* Rotate caret when dropdown is open */
.custom-select-container.open .custom-select-caret,
.date-range-btn.open::after,
#mDateRangeBtn.open .custom-select-caret,
.m-sector-trigger.open .custom-select-caret,
.m-custom-popup-trigger.open .custom-select-caret {
    transform: translateY(-50%) rotate(180deg);
}

/* Custom Select Options Dropdown Menu */
.custom-select-options {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #EDEDED;
    max-height: 260px;
    overflow-y: auto;
}

/* Custom Scrollbar for Custom Select Options */
    .custom-select-options::-webkit-scrollbar {
        width: 5px !important;
        background-color: #F1F5F9 !important;
    }

    .custom-select-options::-webkit-scrollbar-track {
        background-color: #F1F5F9 !important;
        border-radius: 10px;
        margin: 6px 0;
    }

    .custom-select-options::-webkit-scrollbar-thumb {
        background-color: #9e9e9e !important;
        border-radius: 10px;
    }

        .custom-select-options::-webkit-scrollbar-thumb:hover {
            background-color: #94A3B8 !important;
        }

/* Show when active */
.custom-select-container.open .custom-select-options {
    display: block;
}

/* Option item styling */
.custom-select-option {
    padding: 0.65rem 1.25rem;
    font-size: 13px;
    color: #464646;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    background-color: #fff;
}

/* Option hover / highlighted state */
/* "on option background color changes" */
.custom-select-option:hover {
    background-color: #F4F6F8; /* soft lightgrey background color change */
    color: #111;
}

/* Selected option styling in the dropdown */
    .custom-select-option.selected {
        background-color: #F8F8F8; /* slightly darker soft grey */
        color: #252528;
        font-weight: 600;
    }

/* Overlay for closing calendar when clicking outside  */
.picker-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
}

.picker-overlay.open {
    display: block;
}

/* ==========================================================================
   5.DATE RANGE PICKER STYLING
   ========================================================================== */
.date-range-wrapper {
    position: relative;
}

.date-range-btn {
    padding: 0.7rem 1.75rem;
    border-radius: 30px;
    border: 1px solid #EAEAEA;
    background: #fff;
    font-size: 0.95rem;
    color: #444;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    min-width: 270px;
    text-align: left;
    position: relative;
    font-family: 'DM Sans', sans-serif;
}

.date-range-btn::after {
    content: "";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #727272;
    pointer-events: none;
    width: 0;
    height: 0;
    border-top: 8px solid #727272;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-bottom: 0;
    transition: transform 0.2s ease;
}

.date-picker-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1001;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    min-width: 320px;
    flex-direction: column;
    padding: 0;
    border: 1px solid #F0F0F0;
    overflow: hidden;
}

.date-picker-dropdown.open {
    display: flex;
}

/* Calendar section */
.calendar-section {
    width: 100%;
    padding: 1.25rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.calendar-header .bi {
    cursor: pointer;
    font-size: 0.8rem;
    color: #4D5E80;
    padding: 8px;
    transition: all 0.2s;
}

.calendar-header .bi:hover {
    color: var(--brand-orange);
}

.calendar-header .month-year {
    font-size: 13px;
    color: #171725;
    letter-spacing: -0.01em;
    font-family: var(--bs-body-font-family-regular) !important;
    font-weight: 400;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
}

.calendar-grid .day-header {
    text-align: center;
    font-size: 13px;
    color: #252528;
    padding: 0.5rem 0;
    font-family: var(--bs-body-font-family-regular) !important;
    font-weight: 400;
}

.calendar-grid .day-cell {
    text-align: center;
    padding: 0.8rem 0;
    font-size: 13px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.1s;
    color: #252528;
    font-family: var(--bs-body-font-family-regular) !important;
    font-weight: 400;
}

.calendar-grid .day-cell:hover:not(.other-month):not(.disabled) {
    background: #F4F6F8;
}

.calendar-grid .day-cell.other-month {
    color: #E0E0E0;
}

.calendar-grid .day-cell.disabled {
    color: #D0D0D0;
    cursor: not-allowed;
    pointer-events: none;
}

.calendar-grid .day-cell.selected {
    background: #F1F3F6;
    color: #222;
}

.calendar-grid .day-cell.in-range {
    background: #F1F3F6;
    border-radius: 0;
}

.calendar-grid .day-cell.range-start {
    background: #F1F3F6;
    border-radius: 12px 0 0 12px;
}

.calendar-grid .day-cell.range-end {
    background: #F1F3F6;
    border-radius: 0 12px 12px 0;
}

.calendar-grid .day-cell.range-start.range-end {
    border-radius: 8px;
}

/* Preset panel */
.preset-panel {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 1rem;
    border-top: 1px solid #F0F0F0;
}

.preset-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.preset-option {
    flex: 1;
    min-width: 80px;
    padding: 0.6rem 0.5rem;
    font-size: 14px;
    color: #757575;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid #F8F8F8;
    background: #F8F8F8;
    text-align: center;
    transition: all 0.2s;
    font-family: var(--bs-body-font-family-regular) !important;
    font-weight: 400;
}

.preset-option:hover {
    background: #F9FAFB;
}

.preset-option.active {
    background: #F8F8F8;
    color: #252528;
    font-family: var(--bs-body-font-family-regular) !important;
    font-weight: 400;
    border-color: transparent;
}

.calendar-apply-btn {
    width: 100%;
    padding: 0.75rem 0;
    border: 1.5px solid #043B72;
    border-radius: 8px;
    background: #fff;
    color: #043B72;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--bs-body-font-family-regular) !important;
    font-weight: 400;
}

.calendar-apply-btn:hover {
    background: #0F2A5D;
    color: #fff;
}

/* ==========================================================================
   6.DASHBOARD SHARED COMPONENT
   ========================================================================== */
.report-list {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    /* overflow: hidden; */
    /* Removed to allow tooltips to show without clipping */
    margin-bottom: 2rem;
}

.report-list .report-card:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.report-list .report-card:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


.report-card {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Smaller base gap for end elements */
    padding: 1.5rem 2rem;
    position: relative;
    transition: background 0.2s;
}

.report-card:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: #EDEDED;
}

.report-card:hover {
    background: #FDFDFD;
}

.rc-date {
    width: 100px;
    font-size: 14px;
    color: #464646;
    flex-shrink: 0;
}

.rc-star {
    color: var(--brand-orange);
    width: 14px;
    height: 13px;
    display: block;
}

.rc-body {
    flex: 0 1 auto;
    max-width: 900px;
    min-width: 0;
    padding-right: 0;
    margin-right: auto;
    /* Pushes subsequent items (status/action) to the end */
}

.rc-title {
    font-size: 14px;
    color: #464646;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rc-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.35rem;
    line-height: 1.5;
}

.rc-meta {
    font-size: 13px;
    color: #707070;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rc-meta a {
    color: #145BB3;
    text-decoration: underline;
    font-weight: 500;
}



/* Status column */
.rc-status {
    flex-shrink: 0;
    white-space: nowrap;
    width: 85px;
    text-align: left;
    font-size: 13px;
}

.rc-status.buy {
    color: #00B050;
}

.rc-status.add {
    color: #4D93D9;
}

.rc-status.sell {
    color: #EE0000;
}

.rc-status.hold {
    color: #ADADAD;
}

.rc-status.not-rated {
    color: #000000;
    font-size: 0.8rem;
}

.rc-right-group {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Spacing between Buy/Sell and Eye icon */
    flex-shrink: 0;
}

.rc-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    position: relative;
    font-size: 2rem;
    color: var(--brand-orange);
    cursor: pointer;
}

.rc-tooltip {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #fff;
    border: 1px solid #DBDBDB;
    border-radius: 0px 0px 8px 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    width: 128px;
    /* height: 77px; */
    /* Removed fixed height to allow content to grow */
    min-width: 128px;
    z-index: 200;
    padding: 0.5rem 0;
}

/* Tooltip point upwards arrow */
.rc-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    background: #fff;
    border-top: 1px solid #DBDBDB;
    border-left: 1px solid #DBDBDB;
}

.rc-tooltip.show {
    display: block;
}

/*  View More Button */
.view-more-btn {
    background: none;
    border: 1px solid var(--brand-orange);
    color: #464646;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s, background 0.2s;
    padding: 8px 24px;
    border-radius: 6px;
}

.view-more-btn i {
    transition: transform 0.2s;
    color: var(--brand-orange);
}

.view-more-btn:hover {
    color: var(--brand-orange);
    background: #FFF5F0;
}

.view-more-btn:hover i {
    transform: translateX(4px);
}

.rc-tooltip-item {
    display: block;
    text-align: left;
    padding: 0.25rem;
    font-size: 14px;
    font-weight: 400;
    color: var(--brand-orange);
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
}

.rc-tooltip-item:last-child {
    border-bottom: none;
}

.rc-tooltip-item:hover {
    background: #fdf5eb;
}



.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.filter-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brand-blue);
}

/* .filter-modal-close - defined later with positioned styles */

.filter-modal-content {
    padding: 0 2rem 2rem 2rem;
}

.filter-modal-group {
    margin-bottom: 1.5rem;
}

.filter-modal-group label {
    display: block;
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.filter-modal-select {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    color: var(--text-main);
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-modal-select:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(15, 123, 255, 0.1);
}

.custom-select-wrapper {
    position: relative;
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 0.8rem;
}

/* .filter-modal-actions — defined later with override styles */

.filter-modal-apply {
    flex: 1;
    background: var(--brand-blue);
    color: #fff;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-modal-apply:hover {
    background: #0a1f4a;
}

.filter-modal-reset {
    flex: 1;
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-modal-reset:hover {
    background: #5a6268;
}

/* =======================================
   RESPONSIVE MOBILE VIEW STYLES FOR SIDEBAR AND MENU AND FILTER
 ====================================== */
.mobile-view {
    background: #ECEFF4;
    width: 100%;
}

.mobile-nav-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 1rem 0;
    background: #ECEFF4;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.mobile-nav-scroll::-webkit-scrollbar {
    display: none;
}

.m-nav-item {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    font-size: 15px;
    color: var(--brand-blue);
    cursor: pointer;
    border-radius: 25px;
    margin-right: 0.5rem;
    background: transparent;
}

.m-nav-item.active {
    background: var(--brand-blue);
    color: #fff;
}

.mobile-content-wrapper {
    padding: 0;
}

.m-radio-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.m-radio-label {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
}

.m-radio-label input[type="radio"] {
    margin-right: 0.4rem;
    accent-color: var(--brand-orange);
    width: 16px;
    height: 16px;
}

.m-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.m-select-wrapper {
    position: relative;
    flex: 1;
    margin-right: 1.5rem;
    border-bottom: 1.5px solid #E0E0E0;
}



.m-filter-icon {
    font-size: 1.6rem;
    color: var(--brand-orange);
    cursor: pointer;
}

/* ── Mobile Sector Dropdown Popup ── */
.m-sector-trigger {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    font-size: 1rem;
    color: #333;
    text-align: left;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.m-sector-trigger .m-sector-arrow {
    position: static;
    transform: none;
    transition: transform 0.2s;
    pointer-events: none;
    color: #888;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.m-sector-trigger.open .m-sector-arrow {
    transform: rotate(180deg);
}

.m-sector-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 500;
    background: #fff;
    border: 1px solid #E0E0E0;
    min-width: 100%;
    box-shadow: 2px 6px 16px rgba(0,0,0,0.10);
}

.m-sector-popup.open {
    display: block;
}

.m-sector-popup-inner {
    max-height: 240px;
    overflow-y: auto;
}

.m-sector-popup-inner::-webkit-scrollbar {
    width: 4px;
}

.m-sector-popup-inner::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.m-sector-popup-inner::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.m-sector-option {
    padding: 0.5rem;
    font-size: 14px;
    color: #707070;
    cursor: pointer;
    transition: background 0.15s;
    font-family: var(--bs-body-font-family-regular);
}

.m-sector-option:last-child {
    border-bottom: none;
}

    .m-sector-option:hover,
    .m-sector-option--selected {
        background: #F8F8F8;
        color: #252528;
    }

/* Hide popup on desktop */
@media (min-width: 992px) {
    .m-sector-popup {
        display: none !important;
    }
}



.m-section-title {
    font-size: 18px;
    color: #464646;
    margin-bottom: 1.25rem;
}

.m-report-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.m-card {
    background: #fff;
    border-radius: 8px;
    padding: 1rem 1rem 0.3rem 1rem;
    /* Increased padding */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.m-card-title {
    font-size: 13px;
    color: #464646;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.m-card-meta {
    font-size: 13px;
    color: #707070;
    margin-bottom: 1rem;
}

.m-card-meta a {
    color: #145BB3;
    text-decoration: none;
}

.m-card-divider {
    height: 1px;
    background: #F0F0F0;
    margin: 0.25rem 0;
    /* Increased spacing on both top and bottom */
}

.m-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.m-card-date {
    font-size: 13px;
    color: #464646;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.m-card-star {
    color: var(--brand-orange);
    font-size: 1rem;
}

/* Status styling for mobile cards */
.m-card-status {
    flex: 1;
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
    text-transform: uppercase;
}

.m-card-status.sell {
    color: #D93B3B;
}

.m-card-status.buy {
    color: #088934;
}

.m-card-status.not-rated {
    color: #707070;
}

.m-card-status.hold {
    color: #BA5D00;
}

.m-card-status.add {
    color: #088934;
}

.m-card-date,
.rc-action {
    flex: 1;
}

.rc-action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* ==========================================================================
   FILTER MODAL FOR RESPONSIVE
   ========================================================================== */
/* FILTER MODAL (Premium Mobile Bottom Sheet) */
/* @keyframes modalFadeIn â€” defined later with transform+opacity */

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.filter-modal-overlay {
    display: none;
    /* Controlled by JS .show */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    animation: modalFadeIn 0.3s ease;
}

.filter-modal-overlay.show {
    display: flex;
}

.filter-modal {
    width: 90%;
    max-width: 450px;
    max-height: 85vh;
    background: #ECEFF4;
    border-radius: 24px;
    padding: 2.5rem 1.75rem 2rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.4s cubic-bezier(0, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.filter-modal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.filter-modal-close {
    position: absolute;
    top: 2px;
    right: 5px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #707070;
    cursor: pointer;
    z-index: 10;
}

.m-filter-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    width: 100%;
}

.m-filter-row-item label {
    font-size: 13px;
    color: #171725;
    flex: 0 0 35%;
    margin: 0;
}

.m-filter-select-wrapper {
    flex: 1;
    position: relative;
}

.m-filter-select-wrapper select,
.m-filter-select-wrapper button.m-select {
    width: 100%;
    background: #fff !important;
    border: 1px solid #EAEAEA !important;
    border-radius: 30px !important;
    padding: 1rem 2.8rem 1rem 1.25rem !important;
    font-size: 14px;
    color: #333;
    appearance: none;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
}

/* ── Generic modal custom popup trigger ── */
.m-custom-popup-trigger {
    width: 100%;
    background: #fff;
    border: 1px solid #EAEAEA;
    border-radius: 30px;
    padding: 0.75rem 2.8rem 0.75rem 1.25rem;
    font-size: 14px;
    color: #333;
    appearance: none;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    text-align: left;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.m-custom-popup-trigger .m-modal-arrow-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 0.8rem;
    pointer-events: none;
    transition: transform 0.2s;
}

.m-custom-popup-trigger.open .m-modal-arrow-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* ── Generic modal popup panel ── */
.m-custom-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 6000;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 2px 8px 20px rgba(0,0,0,0.10);
}

.m-custom-popup.open {
    display: block;
}

.m-custom-popup-inner {
    max-height: 220px;
    overflow-y: auto;
}

.m-custom-popup-inner::-webkit-scrollbar {
    width: 4px;
}

.m-custom-popup-inner::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.m-custom-popup-inner::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.m-custom-popup-option {
    padding: 0.5rem;
    font-size: 14px;
    color: #707070;
    cursor: pointer;
    transition: background 0.15s;
    font-family:var(--bs-body-font-family-regular);
}

.m-custom-popup-option:last-child {
    border-bottom: none;
}

.m-custom-popup-option:hover {
    background: #F8F8F8;
}

.m-custom-popup-option--selected {
    color: #252528;
    background: #F8F8F8;
}

#mDateRangeBtn {
    position: relative;
}


.m-modal-arrow {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    pointer-events: none;
    font-size: 0.8rem;
}

.filter-modal-actions {
    margin-top: auto;
    padding-top: 1.25rem;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    background: #ECEFF4;
    z-index: 100;
    padding-bottom: 0.5rem;
}

.filter-modal-apply-btn {
    background: #F1F3F6;
    color: #043B72;
    border: 1.5px solid #0F2A5D;
    border-radius: 8px;
    padding: 0.60rem 0;
    width: 180px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.filter-modal-apply-btn:hover {
    background: #0F2A5D;
    color: #fff;
}

/* ==========================================================================
   MODAL STYLING
   ========================================================================== */
/*  ANALYST MODAL GLOBAL STYLES  */
.analyst-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.analyst-modal-overlay.show {
    display: flex;
}

.analyst-modal-content {
    background: #fff;
    width: 100%;
    max-width: 1094px;
    max-height: 599px;
    height: 90vh;
    border-radius: 16px;
    position: relative;
    display: flex;
    /* Horizontal split */
    overflow: hidden;
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.analyst-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Prevent main content from scrolling */
}

.analyst-modal-header {
    display: flex;
    padding: 1.5rem 2.5rem 1rem 2.5rem;
    gap: 2rem;
    position: relative;
}

.analyst-photo-wrap {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.analyst-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.analyst-modal-info h2 {
    font-size: 24px;
    color: #1C1C1C;
    margin-bottom: 0.15rem;
}

.analyst-modal-info .designation {
    font-size: 14px;
    color: #043B72;
    margin-bottom: 0.5rem;
}

.analyst-modal-info .bio {
    font-size: 13px;
    color: #707070;
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 650px;
}

.analyst-modal-info .team {
    padding-top: 20px;
    font-size: 13px;
    color: #1C1C1C;
}

.analyst-modal-info .team span {
    font-family: var(--bs-body-font-family-bold) !important;
    font-weight: 700;
}

.analyst-modal-body {
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.report-list-card {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 9px #4040401A;
    border-radius: 16px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .report-list-card h3 {
        font-size: 16px;
        color: #043B72;
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid #dfe3eb;
    }

.reports-scroll-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.reports-scroll-container::-webkit-scrollbar {
    width: 5px !important;
    background-color: #F1F5F9 !important;
}

.reports-scroll-container::-webkit-scrollbar-track {
    background-color: #F1F5F9 !important;
    border-radius: 10px;
}

.reports-scroll-container::-webkit-scrollbar-thumb {
    background-color: #9e9e9e !important;
    border-radius: 10px;
}

.modal-report-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #dfe3eb;
    display: flex;
    gap: 1.5rem;
}

.modal-report-item:last-child {
    border-bottom: none;
}

.modal-report-date {
    width: 100px;
    font-size: 12px;
    color: #464646;
    flex-shrink: 0;
}

.modal-report-content {
    flex: 1;
}

.modal-report-title {
    font-size: 13px;
    color: #464646;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.modal-report-title strong {
    color: #464646;
}

.modal-report-meta {
    font-size: 12px;
    color: #707070;
}

.modal-report-meta a {
    color: #145BB3;
}

.analyst-right-pane {
    width: 220px;
    border-left: 1px solid #dadada;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    overflow-y: auto;
    background: #fff;
}

.analyst-right-pane::-webkit-scrollbar {
    width: 5px !important;
    background-color: #e3e3e3 !important;
}

.analyst-right-pane::-webkit-scrollbar-track {
    background-color: #e3e3e3 !important;
    border-radius: 10px;
}

.analyst-right-pane::-webkit-scrollbar-thumb {
    background-color: #9e9e9e !important;
    border-radius: 10px;
}

.pane-tabs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1.5px solid #c9c9c9;
    margin-bottom: 1.5rem;
    width: max-content;
}

.pane-tab {
    padding-bottom: 0.3rem;
    color: #707070;
    cursor: pointer;
    position: relative;
    font-size: 15px;
}

.pane-tab.active {
    color: #1D1D1D;
    font-family: var(--bs-body-font-family-bold) !important;
    font-weight: 700;
}

.pane-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1.5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-orange);
}

.pane-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #707070;
    line-height: 2.2;
}

    .pane-list li {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
        width: 100%;
        cursor: default;
    }


        .pane-list li:hover {
            overflow: visible;
            white-space: normal;
            background: #fff;
            position: relative;
            z-index: 1000;
        }


.analyst-close {
    position: absolute;
    top: 0.1rem;
    right: 0.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #707070;
    transition: color 0.2s;
    z-index: 10;
}

.analyst-close:hover {
    color: #1A1A1A;
}

/* DOWNLOAD MODAL GLOBAL STYLES */
.download-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 11000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.download-modal-overlay.show {
    display: flex;
}

.download-modal-content {
    background: #fff;
    width: 90%;
    max-width: 850px;
    border-radius: 24px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.3s ease-out;
    overflow: hidden;
}

/* .modal-highlights-list full definition below, border-bottom merged there */

.modal-scroll-area {
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
}

@keyframes modalFadeIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.download-modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
    transition: color 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.download-modal-close:hover {
    background: #f4f4f4;
}

.modal-stock-title {
    color: #E37500;
    font-size: 22px;
    margin-bottom: 15px;
    padding-right: 40px;
}

.modal-info-row {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #ECECEC;
    padding-bottom: 30px;
}

.modal-info-col {
    padding: 0 20px;
    border-right: 1px solid #ECECEC;
}

.modal-info-col:first-child {
    padding-left: 0;
}

.modal-info-col:last-child {
    border-right: none;
}

.modal-info-label {
    font-size: 15px;
    color: #464646;
    margin-bottom: 8px;
}

.reco-mobile {
    display: none;
}

.modal-info-value {
    font-size: 18px;
    color: #464646;
    font-family: var(--bs-body-font-family-bold) !important;
    font-weight: 700;
}

.modal-info-value.green {
    color: #088934;
}

.modal-highlights-title {
    font-size: 18px;
    color: #464646;
    margin-bottom: 20px;
}

.modal-highlights-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #ECECEC;
}

.modal-highlights-list ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #757575;
    line-height: 1.5;
}

.modal-highlights-list ul li::before {
    content: "•";
    color: #E27B27;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -7px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-download-popup {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    color: #757575;
    background: transparent;
    border: 1px solid #E0E0E0;
    border-radius: 19px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-download-popup .bi-download {
    color: #E37500;
}

/* ASSOCIATE SMALL MODAL  */
.v-profile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.v-profile-overlay.show {
    display: flex;
}

.v-profile-card {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 380px;
    padding: 2rem 2.5rem;
    position: relative;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.v-profile-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-size: 1.4rem;
    cursor: pointer;
    color: #555;
}

.v-profile-photo-wrap {
    position: relative;
    width: 120px;
    height: 120px;
}

.v-profile-photo-wrap .analyst-img-bg {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.v-profile-photo-wrap img {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.v-profile-name {
    font-size: 24px;
    color: #1C1C1C;
    margin-bottom: 0.25rem;
    text-align: left;
}

.v-profile-designation {
    color: #043B72;
    font-size: 14px;
    margin-bottom: 0.75rem;
    text-align: left;
}

.v-profile-bio {
    font-size: 13px;
    color: #707070;
    line-height: 1.6;
    text-align: left;
}


/* ==========================================================================
   BANNER IMAGE
   ========================================================================== */

/* BANNER */
.list-banner {
    width: 100%;
    height: 140px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    color: #C0C0C0;
    font-size: 2rem;
    font-weight: 300;
    position: relative;
    overflow: hidden;
}

.list-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg, #f8f9fa, #f8f9fa 10px, #ffffff 10px, #ffffff 20px);
    z-index: 0;
}

.list-banner span {
    position: relative;
    z-index: 1;
}


/*
  ================================================================
   CONTACT US PAGE STYLES
  ================================================================
  This section contains styles specific to the Contact page.
  Global styles are inherited from common.css, header.css, etc.
            */
/* Main layout container with sidebar-main content split */
.contact-layout {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

/* Main content area containing hero and info cards */
.contact-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/*Hero Section (One Asia Sales Desk)  Displays the character illustration and primary desk title. */
.contact-hero {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    min-height: 300px;
}

.hero-text {
    padding: 3rem;
    flex: 1;
    z-index: 1;
}

.hero-text h1 {
    font-size: 22px;
    color: #043B72;
    margin: 0;
}

.hero-img-box {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
}

.hero-img-box img {
    max-height: 280px;
    object-fit: contain;
}

/* Wave Background for Hero */
.hero-wave {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60%;
    background: #FFF4E8;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

/*  Info Cards Grid A 3-column layout showing Phone, Email, and Location data. */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.info-card i {
    font-size: 3rem;
    color: var(--brand-orange);
    margin-bottom: 0.5rem;
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.info-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-card p,
.info-card div {
    font-size: 0.95rem;
    color: #727272;
    margin: 0;
    line-height: 1.5;
}

/* Team Aside Section  Displays the specific sales team members (India/Global).  */
.team-aside {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-left: 2rem;
    padding-bottom: 3rem;
    border-left: 1px solid #C9C9C9;
}

/* Profile Image logic  Creates the branded orange circle backdrop for profile photos. */
.team-section h4 {
    font-size: 18px;
    color: #1C1C1C;
    margin-bottom: 1rem;
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.member-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.member-img-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.member-img-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    top: 0;
    left: 0;
}

.member-img {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    object-fit: cover;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
}

.member-name {
    font-size: 14px;
    color: #1C1C1C;
}

/* ==========================================================================
   ANALYST PROFILES PAGE STYLES
   ========================================================================== */

.section-title {
    font-size: 19px;
    font-weight: 700;
    color: #171725;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

/* Outer white card container for analyst sections */
.analyst-grid-block {
    border-radius: 6px;
    padding: 1.5rem;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 1px 4px #15223214;
    margin-bottom: 4rem;
}

/* Grid structure for rows: 3 columns on desktop */
.analyst-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #15223214;
}

/* Top-level spacing refinement */
.analyst-grid-block .analyst-row:first-of-type {
    padding-top: 0;
}

/* Dynamic border removal for the last row in a section */
.analyst-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Individual analyst profile card */
.analyst-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-right: 1.25rem;
    position: relative;
}

/* Profile image container (Fixed size) */
.analyst-img-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

/* Signature Orange background circle */
.analyst-img-bg {
    position: absolute;
    width: 90px;
    height: 90px;
    /* Brand Orange */
    border-radius: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Headshot image with white border effect */
.analyst-img-logo {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    top: 50%;
    left: 1px;
    /* Offset from orange bg */
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Text info container */
.analyst-card-info {
    flex: 1;
}

/* Bold name styling */
.analyst-name {
    font-size: 17px;
    color: #1C1C1C;
    margin-bottom: 0.25rem;
}

/* Department/Title detail text */
.analyst-title {
    color: #707070;
    font-size: 14px;
    line-height: 1.4;
}


/* ==========================================================================
   COVERAGE DETAILS PAGE STYLING
   ========================================================================== */
/* Global fixes for this page to prevent text and container overflow */
.coverage-summary-card {
    height: auto !important;
    min-height: 175px !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.sector-name {
    word-break: break-word !important;
}

.coverage-intro-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
    max-width: 860px;
}

.coverage-summary-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 0 2rem;
    /* Remove vertical padding */
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 3.5rem;
    border: 1px solid #f0f0f0;
    height: 175px;
}

.summary-stat {
    flex: 1;
    text-align: left;
    position: relative;
    padding-left: 3rem;
    padding-top: 2rem;
    /* Re-add vertical padding here */
    padding-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.summary-stat:first-child {
    padding-left: 1.5rem;
}

.summary-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: #EAEAEA;
}

.stat-number {
    font-size: 50px;
    color: #ED7622;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 17px;
    font-weight: 700;
    color: #464646;
}

.sector-carousel-container {
    margin-bottom: 3rem;
}

.sector-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    user-select: none;
    cursor: grab;
}

.sector-grid.active {
    cursor: grabbing;
}

.sector-grid::-webkit-scrollbar {
    display: none;
}

.sector-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #EDEDED;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 calc(25% - 1.125rem);
    /* exactly 4 cards visible at a time */
    min-width: 0;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.sector-img-box {
    background: #F4F7FA;
    border-radius: 10px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.sector-img-box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.sector-name {
    font-size: 15px;
    color: #464646;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    flex: 1;
}

.sector-link {
    font-size: 13px;
    color: #145BB3;
    text-decoration: underline;
    cursor: pointer;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #737373;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #E37500;
    transform: scale(1.1);
}

/* ==========================================================================
   MARKET SNAPSHOT PAGE STYLES
   CONTAINS THE HERO CARD LAYOUT AND THE VERTICAL DATE SELECTION SIDEBAR.
   ========================================================================== */

.snapshot-view-container {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 1rem;
}

/* 1. HERO REPORT CARD*/
.hero-report-card {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 4rem 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 350px;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-date {
    color: var(--brand-orange);
    font-size: 24px;
    margin-bottom: 0.25rem;
}

.hero-title {
    font-size: 30px;
    color: #171725;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.hero-desc {
    font-size: 15px;
    color: #171725;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.section-header-mobile h2 {
    font-size: 19px;
    color: #171725;
}

.btn-download-hero {
    background: var(--brand-orange);
    color: #fff;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-download-hero:hover {
    background: var(--brand-orange);
    color: #fff;
}

.hero-illustration {
    width: 280px;
    flex-shrink: 0;
}

.hero-illustration img {
    width: 100%;
    height: auto;
}

/*2. DATE SELECTION SIDEBAR  */
.date-selection-sidebar {
    width: 201px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 405px;
    position: relative;
}

.date-list-scroll {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* Reduced gap */
    padding-right: 0.5rem;
}

.date-list-scroll::-webkit-scrollbar {
    width: 5px !important;
    background-color: #e3e3e3 !important;
}

.date-list-scroll::-webkit-scrollbar-track {
    background-color: #e3e3e3 !important;
    border-radius: 10px;
}

.date-list-scroll::-webkit-scrollbar-thumb {
    background-color: #9e9e9e !important;
    border-radius: 10px;
}

.date-list-scroll::-webkit-scrollbar-thumb:hover {
    background: #CBD5E1;
}

.date-btn {
    width: 100%;
    background: #fff;
    border: 1px solid #EDEDED;
    padding: 0.55rem;
    /* Compact padding */
    border-radius: 6px;
    color: var(--brand-orange);
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.date-btn:hover,
.date-btn.active {
    border-color: var(--brand-orange);
    box-shadow: 0 4px 12px rgba(237, 118, 34, 0.1);
}

.date-scroll-arrow {
    text-align: center;
    padding-top: 0.5rem;
    color: var(--brand-orange);
    font-size: 1.5rem;
}

/* 3. PAGE CONTROLS  */
.page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.date-range-filter {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.filter-label {
    font-size: 0.85rem;
    color: #64748B;
    font-weight: 600;
}

.filter-box {
    background: #fff;
    border-radius: 30px;
    padding: 0.5rem 1.25rem;
    border: 1px solid #E2E8F0;
    font-size: 0.9rem;
    color: #94A3B8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.banner-placeholder {
    width: 100%;
    margin-top: 3rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.banner-placeholder img {
    width: 100%;
    height: auto;
}

/*
 ===============================================================
        MOBILE RESPONSIVE OVERRIDES 
 ================================================================
        */

/*  MOBILE FILTER MODAL  */
.m-filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: flex-end;
    /* Bottom sheet style or centered */
}

.m-filter-modal.show {
    display: flex;
}

.m-filter-content {
    background: #F4F7FA;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    position: relative;
    animation: slideUp 0.3s ease-out;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.m-close {
    position: absolute;
    top: 0.25rem;
    right: 1.25rem;
    font-size: 1rem;
    color: #94A3B8;
    cursor: pointer;
    z-index: 10;
}

.m-filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.m-filter-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0;
    white-space: nowrap;
}

.m-filter-select {
    width: 65%;
    /* Fixed width for alignment */
    padding: 0.7rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 30px;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748B'%3E%3Cpath d='M6 9l-4-4h8z'/%3E%3C/svg%3E") no-repeat right 1rem center;
}

.m-calendar-trigger {
    width: 65%;
    padding: 0.7rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    color: #64748B;
    font-size: 0.9rem;
}

/* Small adjustments for the embedded calendar inside modal */
.m-filter-content .date-picker-dropdown {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    box-shadow: none !important;
    border: 1px solid #E2E8F0 !important;
    display: none;
    margin-top: 1rem;
    background: #fff;
    flex-direction: column !important;
}

.m-filter-content .preset-panel {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    border-left: none;
    border-bottom: 1px solid #F1F5F9;
    padding: 0.75rem 0.5rem;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.m-filter-content .preset-panel::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for a cleaner mobile look */
}

.m-filter-content .preset-option {
    flex: 0 0 auto;
    width: auto !important;
    /* Override global 100% width */
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    border-radius: 20px;
    margin-right: 0.25rem;
}

.m-filter-content .calendar-section {
    padding: 1.5rem 1rem;
    /* Added generous 'around' spacing */
    width: 100%;
    background: #fff;
}

.m-filter-content .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    width: 100%;
}

.m-filter-content .calendar-grid .day-cell {
    padding: 12px 0;
    font-size: 0.95rem;
}

.m-apply-btn {
    width: 100%;
    background: #fff;
    border: 1.5px solid #0F2A5D;
    color: #0F2A5D;
    padding: 0.9rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 2rem;
    cursor: pointer;
}

.date-range {
    font-size: 13px;
    color: #171725;
}

/* ==========================================================================
   LATEST REPORTS PAGE STYLES
CONTAINS LAYOUT RULES FOR THE SNAPSHOT CARD, REPORTS LIST, AND TOOLTIPS.
   ========================================================================== */

/* 1. PAGE LAYOUT & TITLES */
.section-block {
    margin-bottom: 3rem;
}

/*  LIST MODIFIED STYLES  */
.snapshot-card {
    background: #fff;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.snapshot-date {
    color: #464646;
    font-size: 14px;
    width: 120px;
}

.snapshot-text {
    font-size: 14px;
    color: #464646;
    flex: 1;
}

.action-icon {
    font-size: 1.8rem;
    color: var(--brand-orange);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    position: relative;
}




@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* ==========================================================================
   LOGIN PAGE STYLE
   ========================================================================== */

.page-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: stretch;
    padding: 3rem 0;
}

.main-container {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.main-container>.row {
    flex: 1;
    min-height: 0;
}

/*  LEFT COL  */
.left-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Anchor to the top to stop jumping */
    padding: 7rem 5rem 3rem 5rem;
    /* Adjusted padding to compensate for centering loss */
    background: #fff;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2.4rem;
}

.logo-icon {
    font-size: 2rem;
    color: var(--brand-blue);
}

.logo-text {
    line-height: 1.1;
}

.welcome-heading {
    font-size: 32px;
    color: #1D1D1D;
    margin-bottom: 0.2rem;
}

.welcome-sub {
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-orange);
    margin-bottom: 1.8rem;
}

.tab-nav {
    display: flex;
    gap: 1.6rem;
    margin-bottom: 1.8rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.4rem 0;
    font-size: 16px;
    color: #727272;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1.5px;
    transition: color 0.2s, border-color 0.2s;
}

.tab-btn.active {
    color: #000000;
    border-bottom-color: var(--brand-orange);
    font-family:var(--bs-body-font-family-bold)
}

.tab-btn:hover:not(.active) {
    color: #333;
}

.input-group-custom {
    position: relative;
    margin-bottom: 1rem;
}

.input-group-custom .field-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9E9E9E;
    font-size: 1rem;
    pointer-events: none;
}

.input-group-custom .divider {
    position: absolute;
    left: 2.4rem;
    top: 25%;
    height: 50%;
    width: 1px;
    background: #9E9E9E;
}

.input-group-custom input {
    width: 100%;
    height: 48px;
    padding: 0.85rem 1rem 0.85rem 3rem;
    border-radius: 24px;
    border: 1.5px solid #9E9E9E;
    font-size: 16px;
    color: #9E9E9E;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family:var(--bs-body-font-family-regular)
}

.input-group-custom input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.10);
    background: #fff;
}

.input-group-custom input::placeholder {
    color: #9E9E9E;
}

.toggle-pw {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #adb5bd;
    font-size: 1rem;
    background: none;
    border: none;
    padding: 0;
}

.toggle-pw:hover {
    color: var(--brand-blue);
}

.forgot-link {
    display: inline-block;
    font-size: 14px;
    color: #145BB3;
    text-decoration: underline;
    margin-bottom: 1.4rem;
    cursor: pointer;
}

.forgot-link:hover {
    color: var(--brand-orange);
}

.btn-login {
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    border-radius: 50px;
    background: var(--brand-blue);
    color: #fff;
    font-size: 18px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.15s;
}

.btn-login:hover {
    background: var(--brand-blue);
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}

.left-col-inner {
    width: 362px;
    max-width: 100%;
    margin: 0 auto;
}

.signup-note {
    font-size: 14px;
    color: #727272;
    margin-top: 10px;
    text-align: left;
}
/*    .signup-note a {
        color: #727272;
        text-decoration:none;
    }*/

/*#signupPanel {
    display: none;
}*/

/* RIGHT COL */
.right-col {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem 2rem 3rem;
}

.slider-card {
    background: var(--brand-orange);
    border-radius: 42px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
}

.slider-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

/*  Drag Slider  */
.slides-track-wrapper {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    z-index: 1;
}

.slides-track-wrapper.dragging {
    cursor: grabbing;
}

.slides-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    align-items: flex-start;
    /*  FIX: prevent height mismatch between slides */
}

.slides-track.no-transition {
    transition: none !important;
}

/* FIX: slide must be a flex column so content stacks and doesn't overflow */
.slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide-title {
    font-size: 48px;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

.slide-date {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.8rem;
}

/*  FIX: use clamp so circle scales with viewport, never overflows */
.conf-logo-circle {
    width: clamp(160px, 22vw, 315px);
    height: clamp(160px, 22vw, 315px);
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    padding: 1.2rem;
    pointer-events: none;
    flex-shrink: 0;
}

.conf-logo-circle svg {
    width: 100%;
    height: auto;
    display: block;
}

.burst-svg {
    width: 100%;
    height: auto;
}

.btn-register {
    background: var(--brand-blue);
    color: #fff;
    border: none;
    padding: 0.75rem 2.2rem;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 2;
    border-radius: 50px;
    margin-top: 10px;
    flex-shrink: 0;
}

.btn-register:hover {
    background: var(--brand-blue);
    transform: translateY(-1px);
}

.dot-nav {
    display: flex;
    gap: 0.55rem;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom:1rem;
    position: relative;
    z-index: 2;
}

.dot-nav .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #BE590D;
    border: 2px solid #BE590D;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.dot-nav .dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.15);
}

.dot-nav .dot:hover:not(.active) {
    border-color: #BE590D;
}


/* ==========================================================================
   SEARCH PAGE STYLE
   ========================================================================== */
/* ── CONTENT AREA ── */

.search-title {
    font-size: 24px;
    color: #464646;
    margin-bottom: 1rem;
}

.search-title span {
    font-size: 24px;
    color: #E37500;
}

.search-keyword {
    color: var(--brand-orange);
}

/* ── RESULTS CARD ── */
.results-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.result-item {
    padding: 1.5rem;
    border-bottom: 1px solid #F1F5F9;
    transition: background 0.2s;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item:hover {
    background: #FAFBFE;
}

.result-headline {
    font-size: 14px;
    color: #464646;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.highlight {
    background-color: var(--highlight-yellow);
    padding: 0 2px;
    border-radius: 2px;
    font-weight: bold;
    color: #000;
}

.result-meta {
    font-size: 13px;
    color: #707070;
}

.result-meta a {
    color: #145BB3;
    text-decoration: underline;
}

.pipe {
    margin: 0 0.6rem;
    color: #E2E8F0;
}

/* ==========================================================================
   SECTOR MODAL PAGE STYLE
   ========================================================================== */
/* ── COMPANY/SECTOR DETAIL MODAL (DESKTOP) ── */
.company-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.company-modal-overlay.show {
    display: flex;
}

.company-modal-content {
    background: #fff;
    width: 100%;
    max-width: 1195px;
    /* Increased for better desktop immersion */
    height: 85vh;
    max-height: 600px;
    border-radius: 16px;
    position: relative;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    animation: modalSlide 0.3s ease-out;
}


.company-modal-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    min-width: 0;
}

.company-modal-side {
    width: 300px;
    /* Slightly wider sidebar */
    padding: 2.5rem 2rem;
    background: #fff;
    border-left: none;
    position: relative;
}

@media (min-width: 992px) {
    .company-modal-side::before {
        content: "";
        position: absolute;
        top: 2.5rem;
        bottom: 2.5rem;
        left: 0;
        width: 2px;
        background-color: #F1F5F9;
    }
}


.c-side-title {
    font-size: 15px;
    color: #1D1D1D;
    margin-bottom: 1.5rem;
}

.c-side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-side-list li {
    font-size: 12px;
    color: #707070;
    margin-bottom: 0.75rem;
    /*cursor: pointer;*/
}

.c-side-list li:hover {
    /*color: var(--brand-orange);*/
}

.c-modal-header {
    margin-bottom: 1rem;
    margin-left:10px;
    display: flex;
    flex-direction: column;
    /* Stacked horizontally */
    justify-content: flex-start;
    align-items: flex-start;
}

.c-modal-header h2 {
    font-size: 24px;
    color: #1C1C1C;
    margin-bottom: 0.25rem;
}

.c-modal-header p {
    font-size: 14px;
    color: #043B72;
    margin: 0;
}

.c-modal-header p span {
    color: inherit;
    /* Make the whole line blue */
    font-weight: inherit;
}



.c-report-table {
    flex: 1;
    max-height: 550px;
    overflow-y: auto;
    padding-right: 10px;
    /*border: 1px solid #eff1f5;*/
    border-radius: 12px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 1px 9px #1522321A;
    border-radius: 6px;
}
    .c-report-table::-webkit-scrollbar {
        width: 6px !important;
        background: #F1F5F9 !important;
    }

    .c-report-table::-webkit-scrollbar-track {
        background: #F1F5F9 !important;
        border-radius: 10px;
        margin: 6px 0; /* Add vertical margin to keep scrollbar thumb inside the rounded corners */
    }

    .c-report-table::-webkit-scrollbar-thumb {
        background-color: #CBD5E1 !important;
        border-radius: 10px;
    }

        .c-report-table::-webkit-scrollbar-thumb:hover {
            background-color: #94A3B8 !important;
        }
.c-report-row {
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    /* Increased breathability */
    gap: 1.5rem;
    transition: background 0.2s;
}


.c-report-row:hover {
    background: #F4F7FA;
}


/* Desktop column alignments */
.c-report-date {
    width: 130px;
    flex-shrink: 0;
    color: #727272;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1;
    display: flex;
    flex-direction: row;
    /* Horizontal next-to-next layout */
    align-items: center;
    gap: 0.5rem;
}

.c-report-date .star {
    color: #E67E22;
    display: inline-flex;
    font-size: 1rem;
    margin: 0;
    line-height: 1;
}





.c-report-info {
    flex: 1;
    min-width: 0;
    padding: 0 1.5rem;
}

.c-report-company {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-right: 0.3rem;
    display: inline;
}

.c-report-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    display: inline;
    line-height: 1.5;
}

.c-report-meta {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 600;
}

.c-report-meta a {
    color: #145BB3;
    text-decoration: underline;
}

.c-report-status {
    width: 60px;
    /* More compact */
    text-align: center;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 0.85rem;
    color: #13A366;
    text-transform: uppercase;
    padding-right: 0.5rem;
    /* Tight 'next-to-next' gap */
}


.c-report-status.sell {
    color: #E33535;
}

.c-report-action {
    width: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.c-eye-btn,
.c-dl-wrap {
    width: 42px;
    height: 42px;
    border: 1.5px solid #E67E22;
    /* Bolder border for desktop premium feel */
    border-radius: 50%;
    color: #E67E22;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.c-eye-btn:hover,
.c-dl-wrap:hover {
    background: #FFF5EC;
    transform: scale(1.05);
}



.c-dl-icon {
    font-size: 1.4rem;
}


.c-modal-close {
    position: absolute;
    top: 0rem;
    right: 0.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #94A3B8;
    z-index: 10;
}

.f-row {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    position: relative;
}

.f-row::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background-color: #f0f0f0;
}

.f-row:last-child::after {
    display: none;
}

@media (max-width: 991px) {
    .f-row::after {
        display: none !important;
    }
}

.f-date-col {
    width: 70px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.f-date {
    color: #464646;
    font-size: 12px;
    white-space: nowrap;
}

.f-star {
    color: var(--brand-orange);
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.f-body {
    flex: 1;
    min-width: 0;
}

.f-company {
    font-size: 13px;
    color: #464646;
    margin-bottom: 0.1rem;
}

.f-company a {
    font-weight: 800;
    color: inherit;
    text-decoration: none;
}

.f-title {
    font-size: 13px;
    color: #464646;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.f-meta {
    font-size: 12px;
    color: #707070;
}

.f-meta a {
    color: #145BB3;
    text-decoration: underline;
}

.f-meta span {
    margin: 0 4px;
}

/* ── 4. STATUS INDICATORS (BUY/SELL) ────────────────── */
.f-status {
    width: 80px;
    font-size: 13px;
    text-align: right;
}

.f-status.buy {
    color: #088934;
}

.f-status.sell {
    color: #D93B3B;
}

.conference-banner {
    width: 100%;
    margin-top: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #EDEDED;
}

.conference-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.f-actions-mobile {
    display: none;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (min-width: 992px) {
    .date-picker-dropdown {
        flex-direction: row-reverse;
        min-width: 530px;
    }

    .calendar-section {
        flex: 1;
        padding: 10px;
    }

    .calendar-grid .day-cell {
        padding: 0.55rem 0;
    }

    .preset-panel {
        width: 220px;
        border-top: none;
        border-left: 1px solid #EAEAEA;
        padding: 0.5rem 1rem 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .preset-options {
        flex-direction: column;
        margin-bottom: 1.5rem;
        gap: 10px;
        width: 100%;
    }

    .preset-option {
        text-align: left;
        border: none;
        width: calc(100% - 10px);
        margin: 0;
        background: transparent;
        font-size: 13px;
        color: #757575;
        border-radius: 10px;
        transition: all 0.2s;
        font-family: var(--bs-body-font-family-regular) !important;
        font-weight: 400;
    }

    .preset-option.active {
        background: #F4F6F8;
        color: #2D3A56;
        font-weight: 700;
    }

    .calendar-apply-btn {
        width: calc(100% - 20px);
        margin: 1rem 0 0 10px;
        padding: 0.7rem 0;
    }
}



@media (max-width: 911px) {
    .download-modal-content {
        width: 92%;
        border-radius: 12px;
    }

    .modal-scroll-area {
        padding: 25px 15px;
    }

    .download-modal-close {
        top: 15px;
        right: 15px;
        font-size: 1.5rem;
    }

    .modal-stock-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .modal-info-row {
        gap: 10px;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .modal-info-col {
        padding: 0 8px;
        flex: 1;
    }

    .modal-info-label {
        font-size: 15px;
        white-space: normal;
    }

    .reco-desktop {
        display: none;
    }

    .reco-mobile {
        display: inline;
    }

    .modal-info-value {
        font-size: 18px;
    }

    .modal-highlights-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .modal-highlights-list ul li {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .btn-download-popup {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    /*FOOTER WARNING MARQUEE - stacked & static on mobile*/
    .footer-warning {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 14px 16px;
    }

    .footer-warning-heading {
        white-space: normal;
    }

    .footer-warning-marquee {
        overflow: visible;
        flex: none;
        width: 100%;
    }

    .footer-warning-marquee-track {
        width: 100%;
        animation: none;
    }

    .footer-warning-marquee-content {
        white-space: normal;
        padding-right: 0;
        line-height: 1.6;
    }

    /* Hide the duplicate copy used for the seamless loop */
    .footer-warning-marquee-content[aria-hidden="true"] {
        display: none;
    }
}

@media (max-width: 1200px) {
    .contact-layout {
        flex-direction: column;
    }

    .team-aside {
        width: 100%;
        border-left: none;
        border-top: 1px solid #E0E0E0;
        padding-top: 2rem;
        padding-left: 0;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 991px) {

    /*HEADER REGION*/
    .top-header {
        padding: 0 1rem;
        height: 64px;
        border-bottom: 5px solid var(--brand-orange);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-logo img {
        height: 44px;
        width: auto;
        display: block;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .search-bar {
        width: auto !important;
        border-bottom: none !important;
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .search-bar input {
        display: none;
    }

    .search-bar .icon-btn {
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-bar img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    .profile-icon {
        width: 38px;
        height: 38px;
        object-fit: contain;
        display: block;
    }

    .dropdown .nav-link {
        padding: 0 !important;
        display: flex;
        align-items: center;
    }

    .body-wrapper {
        display: block;
        margin: 0;
        padding: 0;
    }

    .main-content {
        padding: 1.25rem 1.25rem 2.5rem 1.25rem;
    }

    .top-header {
        padding: 0 1.5rem;
        height: 75px;
    }

    .header-logo img {
        height: 35px;
    }

    .header-right {
        gap: 1.25rem;
    }

    .profile-icon {
        font-size: 1.8rem;
    }

    /* Mobile Search Popup Styles */
    .mobile-search-wrapper {
        display: none;
        width: 100%;
        background: #fff;
        padding: 1rem 1.5rem;
        position: absolute;
        top: 106%;
        left: 0;
        z-index: 1001;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .mobile-search-wrapper.active {
        display: block;
    }

    .m-search-container {
        display: flex;
        align-items: center;
        border-bottom: 1px solid #ccc;
        max-width: 600px;
        margin: 0 auto;
    }

    .m-search-container input {
        flex: 1;
        border: none;
        outline: none;
        padding: 8px 4px;
        font-size: 16px;
        background: transparent;
    }

    .m-search-btn {
        background: none;
        border: none;
        padding: 4px;
        cursor: pointer;
    }

    .m-search-btn img {
        width: 20px;
        height: 20px;
        opacity: 0.7;
    }

    /*FOOTER REGION*/
    .footer-columns {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-col-main {
        flex: 0 0 auto;
        text-align: left;
    }

    .footer-col-main .social-icons {
        justify-content: left;
    }

    .footer-white-inner {
        padding: 2rem 1.5rem;
    }

    .footer-bottom-links {
        gap: 1.25rem;
        padding: 0 1rem;
    }

    .footer-white-inner {
        padding: 2rem 1.5rem;
    }

    .footer-title {
        font-size: 12px;
        margin-bottom: 1rem;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem 1rem;
    }

    /* Sector modal design*/
    .f-row {
        background: #fff;
        margin: 0 0 1rem 0;
        border-radius: 6px;
        box-shadow:none;
        padding: 0.5rem;
        display: block !important;
        border-bottom: none;
    }

    /* Hide original desktop elements on mobile */
    .f-row>.f-date-col,
    .f-row>.f-status,
    .f-row>.action-icon {
        display: none;
    }

    .f-body {
        width: 100%;
        margin-bottom: 0.25rem;
        position: relative;
        padding-bottom: 1.25rem;
        border-bottom: 1px solid #E2E8F0;
    }

    .f-body::after {
        display: none;
    }

    .f-meta span.pipe {
        margin: 0 0.5rem;
        color: #E2E8F0;
    }

    /* Mobile Action Row */
    .f-actions-mobile {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        margin-top: 1.25rem;
    }

    /* Manual star styling */
    .f-star,
    .star {
        color: #E67E22;
        margin-left: 0.45rem;
        font-size: 0.95rem;
        vertical-align: middle;
    }


    .f-actions-mobile .date-part {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 13px;
        color: #464646;
        white-space: nowrap;
        min-width: 100px;
        flex-direction: row-reverse;
    }

    .f-actions-mobile .status-part {
        flex: 1;
        text-align: center;
        font-size: 14px;
        color: #088934;
        white-space: nowrap;
    }

    .f-actions-mobile .status-part.sell {
        color: #D93B3B;
    }

    .f-actions-mobile .icon-part {
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-end;
        min-width: 50px;
    }

    /* Oval Eye Icon Design */
    .f-actions-mobile .bi-eye {
        color: var(--brand-orange);
        font-size: 1.3rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .f-actions-mobile .bi-download {
        color: var(--brand-orange);
        font-size: 1.8rem;
    }

    /* ── COMPANY MODAL RESPONSIVE ── */
    .company-modal-overlay {
        padding: 1rem;
        align-items: center;
    }

    .company-modal-content {
        height: 85vh;
        border-radius: 16px;
        display: block;
        overflow-y: auto;
        max-height: 800px;
    }

    .company-modal-main {
        display: block;
        padding: 10px;
        overflow: visible;
    }

    .c-modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-bottom: 1px solid #F1F5F9;
        margin-bottom: 0;
        background: #fff;
    }

    .c-modal-header h2 {
        margin-bottom: 0.5rem;
    }
    .c-modal-header p{
        margin-bottom:20px;
    }
    /* Redesign row as a structured card for mobile */
    .c-report-row {
        background: #fff;
        border: 1px solid #E2E8F0;
        border-radius: 12px;
        margin-bottom: 1rem;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        position: relative;
        gap: 0;
    }

    .c-report-info {
        padding: 1.25rem 1.25rem 0.75rem 1.25rem !important;
        width: 100%;
        border-bottom: 1px solid #c9c9c9;
    }

    .c-report-company {
        font-size: 1rem;
        font-weight: 700;
        color: #444;
        margin-bottom: 0.15rem;
        display: block;
    }

    .c-report-title {
        font-size: 0.9rem;
        font-weight: 500;
        color: #666;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    .c-report-meta {
        font-size: 0.85rem;
        color: #94A3B8;
        font-weight: 500;
    }

    .c-report-meta a {
        color: #145BB3;
        text-decoration: underline;
    }

    /* Divider like the image */
    .c-row-divider {
        height: 1px;
        background: #F1F5F9;
        margin: 0 1.25rem;
    }

    /* Bottom Line Group */
    .c-card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1.25rem;
    }

    .c-report-date {
        font-size: 0.9rem;
        color: #666;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-weight: 500;
        width: auto;
    }

    .c-report-date .star {
        color: #E67E22;
        display: inline-block;
        font-size: 0.95rem;
        margin: 0;
    }

    .c-report-status {
        font-size: 0.95rem;
        font-weight: 700;
        color: #13A366;
        /* Green */
        text-transform: uppercase;
        margin: 0 auto;
        /* Center it */
        width: auto;
    }

    .c-report-status.sell {
        color: #E33535;
    }

    .c-report-action {
        width: auto;
        display: flex;
        align-items: center;
    }

    .c-eye-btn {
        width: 32px;
        height: 32px;
        border: 1.5px solid #E67E22;
        border-radius: 50%;
        color: #E67E22;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        background: #fff;
    }

    .company-modal-side {
        width: 100%;
        border-left: none;
        border-top: 1px solid #E2E8F0;
        padding: 1.5rem 1.25rem 1rem 1.25rem;
        overflow: visible;
    }

    .c-modal-close {
        top: 0.75rem;
        right: 1.25rem;
        font-size: 2rem;
        z-index: 100;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /*DATE PICKER REGION*/
    .date-picker-dropdown {
        position: relative;
        top: 0;
        right: 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
        border: 1px solid #F0F0F0;
        width: 100%;
        border-radius: 7px;
        display: flex !important;
        /* Always show when in modal area */
    }

    .date-picker-dropdown:not(.open) {
        display: none !important;
    }

    .preset-panel {
        order: -1;
        /* Presets on top */
        padding: 0.5rem 1rem 0;
        border-top: none;
        background: transparent;
    }

    .preset-options {
        display: flex;
        justify-content: flex-start;
        gap: 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        margin-bottom: 0;
        -webkit-overflow-scrolling: touch;
    }

    .preset-options::-webkit-scrollbar {
        display: none;
    }

    .preset-option {
        flex: 1;
        min-width: 95px;
        padding: 5px;
        font-size: 0.9rem;
        font-weight: 500;
        border: 1px solid #EAEAEA;
        border-radius: 8px;
        background: #fff;
        color: #666;
        white-space: nowrap;
    }

    .preset-option.active {
        background: #F1F3F6;
        color: #222;
        font-weight: 700;
        border-color: transparent;
    }

    /* Hide 'All' and internal apply button in mobile as per image */
    .preset-option[data-preset="all"],
    .preset-panel .calendar-apply-btn {
        display: none;
    }

    /*SEARCH REGION*/
    .search-bar {
        width: 200px;
    }

    .result-item {
        padding: 1.25rem 1.5rem;
    }

    .search-title {
        font-size: 1.3rem;
    }

    /*FILTER MODAL*/
    .filter-modal-content {
        padding: 0;
    }

    .filter-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .filter-modal {
        width: 100%;
        height:90%;
        max-width: none;
        border-radius: 30px 30px 0 0;
        padding: 2.5rem 1.75rem 0.5rem;
        margin-bottom: 0;
        animation: slideUp 0.4s cubic-bezier(0, 0, 0.2, 1);
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    }
    .calendar-section {
        flex: 1;
        padding:0 5px 10px;
    }
    .calendar-grid .day-cell{
        padding:0.3rem 0;
    }
    .filter-modal-actions{
        padding-bottom:0px;
    }
    .filter-modal-apply-btn {
        padding: 0.35rem 0;
    }
    .calendar-grid .day-header {
        padding: 0.3rem 0;
    }
    .calendar-header {
        margin-bottom: 0.1rem;
    }
    .filter-modal-header{
        padding:0.5rem !important;
    }
    .m-filter-row-item{
        margin-bottom:0.5rem;
    }
    .m-filter-row-item:last-child {
        margin-bottom: 0rem;
    }
    .m-filter-select-wrapper select, .m-filter-select-wrapper button.m-select {
        padding: 0.75rem 2.8rem 0.75rem 1.25rem !important;
    }
    /*CONTACT US*/
    .info-card {
        flex-direction: row;
        text-align: left;
        padding: 1.5rem;
        gap: 1.5rem;
        align-items: center;
        margin-bottom: 20px;
    }

    .info-card-content {
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
        word-break: break-word;
    }

    .info-card i,
    .info-card img {
        font-size: 2.2rem;
        width: 40px;
        height: auto;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .contact-hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
        min-height: auto;
    }

    .hero-text {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .hero-img-box {
        position: static;
        width: 100%;
        justify-content: center;
        padding-bottom: 0;
    }

    .hero-img-box img {
        max-height: 220px;
    }

    .hero-wave {
        display: none;
    }

    .team-aside {
        width: 100%;
        border-left: none;
        border-top: 1px solid #E0E0E0;
        padding-top: 2rem;
        padding-left: 0;
        flex-direction: column;
        gap: 2rem;
    }

    .team-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }

    .member-item {
        gap: 0.75rem;
    }

    .member-img-wrapper {
        width: 60px;
        height: 60px;
    }

    .member-img-bg {
        width: 100%;
        height: 100%;
    }

    .member-img {
        width: 88%;
        height: 88%;
    }

    .info-card h3 {
        font-size: 17px;
        margin-bottom: 0.15rem;
        color: #1C1C1C;
    }

    .info-card-content p,
    .info-card-content div {
        font-size: 14px;
        color: #707070;
    }

    .conference-banner {
        width: 100%;
        margin-top: 2rem;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #EDEDED;
    }

    .conference-banner img {
        width: 100%;
        display: block;
    }

    .main-content {
        background-color: #ECEFF4;
        min-height: 100vh;
    }

    .info-cards-grid {
        display: block;
    }

    /*ANALYST REGION*/
    /* Card block padding adjustment */
    .analyst-grid-block {
        padding: 1rem;
    }

    /* Stack grid rows vertically */
    .analyst-row {
        grid-template-columns: 1fr;
        gap: 0;
        border-bottom: none;
        padding: 0;
    }

    /* Member card formatting for list view */
    .analyst-card {
        padding: 1rem 0;
        border-bottom: 1px solid #EDEDED;
    }

    /* Ensure only the very last member in a section has no border */
    .analyst-row:last-child .analyst-card:last-child {
        border-bottom: none;
    }

    /* Scale down fonts and images for mobile */
    .analyst-img-wrapper,
    .analyst-img-bg,
    .analyst-img-logo {
        width: 80px;
        height: 80px;
    }

    .analyst-name {
        font-size: 17px;
    }

    .section-title {
        font-size: 18px;
        margin-top: 0;
    }
}

/*DATE CALENDAR REGION*/


@media (max-width: 991px) {
    .analyst-modal-overlay {
        padding: 1rem;
        align-items: center;
    }

    .analyst-modal-content {
        height: auto;
        max-height: 90vh;
        border-radius: 0px;
        display: block;
        overflow-y: auto;
    }

    .analyst-main-content {
        display: block;
        overflow: visible;
    }

    .analyst-modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
        gap: 1.25rem;
        border-bottom: none;
    }

    .analyst-photo-wrap {
        width: 160px;
        height: 160px;
    }

    .analyst-info h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .analyst-info .designation {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .analyst-info .bio {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .analyst-modal-body {
        padding: 1rem;
        display: block;
        overflow: visible;
    }

    .reports-scroll-container {
        max-height: 400px;
        overflow-y: auto;
        padding: 0.5rem;
        border-radius: 8px;
    }

    .reports-scroll-container::-webkit-scrollbar {
        width: 4px;
        background-color: #e3e3e3;
    }
        .reports-scroll-container::-webkit-scrollbar-track {
            background-color: #e3e3e3 !important;
            border-radius: 10px;
        }
    .reports-scroll-container::-webkit-scrollbar-thumb {
        background: #9e9e9e;
    }

    .analyst-right-pane {
        width: 100%;
        border-left: none;
        border-top: 1px solid #F1F5F9;
        padding: 2rem 1.5rem;
        background: #fff;
        overflow: visible;
    }

    .analyst-close {
        top: 1rem;
        right: 1rem;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-report-item {
        display: block;
    }

    /*  COMPANY MODAL RESPONSIVE */
    .company-modal-overlay {
        padding: 1rem;
        align-items: center;
    }

    .company-modal-content {
        height: 85vh;
        border-radius: 6px;
        display: block;
        overflow-y: auto;
        max-height: 800px;
    }

    .company-modal-main {
        display: block;
        padding: 10px;
        overflow: visible;
    }

    .c-modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-bottom: 1px solid #F1F5F9;
        margin-bottom: 0;
        background: #fff;
        margin-top:20px;
    }

    .c-modal-header h2 {
        font-size: 2.2rem;
        font-weight: 800;
        color: #1A1A1A;
        margin-bottom: 0.5rem;
    }

    .c-report-table {
        overflow-y: scroll;
        padding-right:0;
        box-shadow:none;
        margin-bottom:20px;
    }

    /* Redesign row as a structured card for mobile */
    .c-report-row {
        background: #fff;
        border: 1px solid #E2E8F0;
        border-radius: 12px;
        margin-bottom: 1rem;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        position: relative;
        gap: 0;
    }

    .c-report-info {
        padding: 1.25rem 1.25rem 0.75rem 1.25rem !important;
        width: 100%;
        border-bottom: 1px solid #c9c9c9;
    }

    .c-report-company {
        font-size: 1rem;
        font-weight: 700;
        color: #444;
        margin-bottom: 0.15rem;
        display: block;
    }

    .c-report-title {
        font-size: 0.9rem;
        font-weight: 500;
        color: #666;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    .c-report-meta {
        font-size: 0.85rem;
        color: #94A3B8;
        font-weight: 500;
    }

    .c-report-meta a {
        color: #145BB3;
        text-decoration: underline;
    }

    /* Divider like the image */
    .c-row-divider {
        height: 1px;
        background: #F1F5F9;
        margin: 0 1.25rem;
    }

    /* Bottom Line Group */
    .c-card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1.25rem;
    }

    .c-report-date {
        font-size: 0.9rem;
        color: #666;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-weight: 500;
        width: auto;
    }

    .c-report-date .star {
        color: #E67E22;
        display: inline-block;
        font-size: 0.95rem;
        margin: 0;
    }

    .c-report-status {
        font-size: 0.95rem;
        font-weight: 700;
        color: #13A366;
        /* Green */
        text-transform: uppercase;
        margin: 0 auto;
        /* Center it */
        width: auto;
    }

    .c-report-status.sell {
        color: #E33535;
    }

    .c-report-action {
        width: auto;
        display: flex;
        align-items: center;
    }

    .c-eye-btn {
        width: 32px;
        height: 32px;
        border: 1.5px solid #E67E22;
        border-radius: 50%;
        color: #E67E22;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        background: #fff;
    }

    .c-modal-close {
        top: -4px;
        right: 0;
        font-size: 2rem;
        z-index: 100;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .coverage-summary-card {
        flex-direction: column;
        gap: 0;
        padding: 1.5rem 1rem;
        height: auto;
    }

    .summary-stat {
        padding: 1.5rem 0;
        width: 100%;
        text-align: center;
    }

    .summary-stat:not(:last-child) {
        border-bottom: 1px solid #EAEAEA;
        margin-bottom: 1rem;
    }

    .summary-stat::after {
        display: none;
    }

    .stat-number {
        font-size: 48px;
        margin-bottom: 0.5rem;
    }

    .stat-label {
        font-size: 16px;
        color: #464646;
    }

    .sector-grid {
        display: flex;
        overflow-x: auto;
        gap: 1.25rem;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
    }

    .sector-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    .section-title {
        font-size: 18px;
    }

    .sector-link {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .snapshot-view-container {
        flex-direction: column;
    }

    .hero-report-card {
        padding: 2.5rem 1.5rem;
        flex-direction: column;
        text-align: left;
        min-height: auto;
    }

    .hero-illustration {
        order: 1;
        width: 220px;
        margin: 0 auto 2rem auto;
    }

    .hero-content {
        order: 2;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-date {
        font-size: 16px;
    }

    .hero-desc {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .btn-download-hero {
        font-size: 14px;
    }

    /* Date Grid (3 columns as requested) */
    .date-selection-sidebar {
        width: 100%;
        height: auto;
        margin-top: 2rem;
    }

    .date-list-scroll {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 0;
        overflow: visible;
    }

    .date-btn {
        min-width: 0;
        padding: 0.75rem 0.25rem;
        font-size: 14px;
    }

    .date-scroll-arrow {
        display: none;
    }

    .section-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 1rem;
    }

    .section-header-mobile h2 {
        font-size: 18px;
        color: #171725;
    }

    .mobile-filter-trigger {
        color: var(--brand-orange);
        font-size: 1.2rem;
        cursor: pointer;
    }

    .view-more-container {
        display: flex;
        justify-content: center;
        margin: 1.5rem 0;
    }

    .date-range-filter {
        display: none;
    }

    /* Hidden on mobile header, moved to modal */
}

@media (max-width: 991px) {
    .main-content {
        background-color: #ECEFF4;
        min-height: 100vh;
        padding-top: 0;
    }

    .section-title {
        padding: 1rem 0;
        font-size: 22px;
        font-weight: 800;
        color: #171725;
        margin-bottom: 0.75rem;
    }

    /* Snapshot card mobile centering */
    .snapshot-card {
        padding: 1.25rem 1rem;
        display: flex;
        align-items: center;
        background: #fff;
        box-shadow: 0 4px 15px rgba(100, 116, 139, 0.08);
        border-radius: 8px;
        gap: 5px;
    }

    .snapshot-date {
        flex: 1;
        font-size: 13px;
        color: #464646;
        white-space: nowrap;
        text-align: left;
    }

    .snapshot-text {
        flex: 2;
        /* Takes more space for the title */
        text-align: center;
        font-size: 13px;
        color: #464646;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 700;
    }

    .snapshot-card .action-icon {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        width: auto;
        margin-top: 0;
        font-size: 1.4rem;
    }
}

@media (max-width: 1440px) {
    .page-wrapper {
        padding: 2rem 4rem;
    }

    .left-col {
        padding: 3rem 2.5rem;
    }

    .slide-title {
        font-size: 42px;
    }
}

@media (max-width: 1280px) {
    .page-wrapper {
        padding: 2rem 2.5rem;
    }

    .left-col {
        padding: 2.5rem 2rem;
    }

    .slide-title {
        font-size: 38px;
    }

    .slide-date {
        font-size: 17px;
    }
}

@media (max-width: 1024px) {
    .page-wrapper {
        padding: 2rem 3rem;
    }

    .left-col {
        padding: 2.5rem 3rem;
    }

    .right-col {
        padding: 1.5rem 1rem 1.5rem 2rem;
    }

    .slide-title {
        font-size: 30px;
    }

    .slide-date {
        font-size: 15px;
        margin-bottom: 1.2rem;
    }

    .dot-nav {
        margin-top: 1.5rem;
    }

    .welcome-heading {
        font-size: 26px;
    }

    .welcome-sub {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        padding: 1rem;
    }

    .main-container {
        flex-direction: column;
    }

    .row {
        flex-direction: column;
    }

    .left-col {
        padding: 2rem 1.8rem;
        width: 100% !important;
        max-width: 100% !important;
        flex: none;
    }

    .right-col {
        padding: 0 1rem 1rem;
        width: 100% !important;
        max-width: 100% !important;
        flex: none;
        min-height: 460px;
    }

    .slider-card {
        border-radius: 24px;
        padding: 0.5rem;
    }

    .slide-title {
        font-size: 26px;
    }

    .slide-date {
        font-size: 14px;
        margin-bottom: 1rem;
    }

    .dot-nav {
        margin-top: 1.2rem;
    }

    .welcome-heading {
        font-size: 22px;
    }

    .welcome-sub {
        font-size: 15px;
    }

    .btn-login {
        font-size: 16px;
    }

    .signup-note {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .page-wrapper {
        padding: 0.75rem;
    }

    .left-col {
        padding: 1.5rem 1.2rem;
    }

    .slide-title {
        font-size: 22px;
    }

    .slide-date {
        font-size: 13px;
    }

    .btn-register {
        padding: 0.6rem 1.5rem;
        font-size: 14px;
        margin-top: 12px;
    }

    .dot-nav {
        margin-top: 1rem;
    }

    .slider-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .welcome-heading {
        font-size: 20px;
    }

    .welcome-sub {
        font-size: 14px;
        margin-bottom: 1.2rem;
    }

    .btn-login {
        font-size: 15px;
    }

    .tab-btn {
        font-size: 14px;
    }

    .download-modal-content {
        padding: 25px 15px 20px 15px;
    }

    .modal-info-row {
        gap: 5px;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .modal-info-col {
        padding: 0 6px;
    }

    .modal-info-label {
        font-size: 15px;
    }

    .modal-info-value {
        font-size: 18px;
    }

    .info-card {
        padding: 1rem;
        gap: 1rem;
    }

    .info-card i,
    .info-card img {
        width: 50px;
    }
}
@media (min-width: 1201px) {

    /* Desktop (1920x1080) - Enforce 3 columns but allow them to shrink */
    .analyst-row {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1200px) and (min-width: 992px) {

    /* Tablet (1024x1080) - Enforce 2 columns */
    .analyst-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1.5rem !important;
    }

    .analyst-card {
        padding-right: 0 !important;
    }
}

@media (min-width: 992px) {
    /* Global fixes to prevent text/grid overflow */
    .info-card, .info-card-content {
        min-width: 0 !important;
    }

        .info-card-content p, .info-card-content div {
            word-break: break-word !important;
        }
}

@media (min-width: 1201px) {
    /* Desktop (1920x1080) - Enforce 3 columns but allow them to shrink */
    .info-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1200px) and (min-width: 992px) {
    /* Tablet adjustments (1024x1080) to prevent overflow */
    .info-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 1rem !important;
    }

    .info-card {
        padding: 1.5rem 1rem !important;
    }
}

 @media (max-width: 1200px) and (min-width: 992px){
    /* Tablet adjustments (1024x1080) */
    .sector-card {
        /* Show 3 cards at a time instead of 4 to give text more breathing room */
        flex: 0 0 calc(33.333% - 1rem) !important;
    }
 }

@media (max-width: 1200px) and (min-width: 992px){
    /* Tablet adjustments (1024x1080) to prevent the right sidebar from overflowing */
    .hero-report-card {
        padding: 2rem 2rem !important;
        min-width: 0 !important;
    }

    .hero-illustration {
        width: 180px !important;
    }

    .date-selection-sidebar {
        width: 160px !important;
    }

    .snapshot-view-container {
        gap: 1rem !important;
    }
}
@media (max-width: 1200px) and (min-width: 992px){

/* Tablet adjustments (1024x1080) for filters to keep them on ONE line */
    .filters-row {
        flex-wrap: nowrap !important;
        gap: 0.75rem !important;
    }

    .filters-left-group {
        flex-wrap: nowrap !important;
        gap: 0.75rem !important;
    }

    .min-w-200 {
        min-width: 140px !important;
    }

    .filter-select {
        padding: 0.5rem 1.5rem 0.5rem 1rem !important;
    }

    .date-range-btn {
        min-width: 180px !important;
        padding: 0.5rem 1.5rem 0.5rem 1rem !important;
    }
}