/* ── Tokens ──────────────────────────────────────────────────────────────────*/
:root {
    --c-primary:   #009fcd;
    --c-primary-d: #0077a0;
    --c-teal:      #01556d;
    --c-light-b:   #a6dbed;
    --c-link:      #009fcd;
    --c-text:      #222;
    --c-muted:     #666;
    --c-border:    #e8edf0;
    --c-bg:        #f0f5f8;
    --c-card:      #ffffff;
    --radius-sm:   8px;
    --radius:      12px;
    --radius-lg:   16px;
    --shadow-sm:   0 1px 4px rgba(0,85,109,.07);
    --shadow:      0 4px 16px rgba(0,85,109,.10);
    --shadow-lg:   0 8px 32px rgba(0,85,109,.14);
    --site-width:  1240px;
    --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Reset / base ────────────────────────────────────────────────────────────*/
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--c-text);
    background: linear-gradient(170deg, #daeef8 0%, #b0d9f2 35%, #7bbfe9 70%, #44a9de 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--c-link); }
a:hover { color: var(--c-primary-d); }

/* ── Fixed-width content frame (1240 px centered) ───────────────────────────*/
.site-frame {
    max-width: var(--site-width);
    margin: 0 auto;
    width: 100%;
    background: transparent;
    flex: 1;
}

/* Main content area — breathing room around panels */
.site-frame main {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Bootstrap container — full width inside frame */
.site-frame .container,
.site-frame .container-fluid {
    max-width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Topbar, navbar, footer inner content aligned to site-width */
.topbar .container,
.site-navbar .container,
.site-footer .container {
    max-width: var(--site-width);
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ── Content panels (float on gradient background) ───────────────────────────*/
.s-panel {
    background: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin: 0 1rem 1.25rem;
    overflow: hidden;
}
@media (max-width: 576px) {
    .s-panel { margin: 0 0.5rem 1rem; border-radius: 14px; }
}
.sec-head {
    display: flex;
    align-items: center;
    padding: 16px 20px 12px;
}
.sec-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-teal);
    display: flex;
    align-items: center;
}
.sec-link {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-primary);
    text-decoration: none;
    white-space: nowrap;
}
.sec-link:hover { color: var(--c-teal); text-decoration: underline; }
.newsletter-panel {
    background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-primary) 100%);
}

/* ── Top bar ─────────────────────────────────────────────────────────────────*/
.topbar {
    font-size: 12px;
    background: rgba(0, 80, 130, 0.22) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,.18) !important;
}
.topbar a { color: rgba(255,255,255,.7) !important; text-decoration: none; }
.topbar a:hover { color: #fff !important; }

/* ── Navbar ──────────────────────────────────────────────────────────────────*/
.site-navbar {
    background: #fff;
    border-bottom: 2px solid var(--c-primary);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 28px rgba(0,0,0,.20);
}
.site-navbar .container {
    display: flex;
    align-items: center;
    height: 60px;
    gap: 0;
}
.site-navbar .navbar-brand {
    padding: 0;
    margin-right: 2rem;
    flex-shrink: 0;
}
.site-navbar .navbar-brand img {
    height: 42px;
    width: auto;
}
.site-navbar .nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    flex: 1;
    gap: 0;
}
.site-navbar .nav-links > li {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}
.site-navbar .nav-links > li > a,
.site-navbar .nav-links > li > button {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text) !important;
    text-decoration: none;
    border: none;
    background: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .15s;
    gap: 4px;
}
.site-navbar .nav-links > li > a:hover,
.site-navbar .nav-links > li > button:hover,
.site-navbar .nav-links > li > a.active {
    color: var(--c-primary) !important;
}
.site-navbar .nav-links > li > a.active::after,
.site-navbar .nav-links > li > a:hover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--c-primary);
}

/* Dropdown */
.site-navbar .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--c-border);
    border-top: 2px solid var(--c-primary);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow);
    min-width: 200px;
    display: none;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    z-index: 100;
}
.site-navbar .nav-links > li:hover .nav-dropdown { display: block; }
.site-navbar .nav-dropdown li a {
    display: block;
    padding: 9px 20px;
    font-size: 14px;
    color: var(--c-text) !important;
    text-decoration: none;
    transition: background .1s, color .1s;
}
.site-navbar .nav-dropdown li a:hover {
    background: #f0f8fb;
    color: var(--c-primary) !important;
}

/* Right side of navbar */
.site-navbar .nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* Mobile hamburger */
.site-navbar .nav-toggler {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--c-teal);
    cursor: pointer;
    margin-left: auto;
}

@media (max-width: 991px) {
    .site-navbar .nav-links,
    .site-navbar .nav-right { display: none; }
    .site-navbar .nav-toggler { display: block; }
    .site-navbar.open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px; left: 0; right: 0;
        background: #fff;
        border-bottom: 2px solid var(--c-primary);
        height: auto;
        padding: 8px 0;
        box-shadow: var(--shadow);
    }
    .site-navbar.open .nav-links > li { height: auto; }
    .site-navbar.open .nav-links > li > a,
    .site-navbar.open .nav-links > li > button { padding: 12px 24px; }
    .site-navbar.open .nav-right { display: flex; padding: 8px 24px 16px; }
    .site-navbar.open .nav-dropdown { position: static; display: block; box-shadow: none; border: none; padding-left: 16px; }
}

/* ── Buttons ─────────────────────────────────────────────────────────────────*/
.btn-primary {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 10px 24px;
    transition: background .2s, box-shadow .2s;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--c-primary-d);
    border-color: var(--c-primary-d);
    box-shadow: 0 4px 12px rgba(0,159,205,.35);
}
.btn-outline-primary {
    border-color: var(--c-primary);
    color: var(--c-primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.btn-outline-primary:hover {
    background: var(--c-primary);
    border-color: var(--c-primary);
}
.btn-outline-secondary {
    border-color: var(--c-border);
    color: var(--c-muted);
    border-radius: var(--radius-sm);
}
.btn-outline-secondary:hover {
    background: #f0f5f8;
    color: var(--c-teal);
    border-color: var(--c-light-b);
}
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-light {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.3);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.btn-light:hover { background: rgba(255,255,255,.25); color: #fff; }

/* ── Cards ───────────────────────────────────────────────────────────────────*/
.card {
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s;
    background: var(--c-card);
    overflow: hidden;
}
.card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.card-header {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
    border-bottom: none;
    font-weight: 600;
}
.card-footer {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
    border-top: 1px solid var(--c-border);
    background: #fafcfe !important;
}

/* ── Page hero ───────────────────────────────────────────────────────────────*/
.page-hero {
    background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-primary) 100%);
    color: #fff;
    padding: 2rem 0 1.75rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute; right: -60px; top: -60px;
    width: 260px; height: 260px; border-radius: 50%;
    background: rgba(255,255,255,.06); pointer-events: none;
}
.page-hero::after {
    content: "";
    position: absolute; right: 60px; bottom: -80px;
    width: 180px; height: 180px; border-radius: 50%;
    background: rgba(255,255,255,.04); pointer-events: none;
}
.page-hero h1 { font-weight: 700; font-size: 1.7rem; margin-bottom: 4px; }
.page-hero p  { margin-bottom: 0; opacity: .75; font-size: 14px; }

/* ── Filter chips ────────────────────────────────────────────────────────────*/
.filter-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--c-teal); margin-bottom: 8px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-select {
    appearance: none; -webkit-appearance: none;
    padding: 7px 36px 7px 16px; border-radius: 20px;
    border: 1.5px solid var(--c-border);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2301556d' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 14px center;
    font-size: 13px; font-weight: 600; color: #444;
    cursor: pointer; transition: border-color .15s; min-width: 150px;
}
.filter-select:focus { outline: none; border-color: var(--c-primary); }
.filter-select:hover { border-color: var(--c-primary); }
.filter-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px; border-radius: 20px;
    font-size: 13px; font-weight: 600;
    border: 1.5px solid var(--c-border);
    background: #fff; color: #6c757d;
    cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.filter-chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-chip.active { border-color: var(--c-primary); background: var(--c-primary); color: #fff; }
.filter-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px;
    font-size: 11px; font-weight: 700; background: rgba(0,0,0,.08);
}
.filter-chip.active .filter-count { background: rgba(255,255,255,.25); }

/* ── Report list cards ───────────────────────────────────────────────────────*/
.rep-card {
    border-radius: 14px; overflow: hidden;
    background: #fff; border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: transform .2s; height: 100%;
}
.rep-card:hover { transform: translateY(-3px); }
.rep-card-cover { aspect-ratio: 4/3; overflow: hidden; }
.rep-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.rep-card:hover .rep-card-cover img { transform: scale(1.04); }
.rep-card-cover-ph {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-primary) 100%);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.3); font-size: 3.5rem;
}
.rep-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.rep-badge {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
    background: #e8f4f9; color: var(--c-primary);
    margin-bottom: 10px; align-self: flex-start;
}
.rep-card-title { font-size: 15px; font-weight: 700; color: #1a222e; line-height: 1.35; margin-bottom: 8px; flex: 1; }
.rep-card-desc {
    font-size: 13px; color: #6c757d; line-height: 1.5; margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rep-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto; padding-top: 12px; border-top: 1px solid var(--c-border);
}
.rep-price { font-size: 17px; font-weight: 800; color: var(--c-teal); }
.rep-meta { font-size: 11px; color: #a0a8b4; margin-top: 2px; }
.rep-btn {
    width: 36px; height: 36px; border-radius: 50%; border: none;
    background: var(--c-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; cursor: pointer; transition: background .2s; flex-shrink: 0;
}
.rep-btn:hover { background: var(--c-teal); }


/* ── Feature icons ───────────────────────────────────────────────────────────*/
.feature-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

/* ── List groups ─────────────────────────────────────────────────────────────*/
.list-group-item {
    border-color: var(--c-border);
    font-size: 14px;
}
.list-group-item-action:hover {
    background: #f0f8fb;
    color: var(--c-primary) !important;
}

/* ── Tables ──────────────────────────────────────────────────────────────────*/
.table th { background: #f0f8fb; font-weight: 600; color: var(--c-teal); }
.table td, .table th { border-color: var(--c-border); }

/* ── Forms ───────────────────────────────────────────────────────────────────*/
.form-control, .form-select {
    border-color: var(--c-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(0,159,205,.15);
}

/* ── Auth ────────────────────────────────────────────────────────────────────*/
.auth-card { max-width: 440px; margin: 3rem auto; }

/* ── Article body ────────────────────────────────────────────────────────────*/
.article-body { line-height: 1.8; font-size: 15px; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); object-fit: contain; }
.article-body h2, .article-body h3 { color: var(--c-teal); margin-top: 2rem; }

/* ── Admin sidebar ───────────────────────────────────────────────────────────*/
.admin-sidebar .nav-link {
    border-radius: var(--radius-sm);
    color: var(--c-text);
    font-weight: 500;
    padding: .45rem .9rem;
    transition: background .15s;
}
.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover {
    background: var(--c-primary);
    color: #fff !important;
}

/* ── Footer ─────────────────────────────────────────────────*/
.site-footer {
    background: #010e1a;
    color: rgba(255,255,255,.7);
}
.footer-logo img {
    height: 38px;
    filter: brightness(0) invert(1) opacity(.85);
}
.footer-desc {
    font-size: 13px;
    color: rgba(255,255,255,.42);
    line-height: 1.65;
}
.footer-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: rgba(255,255,255,.32);
    margin-bottom: 1rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,.62);
    text-decoration: none;
    transition: color .15s;
}
.footer-links a:hover { color: #fff; }
.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: 17px;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}
.footer-social a:hover {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
}
.footer-contact {
    font-size: 13px;
    color: rgba(255,255,255,.42);
    line-height: 1.9;
}
.footer-contact i { color: rgba(0,159,205,.65); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 1.25rem 0;
}
.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,.26);
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-bottom-links a {
    font-size: 12px;
    color: rgba(255,255,255,.26);
    text-decoration: none;
    transition: color .15s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.65); }

/* ── Main Articles block ─────────────────────────────────────────────────────*/
.main-art-featured {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-border);
    height: 100%;
    transition: box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.main-art-featured:hover { box-shadow: var(--shadow); }
.main-art-cover { flex-shrink: 0; }
.main-art-cover img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}
.main-art-no-cover {
    height: 230px;
    background: linear-gradient(135deg, #daeef8 0%, #afd6ef 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    color: var(--c-primary);
    opacity: .55;
}
.main-art-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.main-art-meta {
    font-size: 12px;
    color: var(--c-muted);
    margin-bottom: 0.5rem;
}
.main-art-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.main-art-desc {
    font-size: 13px;
    color: var(--c-muted);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}
.main-art-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-primary);
    margin-top: auto;
}
.main-art-item {
    display: flex;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-border);
    text-decoration: none;
    transition: box-shadow .15s, background .15s;
}
.main-art-item:hover {
    background: #f5fbfe;
    box-shadow: var(--shadow-sm);
}
.main-art-item-thumb {
    flex-shrink: 0;
    width: 84px; height: 68px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(135deg, #daeef8 0%, #afd6ef 100%);
    display: flex; align-items: center; justify-content: center;
    color: var(--c-primary);
    font-size: 1.5rem;
    opacity: .7;
}
.main-art-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.main-art-item-body { flex: 1; min-width: 0; }
.main-art-item-meta { font-size: 11px; color: var(--c-muted); margin-bottom: 0.3rem; }
.main-art-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    margin: 0 0 0.3rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.main-art-item-desc {
    font-size: 12px;
    color: var(--c-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Article cards  ─────────────────────────────*/
.art-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .2s;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
}
.art-card:hover { transform: translateY(-3px); }
.art-card-cover { aspect-ratio: 16/9; overflow: hidden; flex-shrink: 0; }
.art-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.art-card:hover .art-card-cover img { transform: scale(1.04); }
.art-card-cover-ph {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #daeef8 0%, #b0d9f2 100%);
    display: flex; align-items: center; justify-content: center;
    color: var(--c-primary); font-size: 2.5rem; flex-shrink: 0;
}
.art-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.art-card-meta { font-size: 11px; color: #a0a8b4; margin-bottom: 8px; }
.art-card-title { font-size: 15px; font-weight: 700; line-height: 1.35; color: #1a222e; margin-bottom: 8px; }
.art-card-title a { color: inherit; text-decoration: none; }
.art-card:hover .art-card-title a { color: var(--c-primary); }
.art-card-desc { font-size: 13px; color: #6c757d; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Uniform inner-card style ────────────────────────────────────────────────*/
.s-panel .card {
    border-color: var(--c-border);
    box-shadow: var(--shadow-sm);
    background: #fff;
}
.s-panel .list-group-item {
    border-left: none;
    border-right: none;
    border-color: transparent;
}

/* ── Cover images (news + report) ────────────────────────────────────────────*/
.news-thumb { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; flex-shrink: 0; display: block; }
.news-thumb-ph {
    width: 72px; height: 54px; border-radius: 6px; flex-shrink: 0;
    background: #e8f4f9; display: flex; align-items: center; justify-content: center;
    color: var(--c-primary); font-size: 1.3rem;
}
.rsc2-cover-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; opacity: .7;
}

/* ── Alerts ──────────────────────────────────────────────────────────────────*/
.alert { border-radius: 0; border-left: none; border-right: none; border-top: none; }

/* ── Badges ──────────────────────────────────────────────────────────────────*/
.badge.bg-primary { background: var(--c-primary) !important; }
.badge.bg-secondary { background: #8fa8b4 !important; }

/* ── Report Slider ───────────────────────────────────────────────────────────*/
.rslider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    padding: 4px 44px 16px;
    background: transparent;
}
.rslider-viewport {
    overflow-x: hidden;
    overflow-y: visible;
    flex: 1;
    background: transparent;
    box-shadow: none;
    padding-block: 8px;
    margin-block: -8px;
}
.rslider-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 4px 0 8px;
    gap: 12px;
    position: relative;
    left: 0;
    transition: left 0.3s ease;
    width: max-content;
}

/* Report card v2 */
.rsc2-card {
    flex-shrink: 0;
    width: 175px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
    transition: transform .2s;
}
.rsc2-card:hover {
    transform: translateY(-3px);
}
.rsc2-visual {
    height: 100px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px 12px;
    overflow: hidden;
}
.rsc2-bg-icon {
    position: absolute;
    right: -10px;
    top: 4px;
    font-size: 5rem;
    color: rgba(255,255,255,.15);
    pointer-events: none;
    line-height: 1;
}
.rsc2-period {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,.25);
    line-height: 1.3;
}
.rsc2-body {
    padding: 10px 12px;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.rsc2-thema {
    font-size: 11px;
    font-weight: 700;
    color: var(--c-teal);
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1.35;
    flex: 1;
    text-decoration: none;
}
.rsc2-thema:hover { color: var(--c-primary); }
.rsc2-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}
.rsc2-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-teal);
}
.rsc2-btn {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    text-decoration: none;
    transition: background .15s;
    flex-shrink: 0;
}
.rsc2-btn:hover { background: var(--c-teal); color: #fff; }

/* Gradient colour variants for cards */
.rsc2-g0 { background: linear-gradient(135deg, #01556d 0%, #009fcd 100%); }
.rsc2-g1 { background: linear-gradient(135deg, #1a6ea8 0%, #42b8e8 100%); }
.rsc2-g2 { background: linear-gradient(135deg, #005f73 0%, #0a9396 100%); }
.rsc2-g3 { background: linear-gradient(135deg, #023e8a 0%, #0096c7 100%); }

/* Slider arrows */
.rslider-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 10;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid #b8d8e8;
    background: #fff;
    color: var(--c-teal);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background .15s, color .15s;
    padding: 0;
    font-size: 13px;
}
.rslider-arrow:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.rslider-arrow-left  { left: 6px; }
.rslider-arrow-right { right: 6px; }

/* ── Dashboard ───────────────────────────────────────────────────────────────*/
.dash-kpi {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s;
}
.dash-kpi:hover { box-shadow: var(--shadow); }
.dash-kpi-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.dash-kpi-val   { font-size: 1.5rem; font-weight: 700; color: var(--c-teal); line-height: 1.1; }
.dash-kpi-label { font-size: 11px; color: var(--c-muted); margin: 3px 0 2px; }
.dash-kpi-delta { font-size: 11px; font-weight: 600; color: var(--c-muted); }
.dash-kpi-delta.up   { color: #1a9e5c; }
.dash-kpi-delta.down { color: #d63031; }

.dash-card {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.dash-card-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--c-teal);
    padding: 10px 16px;
}
.dash-card-body { padding: 16px; }
.dash-bar-track {
    height: 8px;
    background: #e8f0f4;
    border-radius: 4px;
    overflow: hidden;
}
.dash-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width .6s ease;
}
.dash-dot {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Cart badge ──────────────────────────────────────────────────────────────*/
.cart-badge {
    position: absolute; top: -7px; right: -7px;
    min-width: 18px; height: 18px; padding: 0 4px;
    background: #e74c3c; color: #fff; border-radius: 9px;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--c-primary); pointer-events: none;
}
@keyframes cartBump {
    0%,100% { transform: scale(1); }
    40%      { transform: scale(1.25); }
    70%      { transform: scale(.93); }
}
.cart-bump { animation: cartBump .4s ease; }

/* ── Cart overlay ────────────────────────────────────────────────────────────*/
.cart-overlay {
    position: fixed; inset: 0;
    background: rgba(1,85,109,.35);
    z-index: 1040; opacity: 0; pointer-events: none;
    transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

/* ── Cart drawer ─────────────────────────────────────────────────────────────*/
.cart-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 400px; max-width: 100vw;
    background: #fff; z-index: 1050;
    box-shadow: -4px 0 32px rgba(1,85,109,.15);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-head {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 20px; border-bottom: 1px solid var(--c-border); flex-shrink: 0;
}
.cart-drawer-head h5 { margin: 0; font-size: 17px; font-weight: 700; color: var(--c-teal); flex: 1; }
.cart-drawer-close {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--c-border); background: #fff;
    color: var(--c-teal); display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 18px; transition: background .15s; flex-shrink: 0;
}
.cart-drawer-close:hover { background: #f2f5f8; }

.cart-drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }

.cart-drawer-empty { text-align: center; padding: 48px 0; color: #a0a8b4; }
.cart-drawer-empty i { font-size: 3rem; display: block; margin-bottom: 12px; color: #c8d6de; }

.cart-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 0; border-bottom: 1px solid var(--c-border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: #eef2f6;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; color: #1a222e; line-height: 1.4; margin-bottom: 2px; }
.cart-item-meta { font-size: 11px; color: #a0a8b4; margin-bottom: 4px; }
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--c-teal); }
.cart-item-del {
    width: 30px; height: 30px; border-radius: 50%; border: none; background: transparent;
    color: #b0bec5; cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0; transition: color .15s, background .15s;
}
.cart-item-del:hover { color: #e74c3c; background: #ffeaea; }

.cart-drawer-foot {
    padding: 16px 20px; border-top: 1px solid var(--c-border); flex-shrink: 0; background: #f8fbfd;
}
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total-label { font-size: 13px; color: #6c757d; }
.cart-total-val   { font-size: 22px; font-weight: 800; color: var(--c-teal); }

/* ── Fly-to-cart dot ─────────────────────────────────────────────────────────*/
.fly-dot {
    position: fixed; width: 20px; height: 20px; border-radius: 50%;
    background: var(--c-primary); pointer-events: none; z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,159,205,.6);
    transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .6s .05s;
}
