/* 
   Premium Responsive styles for Portal V2
   Typography: Inter for bodies, Outfit for main headings
*/

body {
    background-color: #f8fafc; /* light slate background typical in clean corporate portals */
    color: #334155;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, .brand-title {
    font-family: 'Outfit', sans-serif;
}

/* Navbar */
.navbar-premium {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid #e2e8f0;
}

.brand-gradient {
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f1f5f9;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.user-badge strong {
    color: #0f172a;
}

.btn-logout {
    background-color: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
    border-radius: 8px;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-logout:hover {
    background-color: #fef2f2;
    color: #dc2626;
    border-color: #dc2626;
}

/* Sections */
.section-title {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #3b82f6;
    border-radius: 4px;
}

.section-title.danger::before {
    background-color: #ef4444;
}

.danger-zone {
    background-color: #fff1f2;
    border: 1px dashed #fecdd3;
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.danger-zone .section-title {
    color: #be123c;
}

/* Cards */
.portal-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

a .portal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.icon-container {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Utilities */
.opacity-75 { opacity: 0.75; }
