﻿
body {
    background-color: lightgrey !important;
    border: 5px solid black !important;
    margin: 5px; /* Removes all default margins */
    padding: 0;  /* Removes inner spacing */
}

.jumbotron {
    background-color: rosybrown;
    padding: 1rem; /* Reduce padding for smaller spacing */
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

/* Content wrapper */
.body-content {
    margin-top: 5px;
    margin-left: 5px; /* narrower margin */
    margin-right: 5px; /* narrower margin */
    padding: 0; /* optionally remove padding if present */
}

/* 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 widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}

.veterans-section {
    padding: 1rem;
    background-color: #f8f9fa; /* Light gray for subtle contrast */
    border-radius: 6px;
}

.veterans-heading {
    font-size: 1.2rem; /* Small heading */
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2c3e50; /* Dark slate for emphasis */
}

.veterans-text {
    font-size: 1rem; /* Readable body text */
    line-height: 1.6;
    color: #444;
    margin-bottom: 0.25rem; /* or 0 if you want them flush */
}

.pdf-link {
    text-align: center;
    padding-left: 0.5rem; /* or 1rem for more space */
    text-decoration: underline;
    color: #007bff;
}


.calendar-hidden {
    visibility: hidden;
    height: 0;
    overflow: hidden;
}
calendar-wrapper {
    max-width: 100%;
    overflow-x: auto;
}

#calendar {
    font-size: 0.75rem;
}

.fc-daygrid-day-frame {
    padding: 2px;
}

.fc-toolbar-title {
    font-size: 1rem;
}

/* Base styling already exists; just adding button enhancements */
.rental-grid td a {
    display: inline-block;
    padding: 3px 8px;
    margin: 1px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f9fa;
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
}

.rental-entry {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left;
    display: table;
}

.event-entry {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left;
    display: table;
}

.event-grid td a {
    display: inline-block;
    padding: 3px 8px;
    margin: 1px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f9fa;
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
}

/* icon buttons */
/* Clean, no-border icon buttons */
.icon-btn {
    display: inline-block;
    font-size: 1.2rem;
    margin: 0 4px;
    padding: 0;
    border: none; /* removes box border */
    background: transparent; /* removes background color */
    cursor: pointer;
    text-decoration: none;
}

    /* Hover effects (optional subtle color shift) */
    .icon-btn:hover {
        transform: scale(1.15);
        opacity: 0.8;
    }

    /* Color cues for meaning */
    .icon-btn[commandname="Edit"] {
        color: #007bff;
    }
    /* blue pencil */
    .icon-btn[commandname="Delete"] {
        color: #dc3545;
    }
    /* red trash */
    .icon-btn[commandname="Update"] {
        color: #28a745;
    }
    /* green check */
    .icon-btn[commandname="Cancel"] {
        color: #6c757d;
    }
/* gray x */

.rental-entry {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left;
    display: table;
}

.OfficerMaint-entry {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left;
    display: table;
}

button:disabled,
input[type="submit"]:disabled {
    opacity: 0.5 !important; /* make it very faint */
    background-color: #6c757d !important; /* force gray background */
    color: #fff !important; /* keep text visible */
    border: 2px dashed #444 !important; /* add a strong border */
    cursor: not-allowed !important;
}