﻿
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col {
    padding: 0 10px;
}

.col-6 {
    width: 50%;
}

.col-12 {
    width: 100%;
}

.col-md-3 {
    width: 25%;
}

.col-md-4 {
    width: 33.3333%;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.g-3 {
    margin: -0.5rem;
}

    .g-3 > .col {
        padding: 0.5rem;
    }

.compact-card {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    padding: 1rem;
}

    .compact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.sales-icon {
    background-color: rgba(108, 92, 231, 0.1);
    color: var(--primary);
}

.products-icon {
    background-color: rgba(0, 184, 148, 0.1);
    color: var(--success);
}

.stock-icon {
    background-color: rgba(253, 203, 110, 0.1);
    color: var(--warning);
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--dark);
    height: 100%;
}

    .quick-link:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        color: var(--primary);
    }

.quick-link-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background-color: rgba(108, 92, 231, 0.1);
    color: var(--primary);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
}

.trend-indicator {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
}

.trend-up {
    color: var(--success);
}

.trend-down {
    color: var(--danger);
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.flex-grow-1 {
    flex-grow: 1;
}

.text-center {
    text-align: center;
}

.fw-semibold {
    font-weight: 600;
}

.text-muted {
    color: #6c757d;
}

.me-3 {
    margin-right: 1rem;
}

@media (max-width: 768px) {
    .col-md-3, .col-md-4 {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .col-6, .col-md-3, .col-md-4 {
        width: 100%;
    }
}
