/**
 * PROJETAR SOLUÇÕES — Estilos Complementares da Aplicação
 */

:root {
    --brand-amber: #f59e0b;
    --brand-amber-dark: #d97706;
}

/* Transições suaves globais */
body, nav, div, button, input {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* PWA Bottom Navigation Bar (Fixo para dispositivos móveis) */
.pwa-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding-bottom: env(safe-area-inset-bottom, 0.5rem);
}

/* Espaçamento inferior na página quando a barra mobile estiver ativa */
@media (max-width: 768px) {
    .pwa-content-wrapper {
        padding-bottom: 5.5rem;
    }
}

/* Scrollbar refinada */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(156, 163, 175, 0.4);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(156, 163, 175, 0.7);
}

/* Customização para SweetAlert2 em tons pastéis */
.swal2-popup {
    border-radius: 1.25rem !important;
    font-family: inherit !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.dark .swal2-popup {
    border: 1px solid rgba(51, 65, 85, 0.8) !important;
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

.swal2-icon.swal2-success {
    border-color: #86efac !important; /* Pastel Green */
    color: #22c55e !important;
}

.swal2-icon.swal2-warning {
    border-color: #fde047 !important; /* Pastel Yellow */
    color: #eab308 !important;
}

.swal2-icon.swal2-error {
    border-color: #fca5a5 !important; /* Pastel Red */
    color: #ef4444 !important;
}
