/* * Matze & Michi - Global Styles */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; }

body {
    background-color: #0f172a; /* Slate 900 */
    color: #e2e8f0; /* Slate 200 */
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- UTILITIES --- */
.glass {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(20, 184, 166, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* --- TICKET & BOARDING PASS --- */
.ticket-container {
    background: #1e293b;
    position: relative;
    border-radius: 12px;
    mask-image: radial-gradient(circle at 0 70px, transparent 10px, black 10.5px), radial-gradient(circle at 100% 70px, transparent 10px, black 10.5px);
    mask-position: left top, right top;
    mask-size: 51% 100%;
    mask-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashed-line {
    border-top: 2px dashed rgba(148, 163, 184, 0.3);
    margin: 1.5rem 0;
}

/* --- MAP --- */
#map-container {
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #14b8a6; }

/* --- OPENLAYERS --- */
.ol-control button {
    background-color: #14b8a6 !important;
    color: white !important;
    border-radius: 4px !important;
}
.ol-layer canvas { filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%); }

/* --- ANIMATIONS --- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.4s ease-out forwards; }
.hidden { display: none !important; }
