/* ===== CLIENT BOOKINGS MODAL ===== */
.cb-list-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

@media (min-width: 768px) {
    .cb-list-overlay {
        align-items: center;
    }
}

.cb-list-modal {
    background: white;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cb-list-modal {
        border-radius: 20px;
    }
}

.cb-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.cb-list-header button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    color: #666;
}

.cb-list-header button:hover { background: #f5f5f5; }

.cb-list-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
}

.cb-list-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.cb-list-tab {
    padding: 8px 16px;
    border: none;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.cb-list-tab.active {
    background: #dd1847;
    color: white;
}

.cb-list-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px;
    -webkit-overflow-scrolling: touch;
}

.cb-list-item {
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 10px;
    border-left: 4px solid #dd1847;
    cursor: pointer;
    transition: all 0.2s;
}

.cb-list-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.cb-list-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cb-list-item-date {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.cb-list-item-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.cb-list-item-status.confirmed { background: #d4edda; color: #155724; }
.cb-list-item-status.completed { background: #d1ecf1; color: #0c5460; }
.cb-list-item-status.cancelled { background: #f8d7da; color: #721c24; }
.cb-list-item-status.pending { background: #fff3cd; color: #856404; }

.cb-list-item-service {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.cb-list-item-master {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.cb-list-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #dd1847;
}

.cb-list-item-empty {
    text-align: center;
    padding: 40px;
    color: #999;
}

.cb-skeleton-item {
    padding: 16px;
    background: #f9f9f9;
    border-radius: 14px;
    margin-bottom: 10px;
}

.cb-skeleton-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.skeleton-line {
    height: 14px;
    border-radius: 7px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-date { width: 60%; }
.skeleton-status { width: 25%; }
.skeleton-service { width: 80%; margin-bottom: 8px; }
.skeleton-master { width: 50%; }

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .cb-list-modal { animation: none; }
}