/* FUSST Branding Colors */
:root {
    --fusst-primary: #003366;
    /* Deep blue */
    --fusst-secondary: #8B0000;
    /* Dark red */
    --fusst-tertiary: #FFD700;
    /* Gold accent */
    --fusst-light: #f8f9fa;
    /* Light background */
    --fusst-dark: #212529;
    /* Dark text */
}

/* General Styles */
body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--fusst-light);
    color: var(--fusst-dark);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.card-header {
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: var(--fusst-primary) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

/* Student list in sections */
.student-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
}

.student-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.student-checkbox-item {
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 4px;
    background-color: #f8f9fa;
    margin-bottom: 5px;
}

.student-checkbox-item:hover {
    background-color: #e9ecef;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--fusst-tertiary);
}

/* Button Styles */
.btn {
    border-radius: 0.25rem;
    padding: 0.375rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--fusst-primary);
    border-color: var(--fusst-primary);
}

.btn-primary:hover {
    background-color: #004080;
    border-color: #004080;
}

.btn-outline-primary {
    color: var(--fusst-primary);
    border-color: var(--fusst-primary);
}

.btn-outline-primary:hover {
    background-color: var(--fusst-primary);
    border-color: var(--fusst-primary);
}

.btn-success {
    background-color: #1cc88a;
    border-color: #1cc88a;
}

.btn-success:hover {
    background-color: #17a673;
    border-color: #169b6b;
}

.btn-danger {
    background-color: #e74a3b;
    border-color: #e74a3b;
}

.btn-danger:hover {
    background-color: #e02d1b;
    border-color: #d52a1a;
}

/* Quiz styles */
.question-card {
    background-color: #fff;
    transition: all 0.3s ease;
}

.question-card:hover {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.option-item {
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}

.option-item:hover {
    background-color: #f8f9fa;
}

.option-item input[type="radio"] {
    cursor: pointer;
    margin-right: 10px;
}

.option-item label {
    cursor: pointer;
    width: 100%;
}

.quiz-timer {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Result Page Styles */
.result-circle {
    position: relative;
    padding: 10px;
}

.correct-answer {
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 4px;
}

.wrong-answer {
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 4px;
}

/* Dashboard Styles */
.dashboard-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.dashboard-card-body {
    flex: 1;
}

/* Admin Dashboard */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
}

/* Footer */
.footer {
    margin-top: auto;
    background-color: #f1f3f6 !important;
    border-top: 3px solid var(--fusst-secondary);
}

/* FUSST Branding */
.fusst-logo {
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-fusst-primary {
    background-color: var(--fusst-primary) !important;
}

.bg-fusst-secondary {
    background-color: var(--fusst-secondary) !important;
}

.text-fusst-primary {
    color: var(--fusst-primary) !important;
}

.text-fusst-secondary {
    color: var(--fusst-secondary) !important;
}

.text-fusst-gold {
    color: var(--fusst-tertiary) !important;
}

.copyright-text {
    font-size: 0.85rem;
}