@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a; /* Fondo base oscuro para el contraste del cristal */
    color: #0f172a;
    overflow: hidden;
}

.font-mono { font-family: 'JetBrains Mono', monospace; }
.rounded-none { border-radius: 0 !important; }

/* Capas de Fondo Inmersivo */
#dynamic-bg {
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease-out;
    will-change: opacity, transform;
    transform: scale(1.05); /* Ligero zoom inicial */
}

#dynamic-bg.bg-active {
    opacity: 1;
    transform: scale(1);
}

#glass-overlay {
    transition: all 0.5s ease;
}

/* Filas de Inventario */
.inventory-row {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

/* Efecto al pasar el cursor sobre la fila */
.inventory-row:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: translateX(4px);
}

/* Transiciones de Vista (SPA) */
.fade-in {
    animation: fadeIn 0.3s cubic-bezier(0, 0, 0.2, 1) forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.view-hidden { display: none !important; }

/* Checkbox Personalizado */
.checklist-box {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #94a3b8;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    margin-right: 12px;
    flex-shrink: 0;
}
.checklist-box:checked {
    background-color: #06b6d4;
    border-color: #06b6d4;
}
.checklist-box:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Scrollbar Técnica */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; border-left: 1px solid rgba(226, 232, 240, 0.2); }
::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, 0.5); border-radius: 0px; }
::-webkit-scrollbar-thumb:hover { background: rgba(148, 163, 184, 0.8); }
