#locationModal .modal-body {
    padding: 0;
}

/* Location Navigation */
.location-navigation {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 0.35rem;
}

.location-nav-header {
    margin-bottom: 0.5rem;
}

.location-count {
    color: #6c757d;
    font-size: 0.85rem;
}

.location-nav-buttons {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.location-nav-btn {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    color: #495057;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.location-nav-btn:hover {
    border-color: var(--primary-color);
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.location-nav-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-on-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.location-number {
    font-weight: 600;
    font-size: 0.75rem;
}

.location-type {
    font-size: 0.65rem;
    color: inherit;
    opacity: 0.9;
    white-space: nowrap;
}

.location-popup {
    background: #fff;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    position: relative;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Linke Spalte */
.left-column {
    border-right: 1px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

.location-image-container {
    position: relative;
    height: 250px;
    overflow: visible;
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-badges {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.location-badge {
    background: rgba(255,255,255,0.95);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(0,0,0,0.1);
}

.location-badge.warning {
    background: rgba(255, 243, 205, 0.95);
    border-color: rgba(255, 193, 7, 0.2);
    cursor: help;
    transition: background-color 0.2s ease;
}

.location-badge.warning:hover {
    background: rgba(255, 243, 205, 1);
}

.location-badge.warning i {
    color: #ffc107;
}

.location-badge i.illuminated {
    color: #ffc107;
}

.location-badge i.not-illuminated {
    color: #6c757d;
}

.location-info {
    padding: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.info-row .info-item {
    flex: 1;
    margin-bottom: 0;
}

.info-item {
    margin-bottom: 0.75rem;
}

.info-label {
    display: block;
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.info-label i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 500;
}

.price-display {
    margin-top: 0.75rem;
    text-align: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.price-amount {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.price-period {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Rechte Spalte */
.right-column {
    border-left: 1px solid #dee2e6;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.booking-container {
    padding: 1.25rem 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000;
}

.booking-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 0;
}

.booking-card {
    background: #fff;
    padding: 0.75rem 1.25rem 0.75rem 0;
    border-bottom: 1px solid #dee2e6;
}

.booking-card:last-child {
    border-bottom: none;
}

.booking-info-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.booking-dates {
    font-size: 0.9rem;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.booking-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.contacts-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #6c757d;
    font-size: 0.85rem;
}

.contacts-info i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.booking-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
}

.book-button {
    width: 100%;
    background: var(--primary-color);
    color: var(--text-on-primary);
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.2s ease;
    margin-top: 0.75rem;
    position: relative;
    min-height: 38px;
}

.book-button .button-content,
.book-button .button-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-button:hover {
    opacity: 0.9;
}

.book-button.in-cart {
    background-color: var(--cart-color);
    border-color: var(--cart-color);
    color: var(--text-on-cart);
}

.no-bookings {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.no-bookings i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.popup-footer {
    padding: 0.75rem;
    font-size: 0.8rem;
    text-align: center;
    color: #6c757d;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.popup-footer i {
    margin-right: 0.3rem;
}

.ribbon {
    position: absolute;
    top: 35px;
    left: -45px;
    width: 200px;
    padding: 8px;
    transform: rotate(-45deg);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    color: white;
    z-index: 2;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.ribbon-premium {
    background: var(--premium-color);
}

.ribbon-discount {
    background: var(--discount-color);
}

.illumination-badge i {
    transition: color 0.3s ease;
}

.illumination-badge i.illuminated {
    color: #ffd700;
}

.illumination-badge i.not-illuminated {
    color: #6c757d;
}

@media (max-width: 768px) {
    .left-column {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }

    .location-image-container {
        height: 200px;
    }

    .booking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .contacts-info {
        align-self: flex-start;
    }
}

/* Cart Button Styles */
.book-button {
    position: relative;
}

.button-content, .button-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.button-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.d-none {
    display: none !important;
}

/* Bootstrap Tooltip Anpassungen */
.tooltip-inner {
    max-width: 300px;
    padding: 0.5rem 0.75rem;
    background-color: rgba(33, 37, 41, 0.95);
    border-radius: 0.375rem;
    text-align: left;
}

.tooltip.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before, 
.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: rgba(33, 37, 41, 0.95);
} 