body { margin: 0; padding: 0; overflow: hidden; }

input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.bg-pan {
    background-size: 200% 200%;
    animation: pan 4s ease infinite;
}
@keyframes pan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.app-footer {
    border-top: 1px solid var(--border-color, #e2e8f0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    z-index: 100;
    flex-shrink: 0;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}
.dark .app-footer {
    border-top-color: #3f4147;
    background: rgba(43, 45, 49, 0.5);
}
.app-footer a { 
    cursor: pointer; 
    transition: color 0.2s, transform 0.2s; 
    font-weight: 500;
}
.app-footer a:hover { 
    text-decoration: underline; 
    color: #06b6d4;
}

@media (max-width: 640px) {
    .app-footer {
        flex-direction: column;
        justify-content: center;
        padding: 16px;
        gap: 10px;
    }
}

.sidebar-open { width: 16rem !important; }
.sidebar-closed { width: 0 !important; }

.modal-show { opacity: 1 !important; transform: scale(1) !important; }