﻿body {
    padding-top: 75px;
    padding-bottom: 120px;
}

.navbar {
    background-color: #1f4287;
    border-bottom: 6px solid #799a3d;
    padding: 8px 16px;
}

.navbar-brand {
    height: 50px;
}

#logoContainer {
    vertical-align: middle;
}

.JCPSlogo {
    position: relative;
    top: -15px;
    width: 82px;
    z-index: 999 !important;
} 

/* Loading Overlay */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

#loadingOverlay .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Toast customization */
.toast-header {
    background-color: #0d6efd;
    color: white;
}

.toast-header.bg-success {
    background-color: #198754 !important;
}

.toast-header.bg-danger {
    background-color: #dc3545 !important;
}

/* Action buttons in table */
.action-btn {
    padding: 0.175rem 0.375rem;
    font-size: 0.875rem;
    margin: 0 0.125rem;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px; /* Set the fixed height of the footer here */
    line-height: 60px; /* Vertically center the text there */
    background-color: #f5f5f5;
}

/* Responsive table improvements */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }

    .card-body {
        padding: 0.75rem;
    }
}