.loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
}
.k-scheduler {
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
}

.k-scheduler-layout {
  height: 100% !important;
}

.k-scheduler-header, 
.k-scheduler-header-wrap,
.k-scheduler-times,
.k-scheduler-content {
  height: 100% !important;
}

/*
 * Scheduler Component Styles
 * Contains styles for the Kendo UI Scheduler component used in both Admin and Provider views
 */

/* Enhanced Tooltip Styles */
.enhanced-scheduler-tooltip .k-tooltip-content {
    max-width: none !important;
    z-index: 10000;
}

.k-tooltip.enhanced-scheduler-tooltip {
    opacity: 1 !important;
    z-index: 10000;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* Scheduler Tooltip Styles */
.scheduler-tooltip {
    /* width: 300px;
    padding: 12px; */
    max-width: 350px;
    padding: 8px;
    font-size: 14px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 4px;
    color: #333;
    z-index: 11000;
}

.scheduler-tooltip-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 16px;
}

.scheduler-tooltip-row {
    display: flex;
    /* margin-bottom: 6px; */
    margin-bottom: 4px;
    align-items: center;
}

.scheduler-tooltip-row:last-child {
    margin-bottom: 0;
}

.scheduler-tooltip-badges {
    margin-bottom: 8px;
}

.scheduler-controls {
    padding-right: 15px;
}

/* Special styling for scheduler items with conditions */
/* Scheduler specific styles to match ProviderListingsGrid */

/* Make sure Kendo's default styling doesn't override our custom colors */
/* Remove Kendo UI's default styling */
/* .k-scheduler-layout .k-scheduler-cell .k-event {
    background-image: none !important;
    box-shadow: none !important;
    color: #333 !important;
}

/* Enhanced hover effect */
.k-scheduler-layout .k-scheduler-cell .k-event:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Style scheduler tooltip */
.scheduler-tooltip {
    max-width: 350px;
    padding: 8px;
}

.scheduler-tooltip-row {
    display: flex;
    margin-bottom: 4px;
}

.scheduler-tooltip-badges {
    margin-bottom: 8px;
}

.tooltip-icon {
    width: 20px;
    color: #555;
} */

/* Make sure legend matches scheduler items */
.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.tooltip-text {
    color: #333;
}

.tooltip-icon-person {
    color: #3f51b5;
}s

.tooltip-icon-location {
    color: #e53935;
}

.tooltip-icon-time {
    color: #43a047;
}

.tooltip-icon-specialty {
    color: #1e88e5;
}

.tooltip-icon-case-type {
  color: #007bff;
}

.tooltip-icon-service-type {
  color: #17a2b8;
}

.tooltip-icon-group {
    color: #8e24aa;
}

/* Additional scheduler customizations */
.k-scheduler-monthview .k-scheduler-table td {
    height: auto;
}

/* Appointment item styling */
.k-scheduler .k-event {
    border-radius: 4px;
}

/* Filter panel styles */
.scheduler-filter-panel .k-expander {
    border-radius: 4px;
    overflow: hidden;
}

.scheduler-k-expander-content .k-expander-content {
  padding-block: 0 !important;
  padding-inline: 0 !important;
}

.scheduler-p-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.scheduler-column .k-input {
  border-color: var(--kendo-color-border-alt, rgba(33, 37, 41, 0.2)) !important;
  border-style: solid !important;
  border-width: 1px !important;
}

/*.k-animation-container {
    z-index: 10 !important;
}*/

.k-expander-header {
  padding: 10px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .enhanced-scheduler-tooltip {
        width: 250px !important;
    }
}
