/* styles/trainerHome.css - Estilos para CoachOps AI */

.coachops-dashboard {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', system-ui, sans-serif;
    color: #f1f5f9;
}

.coachops-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.coachops-header h2 {
    color: var(--color-primary, #3b82f6);
    margin: 0 0 5px 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.coachops-header p {
    color: #94a3b8;
    margin: 0;
    font-size: 14px;
}

.date-badge {
    position: absolute;
    right: 0;
    top: 0;
    background: rgba(255,255,255,0.05);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.1);
}

.ops-section {
    background: var(--surface, #1e293b);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255,255,255,0.05);
}

.ops-section h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

/* Resumen General Grid */
.ops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.ops-card {
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.02);
}

.ops-card.highlight-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.ops-card.highlight-danger .ops-value {
    color: #f87171;
}

.ops-value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.ops-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Layout de Columnas */
.ops-layout-cols {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
}

@media (max-width: 900px) {
    .ops-layout-cols {
        grid-template-columns: 1fr;
    }
}

/* Listas Genéricas */
.ops-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ops-list-item {
    background: rgba(255,255,255,0.03);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 3px solid var(--color-primary, #3b82f6);
}

.ops-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.badge-status {
    font-size: 11px;
    background: rgba(0,0,0,0.3);
    padding: 3px 8px;
    border-radius: 12px;
}

.ops-item-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #cbd5e1;
}

.action-text {
    margin-top: 6px;
    color: #fcd34d;
    font-weight: 600;
}

/* Tablas */
.ops-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ops-table th, .ops-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ops-table th {
    color: #94a3b8;
    font-weight: normal;
}

.ops-table tr:last-child td {
    border-bottom: none;
}

/* Alertas & Acciones */
.alerts-section {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.2);
}

.alerts-section h3 {
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.2);
}

.ops-alerts, .ops-actions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ops-alerts li, .ops-actions li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    line-height: 1.4;
}

.ops-alerts li:last-child, .ops-actions li:last-child {
    border-bottom: none;
}

.actions-section {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.actions-section h3 {
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.2);
}

/* Asistencias */
.attendance-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.att-row {
    display: flex;
    justify-content: space-between;
}

.att-progress {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.att-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 4px;
}

.att-rate {
    text-align: right;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 5px;
}

.mock-note {
    font-size: 11px;
    color: #64748b;
    margin-top: 10px;
    text-align: right;
    font-style: italic;
}
