﻿.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* CARD */
.stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 11px 11px 18px rgb(0 0 0 / 28%);
    transition: all 0.3s ease;
    cursor: pointer;
    /*background: #f8f9fc;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;*/
}

    /* Hover Lift */
    .stat-card:hover {
        transform: translateY(-5px);
    }

/* Bottom Border Default */
.blue {
    border-bottom: 4px solid #d6dcff;
}

.green {
    border-bottom: 4px solid #d4f7e8;
}

.red {
    border-bottom: 4px solid #ffdede;
}

.cyan {
    border-bottom: 4px solid #d9f3ff;
}

/* Hover Darker */
.blue:hover {
    border-bottom-color: #4e73df;
}

.green:hover {
    border-bottom-color: #1cc88a;
}

.red:hover {
    border-bottom-color: #e74a3b;
}

.cyan:hover {
    border-bottom-color: #36b9cc;
}

/* ICON */
.icon-box {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Icon Colors */
.blue .icon-box {
    background: #e6ebff;
    color: #4e73df;
}

.green .icon-box {
    background: #e6fff5;
    color: #1cc88a;
}

.red .icon-box {
    background: #ffeaea;
    color: #e74a3b;
}

.cyan .icon-box {
    background: #e6faff;
    color: #36b9cc;
}

/* TEXT CONTENT */
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .card-content h3 {
        margin: 0;
        font-size: 28px;
        font-weight: 700;
        line-height: 1;
    }

    .card-content p {
        margin: 4px 0 2px 0;
        font-size: 14px;
        color: #6c757d;
    }

.trend {
    font-size: 13px;
}

.positive {
    color: #1cc88a;
}

.negative {
    color: #e74a3b;
}
