/* ==================== */
/* FANAKA THEME OVERRIDES */
/* ==================== */
:root {
    --fanaka-green: #59BA49;
    --fanaka-darkgreen: #3a8a2d;
    --fanaka-grey: #2A2A2A;
    --fanaka-white: #ffffff;
    --fanaka-red: #D90429;
    --fanaka-lightblue: #73BA9B;
    --fanaka-extralightblue: #D5F2E3;
  }
  
  /* ========== */
  /* BASE STYLES 
  /* ========== */
  body {
    background-color: #f5f5f5;
    color: #333;
  }
  
  /* ========== */
  /* HEADER - GREEN 
  /* ========== */
  .main-header {
    background-color: var(--fanaka-green) !important;
    border-bottom: none;
  }
  
  .navbar-nav .nav-link {
    color: var(--fanaka-white) !important;
  }
  
  .navbar-nav .nav-link:hover {
    color: var(--fanaka-white) !important;
    background-color: var(--fanaka-darkgreen);
  }
  
  .brand-link {
    background-color: var(--fanaka-grey) !important;
    border-bottom: none !important;
  }
  
  .brand-link .brand-text {
    color: var(--fanaka-white) !important;
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
  }
  
  /* ========== */
  /* SIDEBAR - DARK GREY 
  /* ========== */
  .main-sidebar {
    background-color: var(--fanaka-grey) !important;
  }
  
 
  /* Fix submenu alignment */
  .nav-sidebar .nav-treeview {
    padding-left: 0 !important;
  }
  
  .nav-sidebar .nav-treeview .nav-link {
    padding-left: 20px !important; 
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Menu items */
  .nav-sidebar .nav-item > .nav-link {
    color: #e6e6e6;;
    border-left: 3px solid transparent;
    margin: 2px 0;
    border-radius: 0;
    transition: all 0.2s;
  }
  
  /* Active/hover menu items */
  .nav-sidebar .nav-item > .nav-link.active,
  .nav-sidebar .nav-item > .nav-link:hover {
    color: var(--fanaka-white) !important;
    background-color: rgba(89, 186, 73, 0.2);
    border-left: 3px solid var(--fanaka-green);
  }
  
  .nav-sidebar .nav-item > .nav-link.active i {
    color: var(--fanaka-green) !important;
  }
  
  /* Submenu active items */
  .nav-sidebar .nav-treeview .nav-link.active {
    color: var(--fanaka-white) !important;
    background-color: rgba(89, 186, 73, 0.3);
  }
  
  /* Open parent menu */
  .nav-sidebar .menu-open > .nav-link {
    background-color: rgba(89, 186, 73, 0.25) !important;
    color: var(--fanaka-white) !important;
  }
  
  /* ========== */
  /* CONTENT AREA 
  /* ========== */
  .content-header {
    background-color: var(--fanaka-white);
    border-bottom: 1px solid #eaeaea;
    border-radius: 4px 4px 0 0;
    padding: 7px 10px;
  }
  
  .content-wrapper {
    background-color: var(--fanaka-white);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin: 1x;
  }
  
  /* ========== */
  /* CARDS 
  /* ========== */
.card {
    border: 1px solid #eaeaea;
    border-radius: 5px;
    box-shadow: none;
}
  
  .card-header {
    background-color: var(--fanaka-white);
    border-bottom: 1px solid #eaeaea;
    border-radius: 6px 6px 0 0 !important;
    padding: 15px 20px;
  }
  
  .card-primary.card-outline {
    border-top: 3px solid var(--fanaka-green) !important;
  }
  
  /* ========== */
  /* BUTTONS 
  /* ========== */

  /* .btn-primary {
    background-color: var(--fanaka-green);
    border-color: var(--fanaka-darkgreen);
    color: white;
  }
  
  .btn-primary:hover {
    background-color: var(--fanaka-darkgreen);
    border-color: var(--fanaka-darkgreen);
    color: white;
  }
   */
  .btn-outline-primary {
    color: var(--fanaka-green);
    border-color: var(--fanaka-green);
  }
  
  .btn-outline-primary:hover {
    background-color: var(--fanaka-green);
    border-color: var(--fanaka-green);
    color: white;
  }
  
  .btn-danger {
    background-color: var(--fanaka-red);
    border-color: #b00321;
  }
  
  /* ========== */
  /* FOOTER - WHITE 
  /* ========== */
  .main-footer {
    background-color: var(--fanaka-white) !important;
    color: var(--fanaka-grey);
    border-top: 1px solid #eaeaea;
    padding: 15px;
  }
  
  /* ========== */
  /* UTILITY CLASSES 
  /* ========== */
  .bg-primary {
    background-color: var(--fanaka-green) !important;
  }
  
  .text-primary {
    color: var(--fanaka-green) !important;
  }
  
  .bg-info {
    background-color: var(--fanaka-lightblue) !important;
  }
  
  .bg-light {
    background-color: var(--fanaka-extralightblue) !important;
  }
  
  /* ========== */
  /* DATA TABLES 
  /* ========== */
  .table thead th {
    background-color: var(--fanaka-green);
    color: white;
    border: none;
  }
  
  .table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--fanaka-extralightblue);
  }
  
  /* ========== */
  /* FORM ELEMENTS 
  /* ========== */
  .form-control:focus,
  .custom-select:focus {
    border-color: var(--fanaka-green);
    box-shadow: 0 0 0 0.2rem rgba(89, 186, 73, 0.25);
  }
  
  .custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: var(--fanaka-green);
    border-color: var(--fanaka-darkgreen);
  }
  
  /* ========== */
  /* ALERTS 
  /* ========== */
  .alert-success {
    background-color: var(--fanaka-extralightblue);
    border-color: var(--fanaka-lightblue);
    color: var(--fanaka-darkgreen);
  }
  
  .alert-danger {
    background-color: #fdd8de;
    border-color: #fcc5cd;
    color: var(--fanaka-red);
  }

/* .bg-info {
    background-color: #1fa37a !important;
} */

table.pretty {
    width: 100%;
}

table.pretty th, table.pretty td {
    border: 1px solid gainsboro;
    padding: 0.2em;
}

table.pretty caption {
    font-style: italic;
    font-weight: bold;
    margin-left: inherit;
    margin-right: inherit;
}

table.pretty thead tr th {
    border-bottom: 2px solid;
    font-weight: bold;
    text-align: center;
}

table.pretty thead tr th.empty {
    border: 0 none;
}

table.pretty tfoot tr th {
    border-bottom: 2px solid;
    border-top: 2px solid;
    font-weight: bold;
    text-align: center;
}

table.pretty tbody tr th {
    text-align: center;
}

table.pretty tbody tr td {
    border-top: 1px solid;
    text-align: center;
}

table.pretty tbody tr.odd td {
    background: none repeat scroll 0 0 #EBF4FB;
}

table.pretty tbody tr.even td {
    background: none repeat scroll 0 0 #BCEEEE;
}

table.pretty thead tr th.highlightcol {
    border-color: #2E6E9E #2E6E9E gainsboro;
    border-style: solid;
    border-width: 2px 2px 1px;
}

table.pretty tfoot tr th.highlightcol {
    border-left: 2px solid #2E6E9E;
    border-right: 2px solid #2E6E9E;
}

table.pretty thead tr th.lefthighlightcol, table.pretty tbody tr td.lefthighlightcol, table.pretty tfoot tr th.lefthighlightcol {
    border-left: 2px solid #2E6E9E;
}

table.pretty thead tr th.righthighlightcol, table.pretty tbody tr td.righthighlightcol, table.pretty tfoot tr th.righthighlightcol {
    border-right: 2px solid #2E6E9E;
}

table.pretty thead tr th.lefthighlightcolheader, table.pretty tbody tr td.lefthighlightcolheader, table.pretty tfoot tr th.lefthighlightcolheader {
    border-left: 2px solid #2E6E9E;
}

table.pretty thead tr th.righthighlightcolheader, table.pretty tbody tr td.righthighlightcolheader, table.pretty tfoot tr th.righthighlightcolheader {
    border-right: 2px solid #2E6E9E;
}

.strikethrough {
    text-decoration: line-through;
    color: red;
}

.month, .year {
    margin: 2px;
}

caption, th {
    text-align: left;
}


.font-11{
    font-size: 11px;
}

.style-0 {
    empty-cells: show;
    table-layout: fixed;
    width: 1315pt
}

.style-1 {
    color: white;
    padding-left: 10pt;
    font-size: 14pt;
    font-family: "Arial";
    font-weight: bold;
    font-style: normal;
    text-decoration: none;
    text-align: left;
    word-spacing: 0pt;
    letter-spacing: 0pt;
    background-color: #339933
}


.opacity-75 {
    opacity: 0.75;
    filter: alpha(opacity=75);
}
.opacity-50 {
    opacity: 0.5;
    filter: alpha(opacity=50);
}
.opacity-25 {
    opacity: 0.25;
    filter: alpha(opacity=25);
}
.opacity-0 {
    opacity: 0;
    filter: alpha(opacity=0);
}
.no-edge-top {
    top: 0;
}
.no-edge-bottom {
    bottom: 0;
}
.no-edge-left {
    left: 0;
}
.no-edge-right {
    right: 0;
}
.user_name{
    font-size:14px;
    font-weight: bold;
}
.comments-list .media{
    border-bottom: 1px dotted #ccc;
}

/* ======================= */
/* CONTENT HEADER SPACING  */
/* ======================= */

/* Add space below the content header */
.content-header {
    margin-bottom: 25px; /* Increased from default */
    padding-bottom: 15px; /* Added padding */
  }
  
  /* If using breadcrumbs */
  .breadcrumb {
    margin-bottom: 20px !important;
    padding: 8px 15px;
    background-color: var(--fanaka-extralightblue);
    border-radius: 4px;
  }
  
  /* Space between header and first card */
  .content-wrapper > .card:first-child {
    margin-top: 20px;
  }
  
  /* Specific table spacing */
  .table-responsive {
    margin-top: 20px;
  }
  
  /* If table is directly in content without card */
  .content-wrapper > .table:first-child {
    margin-top: 25px;
  }
  
  /* For pages with both title and breadcrumbs */
  .content-header h1 + .breadcrumb {
    margin-top: 10px;
  }

  /* Make ALL btn-info buttons green */
.btn-info {
    background-color: #59BA49 !important;
    border-color: #3a8a2d !important;
    color: white !important;
}

.btn-info:hover {
    background-color: #3a8a2d !important;
}

.btn-info:focus, .btn-info.focus {
    box-shadow: 0 0 0 0.2rem rgba(89, 186, 73, 0.5) !important;
}

.btn-info:not(:disabled):not(.disabled).active,
.btn-info:not(:disabled):not(.disabled):active {
    background-color: #2d6b23 !important;
    border-color: #1f4d19 !important;
}

/* ====================== */
/* MODERN BUTTON DESIGN (NO COLOR TRANSITIONS) */
/* ====================== */

/* Base button enhancements - REMOVED COLOR TRANSITIONS ONLY */
.btn {
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    border: none;
    padding: 8px 20px;
}
  

  
/* Ripple effect (keeping this animation) */
.btn-info:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}
  
/* .btn-info:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
} */
  
@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}
  
/* Icon enhancements (keeping this transition) */
.btn i.fas {
    margin-right: 8px;
    transition: transform 0.3s;
}
  
.btn:hover i.fas {
    transform: scale(1.1);
}
  
/* Button sizes */
.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}
  
.btn-lg {
    padding: 12px 28px;
    font-size: 1.1rem;
}

/* ========== */
/* PRIMARY BUTTONS  */
/* ========== */
.btn-primary {
    background-color: var(--fanaka-green);
    border-color: var(--fanaka-darkgreen);
    color: white;
}
  
.btn-primary:hover {
    background-color: var(--fanaka-darkgreen);
    border-color: var(--fanaka-darkgreen);
    color: white;
}

.btn-primary:hover {
    background-color: #3a8a2d !important;
}

.btn-primary:focus, .btn-info.focus {
    box-shadow: 0 0 0 0.2rem rgba(89, 186, 73, 0.5) !important;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: #2d6b23 !important;
    border-color: #1f4d19 !important;
}


/* ========== */
/* OUTLINE BUTTONS*/
/* ========== */
.btn-outline-primary {
    color: var(--fanaka-green);
    border-color: var(--fanaka-green);
}
  
.btn-outline-primary:hover {
    background-color: var(--fanaka-green);
    border-color: var(--fanaka-green);
    color: white;
}


/* ====================== */
/* CARD HEADER RESTYLING*/
/* ====================== */

.card-header {
    background-color: white;
    border-bottom: 1px solid #eaeaea;
    padding: 15px 20px;
    display: block;
} 

.card-header::after {
    content: "";
    display: table;
    clear: both;
}


/* Search input styling */
.card-tools .input-group {
    width: 200px; 
}

.card-tools .form-control {
    height: calc(1.8125rem + 2px); 
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.card-tools .input-group-append .btn {
    height: calc(1.8125rem + 2px);
    padding: 0.25rem 0.5rem;
}

/* Dropdown menu positioning */
.dropdown {
    display: inline-block; 
}

/* Button spacing */
.card-header .btn {
    margin-right: 5px; 
    margin-bottom: 0;
}

/* ====================== */
/* KEEPING MODERN TABLE STYLES */
/* ====================== */
.table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
}

.table thead th {
    background-color: white;
    color: black;
    font-weight: 600;
    padding: 6px 8px;
    border: none;
    position: sticky;
    top: 0;
    z-index: 10;

}

.table td {
    padding: 10px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
    color: var(--fanaka-grey);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(213, 242, 227, 0.1);
}

.table-hover tbody tr:hover {
    background-color: #d4edda;
}

.card-header .card-title,
.card-title {
    color: #000 !important;
}


.table th a.sortable {
    color: #000 !important;
}

/* For hover states */
.table th a:hover,
.table th a:focus {
    color: #000 !important;
    text-decoration: none;
}

/* For sortable table headers */
.table th a.sortable {
    color: #000 !important;
}

/* For hover states */
.table th a:hover,
.table th a:focus {
    color: #000 !important;
    text-decoration: none;
}

/* Pagination styling */
.pagination {
    margin: 0;
}

.pagination .page-item.active .page-link {
    background-color: var(--fanaka-green);
    border-color: var(--fanaka-darkgreen);
}

.pagination .page-link {
    color: var(--fanaka-green);
    border-radius: 4px;
    margin: 0 3px;
    border: 1px solid #eaeaea;
}

/* ====================== */
/* RESPONSIVE ADJUSTMENTS */
/* ====================== */

@media (max-width: 768px) {
    .card-header .btn-group,
    .card-tools {
        float: none;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .card-tools .input-group {
        width: 100%;
    }
    
    .card-header .btn {
        margin-bottom: 5px;
    }
    
    .table {
        display: block;
        overflow-x: auto;
    }
}



/* ====================== */
/* NAVBAR USER PROFILE STYLING */
/* ====================== */

.navbar-nav .user-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    padding-top: 8px;
    margin: 0 5px;
    border: 2px solid white;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.navbar-nav .user-menu .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.navbar-nav .user-menu .user-image {
    width: 28px;
    height: 28px;
    border: 2px solid white;
    position: relative;
    top: 1px; 
    margin-right: 5px;
}

.navbar-nav .user-menu .d-none.d-md-inline {
    font-weight: 500;
    font-size: 0.9rem;
    color: white;
    position: relative;
    top: -1px; 
}

/* Dropdown arrow styling */
.navbar-nav .user-menu .dropdown-toggle::after {
    margin-left: 5px;
    vertical-align: middle;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-nav .user-menu .nav-link {
        padding: 4px 8px;
    }
    
    .navbar-nav .user-menu .d-none.d-md-inline {
        display: inline !important;
    }
}

/* Keep existing dropdown styles */
.user-menu .dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.user-header {
    padding: 15px;
    text-align: center;
    background: linear-gradient(135deg, var(--fanaka-green) 0%, var(--fanaka-lightblue) 100%) !important;
}

.user-header img {
    top:2px;
    margin-top: 40px;
    width: 80px;
    height: 80px;
   
}

.user-header p {
    margin-top: 10px;
    color: white;
    font-weight: 500;
}

/* ====================== */
/* SIDEBAR DIVIDER STYLING */
/* ====================== */

.brand-link {
    position: relative;
    padding-bottom: 1.2rem; /* Add space for divider */
}

.brand-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--fanaka-green);
    border-radius: 1px;
}

.user-panel {
    margin-top: 1.0rem !important; 
    padding-top: 0.2rem; /* Add matching space below divider */
}

/* Adjust the user image alignment */
.user-panel .image img {
    margin-top: 2px; /* Fine-tune image vertical alignment */
}

/* If you want the divider to extend full width */
.brand-link::after {
    left: 0;
    right: 0;
}

/*======================*/
/* GREEN BREADCRUMB STYLES */
/* ====================== */

.breadcrumb {
    background-color: transparent;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--fanaka-green);
    content: "›"; 
   
}

/* Active link styling */
.breadcrumb-item.active {
    color: var(--fanaka-darkgreen);
    font-weight: 500;
}

/* Clickable links styling */
.breadcrumb-item a {
    color: var(--fanaka-green);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

/* Hover effects */
.breadcrumb-item a:hover {
    color: var(--fanaka-darkgreen);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Optional: Add a subtle background on hover */
.breadcrumb-item a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background-color: var(--fanaka-lightblue);
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 0.3rem 0;
        font-size: 0.8rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 5px;
    }
}

/* ====================== */
/* DASHBORD STYLING */
/* ====================== */
.card-grid-container {
    width: 100%;
    margin: 0 auto;
    padding: 5px;
}


.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-auto-rows: minmax(110px, auto);
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
    
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    padding-left: 15px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(135deg, var(--fanaka-extralightblue) 0%, #e8f7ee 100%);
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Dashboard Cards */
.dashboard-card {
    border-radius: 6px;
    background: linear-gradient(135deg, var(--fanaka-extralightblue) 0%, #e8f7ee 100%);
    height: 100%;
    display: flex;
    flex-direction: column;

}

.dashboard-card-body {
    padding: 4px 12px;

}



/* CD Overview Widget */
.cd-overview {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.cd-header {
    padding: 15px 20px;
    background: var(--fanaka-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.period-selectors {
    display: flex;
    gap: 10px;
}

.period-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.period-selector label {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.period-selector select {
    background: white;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 0.85rem;
}

.cd-body {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 15px;
    gap: 15px;
}

.period-column {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
}

.period-title {
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.period-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-item {
    background: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.stat-value {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Metric Styling */
.metric-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fanaka-grey);
    margin: 3px 0;
    line-height: 1.2;
}

.metric-secondary {
    font-size: 0.85rem;
    color: var(--fanaka-grey);
    margin: 2px 0;
}

.metric-tertiary {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: auto;
    padding-top: 5px;
}

/* Metrics Grid Styles */
.metrics-grid {
    width: 100%;
   
}

.metrics-row {
    display: flex;
    gap: 7px;
    margin-bottom: 7px;
}

.metrics-card {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.metrics-card-header {
    padding: 10px 15px;
    background-color: transparent !important;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    font-size: 0.95rem;
}

.metrics-card-body {
    padding: 7.5px;
}

.metrics-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.metrics-item:last-child {
    border-bottom: none;
}

.metrics-label {
    font-size: 0.85rem;
    color: #666;
}

.metrics-value {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .metrics-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* Responsive Adjustments */
@media (min-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .cd-body {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cd-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .period-selectors {
        flex-wrap: wrap;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .cd-body {
        grid-template-columns: 1fr;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.icon-circle-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 12px;
    color: white;
    font-size: 16px;
}

.color-indicator-collections {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 5px;
    border-radius: 3px;
    
}


@media (max-width: 768px) {
    .icon-circle {
        width: 30px;
        height: 30px;
        font-size: 14px;
        margin-right: 10px;
    }
}