
:root {
    --app-bg: #f3f5fb;
    --sidebar-bg: #102a72;
    --sidebar-bg-2: #0c225d;
    --primary: #2f63ff;
    --success: #22b573;
    --purple: #7657ff;
    --amber: #f4a62a;
    --text-main: #14213d;
    --text-soft: #6b7280;
    --card-bg: #ffffff;
    --border-soft: #e9edf6;
}

body { font-size: 0.95rem; color: var(--text-main); background: var(--app-bg); }
a { text-decoration: none; }
.card { border-radius: 1rem; }
.table th { white-space: nowrap; }
.form-control, .form-select { border-radius: 0.9rem; padding: 0.75rem 0.9rem; border-color: #d8dfef; }
.form-control:focus, .form-select:focus { box-shadow: 0 0 0 0.2rem rgba(47,99,255,0.12); border-color: var(--primary); }
.btn { border-radius: 0.9rem; padding-inline: 1rem; }
.btn-primary { background: var(--primary); border-color: var(--primary); }

.app-body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #eef2fb 0%, #f7f8fc 100%);
}

.app-shell {
    min-height: 100vh;
    display: flex;
}

.app-sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-2) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    position: sticky;
    top: 0;
    min-height: 100vh;
}

.sidebar-brand {
    padding: 0.5rem 0.5rem 1.25rem;
}

.sidebar-brand-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.sidebar-brand-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.78);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.sidebar-link {
    color: rgba(255,255,255,0.86);
    padding: 0.8rem 0.9rem;
    border-radius: 0.95rem;
    display: block;
    transition: all 0.2s ease;
    font-weight: 500;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.sidebar-footer {
    margin-top: auto;
    padding: 1rem 0.5rem 0.25rem;
    color: rgba(255,255,255,0.9);
}

.sidebar-user-name {
    font-weight: 700;
}

.sidebar-user-role {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
}

.app-main {
    flex: 1;
    min-width: 0;
}

.app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 270px;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.app-main {
    margin-left: 270px;
    width: calc(100% - 270px);
}

.topbar {
    padding: 1.4rem 1.75rem 0.75rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.topbar-title {
    font-size: 1.35rem;
    font-weight: 800;
}

.topbar-subtitle {
    color: var(--text-soft);
}

.topbar-badge {
    background: #fff;
    color: var(--primary);
    border: 1px solid #dce5ff;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
}

.app-content {
    padding: 0 1.75rem 1.75rem;
}

.hero-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f6f8ff 100%);
    border: 1px solid #5f9ed5;
    border-radius: 1.5rem;
    padding: 1.35rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 12px 28px rgba(16, 42, 114, 0.05);
}

.section-chip {
    display: inline-block;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.section-chip-primary { background: #dce7ff; color: #1c4de0; }
.section-chip-secondary { background: #e8ddff; color: #6f43dd; }
.section-chip-success { background: #dbf7ea; color: #119a5d; }
.section-chip-warning { background: #ffedd0; color: #c67700; }

.page-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
}

.page-subtitle {
    color: #132f67;
    font-size: 1.05rem;
    font-weight: 550;
}

.filter-toggle-btn{
    border:1px solid #7fa2c7;
    background:transparent;
    color:#526b89;
    border-radius:999px;
    padding:5px 17px;
    font-size:.85rem;
    font-weight:400;
    line-height:1.2;
    box-shadow:none;
}

.filter-toggle-btn:hover,
.filter-toggle-btn:focus{
    background:rgba(255,255,255,.45);
    border-color:#619dd5;
    color:#123b80;
}

.filter-title { font-size: 1.1rem; font-weight: 650; color: #122e65; margin-bottom: 0.15rem; }

.metric-card {
    border-radius: 1.3rem;
    padding: 1.2rem 1.15rem;
    background: #fff;
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 28px rgba(16, 42, 114, 0.05);
}

.metric-card-blue { border-left: 6px solid #2f63ff; }
.metric-card-green { border-left: 6px solid #21b36d; }
.metric-card-purple { border-left: 6px solid #7657ff; }
.metric-card-amber { border-left: 6px solid #f4a62a; }

.metric-label {
    color: var(--text-soft);
    font-weight: 600;
    margin-bottom: 0.55rem;
}

.sidebar-logo {
    max-width: 210px;
    height: auto;
    display: block;
    border-radius: 16px;    
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.content-card {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: 1.45rem;
    padding: 1.25rem;
    box-shadow: 0 12px 28px rgba(16, 42, 114, 0.05);
}

.sub-card {
    background: #f9fbff;
    border: 1px solid #e8edf7;
    border-radius: 1.1rem;
    padding: 1rem;
    height: 100%;
}

.content-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.content-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.content-subtitle {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.mini-stat {
    background: #f8faff;
    border: 1px solid #e7ecf8;
    border-radius: 1rem;
    padding: 1rem;
    height: 100%;
}

.mini-stat-label {
    color: var(--text-soft);
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

.mini-stat-value {
    font-size: 1.65rem;
    font-weight: 800;
}

.mini-stat-value-sm {
    font-size: 1rem;
    line-height: 1.35;
}

.list-stats {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.list-stat-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    background: #f8faff;
    border: 1px solid #e7ecf8;
    border-radius: 0.95rem;
    padding: 0.85rem 0.95rem;
}

.app-table-wrap {
    background: #fff;
    border-radius: 1rem;
}

.app-table thead th {
    background: #f8faff;
    color: #50607e;
    border-bottom: 1px solid #e4eaf6;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.app-table td,
.app-table th {
    padding: 0.9rem 0.8rem;
    border-color: #edf1fa;
}

.soft-badge,
.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: #eef3ff;
    color: #3157cc;
    font-size: 0.82rem;
    font-weight: 700;
}

.profile-badge {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dce7ff 0%, #cfdcff 100%);
    color: #2954dc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.info-grid > div {
    background: #f8faff;
    border: 1px solid #e7ecf8;
    border-radius: 1rem;
    padding: 0.9rem;
}

.info-grid span {
    display: block;
    color: var(--text-soft);
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
}

.info-grid strong {
    display: block;
    font-size: 0.96rem;
}

.app-tabs {
    gap: 0.6rem;
}

.app-tabs .nav-link {
    border-radius: 999px;
    border: 1px solid #dfe7fb;
    color: #53637f;
    font-weight: 700;
    background: #fff;
}

.app-tabs .nav-link.active {
    background: #2f63ff;
    color: #fff;
    border-color: #2f63ff;
}

.note-box {
    background: #f8faff;
    border: 1px solid #e7ecf8;
    border-radius: 1rem;
    padding: 0.95rem;
    min-height: 72px;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.9rem;
    align-items: start;
}

.timeline-date {
    color: #50607e;
    font-weight: 700;
    font-size: 0.88rem;
    padding-top: 0.2rem;
}

.timeline-content {
    background: #f8faff;
    border: 1px solid #e7ecf8;
    border-radius: 1rem;
    padding: 0.9rem;
}

.alert-panel {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.alert-panel-title {
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.alert-item {
    display: block;
    background: #fff8ea;
    border: 1px solid #f6deb0;
    color: #7a5600;
    border-radius: 0.95rem;
    padding: 0.75rem 0.8rem;
}

.alert-item small {
    display: block;
    color: #9d770a;
    margin-top: 0.2rem;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background:
        radial-gradient(circle at top left, rgba(47,99,255,0.12), transparent 30%),
        linear-gradient(135deg, #eef3ff 0%, #f8faff 100%);
}

.login-page-inner {
    width: 100%;
    max-width: 520px;
}

.login-card {
    border-radius: 1.6rem;
}

.login-brand {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.toast-stack {
    position: fixed !important;
    right: 1.2rem !important;
    bottom: 1.2rem !important;
    left: auto !important;
    top: auto !important;
    z-index: 2000 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 0.75rem !important;
    width: 300px !important;
    max-width: calc(100vw - 2.4rem) !important;
    pointer-events: none;
}

.custom-toast {
    width: 300px !important;
    min-height: 113px !important;
    max-width: calc(100vw - 2.4rem) !important;
    background: #ffffff !important;
    color: #1f2937 !important;
    border-radius: 14px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
    overflow: hidden !important;
    padding: 0.9rem 0.95rem 0.7rem !important;
    position: relative !important;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(16px);
    animation: toast-enter 220ms ease forwards;
}

.custom-toast-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 0.45rem !important;
}

.custom-toast-title {
    font-weight: 700 !important;
    font-size: 0.98rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.custom-toast-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer !important;
}

.custom-toast-link:hover .custom-toast-body {
    text-decoration: underline;
}

.custom-toast-body {
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
    color: #374151 !important;
    margin-right: 1.5rem !important;
}

.custom-toast-close {
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    color: #6b7280 !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
    padding: 0 !important;
    cursor: pointer !important;
    flex: 0 0 auto;
}

.custom-toast-progress {
    margin-top: 0.7rem !important;
    height: 6px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    background: rgba(0, 0, 0, 0.08) !important;
}

.custom-toast-progress span {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    transform-origin: left center !important;
    animation: toast-progress 5000ms linear forwards !important;
    opacity: 0.9 !important;
}

.custom-toast-warning { border-left: 6px solid #f59e0b !important; }
.custom-toast-warning .custom-toast-progress span { background: #f59e0b !important; }

.custom-toast-info { border-left: 6px solid #2563eb !important; }
.custom-toast-info .custom-toast-progress span { background: #2563eb !important; }

.custom-toast-danger { border-left: 6px solid #dc2626 !important; }
.custom-toast-danger .custom-toast-progress span { background: #dc2626 !important; }

.custom-toast.is-hiding { animation: toast-exit 220ms ease forwards; }

@keyframes toast-enter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-exit {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(12px); }
}

@keyframes toast-progress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@media (max-width: 1200px) {
    .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .app-shell { flex-direction: column; }
    .app-sidebar {
        width: 100%;
        min-height: auto;
        position: relative;
    }
    .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
    .topbar,
    .app-content { padding-inline: 1rem; }
}

@media (max-width: 576px) {    
    .content-card,
    .metric-card { border-radius: 1rem; }
    .page-title { font-size: 1.55rem; }
    .timeline-item { grid-template-columns: 1fr; }
    .toast-stack {
        right: 0.75rem !important;
        bottom: 0.75rem !important;
        width: auto !important;
        max-width: calc(100vw - 1.5rem) !important;
    }
    .custom-toast {
        width: auto !important;
        min-height: 100px !important;
    }
}


.alert-box-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.alert-box {
    border-radius: 1rem;
    padding: 0.85rem;
    border: 1px solid #eee;
}

.alert-box-title {
    font-weight: 800;
    margin-bottom: 0.55rem;
    font-size: 0.92rem;
}

.alert-box-warning {
    background: #fff8ea;
    border-color: #f6deb0;
}

.alert-box-info {
    background: #eef5ff;
    border-color: #cfe0ff;
}

.alert-box-danger {
    background: #fff0f0;
    border-color: #f4c4c4;
}

.alert-item-info {
    background: #f8fbff;
    border-color: #dbe7ff;
    color: #2957c6;
}

.alert-item-danger {
    background: #fff8f8;
    border-color: #f1d1d1;
    color: #b42318;
}

.alert-item:hover {
    transform: translateY(-1px);
    transition: transform 0.15s ease;
}

.sidebar-link {
    position: relative;
    padding-left: 1rem;
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0.35rem;
    top: 50%;
    width: 0.35rem;
    height: 60%;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #ffffff;
}

.metric-card,
.content-card,
.sub-card,
.hero-panel {
    backdrop-filter: saturate(1.15);
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover {
    transform: translateY(-1px);
    transition: all 0.15s ease;
}


#tab-commentaires .timeline-content {
    background: #fffdf8;
    border-color: #efe3c7;
}


#tab-historique .timeline-content {
    background: #f7fbff;
    border-color: #dfeaf6;
}


.topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.global-search-form {
    min-width: 320px;
}

.global-search-form .form-control {
    min-width: 280px;
    background: #fff;
}

.quick-filters {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.quick-filter {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid #d8e2f6;
    background: #fff;
    color: #4f6287;
    font-weight: 700;
}

.quick-filter.active,
.quick-filter:hover {
    background: #2f63ff;
    border-color: #2f63ff;
    color: #fff;
}

.risk-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.risk-badge-warning {
    background: #fff4d6;
    color: #a86500;
}

.risk-badge-info {
    background: #eaf3ff;
    color: #2457c5;
}

.risk-badge-danger {
    background: #ffe6e6;
    color: #b42318;
}

@media (max-width: 768px) {
    .global-search-form {
        min-width: 100%;
        width: 100%;
    }

    .global-search-form .form-control {
        min-width: 100%;
    }
}


.notif-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #ff4d4f;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    margin-left: 0.45rem;
}

.notification-shortcut {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d8e2f6;
    color: #31486f;
    font-weight: 700;
}

.row-unread td {
    background: #fffaf0;
}

.sidebar-link .notif-badge {
    margin-left: auto;
}


.chart-wrap {
    position: relative;
    height: 320px;
}

.chart-wrap-tall {
    height: 360px;
}


.hero-panel-dashboard {    
    border: 1px solid #5f9ed5;
    box-shadow: 0 14px 34px rgba(20, 33, 61, 0.06);
}

.dashboard-kpis .metric-card {
    min-height: 122px;
}

.metric-icon {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.chart-wrap {
    position: relative;
    height: 320px;
    background: #fbfcff;
    border: 1px solid #ecf0fa;
    border-radius: 1rem;
    padding: 0.9rem;
}

.chart-wrap-tall {
    height: 360px;
}

.content-card .chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}


/* ===== V20.2 FTM BRAND SYSTEM ===== */
:root {
    --ftm-navy: #0B1F3B;
    --ftm-blue: #2563EB;
    --ftm-green: #10B981;
    --ftm-light: #E8F0FE;
    --ftm-bg: #F4F7FC;
    --ftm-surface: rgba(255,255,255,0.94);
    --ftm-text: #16213E;
    --ftm-muted: #64748B;
    --ftm-border: #DCE6F7;
    --ftm-shadow: 0 14px 36px rgba(11,31,59,0.08);
    --ftm-shadow-hover: 0 20px 44px rgba(11,31,59,0.12);

    --app-bg: var(--ftm-bg);
    --sidebar-bg: var(--ftm-navy);
    --sidebar-bg-2: #16367A;
    --primary: var(--ftm-blue);
    --success: var(--ftm-green);
    --purple: var(--ftm-navy);
    --amber: var(--ftm-blue);
    --text-main: var(--ftm-text);
    --text-soft: var(--ftm-muted);
    --card-bg: var(--ftm-surface);
    --border-soft: var(--ftm-border);
}

body,
button,
input,
select,
textarea {
    font-family: 'Inter', sans-serif;
}

body {
    background:
        radial-gradient(circle at top right, rgba(37,99,235,0.08), transparent 22%),
        linear-gradient(180deg, #F4F7FC 0%, #F8FBFF 100%);
    color: var(--ftm-text);
}

.app-sidebar {
    background: linear-gradient(180deg, var(--ftm-navy) 0%, #16367A 100%);
    box-shadow: 10px 0 40px rgba(11,31,59,0.15);
}


.content-card,
.content-card-premium,
.metric-card,
.sub-card {
    background: var(--ftm-surface);
    border: 1px solid var(--ftm-border);
    box-shadow: var(--ftm-shadow);
}

.content-card:hover,
.content-card-premium:hover,
.metric-card:hover {
    box-shadow: var(--ftm-shadow-hover);
}

.section-chip-primary {
    background: rgba(37,99,235,0.12);
    color: var(--ftm-blue);
}

.section-chip-secondary {
    background: rgba(11,31,59,0.08);
    color: var(--ftm-navy);
}

.section-chip-success {
    background: rgba(16,185,129,0.14);
    color: var(--ftm-green);
}

.section-chip-warning {
    background: rgba(37,99,235,0.10);
    color: var(--ftm-blue);
}

.sidebar-user-card {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.95rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
}

.sidebar-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.topbar-badge {
    color: var(--ftm-blue);
    border-color: var(--ftm-border);
    background: #fff;
}

.metric-card-blue { border-left: 6px solid var(--ftm-blue); }
.metric-card-green { border-left: 6px solid var(--ftm-green); }
.metric-card-purple { border-left: 6px solid var(--ftm-navy); }
.metric-card-amber { border-left: 6px solid var(--ftm-blue); }

.metric-icon {
    background: var(--ftm-light);
    color: var(--ftm-blue);
}

.metric-card-green .metric-icon {
    background: rgba(16,185,129,0.14);
    color: var(--ftm-green);
}

.metric-card-purple .metric-icon {
    background: rgba(11,31,59,0.10);
    color: var(--ftm-navy);
}

.metric-card-amber .metric-icon {
    background: rgba(37,99,235,0.10);
    color: var(--ftm-blue);
}

.btn-primary {
    background: var(--ftm-blue);
    border-color: var(--ftm-blue);
    box-shadow: 0 10px 22px rgba(37,99,235,0.18);
}

.btn-dark {
    background: var(--ftm-navy);
    border-color: var(--ftm-navy);
}

.soft-badge,
.status-pill {
    background: rgba(37,99,235,0.10);
    color: var(--ftm-blue);
}

.alert-box-warning {
    background: rgba(16,185,129,0.08);
    border-color: rgba(16,185,129,0.22);
}

.alert-box-info {
    background: rgba(37,99,235,0.08);
    border-color: rgba(37,99,235,0.20);
}

.alert-box-danger {
    background: rgba(11,31,59,0.06);
    border-color: rgba(11,31,59,0.18);
}

.chart-wrap {
    background: linear-gradient(180deg, #FBFDFF 0%, #F4F8FF 100%);
    border: 1px solid var(--ftm-border);
}

.app-logo {
    display: block;
    width: 84px;
    height: auto;
    object-fit: contain;
}

/* ===== V20.5.3 GRAPHS PARTENAIRES ===== */

.chart-wrap {
    position: relative;
    height: 320px;
    background: linear-gradient(180deg, #FBFDFF 0%, #F4F8FF 100%);
    border: 1px solid #DCE6F7;
    border-radius: 18px;
    padding: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

.content-card .chart-wrap {
    margin-top: 6px;
}

.content-card-premium .content-card-title {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .chart-wrap {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .chart-wrap {
        height: 240px;
        padding: 10px;
    }
}


