/* Dashboard Styles */

.dashboard-sidebar {
    background: #f8f9fa;
    min-height: 100vh;
    border-right: 1px solid #dee2e6;
}

.dashboard-sidebar .list-group-item {
    border: none;
    border-radius: 0;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.dashboard-sidebar .list-group-item:hover {
    background-color: #e9ecef;
    border-left-color: #007bff;
}

.dashboard-sidebar .list-group-item.active {
    background-color: #007bff;
    border-left-color: #0056b3;
}

.dashboard-sidebar .list-group-item i {
    width: 20px;
    text-align: center;
}

/* Stats Cards */
.stats-card {
    transition: transform 0.2s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
}

.stats-card .card-body {
    padding: 1.5rem;
}

.stats-card .card-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stats-card .card-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Calendar Styles */
.calendar-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.fc-event {
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85rem;
}

.fc-event:hover {
    opacity: 0.8;
}

/* Quick Actions */
.quick-action-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.quick-action-btn:hover {
    transform: scale(1.05);
}

/* Tables */
.dashboard-table {
    font-size: 0.9rem;
}

.dashboard-table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
}

.dashboard-table td {
    vertical-align: middle;
}

/* Status Badges */
.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Loading States */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Notifications */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-sidebar {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
    
    .stats-card .card-title {
        font-size: 1.5rem;
    }
    
    .dashboard-table {
        font-size: 0.8rem;
    }
    
    .quick-action-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }
}

/* Chart Containers */
.chart-container {
    position: relative;
    height: 400px;
    margin: 20px 0;
}

/* Employee Cards */
.employee-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.employee-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.employee-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Service Cards */
.service-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.service-card:hover {
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0,123,255,0.1);
}

/* Booking Timeline */
.booking-timeline {
    position: relative;
    padding-left: 30px;
}

.booking-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.booking-timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.booking-timeline-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #007bff;
    border: 2px solid white;
}

/* Analytics Cards */
.analytics-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
}

.analytics-card .card-body {
    padding: 2rem;
}

.analytics-card .card-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.analytics-card .card-text {
    opacity: 0.9;
    font-size: 1rem;
}

/* Custom Scrollbar */
.dashboard-sidebar::-webkit-scrollbar {
    width: 6px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
} 