/* Estilos para cards do dashboard */
.dashboard-card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    height: 100%;
}

.dashboard-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.dashboard-card .card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
}

.dashboard-card .dropdown-toggle::after {
    display: none;
}

.dashboard-card .card-body {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tipos de cards */
.card-type-info {
    border-left: 4px solid #0d6efd;
}

.card-type-chart {
    border-left: 4px solid #198754;
}

.card-type-summary {
    border-left: 4px solid #ffc107;
}

.card-type-list {
    border-left: 4px solid #6c757d;
}

/* Grid responsivo */
@media (max-width: 768px) {
    .dashboard-card .card-header .dropdown {
        display: none;
    }

    [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Animações de carregamento */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading-pulse {
    animation: pulse 1.5s infinite;
}

/* Layout de cards */
#dashboard-cards-container {
    transition: all 0.3s ease;
}

/* Estatísticas em cards */
.card-stat {
    font-size: 1.5rem;
    font-weight: bold;
}

.card-stat-success {
    color: #198754;
}

.card-stat-warning {
    color: #ffc107;
}

.card-stat-danger {
    color: #dc3545;
}

/* Mini indicadores */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-online {
    background-color: #198754;
}

.status-offline {
    background-color: #dc3545;
}

.status-warning {
    background-color: #ffc107;
}