
.facility-card {
    background-color: #fff;
    border: 1px solid #dce8f5;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.facility-card img {
    border-radius: 15px;
    margin-bottom: 15px;
}

.card-content {
    text-align: center;
    flex-grow: 1;
}

.card-content h5, .facility-title {
    color: #003865;
    font-weight: 500;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.05rem;
}

.card-content p, .facility-description {
    color: #212529;
    font-size: 1rem;
    text-align: center;
}

.facility-info i {
    color: var(--primary-color);
    width: 20px;
}

.facility-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

.card-footer-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    bottom: 10px;
}

.card-footer-buttons .btn {
    flex-grow: 1;
    border-radius: 10px;
    font-weight: 500;
    border: none;
}

.equipment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.equipment-tag {
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 500;
}

.facility-manager, .facility-manager-full {
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.8rem;
}
.facility-manager { width: 60%; }
.facility-manager-full { width: 100%; }
.facility-manager h6 {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
}
.facility-manager p {
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    word-break: break-all;
}
.facility-manager i {
    color: var(--primary-color);
    width: 16px;
}

.btn-feedback {
    background-color: #fde6d8;
    color: #e67e22;
}
.btn-feedback:hover {
    background-color: #fbdac5;
    color: #e67e22;
}

.btn-book {
    background-color: #d5f5e3;
    color: #27ae60;
}
.btn-book:hover {
    background-color: #c2f0d4;
    color: #27ae60;
}

.btn-details {
    background-color: var(--primary-color);
    color: #fff;
}
.btn-details:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Additional styles for the feedback modal */
#facility-feedback-modal .modal-content {
    font-family: 'Poppins', sans-serif;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Override left-panel styles for the modal context */
#facility-feedback-modal .left-panel {
    background-image: url('../img/mosti.jpg');
}

/* Ensure form elements in the modal have proper styling */
#facility-feedback-modal .right-panel {
    padding: 30px;
}

#facility-feedback-modal .right-panel form {
    text-align: left;
}

/* Override left-panel::before to make the background dimmer */
#facility-feedback-modal .left-panel::before {
    background-color: rgba(0, 56, 101, 0.9); /* Increased opacity from 0.65 to 0.8 */
}

/* Make the facility image full width in the left panel */
#facility-feedback-modal .left-panel img {
    width: 100%;
    max-width: 100%;
}

/* Duplicate styles for Equipment Feedback modal to match Facility Feedback modal */
#equipment-feedback-modal .modal-content {
    font-family: 'Poppins', sans-serif;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

#equipment-feedback-modal .left-panel {
    background-image: url('../img/mosti.jpg');
}

#equipment-feedback-modal .right-panel {
    padding: 30px;
}

#equipment-feedback-modal .right-panel form {
    text-align: left;
}

#equipment-feedback-modal .left-panel::before {
    background-color: rgba(0, 56, 101, 0.9);
}

#equipment-feedback-modal .left-panel img {
    width: 100%;
    max-width: 100%;
}

/* Duplicate styles for Service Feedback modal to match Facility Feedback modal */
#service-feedback-modal .modal-content {
    font-family: 'Poppins', sans-serif;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

#service-feedback-modal .left-panel {
    background-image: url('../img/mosti.jpg');
}

#service-feedback-modal .right-panel {
    padding: 30px;
}

#service-feedback-modal .right-panel form {
    text-align: left;
}

#service-feedback-modal .left-panel::before {
    background-color: rgba(0, 56, 101, 0.9);
}

#service-feedback-modal .left-panel img {
    width: 100%;
    max-width: 100%;
}

/* Styles for the facility booking modal */
#facility-booking-modal .modal-content {
    font-family: 'Poppins', sans-serif;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Override left-panel styles for the booking modal context */
#facility-booking-modal .left-panel {
    background-image: url('../img/mosti.jpg');
}

/* Override left-panel::before to make the background dimmer */
#facility-booking-modal .left-panel::before {
    background-color: rgba(0, 56, 101, 0.9);
}

#facility-booking-modal .left-panel img {
    width: 100%;
    max-width: 100%;
}

/* Ensure form elements in the modal have proper styling */
#facility-booking-modal .right-panel {
    padding: 30px;
    position: relative;
    background-image: url('../img/bg-overlay.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%; /* Ensure right panel is full height */
}

/* Add overlay to make the background image less visible */
#facility-booking-modal .right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* White overlay with high opacity */
    z-index: 1;
}

/* Ensure the logo is displayed above the background */
#facility-booking-modal .right-panel .logo {
    position: relative;
    z-index: 2;
}

#facility-booking-modal .right-panel form {
    text-align: left;
    position: relative;
    z-index: 2;
}

/* Duplicate styles for Equipment Booking modal to match Facility Booking modal */
#equipment-booking-modal .modal-content {
    font-family: 'Poppins', sans-serif;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

#equipment-booking-modal .left-panel {
    background-image: url('../img/mosti.jpg');
}

#equipment-booking-modal .left-panel::before {
    background-color: rgba(0, 56, 101, 0.9);
}

#equipment-booking-modal .left-panel img {
    width: 100%;
    max-width: 100%;
}

#equipment-booking-modal .right-panel {
    padding: 30px;
    position: relative;
    background-image: url('../img/bg-overlay.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
}

#equipment-booking-modal .right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

#equipment-booking-modal .right-panel .logo {
    position: relative;
    z-index: 2;
}

#equipment-booking-modal .right-panel form {
    text-align: left;
    position: relative;
    z-index: 2;
}

/* Duplicate styles for Service Booking modal to match Facility Booking modal */
#service-booking-modal .modal-content {
    font-family: 'Poppins', sans-serif;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

#service-booking-modal .left-panel {
    background-image: url('../img/mosti.jpg');
}

#service-booking-modal .left-panel::before {
    background-color: rgba(0, 56, 101, 0.9);
}

#service-booking-modal .left-panel img {
    width: 100%;
    max-width: 100%;
}

#service-booking-modal .right-panel {
    padding: 30px;
    position: relative;
    background-image: url('../img/bg-overlay.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
}

#service-booking-modal .right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

#service-booking-modal .right-panel .logo {
    position: relative;
    z-index: 2;
}

#service-booking-modal .right-panel form {
    text-align: left;
    position: relative;
    z-index: 2;
}

/* Styles for the facility details modal */
#view-facility-details-modal .modal-content {
    font-family: 'Poppins', sans-serif;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Add a subtle line between rows */
#view-facility-details-modal .modal-body > .row:first-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04); /* Light, not distracting line */
}

/* Override left-panel styles for the details modal context */
#view-facility-details-modal .left-panel {
    background-image: url('../img/mosti.jpg');
}

#view-facility-details-modal .left-panel::before {
    background-color: rgba(0, 56, 101, 0.9);
}

#view-facility-details-modal .left-panel img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

/* Facility info container in the left panel */
.facility-info-container {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: left;
    width: 100%;
}

.facility-info-container h6 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
}

.facility-info-container p {
    margin-bottom: 15px;
}

.facility-info-container i {
    margin-right: 8px;
    width: 16px;
}

/* Right panel styles for the details modal */
#view-facility-details-modal .right-panel {
    padding: 30px;
    text-align: left;
    position: relative;
    background-image: url('../img/bg-overlay.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%; /* Ensure right panel is full height */
}

/* Add overlay to make the background image less visible */
#view-facility-details-modal .right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* White overlay with high opacity */
    z-index: 1;
}

/* Ensure the logo is displayed above the background */
#view-facility-details-modal .right-panel .logo {
    position: relative;
    z-index: 2;
}

.facility-details-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Duplicate styles for Equipment Details modal to match Facility Details modal */
#equipment-details-modal .modal-content {
    font-family: 'Poppins', sans-serif;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

#equipment-details-modal .modal-body > .row:first-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

#equipment-details-modal .left-panel {
    background-image: url('../img/mosti.jpg');
}

#equipment-details-modal .left-panel::before {
    background-color: rgba(0, 56, 101, 0.9);
}

#equipment-details-modal .left-panel img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

#equipment-details-modal .right-panel {
    padding: 30px;
    text-align: left;
    position: relative;
    background-image: url('../img/bg-overlay.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
}

#equipment-details-modal .right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

#equipment-details-modal .right-panel .logo {
    position: relative;
    z-index: 2;
}

/* Duplicate styles for Service Details modal to match Facility Details modal */
#service-details-modal .modal-content {
    font-family: 'Poppins', sans-serif;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

#service-details-modal .modal-body > .row:first-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

#service-details-modal .left-panel {
    background-image: url('../img/mosti.jpg');
}

#service-details-modal .left-panel::before {
    background-color: rgba(0, 56, 101, 0.9);
}

#service-details-modal .left-panel img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

#service-details-modal .right-panel {
    padding: 30px;
    text-align: left;
    position: relative;
    background-image: url('../img/bg-overlay.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
}

#service-details-modal .right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

#service-details-modal .right-panel .logo {
    position: relative;
    z-index: 2;
}

/* Equipment table in the second row */
.facility-equipment, .facility-services {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

/* Reduce brightness of table header */
.facility-equipment table thead {
    background-color: #e9ecef; /* Darker background color */
    color: #495057; /* Darker text color */
}

/* Manager card styling */
.manager-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    height: 100%;
}

.manager-name {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.manager-position {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.manager-contact {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.manager-contact i {
    color: var(--primary-color);
    width: 16px;
    margin-right: 5px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.tag {
    background-color: #d6e4f2;
    color: #003865;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 500;
}

 /* ---------------------------------- */
 /* CALENDAR STYLES                    */
 /* ---------------------------------- */
 div.mini-cal-widget .calendar-container {
     position: relative;
     z-index: 2;
     font-family: 'Poppins', sans-serif;
     background-color: #ffffff;
     border: 1px solid #003865;
     border-radius: 6px;
     padding: 8px;
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
     margin-bottom: 40px;
 }

.mini-cal-widget .fc {
    color: #003865;
    font-size: 0.7rem;
    background-color: transparent;
    font-family: 'Poppins', sans-serif;
}

.mini-cal-widget .fc .fc-toolbar-title {
    color: #003865;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.mini-cal-widget .fc .fc-button {
    background-color: transparent;
    border: 1px solid #003865;
    color: #003865;
    box-shadow: none;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.mini-cal-widget .fc .fc-button:hover,
.mini-cal-widget .fc .fc-button:active,
.mini-cal-widget .fc .fc-button:focus {
    background-color: rgba(0, 56, 101, 0.1);
}

.mini-cal-widget .fc .fc-daygrid-day-header {
    border-bottom: 1px solid rgba(0, 56, 101, 0.2);
    color: #003865;
    font-weight: 500;
    padding: 3px 0;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.mini-cal-widget .fc .fc-daygrid-day {
    border-color: rgba(0, 56, 101, 0.15);
    transition: background-color 0.2s ease;
}

.mini-cal-widget .fc .fc-day-today {
    background-color: rgba(0, 56, 101, 0.1) !important;
    border: 1px solid rgba(0, 56, 101, 0.3) !important;
}

.mini-cal-widget .fc .fc-daygrid-day-number {
    color: #003865;
    padding: 1px 3px;
    font-size: 0.65rem;
    font-weight: 500;
}

.mini-cal-widget .fc .fc-day-other .fc-daygrid-day-number {
    opacity: 0.4;
}

.mini-cal-widget .fc .fc-daygrid-day.fc-day-future:hover {
    background-color: rgba(0, 56, 101, 0.1);
    cursor: pointer;
}

.mini-cal-widget .fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0.5em;
}

.mini-cal-widget .fc-event.fc-bg-event {
    opacity: 0.6;
}

/* Hide event text and the "+ more" link */
.fc-event,
.fc-daygrid-more-link {
    display: none !important;
}

/* Base style for dimmed/booked day cell */
.fc-daygrid-day.is-booked {
    background-color: #D3D3D3; /* A disabled gray, muted color */
    cursor: default;
    pointer-events: none; /* Disable all hover/click events for booked cells */
    position: relative; /* Needed for positioning the pseudo-element */
}

/* Style for the "today" cell if it's NOT booked (FullCalendar default) */
/* You might want to ensure FullCalendar's default `fc-day-today` style is still visible for unbooked 'today' */
.fc-daygrid-day.fc-day-today {
    background-color: #ffe8d1 !important; /* Example: a light orange for today */
    /* Add any other specific styles for unbooked 'today' here */
}

/* Specific styling for a booked cell that is also today */
.fc-daygrid-day.is-booked.fc-day-today {
    background-color: #D3D3D3 !important; /* Ensure it still looks booked */
    /* Remove any default 'today' border if it conflicts */
    border: none !important;
}

.fc-daygrid-day.is-booked.fc-day-today .fc-daygrid-day-number {
    color: #007bff !important; /* A standard, vibrant blue */
    text-decoration: none; /* Remove underline if any */
}

