﻿﻿/* documentos.css - SOLO módulo documentos (NO tocar main.css) */

.documentos-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  box-sizing: border-box;
}

/* Encabezado */
.documentos-hero {
  margin-bottom: 1.75rem;
}

.documentos-page h1 {
  margin: 0 0 0.4rem;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-blanco, #ffffff);
}

.documentos-page .intro {
  margin: 0;
  color: var(--color-texto-suave, #94a3b8);
  font-size: 1rem;
  line-height: 1.5;
}

.lista-docs {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 1) Tarjeta distinta del body + 2) borde naranja izquierdo */
.lista-docs li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem 1.2rem 1.25rem;
  margin-bottom: 1rem;
  background: #273549; /* un poco más claro que el body */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--color-naranja, #FC7F00);
  border-radius: 10px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lista-docs li:hover {
  border-left-color: var(--color-naranja, #FC7F00);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.doc-info {
  flex: 1;
  min-width: 0;
}

/* 3) Badge de categoría */
.doc-badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-naranja, #FC7F00);
  background: rgba(252, 127, 0, 0.15);
  border: 1px solid rgba(252, 127, 0, 0.35);
  border-radius: 999px;
}

.lista-docs strong {
  display: block;
  color: var(--color-blanco, #ffffff);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.doc-desc {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--color-texto-suave, #94a3b8);
  line-height: 1.45;
}

.lista-docs .meta {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: #64748b;
}

/* 3) Botón naranja */
.btn-doc {
  flex-shrink: 0;
  display: inline-block;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff !important;
  background: var(--color-naranja, #FC7F00);
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(252, 127, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.btn-doc:hover {
  background: #e67200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(252, 127, 0, 0.4);
  color: #ffffff !important;
}

.sin-resultados {
  color: var(--color-texto-suave, #94a3b8);
  padding: 1.5rem 0;
}

@media (max-width: 600px) {
  .lista-docs li {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-doc {
    width: 100%;
    text-align: center;
  }
}