main.content.dashboard h2 {
    color: #202020;
    font-size: 40px;
    font-weight: 400;
    padding-bottom: 20px;
    border-bottom: 1px solid #EFEFEF;
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Card */
.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
}

/* Icon */
.stat-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card .icon img {
    width: 24px;
    height: 24px;
}

/* Text */
.stat-card .label {
    font-size: 24px;
    color: #202020;
    font-weight: 400;
}

.stat-card h3 {
    font-size: 30px;
    margin: 0;
    color: #202020;
    font-weight: 400;
}

.trend {
    font-size: 16px;
    font-weight: 400;
    display: inline-flex;
    gap: 8px;
    align-items: center
}

.trend.up {
    color: #008A1E;
}

.trend.down {
    color: #dc2626;
}

/* Background variants */
.pink {
    background: rgba(174, 44, 102, 0.1);
}

.blue {
    background: rgba(65, 178, 247, 0.1);
}

.sky {
    background: rgba(65, 178, 247, 0.1);
}

.light-blue {
    background: rgba(56, 142, 242, 0.1);
}


.invoice-chart {
    background: var(--white-color);
    padding: 25px;
    border-radius: 14px;
    margin-top: 20px;
}


.invoice-chart .chart-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.invoice-chart .chart-heading h3{
    font-size: 16px;
    color: #202020;
    font-weight: 400;
}

.invoice-chart select.common-select {
    height: auto;
    width: 260px;
    padding: 20px;
    font-weight: 700;
    font-size: 24px;
    color: #202020;
}

.invoice-chart select.common-select option{
    font-size: 20px;
}


.invoice-chart .select-wrapper .arrow {
    right: 20px;
}


.invoice-chart .chart {
    margin-top: 20px;
}

.invoice-chart .chart img {
    width: 100%;
}



.dashboard-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

/* CARD */
.dashboard-widgets .card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
}

/* HEADER */
.dashboard-widgets .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.dashboard-widgets .card-header h4 {
    font-size: 16px;
    font-weight: 400;
    color: #202020;
}

.dashboard-widgets .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-widgets .checkbox {
    font-size: 18px;
    color: #202020;
    display: inline-flex;
    font-weight: 500;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.dashboard-widgets .checkbox input{
  margin-bottom: 0;
  width: auto;
}

.dashboard-widgets .dots {
  cursor: pointer;
  color: #9ca3af;
}

/* DONUT GRID */
.dashboard-widgets .donut-grid {
  display: flex;
  justify-content: space-around;
  gap: 12px;
  margin-top: 50px;
}

.dashboard-widgets .donut-item {
  text-align: center;
}

.dashboard-widgets .donut-item p {
  margin-top: 8px;
  font-size: 12px;
  color: #374151;
}

/* DONUT */
.dashboard-widgets .donut {
  --size: 96px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: conic-gradient(
    var(--color) var(--value),
    #f3f4f6 0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dashboard-widgets .donut::before {
  content: "";
  position: absolute;
  width: 64%;
  height: 64%;
  background: #fff;
  border-radius: 50%;
}

.dashboard-widgets .donut span {
  position: relative;
  font-size: 14px;
  font-weight: 600;
}

/* DONUT COLORS */
.dashboard-widgets .pink {
  --color: #b91c5c;
}

.dashboard-widgets .purple {
  --color: #a855f7;
}

.dashboard-widgets .blue {
  --color: #3b82f6;
}

/* INVOICE LIST */
.dashboard-widgets .invoice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}


.dashboard-widgets .invoice-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  gap: 10px;
}

.dashboard-widgets .invoice-list li:last-child {
  border-bottom: none;
}

.dashboard-widgets .invoice-list li  .info-div {
    display: flex;
    flex-direction: column;
    align-items: self-start;
}

.dashboard-widgets .invoice-list .left {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 50%;
}

.dashboard-widgets .invoice-list li .info-div.center {
    width: 25%;
    flex-direction: row;
    gap: 10px;
}

.dashboard-widgets .invoice-list small {
    font-size: 14px;
    color: #6418C3;
    font-weight: 400;
}

.dashboard-widgets .invoice-list li .info-div.center small {
    font-size: 14px;
    color: #202020;
    font-weight: 400;
}

.dashboard-widgets .invoice-list li .info-div.center strong {
font-size: 20px;
    font-weight: 600;
    color: #202020;
}



.dashboard-widgets .invoice-list strong {
    font-size: 16px;
    font-weight: 400;
    color: #202020;
}

.dashboard-widgets .invoice-list .right {
    text-align: left !important;
    width: 25%;
    align-items: center !important;
    justify-content: center;
}

.dashboard-widgets .invoice-list .right span {
  font-size: 11px;
  color: #9ca3af;
}

/* ICONS */
.dashboard-widgets .icon {
    width: 40%;
    height: 49px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    max-width: 49px;
}

.dashboard-widgets .icon.pink {
  background: #b91c5c;
}

.dashboard-widgets .icon.sky {
  background: #38bdf8;
}

.dashboard-widgets .icon.blue {
  background: #3b82f6;
}

.dashboard-widgets .icon.navy {
  background: #1e3a8a;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .dashboard-widgets {
    grid-template-columns: 1fr;
  }
}





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

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


/* Tablet */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 14px;
    }
}