/* Стили для страницы списка услуг объекта */
.promo {
    display: none;
}

.header {
    border-bottom: none;
}

.extras-guest-list-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Стили для блока объекта (скопированы из extra_detail.css) */
.booking-info-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin: -10px 0 30px 0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.booking-info-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.booking-info-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.booking-info-content {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.property-image {
    width: 150px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-details {
    flex: 1;
}

.property-details h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.booking-dates {
    margin-bottom: 15px;
}

.date-item {
    display: flex;
    margin-bottom: 5px;
}

.date-label {
    font-weight: 500;
    color: #666;
    margin-right: 10px;
    min-width: 120px;
}

.date-value {
    color: #333;
}

.booking-actions {
    display: flex;
    gap: 10px;
}

.property-price {
    font-size: 20px;
    font-weight: 600;
    color: #228B22;
    text-align: right;
    min-width: 100px;
}

.reservation-timer {
    color: #666;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
}

.reservation-timer i {
    margin-right: 8px;
    font-size: 18px;
}

.booking-info-text p {
    margin: 0;
    color: #383a3f;
    font-size: 16px;
    line-height: 1.5;
}

.edit-button, .delete-button {
    background: none;
    border: none;
    color: #383a3f;
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 0;
    margin-right: 18px;
    padding: 0;
}

.delete-button {
    color: #c7c7c7;
    margin-right: 0;
    text-decoration: none;
}

/* Стили для модального окна отмены резервирования */
.cancel-reservation-modal {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.cancel-modal-header {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 24px 16px 24px;
}

.cancel-modal-title {
    color: #dc3545;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.cancel-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999999;
    opacity: 1;
    padding: 0;
    margin: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.cancel-modal-close:hover {
    color: #666666;
}

.cancel-modal-body {
    background: #ffffff;
    padding: 16px 24px 20px 24px;
}

.cancel-modal-question {
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.cancel-modal-footer {
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    padding: 16px 24px 20px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.cancel-btn-secondary {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cancel-btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #5a6268;
}

.cancel-btn-danger {
    background: #dc3545;
    border: 1px solid #dc3545;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cancel-btn-danger:hover {
    background: #c82333;
    border-color: #bd2130;
    color: #ffffff;
}

/* Стили для расшифровки стоимости */
.property-price .total-cost {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.reservation-breakdown {
    border-radius: 8px;
    padding: 15px;
    font-size: 14px;
    color: #666;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding: 3px 0;
}

.breakdown-item.collapsible {
    cursor: pointer;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.breakdown-label {
    font-weight: 500;
}

.breakdown-value {
    font-weight: 600;
    color: #333;
}

.expand-link {
    color: #007bff;
    text-decoration: none;
    font-size: 12px;
    margin-left: 10px;
}

.expand-link:hover {
    text-decoration: underline;
}

.services-details {
    margin-top: 5px;
    padding-left: 15px;
    border-left: 2px solid #eee;
}

.service-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
    font-size: 13px;
    color: #555;
}

.service-cost {
    font-weight: 500;
}

/* Заголовок списка услуг */
.services-list-header {
    text-align: left;
    margin: 40px 0 30px 0;
}

.services-list-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.services-list-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Стили плиток услуг - копируем из all-guest-ads-list.css */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
}

/* Стили плиток с услугами */
.service-image {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(5deg); /* Эффект приподнятого правого края */
}

.service-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Поверх изображения, но под сердечком */
}

.service-type {
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 1px 10px #a3a3a3;
    border-radius: 10px;
    padding: 0 5px;
}

.label-1 {
    background-color: #ff264b;
}

.label-2 {
    background-color: #00b370;
}

.label-3 {
    background-color: #ffc141;
}

.label-4 {
    background-color: #00bbd3;
}

.label-5 {
    background-color: #696969;
}

.label-6 {
    background-color: #9c27b0;
}

.service-info {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.service-title {
    font-weight: bold;
    font-size: 16px;
}

.service-category {
    font-size: 13px;
}

.service-price {
    font-size: 16px;
    font-weight: 500;
}

/* Блок "Услуги не найдены" */
.no-services {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-services-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-services h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.no-services p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Заголовок секции услуг на странице объекта */
.services-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.all-services-link {
    color: #2c5aa0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid #2c5aa0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.all-services-link:hover {
    background-color: #2c5aa0;
    color: white;
    text-decoration: none;
}

/* Пагинация */
.pagination-block {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 20px 0;
}

.step-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.step-links a {
    color: #2c5aa0;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.step-links a:hover {
    background-color: #2c5aa0;
    color: white;
    text-decoration: none;
}

.current-page {
    padding: 8px 12px;
    background-color: #f5f5f5;
    border-radius: 4px;
    color: #666;
}

/* Адаптивность */
@media (max-width: 768px) {
    .extras-guest-list-container {
        padding: 15px;
    }
    
    /* Оптимизация отступов блока объекта для мобильных */
    .booking-info-card {
        margin: -15px -15px 20px -15px; /* Сокращаем внешние отступы */
    }
    
    .booking-info-header {
        padding: 12px 15px; /* Уменьшаем внутренние отступы */
    }
    
    .booking-info-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px; /* Уменьшаем внутренние отступы */
        gap: 15px;
    }
    
    .property-image {
        width: 100%;
        height: 180px; /* Немного уменьшаем высоту */
    }
    
    .property-price {
        text-align: left;
        margin-top: 15px;
        font-size: 18px; /* Уменьшаем размер шрифта */
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .services-list-header {
        margin: 20px 0 20px 0; /* Уменьшаем отступы заголовка */
    }
    
    .services-list-header h2 {
        font-size: 20px; /* Уменьшаем размер заголовка */
    }
    
    .services-list-header p {
        font-size: 14px;
    }
    
    .services-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .all-services-link {
        align-self: flex-end;
    }
}


