body { background-color: #eef1f5; font-family: system-ui, sans-serif; }
    .navbar { background: #13335c; }
    .navbar-brand, .nav-link, .navbar-text { color: #fff !important; }
    .hero { background: linear-gradient(135deg, #13335c, #2f5d8f);
            color: #fff; padding: 2.5rem 1rem; border-bottom: 4px solid #ffdd00; }
    .section-title { font-weight: 600; border-left: 0px solid #2f5d8f; padding-left: 0px; }
    .chart-card {
        background: #ffffff;
        border-radius: 0.5rem;
        padding: 1.5rem;
        box-shadow: 0 3px 10px rgba(0,0,0,0.2);
        min-height: 270px;
        transition: transform .15s ease, box-shadow .15s ease;
    }

.icon-circle {
    width: 32px;
    height: 32px;
    background: #2f5d8f;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 1;
    flex-shrink: 0; 
}

    footer { background: #13335c; padding: 1.2rem; text-align: center; color: #fff; margin-top: 3rem; }
    canvas { width: 100% !important; }
    .custom-left-trim {
    border: none;
    border-left: 4px solid #13335c;
    border-radius: 0;
}

.icon-accent {
    color: #13335c;
}

.nav-tabs {
    border-bottom: 2px solid #e3e6ea;
}

.nav-tabs .nav-link {
    background: #ffffff;
    border: 1px solid #e3e6ea;
    border-bottom: none;
    color: #2f5d8f !important;
    margin-right: 6px;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    background: #f8f9fb;
}

.nav-tabs .nav-link.active {
    background: #2f5d8f;
    color: #fff !important;
    border-color: #2f5d8f #2f5d8f #fff;
    position: relative;
    z-index: 2;
}

.nav-tabs .nav-link.active {
    box-shadow: 0 -2px 6px rgba(0,0,0,0.08);
}

button[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}
.fa-chevron-down {
    transition: transform 0.2s ease;
}

#news-feed {
    max-height: 200px;   
    overflow-y: auto;
    padding-right: 4px; 
    font-size: 0.9em;   
}

.news-item {
    font-size: 1em; 
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    transition: background 0.15s ease;
}

.news-item:last-child {
    border-bottom: none !important;
}

.news-item a {
    color: #2a4a73;
    display: block;
    line-height: 1.3;
}

.news-item a:hover {
    text-decoration: underline;
}

.news-item .small {
    font-size: 0.9em;
    opacity: 0.8;
}

.news-item:hover {
    background: #f8f9fb;
    border-radius: 4px;

}

.chart-note {
    font-size: 0.85rem;
    text-align: left;
    padding: 0.75rem 0.9rem;
}

.nav-tabs {
    margin-bottom: 0 !important;
    border: 0;
}

.nav-tabs .nav-link {
    position: relative;
    top: 1px;

    border: none;
    border-radius: 0.6rem 0.6rem 0 0;

    padding: 0.6rem 1rem;
    background: #f3f5f8;
    color: #2f5d8f !important;

    transition: background 0.15s ease, color 0.15s ease;
    background-clip: padding-box;
}


.nav-tabs .nav-link:hover {
    background: #e9edf3;
    color: #13335c !important;
}


.nav-tabs .nav-link.active {
    background: #ffffff;
    color: #13335c !important;
    z-index: 5;
    box-shadow: none;
    font-weight: bold;
}


.tab-content {
    margin-top: 2px;
    padding: 1.5rem;

    background: #ffffff;
    border-radius: 0 0 0.75rem 0.75rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}



.ts-control {
    font-size: 1.2rem;
    line-height: 1.2;
    min-height: 58px;
    padding: 0.6rem 0.9rem;
    border-radius: 0.5rem;
    border: 1px solid #ced4da;
    background-color: #fff;
    display: flex;
    align-items: center;
}


.ts-control .item {
    font-size: 1.2rem;
    line-height: 1.2;
}


.ts-control input {
    font-size: 1.2rem !important;
    line-height: 1.2;
}


.ts-control input::placeholder {
    color: #6c757d;
    opacity: 0.8;
}


.ts-control.focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}


.ts-dropdown {
    font-size: 1.1rem;
    border-radius: 0.5rem;
    border: 1px solid #ced4da;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    margin-top: 4px;
}


.ts-dropdown .option {
    padding: 0.6rem 0.9rem;
    font-size: 1.1rem;
    cursor: pointer;
}


.ts-dropdown .option.active {

}


.ts-dropdown .option:hover {

}


.ts-wrapper.single {
    width: 100%;
}


.ts-control > input {
    margin: 0;
}



.form-select {
    background-color: #ccc;
    border: none;
}

@media (max-width: 576px) {
    .ts-control {
        font-size: 1.15rem;
        min-height: 54px;
    }
}


.chart-loading {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: #13335c;
}


.chart-card {
    position: relative;
}

.small-text {
    font-size: 0.9rem;
}

.chart-highlight {
    box-shadow:
        0 0 0 3px rgba(34, 79, 133, 0.4),
        0 0 20px rgba(34, 79, 133, 0.15),
        0 12px 28px rgba(34, 79, 133, 0.18),
        0 6px 16px rgba(0,0,0,0.12);

    transform: translateY(-3px);
    transition: all 0.3s ease;
}

.share-chart-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-size: 0.8rem;
    padding: 4px 10px;

    border-radius: 20px;
    border: 1px solid rgba(34, 79, 133, 0.2);

    background: rgba(34, 79, 133, 0.05);
    color: #2f5d8f;

    cursor: pointer;
    transition: all 0.2s ease;
}

.share-chart-btn i {
    font-size: 0.75rem;
    opacity: 0.8;
}


.share-chart-btn:hover {
    background: rgba(34, 79, 133, 0.12);
    border-color: rgba(34, 79, 133, 0.35);
}


.share-chart-btn.copied {
    background: #d1e7dd;
    border-color: #badbcc;
    color: #0f5132;
}

.site-footer {
    background: #13335c;
    color: #fff;
    padding: 1.5rem 0;
    border-top: 4px solid #ffdd00;
    font-size: 0.9rem;
}

.site-footer .text-muted {
    color: rgba(255,255,255,0.7) !important;
}

.site-footer .footer-link {
    color: #ffdd00;
    text-decoration: none;
}

.site-footer .footer-link:hover {
    text-decoration: underline;
}

.navbar-police {
    background: #13335c;
    z-index: 1020;
    position: sticky;
    top: 0;
}


.navbar-police::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #e6b800;

    opacity: 0;
    transition: opacity 0.15s ease;
}


.navbar-police.scrolled::after {
    opacity: 1;
}

.select-prompt {
    background: #ffffff;
    border: 2px solid rgba(230, 184, 0, 0.4);
    border-radius: 0.5rem;
    padding: 1.2rem 1.5rem;

    box-shadow: 0 6px 18px rgba(0,0,0,0.08);

    color: #13335c;
}

.select-prompt i {
    color: #e6b800;
    font-size: 1.1rem;
}
