.map-container{width:100%;height:100vh;position:relative}.map{width:100%;height:100%}.loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:#ffffffe6;z-index:100}.loading-overlay h2{color:#111827;font-size:24px}@media (max-width: 768px){.map-container{height:100vh}.loading-overlay h2{font-size:18px}}.sidebar{width:380px;background:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;position:relative;transition:all .3s ease;overflow:hidden;box-shadow:2px 0 10px #0000000d;z-index:100}.sidebar.collapsed{width:0}.sidebar-overlay{display:none}.collapse-btn{position:absolute;top:20px;right:-40px;width:40px;height:40px;background:#fff;border:1px solid #e5e7eb;border-left:none;color:#00d4aa;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:10;border-radius:0 8px 8px 0;transition:background .2s}.collapse-btn:hover{background:#f9fafb}.sidebar-header{padding:30px 25px 20px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#fff,#f9fafb)}.brand-container{margin-bottom:15px}.brand-text h1{font-size:24px;font-weight:700;color:#111827;margin-bottom:4px;letter-spacing:-.5px}.tagline{font-size:13px;color:#00d4aa;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.subtitle{color:#6b7280;font-size:14px;font-weight:500}.filters-section{padding:15px;background:#fff;border-bottom:2px solid #e5e7eb}.search-input{width:100%;padding:12px 14px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;margin-bottom:10px;transition:all .2s;background:#fff;color:#111827;font-family:inherit}.search-input:focus{outline:none;border-color:#00d4aa;background:#f9fafb}.filter-row{display:flex;gap:8px;margin-bottom:8px}.filter-select{flex:1;padding:10px 32px 10px 12px;border:2px solid #e5e7eb;border-radius:8px;font-size:13px;background:#fff;color:#374151;cursor:pointer;transition:all .2s;font-weight:500;font-family:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300d4aa' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.filter-select:focus{outline:none;border-color:#00d4aa;background-color:#f9fafb}.courses-list{flex:1;overflow-y:auto;padding:15px;background:#f9fafb}.race-group-section{margin-bottom:24px}.race-group-title{font-size:13px;font-weight:700;color:#374151;text-transform:uppercase;letter-spacing:.8px;padding:10px 14px;background:#fff;border-radius:8px;margin-bottom:12px;border:2px solid #e5e7eb;border-left:4px solid #00d4aa}.course-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:18px;margin-bottom:12px;cursor:pointer;transition:all .3s ease}.course-card:hover{border-color:#00d4aa;box-shadow:0 2px 8px #00d4aa26;transform:translate(3px)}.course-card.active{border-color:#00d4aa;background:#f0fdfa;box-shadow:0 4px 12px #00d4aa33}.course-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:12px;gap:10px}.course-header h3{font-size:18px;font-weight:600;color:#111827;line-height:1.3;flex:1}.difficulty-badge{padding:4px 10px;border-radius:6px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#fff;white-space:nowrap}.course-tags{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}.category-tag{padding:4px 10px;background:#f3f4f6;color:#6b7280;font-size:11px;border-radius:5px;font-weight:600;text-transform:uppercase}.race-group-tag{padding:4px 10px;background:#dbeafe;color:#1e40af;font-size:11px;border-radius:5px;font-weight:600}.course-stats{display:flex;gap:15px;margin-bottom:12px}.stat{display:flex;flex-direction:column;gap:4px}.stat-label{font-size:11px;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.stat-value{font-size:15px;color:#00d4aa;font-weight:700}.course-description{margin-top:15px;padding-top:15px;border-top:1px solid #e5e7eb}.course-description p{color:#374151;font-size:14px;line-height:1.6;margin-bottom:15px}.elevation-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f9fafb;padding:15px;border-radius:8px;border:1px solid #e5e7eb}.elevation-item{display:flex;justify-content:space-between;font-size:13px}.elevation-item span{color:#6b7280}.elevation-item strong{color:#00d4aa;font-weight:600}@media (max-width: 768px){.sidebar-overlay{display:block;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:999}.sidebar{position:fixed;top:0;left:0;width:85%;max-width:380px;height:100vh;z-index:1000;transform:translate(-100%);transition:transform .3s ease}.sidebar:not(.collapsed){transform:translate(0)}.collapse-btn{display:none}.sidebar-header{padding:20px 15px 15px}.brand-text h1{font-size:20px}.filters-section,.courses-list{padding:12px}.filter-row{flex-direction:column}.course-card{padding:14px}.elevation-stats{grid-template-columns:1fr}}.elevation-profile{position:absolute;bottom:0;left:0;right:0;background:#fff;border-top:2px solid #00d4aa;transition:height .3s ease;z-index:50;box-shadow:0 -4px 12px #00000014;pointer-events:auto}.elevation-profile.expanded{height:250px}.elevation-profile.collapsed{height:50px}.elevation-header{display:flex;justify-content:space-between;align-items:center;padding:15px 25px;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fff;border-bottom:1px solid #e5e7eb;min-height:50px}.elevation-header:hover{background:#f9fafb}.elevation-header h3{font-size:16px;font-weight:600;color:#111827;margin:0}.toggle-btn{background:transparent;border:none;color:#00d4aa;font-size:18px;cursor:pointer;padding:8px;transition:transform .3s;min-width:40px;min-height:40px;display:flex;align-items:center;justify-content:center}.toggle-btn:hover{transform:scale(1.2)}.chart-container{height:200px;padding:0 25px 20px;background:#fff}.chart-container canvas{max-height:180px!important}@media (max-width: 768px){.elevation-profile{bottom:env(safe-area-inset-bottom)}.elevation-profile.expanded{height:220px}.elevation-profile.collapsed{height:60px}.elevation-header{padding:15px;min-height:60px}.elevation-header h3{font-size:14px}.toggle-btn{font-size:20px;min-width:44px;min-height:44px}.chart-container{height:160px;padding:0 15px 15px}.chart-container canvas{max-height:140px!important}}.app-container{display:flex;height:100vh;width:100vw;overflow:hidden;position:relative}.main-content{flex:1;position:relative;height:100vh}.mobile-menu-btn{display:none;position:fixed;top:20px;left:20px;width:56px;height:56px;background:#00d4aa;color:#fff;border:none;border-radius:12px;font-size:28px;cursor:pointer;z-index:9999;box-shadow:0 4px 16px #0000004d;align-items:center;justify-content:center;transition:all .2s;font-weight:700;line-height:1}.mobile-menu-btn:active{transform:scale(.95)}@media (max-width: 768px){.app-container{flex-direction:column}.main-content{height:100vh;width:100vw}.mobile-menu-btn{display:flex;top:max(20px,env(safe-area-inset-top));left:max(20px,env(safe-area-inset-left))}}body{overflow:hidden;position:fixed;width:100%;height:100%}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:#1a1a1a;color:#e0e0e0;overflow:hidden}#root{height:100vh;width:100vw}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right{display:none}.mapboxgl-ctrl-top-right{top:20px;right:20px}.mapboxgl-ctrl button{background:#2a2a2a!important;border:1px solid #3a3a3a!important}.mapboxgl-ctrl button:hover{background:#3a3a3a!important}.mapboxgl-ctrl-icon{filter:invert(1)}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#2a2a2a}::-webkit-scrollbar-thumb{background:#4a4a4a;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#5a5a5a}
