﻿.sales-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.sales-dashboard-toolbar {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    justify-content: center;
    border: 1px solid grey;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    width: 100%;
    
}

.sales-dashboard-toolbar select {
    border: solid 1px var(--smas-orange);
    background-color: #fff;
}

.sales-dashboard-filter {
    margin: 0;
}

.sales-dashboard-filter .form-label {
    font-size: 16px;
    font-weight: normal;
    padding-right: 12px;
}

.sales-dashboard-filter .form-select {
    font-size: 16px;
    height: 44px;
    padding: 8px 16px;
}

.sales-dashboard-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0;
    flex-wrap: wrap;
}

.sales-dashboard-btn {
    padding: 10px 30px;
    border: solid 1px var(--smas-orange);
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    color: var(--smas-orange);
}

.sales-dashboard-btn:hover {
    transform: translateY(-2px);    
}

.sales-dashboard-btn.active {
    background: var(--smas-orange);
    color: white;
}

.sales-dashboard-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.sales-chart-container {
    background: white;
    border-radius: 10px;
    border: 1px solid grey;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    width: 100%;
}

.sales-chart-wrapper {
    position: relative;
    height: 400px;
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
}

.sales-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.sales-stat-card {
    background: linear-gradient(135deg, var(--smas-orange) 0%, #ffb366 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sales-stat-label {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.sales-stat-value {
    font-size: 28px;
    font-weight: bold;
}

.sales-no-data {
    text-align: center;
    color: #999;
    padding: 40px;
    font-size: 18px;
}

.sales-loading {
    text-align: center;
    color: var(--smas-orange);
    padding: 20px;
    font-size: 16px;
}

.sales-error-message {
    background: #ff4444;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .sales-chart-wrapper {
        height: 300px;
    }
}
