/* Toques que Curam — estilos customizados */

/* Sidebar links */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #a3c8da;
    transition: all 0.15s;
    text-decoration: none;
}
.sidebar-link:hover {
    background-color: rgba(255,255,255,0.08);
    color: #ffffff;
}
.sidebar-link.active {
    background-color: rgba(255,255,255,0.15);
    color: #ffffff;
    font-weight: 500;
}

/* Bottom navigation mobile */
.bottom-nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.6rem 0.25rem;
    font-size: 0.625rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s;
}
.bottom-nav-link.active {
    color: #1a475e;
}
.bottom-nav-link:hover {
    color: #1a475e;
}
.bottom-nav-link svg {
    width: 1.375rem;
    height: 1.375rem;
}

/* Safe area para dispositivos com notch */
.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Toast */
.toast {
    background: #1a475e;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    pointer-events: auto;
    animation: slideIn 0.2s ease;
    max-width: 20rem;
}
.toast.success { background: #4d8e79; }
.toast.error { background: #dc2626; }
.toast.warning { background: #d97706; }

@keyframes slideIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Scrollbar personalizada */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Focus ring padrão */
:focus-visible { outline: 2px solid #62a690; outline-offset: 2px; }

/* Transições suaves de página */
body { animation: fadeIn 0.15s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
