﻿body {
    padding-top: 60px; /* Adjusted for BS5 navbar height with h3 */
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,*/
select,
textarea {
    max-width: 280px;
}

/* Reduced footer height: override .py-3 (1rem) with reduced padding */
.footer-info p {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* Ensure the footer container itself doesn't add extra height if any */
.footer-info {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* LoginBlock adjustments: Reduce overall size by constraining width and internal padding */
#LoginBlock {
    max-width: 80%; /* Reduce size relative to the column */
    margin: 0 auto; /* Center the block */
    padding: 0.3rem !important; /* Reduce the p-2 (0.5rem) */
}

/* Reduce internal card spacing */
#LoginBlock .card-body {
    padding: 0.7rem !important; /* Reduce from default 1rem (approx 30% reduction) */
}

/* Reduce spacing between form elements */
#LoginBlock .mb-3 {
    margin-bottom: 0.7rem !important;
}
