body {
    background: #f8f9fa;
}

/* -----------------------------
   General Layout & Containers
--------------------------------- */
.container-fluid {
    padding: 1rem 2rem;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.card {
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* -----------------------------
   Left Calendar Panel
--------------------------------- */
#fc-calendar {
    max-width: 100%;
    margin: 0 auto;
}

.card-footer {
    background-color: #f1f3f5;
    border-top: 1px solid #dee2e6;
}

.card-footer .badge {
    width: 16px;
    height: 16px;
    display: inline-block;
    border-radius: 50%;
}

/* Add Appointment Button */
#btnAddAppt {
    font-weight: 500;
    transition: all 0.2s;
}

#btnAddAppt:hover {
    transform: translateY(-2px);
}

/* -----------------------------
   Right Appointments Panel
--------------------------------- */
.table-responsive {
    overflow-x: auto;
}

#appointmentsTable_wrapper .row {
    margin-bottom: 0.5rem;
}

#appointmentsTable_filter input {
    border-radius: 0.25rem;
    padding: 0.35rem 0.5rem;
    max-width: 250px;
    border: 1px solid #ced4da;
    transition: all 0.2s;
}

#appointmentsTable_filter input:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 3px rgba(13,110,253,0.25);
}

/* Table Styling */
#appointmentsTable {
    font-size: 0.9rem;
}

#appointmentsTable th {
    background-color: #e9ecef;
    font-weight: 600;
}

#appointmentsTable td, #appointmentsTable th {
    vertical-align: middle;
}

.wrap-cell {
    white-space: pre-wrap;
}

/* Status Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.45em 0.6em;
}

/* Actions Buttons */
.btn-arrive,
.btn-edit-note {
    font-size: 0.75rem;
    padding: 0.25rem 0.45rem;
}

/* -----------------------------
   Modals
--------------------------------- */
.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    font-weight: 600;
}

.modal-body .form-label {
    font-weight: 500;
}

.modal-body input.form-control,
.modal-body select.form-select,
.modal-body textarea.form-control {
    border-radius: 0.25rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

/* -----------------------------
   Responsive Adjustments
--------------------------------- */
@media (max-width: 992px) {
    .col-md-3, .col-md-9 {
        height: auto !important;
        margin-bottom: 1rem;
    }
}

/* Smooth hover effect for table rows */
#appointmentsTable tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
    cursor: pointer;
    transition: all 0.15s;
}
/***Navbar***/
/* Navbar background */
.custom-navbar {
    background-color: #ffffff;
    border-bottom: 2px solid #e5e5e5;
    font-family: 'Segoe UI', sans-serif;
}

/* Menu links */
.custom-navbar .nav-link {
    color: #555;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

/* Hover effect */
.custom-navbar .nav-link:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 6px;
}

/* Active link style */
.custom-navbar .nav-link.active {
    color: #0d6efd;
    font-weight: 600;
    border-bottom: 2px solid #0d6efd;
}

/* User name */
.custom-navbar .username {
    font-weight: 600;
    color: #333;
    padding-right: 1rem;
}

/* Logout link style */
.custom-navbar .logout {
    color: #dc3545;
    font-weight: 500;
}

.custom-navbar .logout:hover {
    color: #fff;
    background-color: #dc3545;
    border-radius: 6px;
}

.room-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.3);
    white-space: nowrap;
}

.room-highlight i {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Mobile menu */
@media (max-width: 768px) {
    .custom-navbar .nav-link {
        padding: 0.75rem 1rem;
    }
}




.badge-scheduled { background-color: #6c757d; }
.badge-arrived { background-color: #198754; } /* green */
.badge-acknowledged { background-color: #0d6efd; } /* blue */

/* Only wrap content for specific columns */
.wrap-cell {
    white-space: normal !important;  /* allow wrapping */
    word-break: break-word;          /* break long words if needed */
}
h3{
    font-size: 1.30rem;
}
/** calendar **/
/* Container */
#fc-calendar {
    width: 100%;
    padding: 0;
}

.fc {
    font-size: 11px !important;        /* Smaller font */
    border-radius: 4px;
    border: 1px solid #ddd;
}

.fc .fc-toolbar {
    margin-bottom: 5px;
}

.fc .fc-toolbar-title {
    font-size: 0.9rem !important;
}

.fc .fc-button {
    padding: 2px 6px !important;
    font-size: 10px !important;
}

.fc-theme-standard td,
.fc-theme-standard th {
    --fc-daygrid-row-height: 40px !important;  /* DEFAULT: 90px+  → now 40px */
}

.fc-daygrid-day-frame {
    aspect-ratio: 1 / 1;         
    min-height: unset !important;
    padding: 6px;
    border-radius: 10px;
    box-sizing: border-box;
}

/* Prevent tall event area from stretching */
.fc-daygrid-day-events,
.fc-daygrid-day-bottom {
    display: none;
}
/* Hover highlight (square) */
.fc-daygrid-day:hover .fc-daygrid-day-frame {
    background: rgba(13, 110, 253, 0.08);
}

.fc-daygrid-day-number {
    text-decoration: none !important;
    border-bottom: none !important;
    font-size: 0.75rem !important;
    padding: 2px !important;
}

.fc .fc-day-today {
    background: transparent !important;
}

.fc-day-today .fc-daygrid-day-number {
    background: #111827;   /* same as header */
    color: #f9fafb;
    /* border-radius: 50%; */
    padding: 4px 7px;
}

/* Other month days (dimmed) */
.fc-day-other .fc-daygrid-day-number {
    color: #9ca3af; /* muted gray */
}

.fc-daygrid-day-frame {
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
}

.fc-daygrid-day:hover .fc-daygrid-day-frame {
    border-color: #374151; /* dark border */
    background: #f9fafb;
}
.fc-day-selected .fc-daygrid-day-frame {
    background: #111827;
    border-color: #111827;
}

.fc-day-selected .fc-daygrid-day-number {
    color: #ffffff;
}

/* FORCE date number color (override FullCalendar link styles) */
.fc .fc-daygrid-day-number,
.fc .fc-daygrid-day-number:link,
.fc .fc-daygrid-day-number:visited,
.fc .fc-daygrid-day-number:hover,
.fc .fc-daygrid-day-number:active {
    color: #374151 !important;   /* dark gray */
    text-decoration: none !important;
}

.fc-day-today .fc-daygrid-day-number,
.fc-day-today .fc-daygrid-day-number:link,
.fc-day-today .fc-daygrid-day-number:visited {
    background: #dedfe2 !important;
    color: #111827 !important;
    /* border-radius: 50%; */
    /* padding: 4px 7px; */
}



.fc-col-header {
    background: #1f2937; /* dark slate */
}

.fc-col-header-cell {
    padding: 10px 0;
}
.fc-col-header-cell-cushion {
    padding: 2px 0 !important;
    font-size: 0.75rem !important;
    color: #e5e7eb;
    font-weight: 600;
    text-decoration: none !important; /* remove underline */
    font-size: 0.85rem;
    
}

.fc .fc-scrollgrid,
.fc .fc-scrollgrid td,
.fc .fc-scrollgrid th {
    border-color: #f1f1f1 !important;
}
li.list-group-item.consultant-item.active {
    color: black !important;
}