/* Dental Admin CSS */
:root {
    --bs-primary: #0d6efd;
    --bs-primary-rgb: 13, 110, 253;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2c3e50;
    background-color: #f4f7fa !important;
    min-height: 100vh;
}

.stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

/* Day Column fills available window height seamlessly */
.day-column {
    background-color: #ffffff;
    height: calc(100vh - 245px);
    min-height: 520px;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    display: flex;
    flex-direction: column;
}

.day-slots-container {
    flex: 1 1 auto;
    height: 100%;
    max-height: none !important;
    overflow-y: auto;
    padding-right: 3px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

/* Modern slim scrollbar for slots container */
.day-slots-container::-webkit-scrollbar {
    width: 5px;
}

.day-slots-container::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 4px;
}

.day-slots-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.day-slots-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.slot-item {
    transition: all 0.15s ease-in-out;
}

.slot-available {
    background-color: #ffffff;
    border: 1px solid #d1e7dd !important;
    border-left: 3.5px solid #198754 !important;
}

.slot-booked {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe !important;
    border-left: 4px solid #2563eb !important;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.08);
}

.slot-blocked {
    background-color: #f8f9fa;
    border: 1px dashed #cbd5e1 !important;
    opacity: 0.8;
}

.btn-xs {
    padding: 0.18rem 0.45rem;
    font-size: 0.75rem;
    line-height: 1.2;
    border-radius: 0.25rem;
}

.shadow-xs {
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.spin-animation {
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
