
/* Basic status colors */
.available { background: lightgreen !important; }
.happy { background: greenyellow !important; }
.past { background: lightgray !important;border:none !important;border-radius: 0px !important;}
.vorlauf { background: whitesmoke !important; }
.selected { background: orange !important; }

/* Single booking states */
.booked-full { background: lightsalmon !important; }
.booked-start { background: linear-gradient(to top left, lightsalmon 50%, lightgreen 50%) !important; }
.booked-end { background: linear-gradient(to top right, lightsalmon 50%, lightgreen 50%) !important; }

.pending-full { background: gold !important; }
.pending-start { background: linear-gradient(to top left, gold 50%, lightgreen 50%) !important; }
.pending-end { background: linear-gradient(to top right, gold 50%, lightgreen 50%) !important; }

.past-pending-full { background: #FFF4C2 !important; border:none !important;border-radius: 0px !important;}
.past-pending-start { background: linear-gradient(to top left, #FFF4C2 50%, lightgray 50%) !important; border:none !important;border-radius: 0px !important;}
.past-pending-end { background: linear-gradient(to top right, #FFF4C2 50%, lightgray 50%) !important; border:none !important;border-radius: 0px !important;}

.past-booked-full { background: #E8B8B0 !important; border:none !important;border-radius: 0px !important;}
.past-booked-start { background: linear-gradient(to top left, #E8B8B0 50%, lightgray 50%) !important; border:none !important;border-radius: 0px !important;}
.past-booked-end { background: linear-gradient(to top right, #E8B8B0 50%, lightgray 50%) !important;border:none !important; border-radius: 0px !important;}

.past-booked-booked{ background: linear-gradient(to right, #E8B8B0 35%, lightgray 50%, #E8B8B0 65%) !important; border:none !important; border-radius: 0px !important;}
.past-booked-pending { background: linear-gradient(to right, #E8B8B0 35%, lightgray 50%, #FFF4C2 65%) !important; border:none !important;border-radius: 0px !important;}
.past-pending-booked { background: linear-gradient(to right, #FFF4C2 35%, lightgray 50%, #E8B8B0 65%) !important; border:none !important;border-radius: 0px !important;}
.past-pending-pending { background: linear-gradient(to right, #FFF4C2 35%, lightgray 50%, #FFF4C2 65%) !important;border:none !important; border-radius: 0px !important;}

.booked-blocked     { background: linear-gradient(to right, lightsalmon 35%, whitesmoke 50%, #ffdddd     65%) !important; }  /* booked endet → blocked beginnt */
.pending-blocked    { background: linear-gradient(to right, gold     35%, whitesmoke 50%, #ffdddd     65%) !important; }  /* pending endet → blocked beginnt */
.blocked-booked     { background: linear-gradient(to right, #ffa0a0     35%, whitesmoke 50%, lightsalmon 65%) !important; }  /* blocked endet → booked beginnt */
.blocked-pending    { background: linear-gradient(to right, #ffdddd     35%, whitesmoke 50%, gold     65%) !important; }  /* blocked endet → pending beginnt */
.blocked-blocked    { background: linear-gradient(to right, #ffdddd     35%, whitesmoke 50%, #ffdddd     65%) !important; }  /* blocked endet → blocked beginnt */

.past-booked-blocked  { background: linear-gradient(to right, #E8B8B0 35%, lightgray 50%, #ffdddd 65%) !important; border:none !important;border-radius: 0px !important;}
.past-pending-blocked { background: linear-gradient(to right, #FFF4C2 35%, lightgray 50%, #ffdddd 65%) !important; border:none !important;border-radius: 0px !important;}
.past-blocked-booked  { background: linear-gradient(to right, #ffdddd 35%, lightgray 50%, #E8B8B0 65%) !important; border:none !important;border-radius: 0px !important;}
.past-blocked-pending { background: linear-gradient(to right, #ffdddd 35%, lightgray 50%, #FFF4C2 65%) !important; border:none !important;border-radius: 0px !important;}
.past-blocked-blocked { background: linear-gradient(to right, #ffdddd 35%, lightgray 50%, #ffdddd 65%) !important; border:none !important;border-radius: 0px !important;}

/* Happy Hour-Varianten für Start/Ende – grünlicheres Gradient */
.booked-start-happy { background: linear-gradient(to top left, lightsalmon 50%, greenyellow 50%) !important; }
.booked-end-happy   { background: linear-gradient(to top right, lightsalmon 50%, greenyellow 50%) !important; }

.pending-start-happy { background: linear-gradient(to top left, gold 50%, greenyellow 50%) !important; }
.pending-end-happy   { background: linear-gradient(to top right, gold 50%, greenyellow 50%) !important; }

.blocked-start-happy { background: linear-gradient(to top left, #ffcccc 50%, greenyellow 50%) !important; }
.blocked-end-happy   { background: linear-gradient(to top right, #ffdddd 50%, greenyellow 50%) !important; }

.blocked-full {
    background: 
        repeating-linear-gradient(
            135deg,
            #ffdddd 0px,
            #ffdddd 15px,
            #ffffff 15px,
            #ffffff 30px,
            #ffcccc 30px,
            #ffcccc 45px,
            #ffffff 45px,
            #ffffff 60px
        ),
        linear-gradient(135deg, #ffb3b3 25%, #ffcccc 75%) !important;
    
  
}

.past-blocked-full {
    background: 
        repeating-linear-gradient(
            135deg,
            #ffdddd 0px,
            #ffdddd 15px,
            lightgrey 15px,
            lightgrey 30px,
            #ffcccc 30px,
            #ffcccc 45px,
            lightgrey 45px,
            lightgrey 60px
        ),
        linear-gradient(135deg, #ffb3b3 25%, #ffcccc 75%) !important;
        border:none !important;
        border-radius: 0px !important;
}
.blocked-start { background: linear-gradient(to top left, #ffcccc 50%, lightgreen 50%) !important; }
.blocked-end { background: linear-gradient(to top right, #ffdddd 50%, lightgreen 50%) !important; }
.past-blocked-start { background: linear-gradient(to top left, #ffdddd 50%, lightgrey 50%) !important; border:none !important;border-radius: 0px !important;}
.past-blocked-end { background: linear-gradient(to top right, #ffdddd 50%, lightgrey 50%) !important; border:none !important;border-radius: 0px !important;}


/* Overlapping bookings at boundaries - all combinations */
/* Format: current-next where both end/start at this slot */

/* Both confirmed (red-white-red) */
.booked-booked { 
    background: linear-gradient(to right, lightsalmon 35%, whitesmoke 50%, lightsalmon 65%) !important; 
}

/* First confirmed, second pending (red-white-yellow) */
.booked-pending { 
    background: linear-gradient(to right, lightsalmon 35%, whitesmoke 50%, gold 65%) !important; 
}

/* First pending, second confirmed (yellow-white-red) */
.pending-booked { 
    background: linear-gradient(to right, gold 35%, whitesmoke 50%, lightsalmon 65%) !important; 
}

/* Both pending (yellow-white-yellow) */
.pending-pending { 
    background: linear-gradient(to right, gold 35%, whitesmoke 50%, gold 65%) !important; 
}

/* ========== HAPPY HOUR – exakt wie booked/pending/blocked ========== */

/* Grundfarbe */
.happy-full   { background: greenyellow !important; }

/* Start & Ende */
.happy-start  { background: linear-gradient(to top left, greenyellow 50%, lightgreen 50%) !important; }
.happy-end    { background: linear-gradient(to top right, greenyellow 50%, lightgreen 50%) !important; }

.unavailable {
    background: repeating-linear-gradient(
        45deg,
        #f8f8f8 0px,
        #f8f8f8 10px,
        #e8e8e8 10px,
        #e8e8e8 20px
    ) !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}
.past-unavailable { background: #f0f0f0 !important; border:none !important;border-radius: 0px !important;}




/* Layout styles */
.myboxtitel { 
    font-size: x-large; 
    padding: 10px; 
    background: #4eadf4;
    border: 1px solid black; 
    border-radius: 10px;
}

.mybox { 
    margin: 15px 0; 
}

.reihe { 
    display: grid; 
    grid-template-columns: repeat(12, 1fr); 
    gap: 1px; 
    max-width: 100%; 
    padding: 5px;
    box-sizing: border-box;
}

@media (max-width: 768px) { 
    .reihe { grid-template-columns: repeat(8, 1fr); }
    .zelle { font-size: 0.75em; padding: 2px; min-width: 20px; }
}

.zelle { 
    border: 1px solid #4D4D4D; 
    padding: 3px; 
    text-align: center; 
    cursor: pointer; 
    min-width: 20px; 
    box-sizing: border-box; 
    white-space: nowrap; 
    font-size: 0.85em;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.zelle.selected::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 165, 0, 0.6); /* halbdurchsichtige Orange-Schicht */
    z-index: 20;
}

/* Form styles */

button, button[type="submit"] {
	background:lightblue;
	color:white;
	padding:5px 20px;
	border:1px solid black;
	border-radius:8px;
	margin-top: 15px;
	font-size:20px;
	cursor:pointer;
	text-transform: none;
}

/* Admin: Rote Buttons (z.B. Löschen) – erweitert WordPress .button Klasse */
.admin-color .button.red,
.button.button-small.red,
.button.red {
    color: #fff !important;
    background: #d63638 !important;      /* WP-Standard-Rot (wie "Delete") */
    border-color: #b32d2e !important;
    border-radius:8px;
    box-shadow: 0 1px 0 #b32d2e !important;
    text-shadow: 0 -1px 1px #b32d2e, 1px 0 1px #b32d2e, 0 1px 1px #b32d2e, -1px 0 1px #b32d2e !important;
}

.admin-color .button.red:hover,
.button.button-small.red:hover,
.button.red:hover {
    background: #b32d2e !important;
    border-color: #9e2829 !important;
    color: #fff !important;
    border-radius:8px;
}

.admin-color .button.red:focus,
.button.button-small.red:focus,
.button.red:focus {
    border-color: #8c2022 !important;
    box-shadow: 0 0 0 1px #8c2022 !important;
}

input[type="number"]{
	font-size:1.4em !important;
	border:1px solid black;
}

.booking-form input, .booking-form textarea { 
    width: 100%; 
    margin-bottom: 10px; 
    padding: 8px; 
    box-sizing: border-box; 
}

#booking-success { 
    display: none; 
    color: green; 
    padding: 10px; 
    background: #d4edda; 
    border: 1px solid #c3e6cb; 
    margin: 10px 0; 
}

.refresh-btn { 
    background: #0073aa; 
    color: white; 
    padding: 5px 10px; 
    border: none; 
    cursor: pointer; 
    margin: 10px 0; 
}

#sb-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: none;
    z-index: 999999;
}

#sb-overlay-bg {
    position: absolute;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
}

#sb-overlay-box {
    position: relative;
    width: 350px;
    max-width: 90%;
    margin: 100px auto;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 5px 25px rgba(0,0,0,0.35);
}

.sb-resource-info {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.sb-resource-img img {
    max-width: 260px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.sb-resource-desc {
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 600px;
}

/* ========== FORMULAR-OVERLAY – super einfach, ohne Transition ========== */
#booking-form-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

#booking-form-overlay.active {
    display: flex;   /* kein !important, keine opacity, kein transition */
}

#booking-form-overlay .booking-form {
    display: block;
}

#booking-form-modal {
    background: white;
    max-width: 520px;
    width: 100%;
    border-radius: 16px;
    padding: 50px 30px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
}

#booking-form-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #c00;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
}

/* ———————————————————————— MAIN KALENDER LEGENDE – 100% sauber ———————————————————————— */
.esherpa-main-calendar-legend {
    text-align: left;
    margin: 70px auto 40px;
    font-size: 16px;
    color: #333;
    line-height: 2.4;
}

.esherpa-legend-item {
    display: inline-block;
    margin: 0 16px;
    min-width: 150px;
    vertical-align: middle;
}

.esherpa-legend-color {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
    border: 1px solid #4D4D4D;
}

/* ================ GUTHABEN-LEISTE – LINKS BETRAG, RECHTS BUTTON ================ */
.esherpa-balance-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #2271b1, #135e96);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    font-family: 'Segoe UI', Arial, sans-serif;
}

.balance-amount {
    text-align: left;
}

.balance-amount strong {
    font-size: 16px;
    opacity: 0.95;
}

.big-balance {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: -1px;
    display: block;
    margin-top: 4px;
}

.balance-actions {
    text-align: right;
}

.balance-topup-btn {
    background: #00d1b2 !important;
    border: none !important;
    padding: 14px 28px !important;
    font-size: 17px !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,209,178,0.4) !important;
    transition: all 0.3s ease !important;
}

.balance-topup-btn:hover {
    background: #00e6c3 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,209,178,0.5) !important;
}

/* Mobile – untereinander */
@media (max-width: 600px) {
    .esherpa-balance-bar {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    .balance-actions {
        margin-top: 20px;
    }
    .big-balance {
        font-size: 28px;
    }
}

.esherpa-online-users {
    background: #f8fff8;
    border: 1px solid #b2d8b2;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    font-family: system-ui, sans-serif;
}
.esherpa-online-users h3,
.esherpa-online-users h4 {
    margin-top: 0;
    color: #27ae60;
}
.esherpa-online-users ul {
    margin: 10px 0;
    padding-left: 20px;
}
.esherpa-online-users small {
    color: #666;
    font-size: 13px;
}

.esherpa-resource-overview-wrapper {
        max-width: 1200px;
        margin: 60px auto;
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }
    .esherpa-resource-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 32px;
    }
    .esherpa-resource-card {
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0,0,0,0.08);
        transition: all 0.4s ease;
        display: flex;
        flex-direction: column;
    }
    .esherpa-resource-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 50px rgba(34,113,177,0.2);
    }
    .card-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    .card-image.placeholder {
        height: 200px;
        background: #f0f0f0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
        font-size: 18px;
    }
    .card-content {
        padding: 24px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    .card-content h3 a {
        color: #2271b1;
        text-decoration: none;
        font-size: 24px;
        margin: 0 0 12px;
    }
    .card-content h3 a:hover { color: #00b26f; }
    .description { color: #555; line-height: 1.6; margin-bottom: 12px; }
    .price { font-weight: bold; color: #2271b1; margin: 12px 0; }
    .mini-calendar { margin: 20px 0; text-align: center; }
    .legend {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 13px;
        color: #666;
        justify-content: center;
        margin: 20px 0 10px;
    }
    .legend span { display: flex; align-items: center; gap: 6px; }
    .legend i {
        display: inline-block;
        width: 16px;
        height: 16px;
        border-radius: 50%;
    }
    .card-button {
        margin-top: auto;
        text-align: center;
        padding-top: 20px;
    }
    .esherpa-button {
        background: #2271b1;
        color: white;
        padding: 15px 15px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
        display: inline-block;
        transition: all 0.3s;
    }
    .esherpa-button:hover {
        background: #00b26f;
        transform: scale(1.05);
    }
    button, .esherpa-small-button.green { background:#00b26f; color:white; padding:15px 20px; font-size:16px !important; border:none; border-radius:10px; font-weight:bold; box-shadow:none; cursor:pointer; }

    
    @media (max-width: 768px) {
        .esherpa-resource-grid { grid-template-columns: 1fr; }
        .esherpa-resource-overview-wrapper { padding: 0 15px; }
    }


/* ============================================================= */
/* MY-RESOURCES – FINAL & MINIMAL (nur was du wirklich brauchst) */
/* ============================================================= */

/* eSherpa Notices – Success, Error, Info (wie Admin-Design)    */


.esherpa-notice {
    max-width: 90%;
    margin: 30px auto;
    padding: 20px 30px;
    border-radius: 16px;
    font-size: 17px;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.esherpa-notice::before {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 6px;
    background: currentColor;
    opacity: 0.3;
}

/* SUCCESS – Grün */
.esherpa-notice.success {
    background: #e8f5e9;
    color: #155724;
}

/* ERROR – Rot */
.esherpa-notice.error {
    background: #ffebee;
    border-left-color: #d32f2f;
    color: #721c24;
}

/* INFO – Blau */
.esherpa-notice.info {
    background: #e3f2fd;
    border-left-color: #2271b1;
    color: #0c5460;
}


/* Wrapper */
.esherpa-my-resource-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    overflow: hidden;
}

.esherpa-my-resource-header {
    background: linear-gradient(135deg, #2271b1, #135e96);
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 16px;
}

.esherpa-my-resource-header h2 { margin: 0; font-size: 36px; color:white;}
.esherpa-my-resource-header p { margin: 10px 0 0; font-size: 18px; opacity: 0.9; }

.esherpa-my-resource-content { padding: 40px; }

/* Farbige Sektionen */
.esherpa-section-green   { background:#e8f5e9; }
.esherpa-section-blue    { background:#e3f2fd; }
.esherpa-section-orange  { background:#fff3e0; }
.esherpa-section-purple  { background:#f3e5f5; }

.esherpa-section {
    margin-bottom: 60px;
    padding: 30px;
    border-radius: 16px;
}

.esherpa-section h3 {
    margin-top: 0;
    font-size: 26px;
    text-align: center;
}

/* Öffnungszeiten Grid */
.opening-days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.opening-day-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.day-name {
    font-size: 20px;
    font-weight: 600;
    color: #2271b1;
}

/* EINZIGER SCHIEBER – clean, ohne Label */
.clean-toggle {
    margin-left: auto;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 36px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 36px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

input:checked + .slider {
    background-color: #00b26f;
}

input:checked + .slider:before {
    transform: translateX(28px);
}

.slider.round { border-radius: 36px; }
.slider.round:before { border-radius: 50%; }

/* Zeitfenster */
.time-slots {
    margin-top: 20px;
}

.time-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 12px 0;
}

.time-select {
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 18px;
    background: white;
    min-width: 120px;
}

.opening-day-card.enabled .time-select {
    border-color: #00b26f;
    background: #f0fff4;
}

.arrow {
    font-size: 24px;
    color: #00b26f;
    font-weight: bold;
}

/* Speichern Button */
.esherpa-save-button {
    text-align: center;
    margin: 80px 0;
}

.esherpa-save-button button {
    background: #2271b1;
    color: white;
    padding: 25px 140px;
    font-size: 28px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 12px 40px rgba(34,113,177,0.5);
    transition: all 0.3s;
}

.esherpa-save-button button:hover {
    background: #135e96;
    transform: translateY(-3px);
}

.esherpa-resource-switcher { text-align:center; margin:30px 0; }
.esherpa-resource-btn { display:inline-block; padding:12px 24px; margin:0 8px; background:#f0f0f0; border-radius:30px; text-decoration:none; color:#333; font-weight:bold; transition:all .3s; }
.esherpa-resource-btn.active, .esherpa-resource-btn:hover { background:#2271b1; color:white; }


/* Hinweis */
.full-day-hint {
    text-align: center;
    padding: 16px;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 16px;
}

/* Login-Hinweis */
.esherpa-notice.login-required {
    max-width: 600px;
    margin: 60px auto;
    padding: 50px;
    background: linear-gradient(135deg, #f0f8ff, #e3f2fd);
    border: 2px solid #2271b1;
    border-radius: 20px;
    text-align: center;
}

.esherpa-login-button {
    background: #2271b1;
    color: white;
    padding: 18px 50px;
    font-size: 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(34,113,177,0.4);
    transition: all .3s;
}

.esherpa-login-button:hover {
    background: #135e96;
    transform: translateY(-3px);
}
/* Zeitfenster nur anzeigen, wenn .enabled */
.opening-day-card .time-slots {
    display: none;
}
.opening-day-card.enabled .time-slots {
    display: block;
}

/* Hinweis nur bei full-day */
.opening-day-card .full-day-hint {
    display: block;
}
.opening-day-card.enabled .full-day-hint {
    display: none;
}

//KALENDERSLIDER
/* ——— DATE RANGE SLIDER ——— */
.esherpa-date-range-slider {
    max-width: 700px;
    margin: 50px auto;
    padding: 20px 0;
    text-align: center;
    font-family: system-ui, -apple-system, sans-serif;
}

.range-info {
    font-size: 18px;
    margin-bottom: 30px;
    color: #333;
}

.range-info strong {
    color: #2271b1;
}

#date-from, #date-to {
    color: #00b26f;
    font-weight: bold;
}

.slider-container {
    position: relative;
    height: 70px;
    margin: 0 20px;
}

.track-bg {
    position: absolute;
    top: 33px;
    left: 0;
    right: 0;
    height: 6px;
    background: #e0e0e0;
    border-radius: 6px;
}

.track-fill {
    position: absolute;
    top: 33px;
    height: 6px;
    background: #00b26f;
    border-radius: 6px;
    left: 0%;
    right: 71%;
}

.thumb {
    position: absolute;
    top: 18px;
    width: 50px;
    height: 50px;
    background: #00b26f;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 20px rgba(0,178,111,0.4);
    z-index: 10;
}
#s1, #s2 {
    position: absolute;
    width: 100%;
    height: 70px;   
    top: 0;
    left: 0;
    background: transparent;
    -webkit-appearance: none;
    outline: none;
    pointer-events: none;
    margin: 0;
}
#s1::-webkit-slider-thumb,
#s2::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all !important;
    width: 70px;           /* ← riesig für Finger */
    height: 70px;
    background: transparent !important;
    cursor: ew-resize;
}
#range-start,
#range-end {
    position: absolute;
    width: 100%;
    height: 90px;   
    top: 0;
    left: 0;
    background: transparent;
    -webkit-appearance: none;
    outline: none;
    pointer-events: none;
    margin: 0;
    z-index:999;
}

#range-start::-webkit-slider-thumb,
#range-end::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all !important;
    width: 70px;           /* ← riesig für Finger */
    height: 70px;
    background: transparent !important;
    cursor: ew-resize;
}

#range-start::-moz-range-thumb,
#range-end::-moz-range-thumb {
    pointer-events: all !important;
    width: 70px;
    height: 70px;
    background: transparent;
    border: none;
    cursor: ew-resize;
}

#apply-range {
    margin-top: 35px;
    padding: 14px 50px;
    font-size: 19px;
}