/* Estilos específicos para server-stats.php */

.modalidad-hero { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.modalidad-hero img { width: 100%; height: 260px; object-fit: cover; display:block; }
.modalidad-hero-content { position: absolute; left:20px; bottom:20px; color: #fff; text-shadow: 0 4px 14px rgba(0,0,0,0.6);} 

.modalidad-overall-progress { display:flex; gap:18px; align-items:center; margin: 18px 0; }
.overall-percent-circle { width:84px; height:84px; border-radius:50%; background:var(--bg-color-alt); display:flex; align-items:center; justify-content:center; font-weight:800; color:var(--primary-color); box-shadow: inset 0 -6px 18px rgba(0,0,0,0.25);} 
.overall-bar-container { background: rgba(255,255,255,0.06); border-radius: 12px; width: 240px; height: 12px; overflow:hidden; }
.overall-bar-fill { height:100%; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); }

.tasks-list { display:flex; flex-direction:column; gap:10px; }
.task-item { display:flex; align-items:center; gap:12px; padding:12px; background:var(--card-bg-color); border-radius:8px; }
.task-item.done-task { opacity:0.9; }
.task-status-icon { width:36px; height:36px; display:flex; align-items:center; justify-content:center; border-radius:8px; background: rgba(255,255,255,0.04); }

.progress-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:18px; }
.progress-card-link { display:block; color: inherit; text-decoration:none; }
.progress-card-link:hover .progress-card { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,0.22); }
.progress-card-link * { color: inherit; }
.progress-card { background: var(--card-bg-color); padding:14px; border-radius:12px; box-shadow: 0 8px 24px rgba(0,0,0,0.18); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.progress-card-image { width:100%; height:140px; object-fit:cover; border-radius:8px; }
.progress-bar-container { position: relative; background: rgba(255,255,255,0.08); height:16px; border-radius:10px; overflow:hidden; margin-top:16px; }
.progress-bar-fill { height:100%; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); transition: width 0.35s ease; }
.progress-bar-percent { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 0.92rem; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.55); }
.progress-footer { margin-top: 12px; font-size: 0.95rem; color: var(--text-color-muted); }

.btn-back { display:inline-flex; gap:8px; align-items:center; padding:8px 12px; background:transparent; border:1px solid rgba(255,255,255,0.06); border-radius:8px; color:var(--text-color-muted); text-decoration:none; }

*** End Patch