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

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

.bg-fire { background-color: #d32f2f; }
.text-fire { color: #d32f2f; }
.border-fire { border-color: #d32f2f; }
.bg-medical { background-color: #1565c0; }
.text-medical { color: #1565c0; }
.border-medical { border-color: #1565c0; }
.bg-warning { background-color: #fbc02d; }
.text-warning { color: #fbc02d; }
.border-warning { border-color: #fbc02d; }

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.nav-link {
    position: relative;
    cursor: pointer;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #fbc02d;
    transition: width 0.3s;
}
.nav-link:hover::after {
    width: 100%;
}

.animate-fade {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.portal-bg {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

#mobile-menu {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}
#mobile-menu.active {
    max-height: 600px;
}

#dashboard-sidebar.active {
    display: flex !important;
}
