/* Layout Base do Aiterus */
.library-header {
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--ui-border);
  padding: 15% 0 2rem;
}

.library-title {
  font-family: var(--font-stack-mono);
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.library-subtitle {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
}

/* Barra de Busca */
.search-container {
  max-width: 600px;
  margin: 0 auto 3rem auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem; /* Espaço para ícone */
  background: var(--bg-surface);
  border: 1px solid var(--ui-border);
  color: var(--text-body);
  font-family: var(--font-stack-mono);
  font-size: 1rem;
  box-sizing: border-box;
  border-radius: 4px;
  transition: border-color 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-action);
}

/* Ícone Simulado (Prompt) */
.search-container::before {
  content: ">";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-action);
  font-weight: bold;
  font-family: monospace;
}

/* Lista de Itens */
.archive-list {
  display: grid;
  gap: 1rem;
}

.archive-item {
  padding: 0.5rem 1rem;
  background: var(--bg-base);
  text-decoration: none;
  transition: all 0.2s ease;
}

.archive-item:hover {
  background: var(--bg-surface);
}

.item-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-body);
  display: block;
}

.item-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  background: var(--ui-border);
  padding: 2px 6px;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: inline-block;
}

/* Utilitário para o JS */
.hidden {
  display: none !important;
}

/* Rodapé Exclusivo */

.aiterus-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--ui-border);
  text-align: center;
  font-family: var(--font-stack-mono);
  font-size: 0.9rem;
}

.aiterus-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
