/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f9f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.btn-custom {
    background-color: #0057b8; /* Base blue color */
    color: white; /* White text for contrast */
    border: none; /* No border for a cleaner look */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
    border-radius: 0px;
}

.btn-custom:hover {
    background-color: #003f88; /* Slightly darker blue on hover */
    color: #f1f1f1; /* Slightly lighter text on hover */
}

.btn-custom:focus, .btn-custom:active {
    background-color: #004a96; /* Even darker shade for focus/active state */
    outline: none; /* Remove focus outline for a cleaner design */
    box-shadow: 0 0 5px rgba(0, 87, 184, 0.5); /* Optional focus shadow */
}


/* Navbar and Footer styling */
.nav-item.mx-3 {
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    box-shadow: none;
    list-style-type: none;
    display: inline-block;
}

.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
}

.navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar-nav .nav-link i {
    color: white;
    font-size: 1.2em;
    line-height: 1;
}

.navbar-nav .nav-link i:hover {
    color: #004a96;
}

/* Error styling */
.errors {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Page padding */
.page-content {
    padding: 20px 0px 40px 0px; /* Ensure no overlap with the footer */
    max-width: 1200px;
    margin: auto;
}

/* Footer styling under .global-footer class */
.global-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0057b8;
    color: white;
    z-index: 1000;
    padding: 12px 0 calc(20px + env(safe-area-inset-bottom)) 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid white; /* Add white 3px top border */
}

.global-footer .nav-icon a {
    color: white;
    font-size: 2em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.global-footer .nav-icon a:hover {
    color: #004a96;
}

.global-footer .footer-text {
    font-size: 0.7em;
    color: white;
    margin-top: 0px;
    margin-bottom: 0px;
}


/* Header links */
header a {
    color: white;
    text-decoration: none;
    padding: 10px;
    font-size: 18px;
}

header a:hover {
    background-color: #004a96;
    border-radius: 5px;
}

