/* ==========================================================================
   A-PROBAR | Estilos de Casos en la Mesa & Reportes
   Archivo: css/casos.css
   ========================================================================== */

.cases-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 5rem;
}

.report-mock-dossier {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 1.8rem;
}

.dossier-id {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

.dossier-stamp-img {
  width: 90px;
  height: 90px;
}

.report-traffic-lights {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 1.8rem 0;
}

.light-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.dot-green { background: #10B981; box-shadow: 0 0 10px #10B981; }
.dot-yellow { background: #F59E0B; box-shadow: 0 0 10px #F59E0B; }
.dot-red { background: #EF4444; box-shadow: 0 0 10px #EF4444; }

.light-text-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.light-text-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Examples Grid */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.case-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
}

.case-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.case-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex: 1;
}

.case-solution-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.9rem;
  border-radius: 10px;
  border-left: 3px solid var(--accent-emerald);
  font-size: 0.82rem;
  color: #E2E8F0;
}

/* Responsive */
@media (max-width: 1024px) {
  .cases-layout {
    grid-template-columns: 1fr;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
}
