/* =======================================
   Status Cards Glass Effect Stylesheet
   Autor: Copilot for Marcelo Macedo (Farol Operacional)
   Descrição: Estilo para modernizar os cards de status com efeito glass/espelhado
   ======================================= */

/* Estilo base para todos os cards de status */
[id^='filtro-card-status'] {
    border-radius: 12px;
    padding: 12px 20px;
    min-width: 180px;
    min-height: 60px;
    margin: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.3s ease, border 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Efeito de reflexo/luz */
[id^='filtro-card-status']::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shineEffectCard 8s infinite linear;
    pointer-events: none;
}

@keyframes shineEffectCard {
    0% {
        transform: rotate(30deg) translateY(-150%);
    }
    100% {
        transform: rotate(30deg) translateY(150%);
    }
}

[id^='filtro-card-status']:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Estilos para os números e textos dentro dos cards */
[id^='filtro-card-status'] .card-number {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

[id^='filtro-card-status'] .card-text {
    font-size: 14px;
    opacity: 0.9;
}

/* Estilos específicos por status */
[id^='filtro-card-status'].andamento {
    background: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4caf50;
}

[id^='filtro-card-status'].homologacao {
    background: rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196f3;
}

[id^='filtro-card-status'].encerramento {
    background: rgba(156, 39, 176, 0.1);
    border-left: 4px solid #9c27b0;
}

[id^='filtro-card-status'].planejamento {
    background: rgba(255, 152, 0, 0.1);
    border-left: 4px solid #ff9800;
}

[id^='filtro-card-status'].pausado {
    background: rgba(158, 158, 158, 0.1);
    border-left: 4px solid #9e9e9e;
}

[id^='filtro-card-status'].critico {
    background: rgba(244, 67, 54, 0.1);
    border-left: 4px solid #f44336;
}

[id^='filtro-card-status'].novo {
    background: rgba(0, 150, 136, 0.1);
    border-left: 4px solid #009688;
}

/* Tema escuro - ajustes */
.theme-dark [id^='filtro-card-status'] {
    background: rgba(30, 30, 30, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.theme-dark [id^='filtro-card-status']:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
