/* ============================================================
   Generador de QR - Arión Arquitectura
   Colores de marca: verde #A3BD31 / gris oscuro #33373D
   ============================================================ */
:root {
  --brand-green: #a3bd31;
  --brand-dark:  #33373d;
  --brand-black: #1c1e22;
}

body { background: #fff; color: var(--brand-dark); font-family: "Segoe UI", system-ui, sans-serif; }

/* Cabecera */
.app-header {
  background: linear-gradient(120deg, var(--brand-black), var(--brand-dark));
  border-bottom: 4px solid var(--brand-green);
  padding: 18px 0;
}
.app-logo { height: 48px; width: auto; background: #fff; border-radius: 6px; padding: 5px 10px; }
.app-title { color: #fff; font-size: 1.6rem; font-weight: 600; margin: 0; }
.app-title a { color: #d7dbdf; text-decoration: none; }
.app-title a:hover { color: var(--brand-green); }
.app-title i { color: var(--brand-green); margin: 0 8px; font-size: 1.1rem; }
.app-title span { color: #fff; }

/* Barra buscador DataTables */
.dataTables_wrapper .row:first-child {
  background: var(--brand-dark);
  border-radius: 8px;
  padding: 12px 10px;
  margin: 0 0 14px 0;
  color: #fff;
  align-items: center;
}
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label { color: #fff; font-weight: 500; }

/* Tabla */
#tabla thead th { border-bottom: 2px solid var(--brand-dark); color: var(--brand-dark); }
.dir-link, .file-link { color: var(--brand-dark); text-decoration: none; font-size: 1.05rem; }
.dir-link:hover, .file-link:hover { color: var(--brand-green); }
.folder-ico { color: var(--brand-green); margin-right: 6px; }
.file-ico { color: var(--brand-green); margin-right: 6px; }
.qr-box img, .qr-box canvas { width: 84px; height: 84px; }

.action-ico { color: var(--brand-green); margin-left: 12px; font-size: 1.05rem; }
.action-ico:hover { color: #c0392b; }

/* Barra herramientas (subir / crear carpeta) */
.tools-bar { background: var(--brand-dark); padding: 26px 0; }
.tools-label { color: #fff; margin-bottom: 8px; display: block; }
.btn-brand { background: var(--brand-green); border: none; color: var(--brand-black); font-weight: 600; }
.btn-brand:hover { background: #b8d43e; color: var(--brand-black); }

/* Pie */
.app-footer {
  background: var(--brand-black); color: #cfd3d7;
  text-align: center; padding: 12px 0; font-size: .9rem;
}

/* Paginación */
.page-item.active .page-link { background: var(--brand-green); border-color: var(--brand-green); color: var(--brand-black); }
.page-link { color: var(--brand-dark); }
