/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
}

/* Layout */
body {
    margin: 0;
    padding: 0;
}

/* Top Navigation Bar - Apple Glass Style */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.nav-title {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.5px;
}

.current-info span {
    font-size: 0.9em;
    color: #6e6e73;
    font-weight: 500;
}

.nav-center {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.building-selector {
    display: flex;
    gap: 24px;
    align-items: center;
}

.building-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.building-label {
    font-size: 0.9em;
    color: #1d1d1f;
    font-weight: 500;
    white-space: nowrap;
}

.floor-buttons {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px;
    border-radius: 12px;
}

.floor-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    min-width: 36px;
    text-align: center;
}

.floor-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.floor-btn.active {
    background: #007aff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.nav-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav-action-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-action-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.status-info span {
    font-size: 0.85em;
    color: #6e6e73;
    font-weight: 400;
}

/* Bottom Tab Bar */
.bottom-tab-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 8px 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 1000;
    white-space: nowrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    border-radius: 12px;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tab-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.tab-text {
    font-size: 14px;
    font-weight: 500;
}

.desktop-only {
    display: block;
}

/* Logo Container */
.logo-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.logo-container:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

.logo {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
}

/* Help Button Container */
.help-container {
    position: fixed;
    bottom: 20px;
    left: 98px; /* Rechts neben dem Logo */
    z-index: 1000;
}

.help-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 122, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.help-btn:hover {
    background: rgba(0, 122, 255, 1);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 122, 255, 0.4);
}

.help-btn:active {
    transform: translateY(0) scale(0.98);
}

.help-icon {
    color: white;
    font-size: 20px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Overlay - Apple Glass Style */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.overlay.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 95%;
    max-width: 1200px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease;
}

.overlay-header {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.overlay-header h2 {
    color: #1d1d1f;
    margin: 0;
    font-size: 1.5em;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.close-btn {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: #666;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1d1d1f;
}

.overlay-body {
    padding: 24px 28px;
    max-height: 65vh;
    overflow-y: auto;
}

.search-box {
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1d1d1f;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.search-box input::placeholder {
    color: #6e6e73;
}

.search-box input:focus {
    outline: none;
    border-color: #007aff;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.exhibitor-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    padding: 5px;
}

.exhibitor-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 16px;
    transition: all 0.2s ease;
}

.exhibitor-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.exhibitor-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.exhibitor-name {
    color: #1d1d1f;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.2px;
}

.exhibitor-room {
    color: #007aff;
    font-size: 12px;
    background: rgba(0, 122, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, monospace;
    font-weight: 500;
}

.exhibitor-info {
    color: #6e6e73;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 400;
}

.locate-btn {
    background: #007aff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.locate-btn:hover {
    background: #0056cc;
    transform: scale(1.02);
}

/* Vocational Education Items - Apple Style */
.vocational-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    padding: 5px;
}

.vocational-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 16px;
    transition: all 0.2s ease;
}

.vocational-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.vocational-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.vocational-name {
    color: #1d1d1f;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.2px;
}

.vocational-category {
    color: #007aff;
    font-size: 11px;
    background: rgba(0, 122, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.vocational-room {
    color: #007aff;
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, monospace;
    margin-bottom: 6px;
    font-weight: 500;
}

.vocational-info {
    color: #6e6e73;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 400;
}

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

@keyframes slideIn {
    from { transform: scale(0.8) translateY(-50px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

/* Mobile Navigation */
.mobile-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 0;
}

.mobile-header .nav-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #1d1d1f;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hamburger-btn {
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.15);
}

.hamburger-btn:hover {
    background: rgba(0, 122, 255, 0.2);
    border-color: rgba(0, 122, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

.hamburger-btn:active {
    transform: scale(0.95);
}

.hamburger-btn span {
    width: 20px;
    height: 2px;
    background: #1d1d1f;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(0, 5px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0, -5px);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.show {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
}

.mobile-current-info {
    padding: 16px 20px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-current-info span {
    font-size: 14px;
    color: #6e6e73;
    font-weight: 500;
}

.mobile-building-selector {
    padding: 16px 20px;
}

.mobile-building-group {
    margin-bottom: 16px;
}

.mobile-building-label {
    display: block;
    font-size: 14px;
    color: #1d1d1f;
    font-weight: 600;
    margin-bottom: 8px;
}

.mobile-floor-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mobile-floor-btn {
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    min-width: 48px;
    text-align: center;
}

.mobile-floor-btn:hover,
.mobile-floor-btn.active {
    background: #007aff;
    color: white;
    border-color: #007aff;
}

.mobile-action-buttons {
    padding: 16px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-action-btn {
    padding: 12px 16px;
    background: #007aff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.mobile-action-btn:hover {
    background: #0056cc;
}



/* Responsive Grid Breakpoints */
@media (max-width: 1200px) {
    .exhibitor-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 900px) {
    .exhibitor-list {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .building-selector {
        gap: 16px;
    }
    
    .nav-content {
        padding: 10px 16px;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation umschalten */
    .mobile-header {
        display: flex !important;
    }

    .desktop-nav {
        display: none !important;
    }

    /* Bottom Tab Bar auf mobile verstecken */
    .desktop-only {
        display: none !important;
    }

    /* Top Navigation bleibt fixed */
    .top-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

    .nav-content {
        padding: 12px 20px !important;
        display: block !important;
    }

    .overlay-content {
        width: 98%;
        max-width: none;
        max-height: 90vh;
    }

    .overlay-header {
        padding: 15px;
    }

    .overlay-header h2 {
        font-size: 1.2em;
    }

    .overlay-body {
        padding: 15px;
        max-height: 70vh;
    }

    .logo-container {
        bottom: 15px;
        left: 15px;
        padding: 10px;
    }

    .logo {
        width: 32px;
        height: 32px;
    }

    .help-container {
        bottom: 15px;
        left: 65px; /* Angepasst für kleineres Logo auf Mobile */
    }

    .help-btn {
        width: 40px;
        height: 40px;
    }

    .help-icon {
        font-size: 18px;
    }

    .exhibitor-list, .vocational-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }

    .exhibitor-item, .vocational-item {
        padding: 12px;
    }

    .exhibitor-main, .vocational-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .exhibitor-room, .vocational-category {
        align-self: flex-start;
    }

    #map {
        padding-top: 60px !important; /* Weniger Platz für kompakte mobile Navigation */
        height: 100vh !important;
        width: 100% !important;
    }

    /* Mobile Menu korrekt positionieren */
    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .mobile-header {
        display: flex !important;
        padding: 10px 0 !important;
    }

    .desktop-nav {
        display: none !important;
    }

    .top-nav {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

    .nav-content {
        display: block !important;
        padding: 10px 16px !important;
    }

    .hamburger-btn {
        display: flex !important;
        flex-direction: column !important;
        padding: 8px !important;
    }

    .exhibitor-list, .vocational-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .overlay-body {
        padding: 10px;
    }

    .overlay-header {
        padding: 12px;
    }

    #map {
        padding-top: 70px !important;
        height: 100vh !important;
    }
}

/* Map Container */
#map {
    width: 100%;
    height: 100vh;
    padding-top: 70px; /* Space for top nav */
    touch-action: manipulation; /* Optimiert Touch-Performance */
    user-select: none; /* Verhindert Text-Selektion */
    -webkit-user-select: none;
    -webkit-touch-callout: none; /* Verhindert Callout-Menü auf iOS */
}

/* Custom Leaflet Styles für Raumplan */
.leaflet-container {
    background: #f8f9fa;
    touch-action: manipulation; /* Verbesserte Touch-Performance */
}

/* Marker Touch-Optimierung */
.leaflet-marker-icon,
.leaflet-marker-shadow {
    touch-action: manipulation;
    cursor: pointer;
}

/* Mobile Touch-Targets vergrößern */
@media (max-width: 768px) {
    .leaflet-marker-icon {
        transform-origin: center center;
    }

    /* Vergrößerte Touch-Bereiche für Marker */
    .leaflet-clickable {
        cursor: pointer;
        touch-action: manipulation;
    }
}

/* Leaflet Zoom Controls - Komplett verstecken */
.leaflet-control-zoom {
    display: none !important;
}

/* Custom Popup Styles - Apple Glass */
.leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
}

.leaflet-popup-content {
    margin: 16px 20px !important;
    line-height: 1.5 !important;
    color: #1d1d1f !important;
    font-weight: 400 !important;
}

.leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}




/* Highlighted Marker Animation */
.highlighted-marker {
    animation: highlight-pulse 0.6s ease-in-out infinite alternate;
    z-index: 1000 !important;
}

@keyframes highlight-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    }
    100% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1));
    }
}

/* Room Popup Styles */
.room-popup {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-width: 180px;
    max-width: 280px;
}

.room-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
    line-height: 1.3;
}

.room-info {
    font-size: 13px;
    color: #6e6e73;
    line-height: 1.4;
    margin-bottom: 8px;
    font-weight: 400;
}

.room-floor {
    font-size: 12px;
    color: #007cba;
    font-weight: 500;
    margin-bottom: 0;
}

/* Event Popup Styles */
.event-popup {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-width: 200px;
    max-width: 300px;
}

.event-header {
    font-size: 14px;
    font-weight: 600;
    color: #007aff;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0, 122, 255, 0.2);
}

.event-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px;
    line-height: 1.3;
}

.event-category {
    font-size: 12px;
    color: #007aff;
    background: rgba(0, 122, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
    font-weight: 500;
}

.event-room {
    font-size: 13px;
    color: #007aff;
    font-family: -apple-system, BlinkMacSystemFont, monospace;
    font-weight: 500;
    margin-bottom: 8px;
}

.event-info {
    font-size: 13px;
    color: #6e6e73;
    line-height: 1.4;
    margin-bottom: 0;
    font-weight: 400;
}

/* Welcome Overlay Styles */
.welcome-content {
    max-width: 800px;
    max-height: 90vh;
}

.welcome-section {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.welcome-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.welcome-section h3 {
    color: #1d1d1f;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.welcome-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.welcome-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: #1d1d1f;
    line-height: 1.5;
}

.welcome-list li::before {
    content: "•";
    color: #007aff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.room-system {
    background: rgba(0, 122, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-top: 8px;
}

.room-example {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.room-code {
    font-family: -apple-system, BlinkMacSystemFont, monospace;
    font-size: 24px;
    font-weight: bold;
    color: #007aff;
    background: rgba(0, 122, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    border: 2px solid rgba(0, 122, 255, 0.2);
}

.room-explanation {
    flex: 1;
    min-width: 200px;
}

.room-explanation span {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.building-letter {
    color: #007aff;
    font-weight: 600;
}

.floor-number {
    color: #28a745;
    font-weight: 600;
}

.room-number {
    color: #FFA500;
    font-weight: 600;
}

.building-info {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.building-info p {
    margin: 4px 0;
    font-size: 14px;
    color: #1d1d1f;
}

.welcome-footer {
    text-align: center;
    padding-top: 16px;
    margin-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.welcome-greeting {
    font-size: 18px;
    color: #1d1d1f;
    margin-bottom: 16px;
    line-height: 1.4;
}

.welcome-start-btn {
    background: #007aff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.welcome-start-btn:hover {
    background: #0056cc;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 122, 255, 0.4);
}