@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #4D44B5;
    --accent-blue: #FB7D5B;
    --dark-blue: #303972;
    --gold-accent: #FCC43E;
    --bg-light: #F3F4F9;
    --text-gray: #A0AEC0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-blue);
    background-color: var(--bg-light);
}

/* Inherited/Adapted from original */
.bg-primary, .btn-primary {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
}

.text-primary {
    color: var(--primary-blue) !important;
}

/* Top Bar Styling */
.top-bar {
    background-color: var(--primary-blue);
    font-size: 0.85rem;
}

/* Nav Menu Link Alignment overrides */
.navbar-nav .nav-link {
    color: #444 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover {
    color: var(--accent-blue) !important;
}

/* Hero Layout Container Background Properties */
.hero-banner {
    background: linear-gradient(135deg, var(--dark-blue) 45%, var(--primary-blue) 100%);
    color: white;
    padding: 60px 0;
}
.hero-title {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 2.5rem;
}

/* Notice Scrolling Update Strip Layout */
.updates-strip {
    background-color: var(--dark-blue);
    color: #ffb300;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Quick Box Matrix Grid Panels Custom Accents */
.quick-box {
    border: none;
    border-radius: 8px;
    color: white;
    transition: transform 0.2s ease;
}
.quick-box:hover {
    transform: translateY(-4px);
}
.box-blue { background-color: #1e62a1; }
.box-red { background-color: #d14949; }
.box-orange { background-color: #e68a22; }
.box-teal { background-color: #2a9d8f; }

/* Circle Frame Profile Images for Hall of Fame Wall */
.topper-frame {
    width: 120px;
    height: 120px;
    border: 4px solid var(--gold-accent);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* Footer Element Rules */
footer {
    background-color: #0b2233;
    color: #b0c4de;
}
footer h6 {
    color: #fff;
    font-weight: 600;
}
footer a {
    color: #b0c4de;
    text-decoration: none;
}
footer a:hover {
    color: #fff;
}

/* Student Dashboard Enhancements */
.dashboard-nav .list-group-item {
    border-radius: 0;
    border-left: 4px solid transparent;
    font-weight: 500;
    color: #444;
}
.dashboard-nav .list-group-item.active,
.dashboard-nav .list-group-item:hover {
    border-left-color: var(--primary-blue);
    background-color: #f0f5fa;
    color: var(--primary-blue);
}
.dashboard-nav .list-group-item.active {
    font-weight: 700;
}
.dashboard-nav .list-group-item i {
    width: 20px;
    text-align: center;
}

.stat-card {
    border: none;
    border-radius: 8px;
    color: white;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.stat-card h1 { font-size: 3rem; font-weight: 700; }
.stat-card span { font-weight: 500; }

/* Quick Action Buttons Hover Animation */
.quick-action-btn {
    transition: all 0.3s ease;
}
.quick-action-btn:hover {
    transform: translateY(-5px);
    background-color: #f8f9fa !important;
}

/* Elevated Dashboard Polish */
.admin-stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.admin-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}
canvas {
    max-width: 100%;
}

.custom-scrollbar::-webkit-scrollbar { width: 5px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #f1f1f1; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #A0AEC0; border-radius: 10px; }