/**
 * Psylancer Appointment Reschedule Styles
 * 
 * Styles for the reschedule modal dialog
 */

/* Modal Backdrop */
.bookly-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.bookly-modal-backdrop.bookly-fade {
    opacity: 0;
    transition: opacity 0.15s linear;
}

.bookly-modal-backdrop.bookly-show {
    opacity: 1;
}

/* Modal Dialog */
.bookly-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.bookly-modal.bookly-fade {
    transition: opacity 0.15s linear;
}

.bookly-modal.bookly-show {
    display: block;
}

.bookly-modal-open {
    overflow: hidden;
}

.bookly-modal .modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 500px;
}

.bookly-modal .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}

/* Modal Header */
.bookly-modal .modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.bookly-modal .modal-header h5 {
    margin: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 500;
}

.bookly-modal .modal-header .close {
    padding: 0;
    background-color: transparent;
    border: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
    cursor: pointer;
}

.bookly-modal .modal-header .close:hover {
    opacity: 0.75;
}

/* Modal Body */
.bookly-modal .modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.bookly-modal .modal-body .alert {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.bookly-modal .modal-body .alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.bookly-modal .modal-body .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.bookly-modal .modal-body .col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .bookly-modal .modal-body .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.bookly-modal .modal-body .form-group {
    margin-bottom: 1rem;
}

.bookly-modal .modal-body .form-group label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bookly-modal .modal-body .form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bookly-modal .modal-body .form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.bookly-modal .modal-body .custom-select {
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    appearance: none;
}

.bookly-modal .modal-body .custom-select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Modal Footer */
.bookly-modal .modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}

.bookly-modal .modal-footer > div {
    display: flex;
    gap: 0.5rem;
}

/* Buttons */
.bookly-modal .btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.bookly-modal .btn:hover {
    text-decoration: none;
}

.bookly-modal .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.bookly-modal .btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.bookly-modal .btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.bookly-modal .btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.bookly-modal .btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.bookly-modal .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Reschedule button in appointments table */
.psylancer-reschedule-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

/* Notification styles */
.psylancer-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease-in-out;
    font-size: 14px;
    font-weight: 500;
    max-width: 350px;
}

.psylancer-notification-show {
    opacity: 1;
    transform: translateX(0);
}

.psylancer-notification-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.psylancer-notification-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.psylancer-notification-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .bookly-modal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .bookly-modal .modal-body .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Date range picker adjustments */
.daterangepicker {
    z-index: 1060 !important;
}

/* Ladda button loading state */
.ladda-button {
    position: relative;
}

.ladda-button[data-loading] .ladda-label {
    opacity: 0;
}

.ladda-button .ladda-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -16px;
    margin-top: -16px;
}

/* ========================================
   CUSTOM MODAL STYLES FOR #bookly-customer-cabinet-reschedule-dialog
   These styles override the generic .bookly-modal styles above
   ======================================== */

/* Hide the reschedule modal by default */
#bookly-customer-cabinet-reschedule-dialog {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
}

/* Show modal when active */
#bookly-customer-cabinet-reschedule-dialog.bookly-show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Modal dialog styling - match original */
#bookly-customer-cabinet-reschedule-dialog .modal-dialog {
    background: white;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 10000;
}

#bookly-customer-cabinet-reschedule-dialog .modal-content {
    background: white;
    border-radius: 5px;
}

#bookly-customer-cabinet-reschedule-dialog .modal-header {
    padding: 20px 20px 15px 20px;
    border-bottom: none;
}

#bookly-customer-cabinet-reschedule-dialog .modal-body {
    padding: 0 20px 20px 20px;
}

#bookly-customer-cabinet-reschedule-dialog .modal-footer {
    padding: 15px 20px 20px 20px;
    border-top: none;
}

/* Modal title */
#bookly-customer-cabinet-reschedule-dialog .modal-header h5 {
    color: #7fa76a;
    font-size: 20px;
    margin: 0;
    font-weight: 500;
}

/* Hide the staff mode indicator */
#bookly-customer-cabinet-reschedule-dialog .bookly-staff-mode-indicator {
    display: none !important;
}

/* Success message */
#bookly-customer-cabinet-reschedule-dialog .bookly-success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
    font-weight: 500;
}

#bookly-customer-cabinet-reschedule-dialog .bookly-success-message.show {
    display: block;
}

/* Error message */
#bookly-customer-cabinet-reschedule-dialog .bookly-error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
    font-weight: 500;
}

/* Close button */
#bookly-customer-cabinet-reschedule-dialog .bookly-close,
#bookly-customer-cabinet-reschedule-dialog .close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    color: #999;
    width: auto;
    height: auto;
    opacity: 0.6;
    transition: opacity 0.2s;
}

#bookly-customer-cabinet-reschedule-dialog .bookly-close:hover,
#bookly-customer-cabinet-reschedule-dialog .close:hover {
    opacity: 1;
    color: #333;
}

/* Form elements */
#bookly-customer-cabinet-reschedule-dialog .form-group {
    margin-bottom: 20px;
}

/* Bootstrap row for side-by-side layout */
#bookly-customer-cabinet-reschedule-dialog .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
}

#bookly-customer-cabinet-reschedule-dialog .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 8px;
    padding-right: 8px;
}

#bookly-customer-cabinet-reschedule-dialog label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

#bookly-customer-cabinet-reschedule-dialog input,
#bookly-customer-cabinet-reschedule-dialog select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    height: 42px;
    line-height: 1.5;
}

#bookly-customer-cabinet-reschedule-dialog input:focus,
#bookly-customer-cabinet-reschedule-dialog select:focus {
    outline: none;
    border-color: #5ba3d0;
    box-shadow: 0 0 0 2px rgba(91, 163, 208, 0.2);
}

/* Button container in modal-footer */
#bookly-customer-cabinet-reschedule-dialog .modal-footer > div {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    width: 100%;
}

/* Save button - green like original - override theme */
#bookly-customer-cabinet-reschedule-dialog .modal-footer .bookly-btn-primary,
#bookly-customer-cabinet-reschedule-dialog .modal-footer button#bookly-save,
#bookly-customer-cabinet-reschedule-dialog .modal-footer button[type="submit"] {
    background-color: #5cb85c !important;
    background: #5cb85c !important;
    color: white !important;
    padding: 10px 24px !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    transition: background 0.2s !important;
    line-height: 1.5 !important;
    overflow: visible !important;
}

#bookly-customer-cabinet-reschedule-dialog .modal-footer .bookly-btn-primary:hover,
#bookly-customer-cabinet-reschedule-dialog .modal-footer button#bookly-save:hover,
#bookly-customer-cabinet-reschedule-dialog .modal-footer button[type="submit"]:hover {
    background-color: #4cae4c !important;
    background: #4cae4c !important;
    color: white !important;
    opacity: 1 !important;
}

/* Cancel button - white background with border like original - override theme */
#bookly-customer-cabinet-reschedule-dialog .modal-footer .bookly-btn-default,
#bookly-customer-cabinet-reschedule-dialog .modal-footer button.bookly-cancel,
#bookly-customer-cabinet-reschedule-dialog .modal-footer .bookly-cancel,
#bookly-customer-cabinet-reschedule-dialog .modal-footer button[type="button"] {
    background-color: white !important;
    background: white !important;
    color: #333 !important;
    padding: 10px 24px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    transition: all 0.2s !important;
    line-height: 1.5 !important;
    overflow: visible !important;
}

#bookly-customer-cabinet-reschedule-dialog .modal-footer .bookly-btn-default:hover,
#bookly-customer-cabinet-reschedule-dialog .modal-footer button.bookly-cancel:hover,
#bookly-customer-cabinet-reschedule-dialog .modal-footer button[type="button"]:hover {
    background-color: #f8f8f8 !important;
    background: #f8f8f8 !important;
    border-color: #999 !important;
    color: #333 !important;
    opacity: 1 !important;
}

/* ========================================
   ENHANCED DATERANGEPICKER STYLES
   ======================================== */

.daterangepicker {
    position: absolute;
    color: inherit;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #ddd;
    width: 290px;
    max-width: none;
    padding: 0;
    margin-top: 7px;
    top: 100px;
    left: 20px;
    z-index: 10001 !important; /* Higher than modal */
    display: none;
    font-family: arial;
    font-size: 15px;
    line-height: 1em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.daterangepicker:before, .daterangepicker:after {
    display: none; /* Remove arrows */
}

.daterangepicker .calendar {
    display: none;
    max-width: 290px;
    margin: 4px;
    padding: 8px;
}

.daterangepicker.show-calendar .calendar {
    display: block;
}

.daterangepicker .calendar th, .daterangepicker .calendar td {
    white-space: nowrap;
    text-align: center;
    min-width: 32px;
}

.daterangepicker .calendar-table {
    border: none;
    padding: 0;
    border-radius: 4px;
    background-color: #fff;
    width: 100%;
}

/* Hide the date range display at bottom */
.daterangepicker .drp-selected {
    display: none !important;
}

/* Hide Apply button, only show Cancel */
.daterangepicker .drp-buttons .applyBtn {
    display: none !important;
}

/* Fix month/year selects - ensure they stay in bounds */
.daterangepicker .calendar thead tr:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    background: #f9f9f9;
}

.daterangepicker select.monthselect,
.daterangepicker select.yearselect {
    font-size: 13px;
    padding: 4px 6px;
    height: auto;
    width: auto;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 3px;
    flex-shrink: 0;
}

.daterangepicker select.monthselect {
    min-width: 90px;
    max-width: 110px;
}

.daterangepicker select.yearselect {
    min-width: 70px;
    max-width: 80px;
}

/* Calendar time/button area */
.daterangepicker .calendar-time {
    text-align: center;
    margin: 8px auto 0;
    line-height: 30px;
    position: relative;
}

/* Apply/Cancel buttons in calendar */
.daterangepicker .drp-buttons {
    clear: both;
    text-align: right;
    padding: 8px;
    border-top: 1px solid #ddd;
    display: block;
    line-height: 12px;
    vertical-align: middle;
}

.daterangepicker .drp-buttons .btn {
    margin-left: 8px;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 12px;
}

.daterangepicker table {
    width: 100%;
    margin: 0;
    border-spacing: 0;
    border-collapse: separate;
}

.daterangepicker td, .daterangepicker th {
    text-align: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 1px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    padding: 4px;
    font-size: 13px;
}

.daterangepicker thead tr:first-child th {
    font-weight: bold;
    padding: 8px 4px;
}

.daterangepicker th.prev, .daterangepicker th.next {
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.daterangepicker th.prev:hover, .daterangepicker th.next:hover {
    background: #f0f0f0;
}

.daterangepicker td.available:hover, .daterangepicker th.available:hover {
    background-color: #eee;
    border-color: transparent;
    color: inherit;
}

.daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date {
    background-color: #fff;
    border-color: transparent;
    color: #999;
}

.daterangepicker td.disabled {
    color: #999;
    cursor: not-allowed;
}

.daterangepicker td.in-range {
    background-color: #ebf4f8;
    border-color: transparent;
    color: #000;
    border-radius: 0;
}

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #357ebd;
    border-color: transparent;
    color: #fff;
}

.daterangepicker th.month {
    width: auto;
}

.daterangepicker td.disabled, .daterangepicker option.disabled {
    color: #999;
    cursor: not-allowed;
    text-decoration: line-through;
}

.daterangepicker select {
    display: inline-block;
    width: auto;
    padding: 4px;
    margin: 0;
}

.daterangepicker .calendar-time select.disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* Calendar header with selects */
.daterangepicker thead tr:first-child {
    background: #f9f9f9;
}

.daterangepicker thead tr:first-child th {
    padding: 10px;
}

/* ========================================
   RESPONSIVE APPOINTMENTS TABLE
   For DIV-based table structure (.appointmentsTable)
   ======================================== */

/* Desktop - normal table layout */
@media (min-width: 769px) {
    .appointmentsTable {
        display: table;
        width: 100%;
        border-collapse: collapse;
    }
    
    .appointmentsTableBody {
        display: table-row-group;
    }
    
    .appointmentsTableRow {
        display: table-row;
    }
    
    .appointmentsTableCell {
        display: table-cell;
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }
    
    .appointmentsTableHeading .appointmentsTableCell {
        font-weight: bold;
        background: #f5f5f5;
        border-bottom: 2px solid #ddd;
    }
}

/* Mobile - card layout */
@media (max-width: 768px) {
    
    /* Table structure changes */
    .appointmentsTable {
        display: block !important;
        width: 100% !important;
    }
    
    .appointmentsTableBody {
        display: block !important;
    }
    
    /* Hide header row on mobile - multiple selectors for safety */
    .appointmentsTableHeading,
    .appointmentsTable .appointmentsTableHeading,
    div.appointmentsTableHeading,
    [class*="appointmentsTableHeading"] {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Also hide any potential header cells on mobile */
    .appointmentsTableHeading .appointmentsTableCell {
        display: none !important;
    }
    
    /* Each row becomes a card */
    .appointmentsTableRow {
        display: block !important;
        margin: 0 0 20px 0 !important;
        padding: 15px !important;
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        background: white !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    /* Each cell becomes a row */
    .appointmentsTableCell {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding: 10px 0 !important;
        border: none !important;
        position: relative !important;
        min-height: 30px !important;
    }
    
    /* Remove labels - don't show :before content */
    .appointmentsTableCell:before {
        display: none !important;
        content: '' !important;
    }
    
    /* First cell (date/time) - prominent header */
    .appointmentsTableCell.datetime {
        font-size: 1.2em !important;
        font-weight: 700 !important;
        color: #2271b1 !important;
        padding: 12px 15px !important;
        margin: -15px -15px 15px -15px !important;
        border-bottom: 2px solid #eee !important;
        text-align: center !important;
        background: #f8f9fa !important;
        border-radius: 8px 8px 0 0 !important;
        width: calc(100% + 30px) !important;
        max-width: calc(100% + 30px) !important;
    }
    
    .appointmentsTableCell.datetime:before {
        display: none !important;
    }
    
    /* Customer name */
    .appointmentsTableCell.customername {
        font-weight: 600 !important;
        color: #2c3e50 !important;
        font-size: 1.1em !important;
        padding: 5px 0 !important;
        margin-bottom: 10px !important;
    }
    
    /* Service */
    .appointmentsTableCell.appservice {
        color: #666 !important;
        font-size: 0.95em !important;
        padding: 5px 0 !important;
        margin-bottom: 10px !important;
    }
    
    /* Note button cell */
    .appointmentsTableCell.appnote {
        padding: 10px 0 !important;
    }
    
    .appointmentsTableCell.appnote .wp-block-button {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .appointmentsTableCell.appnote .wp-block-button a {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Contact details */
    .appointmentsTableCell.contactdetails {
        padding: 10px 0 !important;
    }
    
    .appointmentsTableCell.contactdetails .contact-icon-btn {
        display: inline-block !important;
        margin: 5px 10px 5px 0 !important;
    }
    
    /* Reschedule cell */
    .appointmentsTableCell.reschedule {
        padding: 10px 0 !important;
    }
    
    .appointmentsTableCell.reschedule .wp-block-button {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .appointmentsTableCell.reschedule .wp-block-button a {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 10px !important;
    }
    
    /* Empty cells - hide */
    .appointmentsTableCell:empty {
        display: none !important;
    }
    
    /* Pagination on mobile */
    .appointmentsTablePages {
        text-align: center !important;
        margin-top: 20px !important;
    }
    
    .appointmentsTablePages page {
        display: inline-block !important;
        padding: 8px 12px !important;
        margin: 0 5px !important;
        cursor: pointer !important;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .appointmentsTable {
        font-size: 0.9em !important;
    }
    
    .appointmentsTableCell {
        padding: 8px 6px !important;
    }
}