/* Summary Cards Component - Reutilizável para todos os dashboards */

.sevo-summary-cards {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin: 0 auto 15px auto;
    max-width: 800px;
    width: 100%;
}

.sevo-summary-grid {
    display: contents;
}

.sevo-summary-card {
    background: #6366f1;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    height: 80px;
    max-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.sevo-summary-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sevo-summary-card::before {
    display: none;
}

.sevo-summary-card .card-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    opacity: 0.7;
}

.sevo-summary-card .card-icon i {
    font-size: 14px;
    line-height: 1;
}

.sevo-summary-card .card-number {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
}

.sevo-summary-card .card-label {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    white-space: normal;
    word-wrap: break-word;
}

/* Classes de cores sólidas específicas */
.sevo-card-green {
    background: #10b981 !important;
}

.sevo-card-green-light {
    background: #34d399 !important;
}

.sevo-card-blue {
    background: #3b82f6 !important;
}

.sevo-card-purple {
    background: #8b5cf6 !important;
}

.sevo-card-orange {
    background: #f59e0b !important;
}

.sevo-card-yellow {
    background: #eab308 !important;
}

.sevo-card-red {
    background: #ef4444 !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .sevo-summary-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
        max-width: 100%;
    }
    
    .sevo-summary-card {
        padding: 3px 6px;
        height: 45px;
        max-height: 45px;
    }
    
    .sevo-summary-card .card-number {
        font-size: 10px;
    }
    
    .sevo-summary-card .card-label {
        font-size: 7px;
    }
    
    .sevo-summary-card .card-icon i {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .sevo-summary-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
    }
    
    .sevo-summary-card {
        padding: 2px 4px;
        height: 40px;
        max-height: 40px;
    }
    
    .sevo-summary-card .card-number {
        font-size: 9px;
        margin-right: 2px;
    }
    
    .sevo-summary-card .card-label {
        font-size: 6px;
    }
    
    .sevo-summary-card .card-icon {
        margin-right: 2px;
    }
    
    .sevo-summary-card .card-icon i {
        font-size: 7px;
    }
}

@media (max-width: 320px) {
    .sevo-summary-cards {
        grid-template-columns: 1fr;
    }
    
    .sevo-summary-card {
        min-height: 60px;
    }
}