/* Stats */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #f1f5f9;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 0.9em;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.8em;
    font-weight: 800;
    color: #1e293b;
}

.stat-card-income .stat-value { color: #166534; }
.stat-card-expenses .stat-value { color: #991b1b; }
.stat-card-profit .stat-value { color: #004aad; }

.action-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Sales table filter */
.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 20px;
    width: 100%;
    align-items: flex-end;
}

.filter-form .form-group {
    margin-bottom: 0;
}

.filter-form .form-group select {
    padding: 10px;
    border-radius: 8px;
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.filter-actions .btn {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-actions .btn-primary {
    width: 100%;
}
