/* Estilos específicos para o Dashboard Administrativo - RAT ATMs */

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-ocorrencias {
    border-left-color: #F59E0B;
}

.stat-companhias {
    border-left-color: #10B981;
}

.stat-tecnicos {
    border-left-color: #3B82F6;
}

.stat-equipamentos {
    border-left-color: #EF4444;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.stat-ocorrencias .stat-icon {
    background-color: #643600;
}

.stat-companhias .stat-icon {
    background-color: #10B981;
}

.stat-tecnicos .stat-icon {
    background-color: #3B82F6;
}

.stat-equipamentos .stat-icon {
    background-color: #EF4444;
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
}

.stat-change.positive {
    color: #10B981;
}

.stat-change.negative {
    color: #EF4444;
}

.stat-change.neutral {
    color: #6B7280;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 40px;
}

.quick-actions h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 20px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-card {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #1E3A8A;
}

.action-icon {
    width: 50px;
    height: 50px;
    background-color: #1E3A8A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
}

.action-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}

.action-card p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
}

/* Recent Activity */
.recent-activity {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: #F9FAFB;
    border-radius: 8px;
    border-left: 3px solid #E5E7EB;
}

.activity-icon {
    width: 32px;
    height: 32px;
    background-color: #1E3A8A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 5px;
}

.activity-content p {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 5px;
    line-height: 1.4;
}

.activity-time {
    font-size: 11px;
    color: #9CA3AF;
    font-style: italic;
}

/* System Status */
.system-status {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.status-indicator.online {
    color: #10B981;
}

.status-indicator.online i {
    color: #10B981;
    font-size: 8px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.status-item {
    padding: 15px;
    background-color: #F9FAFB;
    border-radius: 8px;
    border-left: 3px solid #E5E7EB;
}

.status-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}

.status-item .status-badge {
    display: inline-block;
    margin-bottom: 8px;
}

.status-item .uptime {
    font-size: 12px;
    color: #6B7280;
    display: block;
}

/* Status Badges */
.status-operational {
    background-color: #DCFCE7;
    color: #16A34A;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .stat-card {
        padding: 20px;
    }

    .action-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-icon {
        margin-bottom: 15px;
    }

    .action-icon {
        margin: 0 auto 15px auto;
    }

    .activity-item {
        flex-direction: column;
        text-align: center;
    }

    .activity-icon {
        margin: 0 auto;
    }
}
