/**
 * Clubinio Lounges - Frontend Styles
 */

/* Force Elementor Widget to fit content */
.elementor-widget-clubinio-lounge-overview {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

.elementor-widget-clubinio-lounge-overview .elementor-widget-container {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Force Elementor Container to fit content */
.elementor-section:has(.elementor-widget-clubinio-lounge-overview),
.elementor-container:has(.elementor-widget-clubinio-lounge-overview),
.elementor-column:has(.elementor-widget-clubinio-lounge-overview) {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

/* ===== Filter-Leiste ===== */
.clubinio-lounge-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #f8f8f8; /* Kann von Elementor überschrieben werden */
    border-radius: 8px;
}

.clubinio-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #333; /* Kann von Elementor überschrieben werden */
    white-space: nowrap;
}

.clubinio-lounge-filter {
    flex: 1;
    max-width: 300px;
    padding: 10px 14px;
    border: 1px solid #ddd; /* Kann von Elementor überschrieben werden */
    border-radius: 6px;
    background: #fff; /* Kann von Elementor überschrieben werden */
    font-size: 14px;
    color: #333; /* Kann von Elementor überschrieben werden */
    cursor: pointer;
    transition: all 0.2s ease;
}

.clubinio-lounge-filter:hover {
    border-color: #999;
}

.clubinio-lounge-filter:focus {
    outline: none;
    border-color: #000;
}

/* Mobile: Filter vertikal */
@media (max-width: 640px) {
    .clubinio-lounge-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .clubinio-lounge-filter {
        width: 100%;
        max-width: 100%;
    }
}

/* ===== Lounge Overview Grid ===== */
.clubinio-lounges-overview {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

/* ===== Area Sections ===== */
.clubinio-area-section {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr; /* Standard: 1 Spalte (Mobile) */
    gap: 16px;
}

/* Area Headline */
.clubinio-area-headline {
    grid-column: 1 / -1; /* Headline über volle Breite */
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

/* Desktop: 2 Spalten für Lounges innerhalb eines Bereichs */
@media (min-width: 1025px) {
    .clubinio-area-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .clubinio-area-section > .clubinio-area-headline {
        grid-column: 1 / -1; /* Headline über beide Spalten */
    }
}

/* ===== Accordion Card Styles (Desktop & Mobile) ===== */

/* Force Elementor containers to grow */
.elementor-widget-clubinio-lounge-overview,
.elementor-widget-clubinio-lounge-overview .elementor-widget-container {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
}

.elementor-section:has(.elementor-widget-clubinio-lounge-overview),
.elementor-container:has(.elementor-widget-clubinio-lounge-overview),
.elementor-column:has(.elementor-widget-clubinio-lounge-overview),
.elementor-column-wrap:has(.elementor-widget-clubinio-lounge-overview),
.elementor-widget-wrap:has(.elementor-widget-clubinio-lounge-overview),
.elementor-inner-section:has(.elementor-widget-clubinio-lounge-overview) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
}

.elementor-section:has(.elementor-widget-clubinio-lounge-overview) {
    min-height: 0 !important;
    height: auto !important;
}

.elementor-container:has(.elementor-widget-clubinio-lounge-overview) {
    min-height: 0 !important;
    height: auto !important;
    flex-wrap: wrap !important;
}

.elementor-column:has(.elementor-widget-clubinio-lounge-overview) {
    min-height: 0 !important;
    height: auto !important;
}

/* Lounge Card - Basis (Accordion-fähig) */
.clubinio-lounge-card {
    width: 100%;
    margin: 0;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    background: #fff; /* Kann von Elementor überschrieben werden */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* Gebuchte Lounge - dunkel grau, kein Click */
.clubinio-lounge-card.clubinio-lounge-booked {
    background: #e0e0e0; /* Kann von Elementor überschrieben werden */
    cursor: default;
    opacity: 0.7;
}

/* Lounge Header - horizontal Layout */
.clubinio-lounge-card-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 16px;
    background: #fff; /* Kann von Elementor überschrieben werden */
    transition: all 0.3s ease;
}

.clubinio-lounge-card.clubinio-lounge-booked .clubinio-lounge-card-header {
    background: #e0e0e0; /* Kann von Elementor überschrieben werden */
}

.clubinio-lounge-card.active .clubinio-lounge-card-header {
    background: #f8f8f8; /* Kann von Elementor überschrieben werden */
    padding: 20px;
}

/* Kleines Bild im Header (nur geschlossen sichtbar) */
.clubinio-lounge-image-small {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.clubinio-lounge-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bild verstecken wenn geöffnet */
.clubinio-lounge-card.active .clubinio-lounge-image-small {
    display: none;
}

/* Info-Bereich (Name + Meta) */
.clubinio-lounge-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* Lounge Title - wird größer beim Aufklappen */
.clubinio-lounge-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #000; /* Kann von Elementor überschrieben werden */
    transition: font-size 0.3s ease, font-weight 0.3s ease;
}

.clubinio-lounge-card.active .clubinio-lounge-title {
    font-size: 24px;
    font-weight: 800;
}

.clubinio-lounge-card.clubinio-lounge-booked .clubinio-lounge-title {
    color: #666; /* Kann von Elementor überschrieben werden */
}

/* Meta kompakt im Header (nur geschlossen sichtbar) */
.clubinio-lounge-meta-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: #666; /* Kann von Elementor überschrieben werden */
    transition: opacity 0.3s ease;
}

.clubinio-lounge-meta-compact span {
    display: block;
    line-height: 1.4;
}

/* Meta verstecken wenn geöffnet */
.clubinio-lounge-card.active .clubinio-lounge-meta-compact {
    display: none;
}

.clubinio-lounge-card.clubinio-lounge-booked .clubinio-lounge-meta-compact {
    color: #888; /* Kann von Elementor überschrieben werden */
}

/* Großes Bild im Accordion */
.clubinio-lounge-image-large {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.clubinio-lounge-image-large img {
    width: 100%;
    height: auto;
    display: block;
}

/* PIN auf dem großen Bild - VERSTECKT (wird über Button erreicht) */
.clubinio-lounge-image-large .clubinio-lounge-pin {
    display: none !important;
}

/* Meta - mit Icons */
.clubinio-lounge-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
    color: #333; /* Kann von Elementor überschrieben werden */
    margin: 0 0 24px 0;
}

.clubinio-lounge-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.clubinio-lounge-meta span .dashicons {
    color: #666;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.clubinio-lounge-card.clubinio-lounge-booked .clubinio-lounge-meta {
    color: #888; /* Kann von Elementor überschrieben werden */
}

/* Accordion Icon */
.clubinio-lounge-accordion-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0; /* Kann von Elementor überschrieben werden */
    border-radius: 50%;
    transition: transform 0.3s ease, background 0.2s ease;
    flex-shrink: 0;
}

.clubinio-lounge-card.clubinio-lounge-booked .clubinio-lounge-accordion-icon {
    display: none !important;
}

.clubinio-lounge-accordion-icon::before {
    content: '\f347';
    font-family: 'dashicons';
    font-size: 20px;
    color: #333; /* Kann von Elementor überschrieben werden */
}

.clubinio-lounge-card.active .clubinio-lounge-accordion-icon {
    transform: rotate(180deg);
    background: #000; /* Kann von Elementor überschrieben werden */
}

.clubinio-lounge-card.active .clubinio-lounge-accordion-icon::before {
    color: #fff; /* Kann von Elementor überschrieben werden */
}

/* Accordion Content - ausgeklappter Bereich */
.clubinio-lounge-accordion-content {
    display: none;
    padding: 20px;
    background: #f9f9f9; /* Kann von Elementor überschrieben werden */
    border-top: 1px solid #e8e8e8;
    animation: slideDown 0.3s ease;
}

.clubinio-lounge-card.active .clubinio-lounge-accordion-content {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Content im Accordion */
.clubinio-lounge-content {
    padding: 0;
}

/* Button Row - zwei Buttons nebeneinander */
.clubinio-lounge-button-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.clubinio-lounge-button-row button {
    flex: 1;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.clubinio-lounge-button-row button .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Map Button */
.clubinio-lounge-map-btn {
    background: #3498db; /* Kann von Elementor überschrieben werden */
    color: #fff; /* Kann von Elementor überschrieben werden */
}

.clubinio-lounge-map-btn:hover {
    background: #2980b9; /* Kann von Elementor überschrieben werden */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Book Button */
.clubinio-lounge-book-btn {
    background: #e74c3c; /* Kann von Elementor überschrieben werden */
    color: #fff; /* Kann von Elementor überschrieben werden */
}

.clubinio-lounge-book-btn:hover {
    background: #c0392b; /* Kann von Elementor überschrieben werden */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Booked Label verstecken (wird durch graues Styling gezeigt) */
.clubinio-lounge-booked-label {
    display: none !important;
}

/* ===== MOBILE ANSICHT (Kleinere Anpassungen) ===== */
@media (max-width: 768px) {
    /* Kleineres Padding auf Mobile */
    .clubinio-lounge-card-header {
        padding: 12px 16px !important;
        gap: 12px !important;
    }
    
    .clubinio-lounge-card.active .clubinio-lounge-card-header {
        padding: 18px 16px !important;
    }
    
    /* Kleineres Bild im Header auf Mobile */
    .clubinio-lounge-image-small {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px;
    }
    
    /* Kleinere Schrift auf Mobile */
    .clubinio-lounge-title {
        font-size: 16px !important;
    }
    
    .clubinio-lounge-card.active .clubinio-lounge-title {
        font-size: 20px !important;
    }
    
    /* Meta kompakt auf Mobile */
    .clubinio-lounge-meta-compact {
        font-size: 12px !important;
        gap: 2px !important;
    }
    
    /* Kleineres Bild im Accordion */
    .clubinio-lounge-image-large {
        margin-bottom: 16px;
        border-radius: 8px;
    }
    
    /* Kleinere Meta auf Mobile */
    .clubinio-lounge-meta {
        font-size: 14px !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }
    
    .clubinio-lounge-meta span .dashicons {
        font-size: 18px !important;
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Kleinerer Icon auf Mobile */
    .clubinio-lounge-accordion-icon {
        width: 32px !important;
        height: 32px !important;
    }
    
    .clubinio-lounge-accordion-icon::before {
        font-size: 18px !important;
    }
    
    /* Kleineres Padding im Accordion auf Mobile */
    .clubinio-lounge-accordion-content {
        padding: 16px !important;
    }
    
    /* Buttons vertikal auf Mobile */
    .clubinio-lounge-button-row {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
    
    .clubinio-lounge-button-row button {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .clubinio-lounge-button-row button .dashicons {
        font-size: 16px !important;
        width: 16px !important;
        height: 16px !important;
    }
}

/* ===== Alte Card-Styles entfernt - verwenden jetzt Accordion-Design ===== */

/* ===== Map Modal ===== */
.clubinio-map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.clubinio-map-modal.active {
    display: flex;
}

.clubinio-map-modal-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.clubinio-map-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.clubinio-map-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.clubinio-map-modal-stage { position: relative; }
.clubinio-map-modal-image { width: 100%; max-height: 90vh; object-fit: contain; display:block; }
.clubinio-map-modal-pin { /* styles inline via JS; keep class for overrides */ }

/* ===== Booking Modal - Modern Responsive Design ===== */

/* Prevent body scroll when modal is open */
body.modal-open,
html.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    touch-action: none !important;
    -webkit-overflow-scrolling: auto !important;
}

/* Overlay */
.clubinio-booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
    animation: fadeIn 0.2s ease;
}

.clubinio-booking-modal.active {
    display: flex !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Content */
.clubinio-booking-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    animation: slideUp 0.3s ease;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Close Button */
.clubinio-booking-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    color: #333;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clubinio-booking-modal-close:hover {
    background: #000;
    color: #fff;
}

/* Title */
.clubinio-booking-modal h2 {
    margin: 0 0 20px 0;
    padding: 0;
    padding-right: 50px;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
}

/* Lounge Details */
.clubinio-lounge-details {
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 12px;
}

.clubinio-lounge-details > div {
    margin-bottom: 0 !important;
}

.clubinio-lounge-details h3 {
    margin: 0 0 8px 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #000 !important;
}

.clubinio-lounge-details p {
    margin: 4px 0 !important;
    font-size: 13px !important;
    color: #555 !important;
    line-height: 1.4 !important;
}

.clubinio-lounge-details strong {
    color: #000 !important;
    font-weight: 600 !important;
}

/* Form Groups */
.clubinio-booking-form-group {
    margin-bottom: 16px;
}

.clubinio-booking-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Inputs */
.clubinio-booking-form-group input,
.clubinio-booking-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    color: #000;
    background: #fff;
    box-sizing: border-box;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.clubinio-booking-form-group input:focus,
.clubinio-booking-form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.clubinio-booking-form-group input::placeholder,
.clubinio-booking-form-group textarea::placeholder {
    color: #999;
}

.clubinio-booking-form-group textarea {
    min-height: 80px;
    resize: vertical;
}

/* Guests Hint */
.clubinio-guests-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

/* Submit Button */
.clubinio-booking-submit {
    width: 100%;
    padding: 16px 24px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    margin-top: 8px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clubinio-booking-submit:hover:not(:disabled) {
    background: #222;
}

.clubinio-booking-submit:active:not(:disabled) {
    transform: scale(0.98);
}

.clubinio-booking-submit:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    background: #666;
}

/* Messages */
.clubinio-booking-message {
    display: none;
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.clubinio-booking-message.success {
    display: block;
    background: #000;
    color: #fff;
}

.clubinio-booking-message.error {
    display: block;
    background: #fee;
    color: #c00;
    border: 1px solid #fcc;
}

/* ===== Mobile Responsive (Full Screen Modal) ===== */
@media (max-width: 768px) {
    .clubinio-booking-modal {
        padding: 0;
        align-items: flex-start;
    }
    
    .clubinio-booking-modal-content {
        max-width: 100%;
        width: 100%;
        min-height: 100vh;
        max-height: none;
        border-radius: 0;
        padding: 24px;
        padding-top: 70px;
        padding-bottom: 40px;
        animation: slideUpMobile 0.3s ease;
    }
    
    @keyframes slideUpMobile {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    /* Fixed Close Button */
    .clubinio-booking-modal-close {
        position: fixed;
        top: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 26px;
        background: #000;
        color: #fff;
        z-index: 10001;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    
    .clubinio-booking-modal-close:hover,
    .clubinio-booking-modal-close:active {
        background: #333;
    }
    
    /* Title */
    .clubinio-booking-modal h2 {
        font-size: 22px;
        margin-bottom: 20px;
        padding-right: 0;
    }
    
    /* Lounge Details */
    .clubinio-lounge-details {
        margin-bottom: 20px;
        padding: 14px;
    }
    
    .clubinio-lounge-details h3 {
        font-size: 14px !important;
    }
    
    .clubinio-lounge-details p {
        font-size: 12px !important;
    }
    
    /* Form Groups */
    .clubinio-booking-form-group {
        margin-bottom: 14px;
    }
    
    .clubinio-booking-form-group label {
        font-size: 11px;
        margin-bottom: 5px;
    }
    
    /* Inputs - Touch-friendly */
    .clubinio-booking-form-group input,
    .clubinio-booking-form-group textarea {
        padding: 14px;
        font-size: 16px; /* Prevents iOS zoom */
        border-radius: 10px;
        border-width: 1px;
    }
    
    .clubinio-booking-form-group textarea {
        min-height: 70px;
    }
    
    /* Submit Button */
    .clubinio-booking-submit {
        padding: 16px;
        font-size: 14px;
        border-radius: 12px;
        margin-top: 12px;
        min-height: 52px;
    }
    
    /* Messages */
    .clubinio-booking-message {
        margin-top: 16px;
        padding: 16px;
        border-radius: 12px;
    }
    
    /* Success Message adjustments */
    .clubinio-booking-message.success div[style*="font-size: 48px"] {
        font-size: 40px !important;
    }
}

/* Very small devices */
@media (max-width: 380px) {
    .clubinio-booking-modal-content {
        padding: 20px;
        padding-top: 65px;
    }
    
    .clubinio-booking-modal h2 {
        font-size: 20px;
    }
    
    .clubinio-booking-form-group input,
    .clubinio-booking-form-group textarea {
        padding: 12px;
    }
    
    .clubinio-booking-submit {
        padding: 14px;
        min-height: 48px;
    }
}

/* ===== Single Lounge ===== */
.clubinio-single-lounge {
    margin: 30px 0;
}

.clubinio-single-lounge-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.clubinio-single-lounge-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #333333;
}

.clubinio-single-lounge-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #666666;
}

.clubinio-single-lounge-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
}

.clubinio-meta-item {
    color: #666666;
}

.clubinio-meta-item strong {
    color: #333333;
    margin-right: 5px;
}

/* ===== Loading Spinner ===== */
.clubinio-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Event Selector Widget ===== */
.clubinio-event-lounge-selector-container {
    width: 100%;
}

.clubinio-event-selector-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    padding: 24px;
    background: #ffffff; /* Kann von Elementor überschrieben werden */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.clubinio-event-selector-label {
    font-size: 16px;
    font-weight: 600;
    color: #333333; /* Kann von Elementor überschrieben werden */
    margin: 0;
}

.clubinio-event-selector {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    color: #333333; /* Kann von Elementor überschrieben werden */
    background: #f8f8f8; /* Kann von Elementor überschrieben werden */
    border: 1px solid #dddddd; /* Kann von Elementor überschrieben werden */
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clubinio-event-selector:hover {
    border-color: #999999;
}

.clubinio-event-selector:focus {
    outline: none;
    border-color: #666666;
    box-shadow: 0 0 0 3px rgba(102, 102, 102, 0.1);
}

.clubinio-lounges-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    font-size: 16px;
    color: #666666;
}

.clubinio-lounges-loading .dashicons {
    font-size: 24px;
}

.clubinio-lounges-loading .dashicons.spin {
    animation: spin 1s linear infinite;
}

.clubinio-dynamic-lounges-container {
    width: 100%;
}

.clubinio-error {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    color: #856404;
    text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
    .clubinio-event-selector-wrapper {
        padding: 16px;
    }
    
    .clubinio-event-selector-label {
        font-size: 14px;
    }
    
    .clubinio-event-selector {
        padding: 10px 12px;
        font-size: 14px;
    }
}


