/* ── Software de Ingeniería – estilos específicos ───── */
@import url('biblioteca.css');

/* Contenedor principal */
#normas-root {
  min-height: 400px;
}

/* Acento de color: verde-teal que evoca tecnología */
.lib-page-header h1 {
  background: linear-gradient(90deg, #059669, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Software card specific styles */
.sw-usage {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.sw-license {
  margin: 6px 0;
}
.sw-license span {
  font-size: 0.65rem;
  font-family: var(--lib-mono);
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--gray);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sw-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.software-card .book-cover {
  aspect-ratio: 16/9;
  background: linear-gradient(45deg, #0f172a, #1eccde22);
  transform: none;
  border-radius: 0.5rem;
}
.software-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}
.software-card .book-info {
  padding: 0px 10px;
}
.software-card .book-cover .no-cover {
  font-size: 3rem;
  opacity: 0.5;
}

.list-usage {
  font-size: 0.8rem;
  color: var(--gray);
  opacity: 0.7;
}

/* Specific license colors */
.sw-license .sw-lic-open {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.2);
  background: rgba(74, 222, 128, 0.05);
}

.sw-license .sw-lic-free {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.2);
  background: rgba(96, 165, 250, 0.05);
}
