/* === Global Base Styles === */

/* Body & Typography */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #000000;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: #0056b3;
    padding: 20px 20px;
}

.navbar-brand {
    font-weight: bold;
    color: white;
    font-size: 1.5rem;
}

.navbar-logo {
    height: 50px;
    object-fit: contain;
    padding: 0 80px;
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 32px;
    }
}

/* Navbar Links */
.nav-link {
    color: black;
    font-weight: bold;
    padding: 5px 5px;
    transition: color 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.nav-link.active {
    background-color: #003c82;
    color: white;
    border-color: #0056b3;
}

.nav-link:hover {
    color: #737373;
}

/* Icon & Button Tweaks */
.btn-outline-light i {
    font-size: 1.25rem;
}

.btn-sm {
    --bs-btn-padding-x: 0rem !important;
    --bs-btn-padding-y: 0.25rem;
}

.logout-icon-btn {
    --bs-btn-padding-x: 0.4rem !important;
    --bs-btn-padding-y: 0.4rem !important;
    padding: 0.2rem 1rem !important;
}

#emailDisplay {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

/* Generic Forms */
label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #343a40;
    font-size: 1rem;
    display: block;
}

input, select, button {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
}

/* Generic Buttons */
button {
    background-color: #0056b3;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #737373
}

/* Cards (used on multiple pages) */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card-body {
    padding: 5px;
}

.card-header {
    background-color: #0056b3;
    color: white;
    font-weight: bold;
    padding: 10px;
}

.card {
    flex: 1;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #cce5ff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .card {
        min-height: auto;
        flex: none;
        width: 100%;
    }
}
