/* ========================================
   Dashboard Admin - Orlandi
   ======================================== */

/* Cards de Estatísticas */
.dashboard-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.dashboard-card.card-news {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.dashboard-card.card-pages {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.dashboard-card.card-team {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.dashboard-card.card-config {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.card-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Menu Lateral */
.admin-sidebar {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.admin-sidebar .card-header {
    background: linear-gradient(135deg, #102F3F 0%, #1a4d5f 100%);
    color: white;
    border-radius: 12px 12px 0 0 !important;
    padding: 1rem 1.25rem;
    border: none;
}

.admin-sidebar .card-header h5 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-sidebar .list-group-item {
    border: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    padding: 0.75rem 1.25rem;
}

.admin-sidebar .list-group-item:hover {
    background: #e9ecef;
    border-left-color: #102F3F;
    padding-left: 1.5rem;
}

.admin-sidebar .list-group-item i {
    width: 20px;
    text-align: center;
}

/* Ações Rápidas */
.quick-actions .btn {
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.quick-actions .btn:hover {
    transform: translateX(4px);
}

.quick-actions .btn i {
    margin-right: 0.5rem;
}

/* Atividades Recentes */
.activity-item {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.2s ease;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item:hover {
    background: #f8f9fa;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1rem;
}

.activity-icon.icon-news {
    background: #e0e7ff;
    color: #667eea;
}

.activity-icon.icon-page {
    background: #dbeafe;
    color: #3b82f6;
}

.activity-icon.icon-team {
    background: #d1fae5;
    color: #10b981;
}

.activity-time {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Responsividade */
@media (max-width: 768px) {
    .dashboard-card {
        margin-bottom: 1rem;
    }

    .card-value {
        font-size: 2rem;
    }

    .card-icon {
        font-size: 2.5rem;
    }
}

/* Header do Dashboard */
.dashboard-header {
    background: linear-gradient(135deg, #102F3F 0%, #1a4d5f 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dashboard-header h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
}

.dashboard-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
}

/* Cards de Conteúdo */
.content-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.content-card .card-header {
    background: white;
    border-bottom: 2px solid #f3f4f6;
    padding: 1.25rem;
    font-weight: 600;
}