/* Booking Actions in Itinerary */
.booking-actions {
    margin-top: 12px;
}

.booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Booking Modal Overlay */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.booking-modal-overlay.active {
    opacity: 1;
}

/* Booking Modal */
.booking-modal {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.booking-modal-overlay.active .booking-modal {
    transform: translateY(0);
}

/* Modal Header */
.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.booking-modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: #1f2937;
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 32px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.close-modal-btn:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

/* Modal Body */
.booking-modal-body {
    padding: 24px;
}

/* Booking Item Details (supports accommodation, activities, flights, etc.) */
.booking-item-details {
    margin-bottom: 24px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.booking-item-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.booking-item-header .fas {
    font-size: 32px;
    color: var(--primary-color, #2BB0BA);
    margin-top: 4px;
}

.booking-item-header h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #1f2937;
}

.booking-item-header .booking-time-info {
    margin: 4px 0;
    font-size: 14px;
    color: #6b7280;
}

.booking-item-notes {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.booking-item-notes p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

/* Backwards compatibility - keep old class names as aliases */
.accommodation-details {
    margin-bottom: 24px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.accommodation-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.accommodation-header .fas {
    font-size: 32px;
    color: var(--primary-color, #2BB0BA);
    margin-top: 4px;
}

.accommodation-header h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #1f2937;
}

.accommodation-header p,
.check-in-info,
.check-out-info {
    margin: 4px 0;
    font-size: 14px;
    color: #6b7280;
}

.accommodation-notes {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.accommodation-notes p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

/* Booking Providers Section */
.booking-providers-section {
    margin-bottom: 24px;
}

.booking-providers-section h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.booking-providers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Booking Provider Card */
.booking-provider-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.booking-provider-card:hover {
    border-color: var(--primary-color, #2BB0BA);
    background-color: #f0fdff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 176, 186, 0.15);
}

.provider-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
}

.provider-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #2BB0BA);
    color: white;
    border-radius: 8px;
    font-size: 24px;
}

.provider-info {
    flex: 1;
}

.provider-info h5 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.provider-category {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.provider-action {
    color: var(--primary-color, #2BB0BA);
    font-size: 18px;
}

/* No Providers Message */
.no-providers-message {
    text-align: center;
    padding: 32px;
    background: #f9fafb;
    border-radius: 8px;
}

.no-providers-message .fas {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.no-providers-message p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/* Info Message */
.booking-info-message {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
}

.booking-info-message .fas {
    color: #3b82f6;
    margin-top: 2px;
}

.booking-info-message p {
    margin: 0;
    font-size: 13px;
    color: #1e40af;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 640px) {
    .booking-modal {
        width: 95%;
        max-height: 95vh;
    }

    .booking-modal-header,
    .booking-modal-body {
        padding: 16px;
    }

    .booking-item-header,
    .accommodation-header {
        flex-direction: column;
        gap: 12px;
    }

    .booking-provider-card {
        padding: 12px;
    }

    .provider-logo,
    .provider-icon {
        width: 40px;
        height: 40px;
    }
}
