/* Мои бронирования */
.my-bookings-screen {
    background: #f5f5f5;
    min-height: 100vh;
}

.screen-header {
    background: white;
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.screen-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

#my-bookings-container {
    padding: 16px;
}

/* Заголовок бронирований */
.bookings-header {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.bookings-header h2 {
    font-size: 20px;
    color: #333;
    margin: 0 0 12px 0;
}

.bookings-tabs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.bookings-tabs .tab {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: #f5f5f5;
    color: #666;
    transition: all 0.2s;
}

.bookings-tabs .tab.active {
    background: #667eea;
    color: white;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
}

.close-btn:hover {
    color: #666;
}

/* Карточка бронирования */
.booking-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.booking-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.booking-status {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.booking-status.active { background: #e3f2fd; color: #1976d2; }
.booking-status.pending { background: #fff3e0; color: #f57c00; }
.booking-status.paid { background: #e8f5e8; color: #4caf50; }
.booking-status.confirmed { background: #e8f5e8; color: #4caf50; }
.booking-status.completed { background: #f5f5f5; color: #757575; }
.booking-status.cancelled { background: #fee; color: #f44336; }
.booking-status.refunded { background: #e0f2f1; color: #009688; }
.booking-status.no_show { background: #fbe9e7; color: #d84315; }

.booking-details {
    margin-bottom: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px dashed #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #666;
}

.detail-value {
    color: #333;
    font-weight: 500;
}

.booking-notes {
    background: #fff9c4;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #856404;
    margin: 12px 0;
}

.booking-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.booking-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cancel-btn {
    background: #fee;
    color: #f44336;
}

.cancel-btn:hover {
    background: #fdd;
}

.map-btn {
    background: #667eea;
    color: white;
}

.map-btn:hover {
    background: #5a67d8;
}

.cancel-warning {
    font-size: 12px;
    color: #f44336;
    margin-top: 8px;
    text-align: center;
}

/* Пустое состояние */
.no-bookings {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Загрузка */
.loading {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

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

