/* ============================================================
 *  WITON IR — Design Polish CSS
 *  Append ke style.css existing, atau load setelah style.css
 *  Override / enhance untuk visual polish v2
 * ============================================================ */

/* ────────────────────────────────────────────────────────────
 *  1. Sidebar Menu - Icons + Active States
 * ──────────────────────────────────────────────────────────── */

.sidebar-menu {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 72, 153, 0.06);
}

.sidebar-menu .list-group-item {
    border: none;
    border-bottom: 1px solid rgba(0, 72, 153, 0.06);
    padding: 0.85rem 1rem;
    color: #1d3557;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-menu .list-group-item:last-child {
    border-bottom: none;
}

.sidebar-menu .menu-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex: 1;
}

.sidebar-menu .menu-icon {
    font-size: 1.05rem;
    color: #009ee3;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.sidebar-menu .list-group-item:hover {
    background-color: rgba(0, 158, 227, 0.06);
    color: #004899;
    padding-left: 1.25rem;
}

.sidebar-menu .list-group-item.active {
    background-color: #009ee3;
    color: white;
    border-left: 4px solid #004899;
    padding-left: calc(1rem - 4px);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 158, 227, 0.25);
}

.sidebar-menu .list-group-item.active .menu-icon {
    color: white;
}

.sidebar-menu .menu-toggle {
    cursor: pointer;
    background: none;
    text-align: left;
    width: 100%;
}

.sidebar-menu .menu-chevron {
    font-size: 0.8rem;
    color: #6c757d;
    transition: transform 0.3s ease;
}

.sidebar-menu .menu-toggle[aria-expanded="true"] .menu-chevron,
.sidebar-menu .menu-toggle.active .menu-chevron {
    transform: rotate(180deg);
}

.sidebar-menu .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background-color: #f8fafc;
}

.sidebar-menu .submenu.active {
    max-height: 600px;
}

.sidebar-menu .submenu-item {
    padding-left: 2.75rem !important;
    font-size: 0.9rem;
    background-color: #f8fafc;
}

.sidebar-menu .submenu-item .menu-icon {
    font-size: 0.95rem;
}

.sidebar-menu .submenu-item:hover {
    background-color: rgba(0, 158, 227, 0.1);
    padding-left: 3rem !important;
}

.sidebar-menu .submenu-item.active {
    border-left: 4px solid #004899;
    padding-left: calc(2.75rem - 4px) !important;
}


/* ────────────────────────────────────────────────────────────
 *  2. Tables - Tabular Numerals + Hover + Spacing
 * ──────────────────────────────────────────────────────────── */

.table {
    margin-bottom: 0;
}

.table tbody td {
    padding: 0.85rem 0.75rem;
    vertical-align: middle;
    line-height: 1.5;
    transition: background-color 0.15s ease;
}

.table thead th {
    padding: 0.95rem 0.75rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.01em;
    border-bottom: 2px solid rgba(0, 72, 153, 0.15);
}

/* Angka finansial — wajib tabular-nums supaya kolom rata */
.table td.text-end,
.table td.text-right,
.table.numeric-table td:not(:first-child),
.financial-table td:not(:first-child),
.shareholders-table td:not(:first-child),
.dividend-table td,
.bond-table td.text-end,
.historical-table td:not(:first-child) {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* Row hover — subtle highlight + left border indicator */
.table tbody tr {
    position: relative;
}

.table tbody tr:hover td {
    background-color: rgba(0, 158, 227, 0.05);
}

.table tbody tr:hover td:first-child {
    box-shadow: inset 3px 0 0 #009ee3;
}

/* Section header rows (tabel financial-highlights) */
.table tbody tr.table-secondary td {
    background-color: rgba(0, 72, 153, 0.08) !important;
    color: #004899;
    font-weight: 700;
    font-size: 0.92rem;
    border-top: 1px solid rgba(0, 72, 153, 0.12);
}

/* Total / highlighted rows */
.table tbody tr.table-info td {
    background-color: rgba(0, 158, 227, 0.1) !important;
    color: #004899;
    font-weight: 700;
    border-top: 2px solid rgba(0, 158, 227, 0.25);
}

/* Card-style table wrapper */
.card .table-responsive {
    border-radius: 0 0 12px 12px;
}


/* ────────────────────────────────────────────────────────────
 *  3. Sticky Filter Bar
 * ──────────────────────────────────────────────────────────── */

.filter-bar-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    margin: 0 -1rem;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
}


/* ────────────────────────────────────────────────────────────
 *  4. Stock Ticker Mini (untuk hero banner)
 * ──────────────────────────────────────────────────────────── */

.stock-ticker-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    color: white;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-variant-numeric: tabular-nums;
}

.stock-ticker-mini .ticker-symbol {
    font-weight: 700;
    letter-spacing: 0.05em;
}

.stock-ticker-mini .ticker-price {
    font-size: 1.05rem;
    font-weight: 700;
}

.stock-ticker-mini .ticker-change {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.stock-ticker-mini .ticker-change.up {
    background: rgba(40, 167, 69, 0.85);
}

.stock-ticker-mini .ticker-change.down {
    background: rgba(230, 33, 41, 0.85);
}

.stock-ticker-mini .ticker-meta {
    font-size: 0.75rem;
    opacity: 0.85;
    margin-left: 0.4rem;
}


/* ────────────────────────────────────────────────────────────
 *  5. Quick Links Cards — Hierarchy
 * ──────────────────────────────────────────────────────────── */

.quick-link-card {
    background: white;
    border-radius: 14px;
    padding: 1.5rem 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 72, 153, 0.06);
    border: 1px solid rgba(0, 72, 153, 0.08);
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.quick-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 72, 153, 0.12);
    border-color: #009ee3;
    color: inherit;
    text-decoration: none;
}

.quick-link-card .ql-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #009ee3 0%, #004899 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 12px rgba(0, 158, 227, 0.2);
}

.quick-link-card .ql-title {
    font-weight: 700;
    color: #004899;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.quick-link-card .ql-meta {
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 0;
}

.quick-link-card .ql-cta {
    margin-top: auto;
    padding-top: 0.85rem;
    color: #009ee3;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Card hero (lebih besar, untuk Annual Report) */
.quick-link-card.is-hero {
    background: linear-gradient(135deg, #009ee3 0%, #004899 100%);
    color: white;
    padding: 2rem 1.5rem;
}

.quick-link-card.is-hero .ql-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.quick-link-card.is-hero .ql-title,
.quick-link-card.is-hero .ql-cta {
    color: white;
}

.quick-link-card.is-hero .ql-meta {
    color: rgba(255, 255, 255, 0.85);
}


/* ────────────────────────────────────────────────────────────
 *  6. Empty States
 * ──────────────────────────────────────────────────────────── */

.empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #6c757d;
}

.empty-state .empty-icon {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 0.85rem;
}

.empty-state .empty-title {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.empty-state .empty-message {
    font-size: 0.875rem;
    margin: 0;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}


/* ────────────────────────────────────────────────────────────
 *  7. Banner Header (hero) — kurangi tinggi, padat content
 * ──────────────────────────────────────────────────────────── */

.banner-header {
    height: auto;
    min-height: 220px;
    padding: 2rem 0;
}

.banner-content .banner-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.banner-content .banner-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .banner-content .banner-title {
        font-size: 2.5rem;
    }
}


/* ────────────────────────────────────────────────────────────
 *  8. Card Headers (consistent)
 * ──────────────────────────────────────────────────────────── */

.card {
    border: 1px solid rgba(0, 72, 153, 0.08);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 72, 153, 0.05);
    overflow: hidden;
}

.card-header.bg-primary {
    background: linear-gradient(90deg, #009ee3 0%, #007bba 100%) !important;
    border-bottom: none;
    padding: 1rem 1.25rem;
}

.card-header.bg-primary h4,
.card-header.bg-primary h5 {
    font-weight: 600;
    margin-bottom: 0;
}


/* ────────────────────────────────────────────────────────────
 *  9. Print Stylesheet
 * ──────────────────────────────────────────────────────────── */

@media print {
    .navbar,
    .sidebar-menu,
    .footer,
    .filter-bar-sticky,
    .banner-header,
    .quick-link-card .ql-cta,
    button,
    .btn {
        display: none !important;
    }

    .card {
        page-break-inside: avoid;
        border: 1px solid #ccc;
        box-shadow: none;
    }

    .card-header {
        background: #f8f9fa !important;
        color: #000 !important;
        -webkit-print-color-adjust: exact;
    }

    .table {
        font-size: 10pt;
    }

    .table thead th {
        background-color: #e9ecef !important;
        color: #000 !important;
        -webkit-print-color-adjust: exact;
    }

    body {
        padding: 0.5cm;
        background: white !important;
    }
}


/* ────────────────────────────────────────────────────────────
 * 10. Mobile Responsive Refinements
 * ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .sidebar-menu .list-group-item {
        padding: 0.75rem 0.85rem;
        font-size: 0.95rem;
    }

    .quick-link-card {
        padding: 1.25rem 1rem;
    }

    .quick-link-card.is-hero {
        padding: 1.5rem 1rem;
    }

    .quick-link-card .ql-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .stock-ticker-mini {
        flex-wrap: wrap;
        font-size: 0.8rem;
    }

    .table {
        font-size: 0.8rem;
    }
}
/* ============================================================
 *  WITON Design Polish — Additions v2.1
 *  Append ke polish.css existing
 * ============================================================ */


/* ════════════════════════════════════════════════════════════
 * BANNER FULL-BLEED IMAGE PATCH
 * ════════════════════════════════════════════════════════════
 *
 * APPLY: append blok ini ke ujung file public/assets/css/polish.css
 *
 * Atau, kalau mau cleaner: cari dan REPLACE blok lama
 * "/* BANNER FIX — Image kanan + min-height yang benar */ /* (sekitar baris 515-580)
 * dengan blok ini.
 *
 * Penjelasan singkat:
 * - .banner-header dijadikan position: relative supaya bisa nampung
 *   gambar absolute di dalamnya
 * - Gambar di-position absolute ke kanan, mengisi seluruh tinggi banner
 * - object-fit: cover dengan object-position kanan supaya proporsi gambar
 *   tetap dan figure di sebelah kanan ditampilkan utuh (tidak di-crop)
 * - Z-index dipastikan content (title, ticker) ada di atas gambar
 * - Mask gradient di kiri biar transisi gambar ke gradient background
 *   smooth, tidak ada hard edge
 * ════════════════════════════════════════════════════════════ */

.banner-header {
    width: 100%;
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
    min-height: 246px;
    background-image: linear-gradient(90deg, #009EE3 0%, #004899 100%);
    padding: 1.5rem 0;
}

/* Full-bleed banner image — nempel ke tepi kanan viewport */
.banner-image-bleed {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    max-width: 65%;
    object-fit: contain;
    object-position: right center;
    pointer-events: none;
    user-select: none;

    /* Mask gradient: fade smooth dari transparan (kiri) ke opaque (kanan)
       supaya transisi gambar ke background gradient tidak hard edge */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 100%);

    z-index: 1;
}

.banner-overlay {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;  /* di atas image */
}

.banner-content {
    width: 100%;
    position: relative;
}

.banner-content .row {
    min-height: 200px;
}

.banner-title {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.banner-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Tablet: gambar lebih sempit supaya tidak desak content */
@media (max-width: 991px) {
    .banner-image-bleed {
        max-width: 50%;
        opacity: 0.85;
    }
}

/* Mobile: gambar disembunyikan agar text breath */
@media (max-width: 767px) {
    .banner-image-bleed {
        display: none;
    }
    .banner-header {
        min-height: 180px;
        padding: 1.25rem 0;
    }
    .banner-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .banner-title {
        font-size: 2.5rem;
    }
    .banner-subtitle {
        font-size: 1.1rem;
    }
}

/* Desktop super lebar: max-width image jangan terlalu besar */
@media (min-width: 1600px) {
    .banner-image-bleed {
        max-width: 55%;
    }
}


/* ────────────────────────────────────────────────────────────
 *  STOCK FUNDAMENTALS — Hero Quote Card + Metric Tiles
 * ──────────────────────────────────────────────────────────── */

/* Hero quote card — layout horizontal dengan harga besar di kiri */
.stock-quote-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 158, 227, 0.12);
    box-shadow: 0 4px 12px rgba(0, 72, 153, 0.06);
    margin-bottom: 1.5rem;
}

.stock-quote-hero .quote-symbol {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 158, 227, 0.1);
    color: #004899;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.85rem;
}

.stock-quote-hero .quote-price {
    font-size: 3rem;
    font-weight: 800;
    color: #1d3557;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stock-quote-hero .quote-currency {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
    margin-left: 0.4rem;
}

.stock-quote-hero .quote-change {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}

.stock-quote-hero .quote-change.up {
    background: rgba(40, 167, 69, 0.12);
    color: #1a7c35;
}

.stock-quote-hero .quote-change.down {
    background: rgba(230, 33, 41, 0.12);
    color: #c41e26;
}

.stock-quote-hero .quote-change.flat {
    background: rgba(108, 117, 125, 0.12);
    color: #495057;
}

.stock-quote-hero .quote-meta {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(0, 72, 153, 0.12);
    color: #6c757d;
    font-size: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Mini stat (Volume, Day Range, 52w Range) */
.stock-quote-hero .quote-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 72, 153, 0.08);
}

.stock-quote-hero .stat-item {
    text-align: left;
}

.stock-quote-hero .stat-label {
    font-size: 0.72rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stock-quote-hero .stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1d3557;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 576px) {
    .stock-quote-hero .quote-price {
        font-size: 2.25rem;
    }
    .stock-quote-hero .quote-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* Metric tiles (EPS, PE, NAV, dll) — grid card design */
.metric-tile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 992px) {
    .metric-tile-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .metric-tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.metric-tile {
    background: white;
    border: 1px solid rgba(0, 72, 153, 0.1);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.metric-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #009ee3 0%, #004899 100%);
    opacity: 0;
    transition: opacity 0.2s;
}

.metric-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 72, 153, 0.1);
    border-color: #009ee3;
}

.metric-tile:hover::before {
    opacity: 1;
}

.metric-tile .metric-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 158, 227, 0.1);
    color: #009ee3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.metric-tile .metric-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.metric-tile .metric-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #004899;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.metric-tile .metric-unit {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    margin-left: 0.2rem;
}


/* ────────────────────────────────────────────────────────────
 *  FILTER BAR — Categories & View Type Selector
 * ──────────────────────────────────────────────────────────── */

.fundamentals-filter-bar {
    background: white;
    border: 1px solid rgba(0, 72, 153, 0.1);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 72, 153, 0.04);
}

.fundamentals-filter-bar .filter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1d3557;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.fundamentals-filter-bar .filter-label i {
    color: #009ee3;
}

/* Period checkbox grid */
.period-checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.period-checkbox {
    position: relative;
}

.period-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.period-checkbox label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background: white;
    border: 1.5px solid rgba(0, 72, 153, 0.15);
    border-radius: 999px;
    color: #1d3557;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.period-checkbox label:hover {
    border-color: #009ee3;
    color: #009ee3;
}

.period-checkbox input:checked + label {
    background: #009ee3;
    border-color: #009ee3;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 158, 227, 0.25);
}

.period-checkbox input:checked + label::before {
    content: '\F26B';
    font-family: 'bootstrap-icons';
    font-size: 0.9rem;
}

/* View type radio buttons (Table / Column / Line) */
.view-type-selector {
    display: inline-flex;
    background: rgba(0, 72, 153, 0.06);
    border-radius: 12px;
    padding: 0.25rem;
    gap: 0.15rem;
}

.view-type-selector input[type="radio"] {
    display: none;
}

.view-type-selector label {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #6c757d;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.view-type-selector label:hover {
    color: #009ee3;
}

.view-type-selector input:checked + label {
    background: white;
    color: #004899;
    box-shadow: 0 2px 6px rgba(0, 72, 153, 0.1);
}


/* ────────────────────────────────────────────────────────────
 *  Notes section — pakai accordion-style untuk hemat space
 * ──────────────────────────────────────────────────────────── */

.notes-card {
    background: linear-gradient(135deg, rgba(0, 158, 227, 0.04) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(0, 158, 227, 0.15);
    border-left: 4px solid #009ee3;
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.notes-card .notes-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #004899;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.notes-card ol,
.notes-card ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.notes-card li {
    font-size: 0.82rem;
    color: #495057;
    margin-bottom: 0.3rem;
    line-height: 1.5;
}
/* ============================================================
 *  WITON Design Polish — 4 Pages Additions
 *  Append ke polish.css existing
 * ============================================================ */


/* ────────────────────────────────────────────────────────────
 *  HISTORICAL PRICE — Date Range Picker + Stat Cards
 * ──────────────────────────────────────────────────────────── */

.historical-filter-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 1px solid rgba(0, 158, 227, 0.15);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 72, 153, 0.06);
}

.historical-filter-card .filter-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #004899;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.historical-filter-card .date-range-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    gap: 1rem;
    align-items: end;
}

@media (max-width: 768px) {
    .historical-filter-card .date-range-row {
        grid-template-columns: 1fr;
    }
}

.historical-filter-card .date-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.historical-filter-card .date-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.historical-filter-card .date-selectors {
    display: flex;
    gap: 0.4rem;
}

.historical-filter-card .date-selectors select {
    padding: 0.5rem 0.6rem;
    font-size: 0.88rem;
    border: 1.5px solid rgba(0, 72, 153, 0.15);
    border-radius: 8px;
    background: white;
    color: #1d3557;
    font-weight: 500;
    transition: border-color 0.15s;
}

.historical-filter-card .date-selectors select:focus {
    outline: none;
    border-color: #009ee3;
    box-shadow: 0 0 0 3px rgba(0, 158, 227, 0.1);
}

.historical-filter-card .date-separator {
    font-size: 1.5rem;
    color: #009ee3;
    padding-bottom: 0.4rem;
}

.historical-filter-card .quick-range-buttons {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.historical-filter-card .quick-range-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1.5px solid rgba(0, 72, 153, 0.15);
    border-radius: 999px;
    background: white;
    color: #1d3557;
    cursor: pointer;
    transition: all 0.15s;
}

.historical-filter-card .quick-range-btn:hover,
.historical-filter-card .quick-range-btn.active {
    background: #009ee3;
    border-color: #009ee3;
    color: white;
}

.historical-filter-card .filter-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Range summary card — strip yg tampil hasil filter */
.range-summary {
    background: white;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    border-left: 4px solid #009ee3;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 72, 153, 0.04);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.range-summary .summary-info {
    color: #495057;
    font-size: 0.9rem;
}

.range-summary .summary-info strong {
    color: #004899;
}

.range-summary .summary-actions {
    display: flex;
    gap: 0.5rem;
}

.range-summary .summary-actions .btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
}

/* Price change indicator in table cells */
.historical-table td.price-up {
    color: #1a7c35;
    font-weight: 600;
}

.historical-table td.price-down {
    color: #c41e26;
    font-weight: 600;
}

.historical-table tbody tr.high-volume td {
    background-color: rgba(0, 158, 227, 0.04);
}


/* ────────────────────────────────────────────────────────────
 *  INTERACTIVE CHART — Modernize Quote Layout
 * ──────────────────────────────────────────────────────────── */

.chart-page-quote {
    background: white;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 72, 153, 0.1);
    box-shadow: 0 4px 12px rgba(0, 72, 153, 0.05);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    justify-content: space-between;
}

.chart-page-quote .quote-main {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.chart-page-quote .quote-symbol-badge {
    background: linear-gradient(135deg, #009ee3 0%, #004899 100%);
    color: white;
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 12px rgba(0, 158, 227, 0.25);
}

.chart-page-quote .quote-info .price {
    font-size: 2.1rem;
    font-weight: 800;
    color: #1d3557;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.chart-page-quote .quote-info .currency {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    margin-left: 0.3rem;
}

.chart-page-quote .quote-info .change {
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0.15rem;
    font-variant-numeric: tabular-nums;
}

.chart-page-quote .quote-info .change.up {
    color: #1a7c35;
}

.chart-page-quote .quote-info .change.down {
    color: #c41e26;
}

.chart-page-quote .quote-stats-mini {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.chart-page-quote .stat-mini {
    text-align: left;
}

.chart-page-quote .stat-mini-label {
    font-size: 0.7rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.chart-page-quote .stat-mini-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1d3557;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
    .chart-page-quote {
        padding: 1rem;
    }
    .chart-page-quote .quote-info .price {
        font-size: 1.6rem;
    }
}


/* ────────────────────────────────────────────────────────────
 *  IR CONTACT — Card Avatar + Form Modern
 * ──────────────────────────────────────────────────────────── */

.ir-contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(0, 158, 227, 0.12);
    box-shadow: 0 4px 16px rgba(0, 72, 153, 0.06);
    margin-bottom: 1.5rem;
}

.ir-contact-card .contact-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 6px 20px rgba(0, 158, 227, 0.2);
    display: block;
}

.ir-contact-card .contact-avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #009ee3 0%, #004899 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    box-shadow: 0 6px 20px rgba(0, 158, 227, 0.2);
}

.ir-contact-card .contact-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #004899;
    margin-bottom: 0.2rem;
}

.ir-contact-card .contact-title {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.25rem;
}

.ir-contact-card .contact-divider {
    border: 0;
    border-top: 1px dashed rgba(0, 72, 153, 0.15);
    margin: 1.25rem 0;
}

.ir-contact-card .contact-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    transition: padding 0.15s;
}

.ir-contact-card .contact-detail-row:hover {
    padding-left: 0.5rem;
}

.ir-contact-card .contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 158, 227, 0.1);
    color: #009ee3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ir-contact-card .contact-meta-label {
    font-size: 0.72rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.ir-contact-card .contact-meta-value {
    font-size: 0.95rem;
    color: #1d3557;
    font-weight: 500;
    line-height: 1.4;
}

.ir-contact-card .contact-meta-value a {
    color: #009ee3;
    text-decoration: none;
    transition: color 0.15s;
}

.ir-contact-card .contact-meta-value a:hover {
    color: #004899;
    text-decoration: underline;
}

/* Contact form modernize */
.contact-form-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(0, 72, 153, 0.08);
    box-shadow: 0 4px 12px rgba(0, 72, 153, 0.05);
}

.contact-form-card .form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #004899;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form-card .form-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.contact-form-card .form-floating > .form-control,
.contact-form-card .form-floating > .form-select {
    border-radius: 10px;
    border: 1.5px solid rgba(0, 72, 153, 0.12);
    transition: all 0.15s;
}

.contact-form-card .form-floating > .form-control:focus,
.contact-form-card .form-floating > .form-select:focus {
    border-color: #009ee3;
    box-shadow: 0 0 0 3px rgba(0, 158, 227, 0.1);
}

.contact-form-card .form-label {
    font-weight: 600;
    color: #1d3557;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 10px;
    border: 1.5px solid rgba(0, 72, 153, 0.12);
    padding: 0.65rem 0.85rem;
    font-size: 0.92rem;
    transition: all 0.15s;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: #009ee3;
    box-shadow: 0 0 0 3px rgba(0, 158, 227, 0.1);
}

.contact-form-card .btn-submit {
    background: linear-gradient(135deg, #009ee3 0%, #004899 100%);
    border: none;
    color: white;
    padding: 0.7rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 158, 227, 0.25);
    transition: all 0.2s;
}

.contact-form-card .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 158, 227, 0.35);
    color: white;
}

/* Map embed wrap */
.map-embed-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 72, 153, 0.08);
    border: 1px solid rgba(0, 72, 153, 0.08);
    height: 400px;
    margin-top: 2rem;
}

.map-embed-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


/* ────────────────────────────────────────────────────────────
 *  EMAIL ALERT — Hero Subscribe Form
 * ──────────────────────────────────────────────────────────── */

.email-alert-hero {
    background: linear-gradient(135deg, #009ee3 0%, #004899 100%);
    color: white;
    border-radius: 18px;
    padding: 2.5rem 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 72, 153, 0.15);
    position: relative;
    overflow: hidden;
}

.email-alert-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.email-alert-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.email-alert-hero > * {
    position: relative;
    z-index: 1;
}

.email-alert-hero .hero-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.email-alert-hero .hero-title {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.email-alert-hero .hero-subtitle {
    font-size: 1rem;
    opacity: 0.95;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.55;
}

.email-alert-form-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0, 72, 153, 0.08);
    box-shadow: 0 4px 16px rgba(0, 72, 153, 0.06);
    margin-bottom: 1.5rem;
}

/* Categories — pill style */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-pill {
    position: relative;
}

.category-pill input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.category-pill label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    background: white;
    border: 1.5px solid rgba(0, 72, 153, 0.15);
    border-radius: 999px;
    color: #1d3557;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.category-pill label::before {
    content: '\F4A1';
    font-family: 'bootstrap-icons';
    font-size: 0.95rem;
    color: rgba(0, 72, 153, 0.4);
}

.category-pill label:hover {
    border-color: #009ee3;
    color: #009ee3;
}

.category-pill input:checked + label {
    background: rgba(0, 158, 227, 0.1);
    border-color: #009ee3;
    color: #004899;
    font-weight: 600;
}

.category-pill input:checked + label::before {
    content: '\F26B';
    color: #009ee3;
}

.email-alert-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .email-alert-features {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem;
    background: white;
    border: 1px solid rgba(0, 72, 153, 0.08);
    border-radius: 12px;
}

.feature-item .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 158, 227, 0.1);
    color: #009ee3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-item .feature-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1d3557;
    margin-bottom: 0.2rem;
}

.feature-item .feature-desc {
    font-size: 0.82rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}
/* ============================================================
 *  WITON Polish — Specificity Boost
 *  Append SETELAH polish.css di layout untuk override conflicts
 *  Pakai !important hanya untuk visual properties (bukan layout-breaking)
 * ============================================================ */


/* ────────────────────────────────────────────────────────────
 *  CHART PAGE QUOTE BAR — Force apply
 * ──────────────────────────────────────────────────────────── */

.chart-page-quote,
div.chart-page-quote,
.main-content .chart-page-quote {
    background: white !important;
    border-radius: 14px !important;
    padding: 1.25rem 1.5rem !important;
    margin-bottom: 1.5rem !important;
    border: 1px solid rgba(0, 72, 153, 0.1) !important;
    box-shadow: 0 4px 12px rgba(0, 72, 153, 0.05) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 1.5rem !important;
    justify-content: space-between !important;
}

.chart-page-quote .quote-main {
    display: flex !important;
    align-items: center !important;
    gap: 1.2rem !important;
}

.chart-page-quote .quote-symbol-badge {
    background: linear-gradient(135deg, #009ee3 0%, #004899 100%) !important;
    color: white !important;
    padding: 0.6rem 0.9rem !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.06em !important;
    box-shadow: 0 4px 12px rgba(0, 158, 227, 0.25) !important;
    display: inline-block !important;
}

.chart-page-quote .quote-info .price {
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    color: #1d3557 !important;
    line-height: 1.1 !important;
    display: inline !important;
}

.chart-page-quote .quote-info .currency {
    font-size: 0.85rem !important;
    color: #6c757d !important;
    font-weight: 500 !important;
    margin-left: 0.3rem !important;
}

.chart-page-quote .quote-info .change {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-top: 0.15rem !important;
    display: block !important;
}

.chart-page-quote .quote-info .change.up { color: #1a7c35 !important; }
.chart-page-quote .quote-info .change.down { color: #c41e26 !important; }

.chart-page-quote .quote-stats-mini {
    display: flex !important;
    gap: 1.5rem !important;
    flex-wrap: wrap !important;
}

.chart-page-quote .stat-mini-label {
    font-size: 0.7rem !important;
    color: #6c757d !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-weight: 600 !important;
    margin-bottom: 0.15rem !important;
}

.chart-page-quote .stat-mini-value {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1d3557 !important;
}


/* ────────────────────────────────────────────────────────────
 *  STOCK QUOTE HERO (stock fundamentals)
 * ──────────────────────────────────────────────────────────── */

.stock-quote-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%) !important;
    border-radius: 14px !important;
    padding: 1.5rem !important;
    border: 1px solid rgba(0, 158, 227, 0.12) !important;
    box-shadow: 0 4px 12px rgba(0, 72, 153, 0.06) !important;
    margin-bottom: 1.5rem !important;
}

.stock-quote-hero .quote-symbol {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: rgba(0, 158, 227, 0.1) !important;
    color: #004899 !important;
    font-weight: 700 !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 999px !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.85rem !important;
}

.stock-quote-hero .quote-price {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #1d3557 !important;
    line-height: 1 !important;
    margin-bottom: 0.4rem !important;
    display: inline-block !important;
}

.stock-quote-hero .quote-change {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
}

.stock-quote-hero .quote-change.up { background: rgba(40, 167, 69, 0.12) !important; color: #1a7c35 !important; }
.stock-quote-hero .quote-change.down { background: rgba(230, 33, 41, 0.12) !important; color: #c41e26 !important; }

.stock-quote-hero .quote-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(0, 72, 153, 0.08) !important;
}


/* ────────────────────────────────────────────────────────────
 *  METRIC TILES (stock fundamentals)
 * ──────────────────────────────────────────────────────────── */

.metric-tile-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.75rem !important;
}

.metric-tile {
    background: white !important;
    border: 1px solid rgba(0, 72, 153, 0.1) !important;
    border-radius: 12px !important;
    padding: 1rem 1.1rem !important;
}

.metric-tile .metric-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: rgba(0, 158, 227, 0.1) !important;
    color: #009ee3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0.6rem !important;
}

.metric-tile .metric-label {
    font-size: 0.75rem !important;
    color: #6c757d !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    font-weight: 600 !important;
    margin-bottom: 0.3rem !important;
}

.metric-tile .metric-value {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #004899 !important;
    line-height: 1.1 !important;
}


/* ────────────────────────────────────────────────────────────
 *  HISTORICAL FILTER CARD
 * ──────────────────────────────────────────────────────────── */

.historical-filter-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%) !important;
    border: 1px solid rgba(0, 158, 227, 0.15) !important;
    border-radius: 14px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 4px 12px rgba(0, 72, 153, 0.06) !important;
}

.historical-filter-card .filter-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #004899 !important;
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.historical-filter-card .date-range-row {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr auto !important;
    gap: 1rem !important;
    align-items: end !important;
}

@media (max-width: 768px) {
    .historical-filter-card .date-range-row {
        grid-template-columns: 1fr !important;
    }
}

.historical-filter-card .date-selectors {
    display: flex !important;
    gap: 0.4rem !important;
}

.historical-filter-card .date-selectors select {
    padding: 0.5rem 0.6rem !important;
    border: 1.5px solid rgba(0, 72, 153, 0.15) !important;
    border-radius: 8px !important;
}

.historical-filter-card .quick-range-buttons {
    margin-top: 1rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
}

.historical-filter-card .quick-range-btn {
    padding: 0.4rem 0.85rem !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    border: 1.5px solid rgba(0, 72, 153, 0.15) !important;
    border-radius: 999px !important;
    background: white !important;
    color: #1d3557 !important;
    cursor: pointer !important;
}

.historical-filter-card .quick-range-btn:hover,
.historical-filter-card .quick-range-btn.active {
    background: #009ee3 !important;
    border-color: #009ee3 !important;
    color: white !important;
}


/* ────────────────────────────────────────────────────────────
 *  IR CONTACT CARD
 * ──────────────────────────────────────────────────────────── */

.ir-contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%) !important;
    border-radius: 16px !important;
    padding: 1.75rem !important;
    border: 1px solid rgba(0, 158, 227, 0.12) !important;
    box-shadow: 0 4px 16px rgba(0, 72, 153, 0.06) !important;
    margin-bottom: 1.5rem !important;
}

.ir-contact-card .contact-avatar,
.ir-contact-card .contact-avatar-placeholder {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
}

.ir-contact-card .contact-avatar-placeholder {
    background: linear-gradient(135deg, #009ee3 0%, #004899 100%) !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2.3rem !important;
}

.ir-contact-card .contact-name {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #004899 !important;
}

.ir-contact-card .contact-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: rgba(0, 158, 227, 0.1) !important;
    color: #009ee3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.contact-form-card {
    background: white !important;
    border-radius: 16px !important;
    padding: 1.75rem !important;
    border: 1px solid rgba(0, 72, 153, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 72, 153, 0.05) !important;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 10px !important;
    border: 1.5px solid rgba(0, 72, 153, 0.12) !important;
}

.contact-form-card .btn-submit {
    background: linear-gradient(135deg, #009ee3 0%, #004899 100%) !important;
    border: none !important;
    color: white !important;
    padding: 0.7rem 1.75rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(0, 158, 227, 0.25) !important;
}

.map-embed-wrap {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 72, 153, 0.08) !important;
    height: 400px !important;
    margin-top: 2rem !important;
}


/* ────────────────────────────────────────────────────────────
 *  EMAIL ALERT HERO
 * ──────────────────────────────────────────────────────────── */

.email-alert-hero {
    background: linear-gradient(135deg, #009ee3 0%, #004899 100%) !important;
    color: white !important;
    border-radius: 18px !important;
    padding: 2.5rem 2rem !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    box-shadow: 0 8px 24px rgba(0, 72, 153, 0.15) !important;
    position: relative !important;
    overflow: hidden !important;
}

.email-alert-hero .hero-icon {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.2) !important;
    margin: 0 auto 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2rem !important;
}

.email-alert-hero .hero-title {
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.5rem !important;
    color: white !important;
}

.email-alert-hero .hero-subtitle {
    font-size: 1rem !important;
    opacity: 0.95 !important;
    color: white !important;
    max-width: 540px !important;
    margin: 0 auto !important;
}

.email-alert-form-card {
    background: white !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    border: 1px solid rgba(0, 72, 153, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 72, 153, 0.06) !important;
    margin-bottom: 1.5rem !important;
}

.category-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
}

.category-pill label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.55rem 1rem !important;
    background: white !important;
    border: 1.5px solid rgba(0, 72, 153, 0.15) !important;
    border-radius: 999px !important;
    color: #1d3557 !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

.category-pill input:checked + label {
    background: rgba(0, 158, 227, 0.1) !important;
    border-color: #009ee3 !important;
    color: #004899 !important;
    font-weight: 600 !important;
}

.email-alert-features {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
}

@media (max-width: 768px) {
    .email-alert-features {
        grid-template-columns: 1fr !important;
    }
}

.feature-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
    padding: 1.1rem !important;
    background: white !important;
    border: 1px solid rgba(0, 72, 153, 0.08) !important;
    border-radius: 12px !important;
}

.feature-item .feature-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: rgba(0, 158, 227, 0.1) !important;
    color: #009ee3 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* ────────────────────────────────────────────────────────────
 *  RANGE SUMMARY + STATS CARD
 * ──────────────────────────────────────────────────────────── */

.range-summary {
    background: white !important;
    border-radius: 12px !important;
    padding: 0.85rem 1.25rem !important;
    border-left: 4px solid #009ee3 !important;
    margin-bottom: 1.25rem !important;
    box-shadow: 0 2px 8px rgba(0, 72, 153, 0.04) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
}


/* ────────────────────────────────────────────────────────────
 *  NOTES CARD
 * ──────────────────────────────────────────────────────────── */

.notes-card {
    background: linear-gradient(135deg, rgba(0, 158, 227, 0.04) 0%, rgba(255, 255, 255, 1) 100%) !important;
    border: 1px solid rgba(0, 158, 227, 0.15) !important;
    border-left: 4px solid #009ee3 !important;
    border-radius: 10px !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 1rem !important;
}


/* ────────────────────────────────────────────────────────────
 *  FUNDAMENTALS FILTER BAR
 * ──────────────────────────────────────────────────────────── */

.fundamentals-filter-bar {
    background: white !important;
    border: 1px solid rgba(0, 72, 153, 0.1) !important;
    border-radius: 14px !important;
    padding: 1.25rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 2px 10px rgba(0, 72, 153, 0.04) !important;
}

.period-checkbox-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
}

.period-checkbox label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.45rem 0.85rem !important;
    background: white !important;
    border: 1.5px solid rgba(0, 72, 153, 0.15) !important;
    border-radius: 999px !important;
    color: #1d3557 !important;
    font-size: 0.82rem !important;
    cursor: pointer !important;
}

.period-checkbox input:checked + label {
    background: #009ee3 !important;
    border-color: #009ee3 !important;
    color: white !important;
}

.view-type-selector {
    display: inline-flex !important;
    background: rgba(0, 72, 153, 0.06) !important;
    border-radius: 12px !important;
    padding: 0.25rem !important;
    gap: 0.15rem !important;
}

.view-type-selector label {
    padding: 0.5rem 1rem !important;
    border-radius: 9px !important;
    cursor: pointer !important;
}

.view-type-selector input:checked + label {
    background: white !important;
    color: #004899 !important;
    box-shadow: 0 2px 6px rgba(0, 72, 153, 0.1) !important;
}


/* ────────────────────────────────────────────────────────────
 *  EMPTY STATE
 * ──────────────────────────────────────────────────────────── */

.empty-state {
    text-align: center !important;
    padding: 2.5rem 1rem !important;
    color: #6c757d !important;
}

.empty-state .empty-icon {
    font-size: 2.5rem !important;
    color: #cbd5e1 !important;
    margin-bottom: 0.85rem !important;
}

.empty-state .empty-title {
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 0.35rem !important;
    font-size: 1rem !important;
}


/* ────────────────────────────────────────────────────────────
 *  STOCK TICKER MINI (banner)
 * ──────────────────────────────────────────────────────────── */

.stock-ticker-mini {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    padding: 0.55rem 1rem !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    border-radius: 999px !important;
    color: white !important;
    font-size: 0.9rem !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.stock-ticker-mini .ticker-symbol { font-weight: 700 !important; }
.stock-ticker-mini .ticker-price { font-size: 1.05rem !important; font-weight: 700 !important; }
.stock-ticker-mini .ticker-change {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.2rem !important;
    padding: 0.15rem 0.55rem !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
}
.stock-ticker-mini .ticker-change.up { background: rgba(40, 167, 69, 0.85) !important; }
.stock-ticker-mini .ticker-change.down { background: rgba(230, 33, 41, 0.85) !important; }

/* ============================================================
 *  WITON Polish — Additions for 3SS Fix
 *  Append ke polish.css existing
 * ============================================================ */


/* ────────────────────────────────────────────────────────────
 *  "DID YOU KNOW" FACT CARDS — IR Home
 * ──────────────────────────────────────────────────────────── */

.fact-card {
    border-radius: 16px !important;
    padding: 1.75rem 1.5rem !important;
    height: 100% !important;
    color: white !important;
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.fact-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(0, 72, 153, 0.18) !important;
}

.fact-card.fact-dark {
    background: linear-gradient(135deg, #004899 0%, #003070 100%) !important;
}

.fact-card.fact-light {
    background: linear-gradient(135deg, #009ee3 0%, #0078b8 100%) !important;
}

.fact-card .fact-icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(8px) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    color: white !important;
    flex-shrink: 0 !important;
}

.fact-card .fact-text {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    color: white !important;
    font-weight: 500 !important;
}

/* Dekorasi circle subtle di pojok */
.fact-card::before {
    content: '' !important;
    position: absolute !important;
    top: -40% !important;
    right: -25% !important;
    width: 220px !important;
    height: 220px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}

.fact-card::after {
    content: '' !important;
    position: absolute !important;
    bottom: -50% !important;
    left: -20% !important;
    width: 200px !important;
    height: 200px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}

.fact-card > * {
    position: relative !important;
    z-index: 1 !important;
}


/* ────────────────────────────────────────────────────────────
 *  IR CONTACT CARD — Stack Layout (avatar kiri, details 2-col)
 * ──────────────────────────────────────────────────────────── */

/* Override versi sebelumnya - sekarang flex row dengan avatar di kiri */
.ir-contact-card {
    display: block !important;
}

.ir-contact-card .contact-detail-row {
    margin-bottom: 0 !important;
    padding: 0.5rem 0 !important;
}

.ir-contact-card .contact-divider {
    display: none !important;
}

/* Avatar adjustment */
.ir-contact-card .contact-avatar,
.ir-contact-card .contact-avatar-placeholder {
    width: 100px !important;
    height: 100px !important;
}


/* ────────────────────────────────────────────────────────────
 *  CARD STOCK WIDGET — pastikan tidak ada nested card
 * ──────────────────────────────────────────────────────────── */

/* Stock widget standalone — override sisa border kalau ada */
.tradingview-widget-container {
    border-radius: 0 0 14px 14px !important;
    overflow: hidden !important;
}
/* ============================================================
 *  WITON Polish — IR HOME STOCK QUOTE HERO
 *  Append ke polish.css
 * ============================================================ */


/* ────────────────────────────────────────────────────────────
 *  IR QUOTE HERO — Big card with gradient + decorations
 * ──────────────────────────────────────────────────────────── */

.ir-quote-hero {
    position: relative !important;
    background: linear-gradient(135deg, #009ee3 0%, #004899 60%, #003070 100%) !important;
    color: white !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    overflow: hidden !important;
    box-shadow: 0 12px 32px rgba(0, 72, 153, 0.2) !important;
}

@media (max-width: 768px) {
    .ir-quote-hero {
        padding: 1.5rem 1.25rem !important;
    }
}

/* Background decorations - circles + grid pattern */
.ir-quote-decoration {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.ir-quote-decoration .deco-circle {
    position: absolute !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.ir-quote-decoration .deco-1 {
    width: 320px !important;
    height: 320px !important;
    top: -120px !important;
    right: -80px !important;
}

.ir-quote-decoration .deco-2 {
    width: 240px !important;
    height: 240px !important;
    bottom: -100px !important;
    left: -60px !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.ir-quote-decoration .deco-grid {
    position: absolute !important;
    inset: 0 !important;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) !important;
    background-size: 40px 40px !important;
    opacity: 0.5 !important;
}

.ir-quote-content {
    position: relative !important;
    z-index: 1 !important;
}


/* ────────────────────────────────────────────────────────────
 *  IR QUOTE TOP — Symbol + Big Price + Change + CTA
 * ──────────────────────────────────────────────────────────── */

.ir-quote-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
}

.ir-quote-symbol-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    margin-bottom: 0.85rem !important;
    flex-wrap: wrap !important;
}

.ir-quote-symbol-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(8px) !important;
    color: white !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.06em !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.ir-quote-name {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500 !important;
}

.ir-quote-price-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.ir-quote-price {
    font-size: 4rem !important;
    font-weight: 800 !important;
    color: white !important;
    font-variant-numeric: tabular-nums !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 768px) {
    .ir-quote-price {
        font-size: 2.75rem !important;
    }
}

.ir-quote-currency {
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500 !important;
}

.ir-quote-change-row {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    margin-top: 0.6rem !important;
}

.ir-quote-change-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.45rem 1rem !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    font-variant-numeric: tabular-nums !important;
    backdrop-filter: blur(8px) !important;
}

.ir-quote-change-badge.up {
    background: rgba(40, 167, 69, 0.85) !important;
    color: white !important;
}

.ir-quote-change-badge.down {
    background: rgba(230, 33, 41, 0.85) !important;
    color: white !important;
}

.ir-quote-change-badge.flat {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.ir-quote-time {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
}

.ir-quote-cta .btn {
    background: white !important;
    color: #004899 !important;
    border: none !important;
    padding: 0.55rem 1.1rem !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s !important;
}

.ir-quote-cta .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
    background: #f8f9fa !important;
}


/* ────────────────────────────────────────────────────────────
 *  IR QUOTE DIVIDER + STATS GRID (6 mini metrics)
 * ──────────────────────────────────────────────────────────── */

.ir-quote-divider {
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
    margin: 1.5rem 0 !important;
    opacity: 1 !important;
}

.ir-quote-stats {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 1rem !important;
}

@media (max-width: 992px) {
    .ir-quote-stats {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .ir-quote-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.ir-stat {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    padding: 0.85rem 0.9rem !important;
    transition: background 0.2s, transform 0.2s !important;
}

.ir-stat:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-2px) !important;
}

.ir-stat-label {
    font-size: 0.7rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-weight: 600 !important;
    margin-bottom: 0.4rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    line-height: 1.2 !important;
}

.ir-stat-label i {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.ir-stat-value {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: white !important;
    font-variant-numeric: tabular-nums !important;
    line-height: 1.2 !important;
}

.ir-stat-value small {
    font-size: 0.7rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500 !important;
    margin-left: 0.2rem !important;
}


/* ────────────────────────────────────────────────────────────
 *  IR QUOTE META — Footer info
 * ──────────────────────────────────────────────────────────── */

.ir-quote-meta {
    margin-top: 1.25rem !important;
    padding-top: 1rem !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.78rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    align-items: center !important;
}

.ir-quote-meta i {
    margin-right: 0.25rem !important;
}
/* ════════════════════════════════════════════════════════
 * NEWS + IR CONTACT — equal height row
 * (Append ke ujung public/assets/css/polish.css)
 *
 * Kerja:
 * - Bootstrap row dengan flex stretch (default) bikin kedua kolom sama tinggi
 *   pada lg breakpoint ke atas
 * - Kolom kiri: flex-column, news-list flex-1 + overflow-y auto → scroll
 *   internal otomatis kalau content > tinggi natural kanan
 * - Kanan: card biasa (tinggi natural), jadi reference height
 * - Mobile (< lg): row berubah jadi stack vertikal, scroll dimatikan
 *   dan max-height fallback 70vh agar tidak ada double scroll
 * ════════════════════════════════════════════════════════ */

@media (min-width: 992px) {
    .ir-news-contact-row {
        align-items: stretch;
    }

    .ir-news-scroll {
        flex: 1 1 auto;
        min-height: 0;          /* critical: izinkan flex item shrink di bawah content */
        overflow-y: auto;
        padding-right: 0.5rem;  /* space untuk scrollbar */

        /* Custom scrollbar yang subtle */
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 72, 153, 0.25) transparent;
    }
    .ir-news-scroll::-webkit-scrollbar {
        width: 6px;
    }
    .ir-news-scroll::-webkit-scrollbar-track {
        background: transparent;
    }
    .ir-news-scroll::-webkit-scrollbar-thumb {
        background: rgba(0, 72, 153, 0.2);
        border-radius: 3px;
    }
    .ir-news-scroll::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 72, 153, 0.4);
    }

    /* IR contact card tidak butuh stretch — dia jadi reference height */
    .ir-contact-card {
        align-self: flex-start;
    }
}

/* Mobile: stack vertikal, scroll internal dimatikan supaya
   user pakai scroll halaman normal, capped di 70vh untuk safety */
@media (max-width: 991.98px) {
    .ir-news-scroll {
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* Hover card animasi tetap (kalau belum ada) */
.hover-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hover-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 72, 153, 0.08) !important;
}
/* ════════════════════════════════════════════════════════
 * NEWS + IR CONTACT — equal height, scoped class
 * (Append ke ujung public/assets/css/polish.css)
 *
 * Pakai class `home-*` yang unik supaya tidak bentrok dengan
 * .ir-contact-card / .news-list / .news-latest-container yang
 * sudah dipakai di tempat lain di polish.css existing.
 *
 * Strategi equal-height:
 * 1. Row: align-items stretch (default Bootstrap), kedua kolom sama tinggi
 *    pada lg breakpoint ke atas
 * 2. Kolom kiri: flex-column. .home-news-scroll dengan flex:1 + min-height:0
 *    + overflow-y:auto → mengisi tinggi yang tersedia dari sibling kanan
 * 3. Kolom kanan: card tinggi natural, jadi reference. align-self
 *    flex-start supaya tidak ke-stretch
 * ════════════════════════════════════════════════════════ */

/* ─── Equal height row (desktop) ─────────────────── */
@media (min-width: 992px) {
    .home-news-row {
        align-items: stretch;
    }

    .home-news-col,
    .home-contact-col {
        min-height: 0;  /* izinkan shrink */
    }

    .home-news-scroll {
        flex: 1 1 auto;
        min-height: 0;       /* CRITICAL untuk flex overflow bekerja */
        overflow-y: auto;
        padding-right: 0.5rem;

        /* Custom scrollbar tipis */
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 72, 153, 0.25) transparent;
    }
    .home-news-scroll::-webkit-scrollbar { width: 6px; }
    .home-news-scroll::-webkit-scrollbar-track { background: transparent; }
    .home-news-scroll::-webkit-scrollbar-thumb {
        background: rgba(0, 72, 153, 0.2);
        border-radius: 3px;
    }
    .home-news-scroll::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 72, 153, 0.4);
    }

    /* IR contact card: tinggi natural sebagai reference */
    .home-contact-card {
        align-self: flex-start;
    }
}

/* Mobile: stack vertikal, news scroll capped */
@media (max-width: 991.98px) {
    .home-news-scroll {
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* ─── News item (clean, no ghost shadows) ────────── */
.home-news-item {
    background: #fff;
    border: 1px solid rgba(0, 72, 153, 0.08);
    border-radius: 0.625rem;
    margin-bottom: 0.85rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.home-news-item:last-child { margin-bottom: 0; }
.home-news-item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 158, 227, 0.3);
    box-shadow: 0 6px 14px rgba(0, 72, 153, 0.06);
}

.home-news-item-body {
    padding: 1rem 1.1rem;
}

.home-news-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}
.home-news-title a {
    color: #1a1a1a;
}
.home-news-title a:hover {
    color: #004899;
}

/* Empty state news */
.home-news-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    background: #fff;
    border: 2px dashed rgba(0, 72, 153, 0.15);
    border-radius: 0.75rem;
}
.home-news-empty .empty-icon {
    font-size: 2.5rem;
    color: rgba(0, 72, 153, 0.25);
    margin-bottom: 0.5rem;
}
.home-news-empty .empty-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
}
.home-news-empty .empty-message {
    color: #6e6e75;
    font-size: 0.875rem;
    margin: 0;
}

/* ─── Contact card (clean, no double border) ─────── */
.home-contact-card {
    background: #fff;
    border: 1px solid rgba(0, 72, 153, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 72, 153, 0.06);
}

.home-contact-header {
    background: linear-gradient(135deg, #004899 0%, #009ee3 100%);
    color: #fff;
    padding: 1rem 1.25rem;
}
.home-contact-header h5 {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.home-contact-body {
    padding: 1.25rem;
}

.home-contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.home-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.home-contact-row > i {
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.home-contact-row > div {
    flex: 1;
    min-width: 0;       /* allow text-break */
    word-break: break-word;
}
.home-contact-row small {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.home-contact-cta {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 72, 153, 0.08);
}

/* Override v1/v2 yang flex-based: pakai height fix */
@media (min-width: 992px) {
    .home-news-scroll {
        flex: none !important;        /* matikan flex, pakai height eksplisit */
        max-height: 420px;            /* tinggi tetap, kira-kira match Kontak IR */
        overflow-y: auto;

        /* Custom scrollbar tetap */
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 72, 153, 0.25) transparent;
        padding-right: 0.5rem;
    }
}

/* Untuk layar lebih besar (>= 1400px), boleh sedikit lebih tinggi */
@media (min-width: 1400px) {
    .home-news-scroll {
        max-height: 420px;
    }
}

/* Mobile tetap seperti sebelumnya */
@media (max-width: 991.98px) {
    .home-news-scroll {
        max-height: 70vh;
        overflow-y: auto;
    }
}
