/* assets/css/style.css */
body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; overflow: hidden; background: #eee; }
#map { width: 100vw; height: 100vh; z-index: 1; }

/* DOLNA NAWIGACJA */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: white; display: flex; justify-content: space-around;
    padding: 10px 0; padding-bottom: 20px; /* na iPhone z paskiem */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 9999;
}
.nav-item { text-align: center; color: #888; cursor: pointer; flex: 1; }
.nav-item.active { color: #007bff; font-weight: bold; }
.nav-icon { font-size: 24px; display: block; margin-bottom: 2px; }

/* MODALE (OKNA) - UKRYTE DOMYŚLNIE */
.modal-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: white; z-index: 5000;
    transform: translateY(100%); transition: transform 0.3s ease-in-out;
    display: flex; flex-direction: column;
}
.modal-screen.open { transform: translateY(0); }

.modal-header {
    padding: 20px; background: #f8f9fa; border-bottom: 1px solid #ddd;
    display: flex; justify-content: space-between; align-items: center;
}
.modal-content { flex: 1; overflow-y: auto; padding: 20px; }

/* STYLE DLA PROFILU I RANKINGU */
.stat-box { background: #007bff; color: white; padding: 20px; border-radius: 12px; text-align: center; margin-bottom: 20px; }
.stat-number { font-size: 32px; font-weight: bold; display: block; }
.btn-action { display: block; width: 100%; padding: 15px; margin: 10px 0; background: #eee; border: none; border-radius: 8px; text-align: left; font-size: 16px; cursor: pointer; }
/* Pływający pasek GPS */
.gps-pill {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000; /* Musi być nad mapą */
    pointer-events: none; /* Żeby nie przeszkadzał w klikaniu mapy */
    white-space: nowrap;
}