/* --- VARIABLES GLOBALES --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/*QUITAR TITLE MAPA*/
.leaflet-control-attribution>a,
.leaflet-control-attribution>span {
  display: none !important;
}

* {
  font-family: "Montserrat";
}

:root {
  --cr-red: #EE3224;
  --cr-dark-red: #B3261B;
  --bg-main: #E2E8F0;
  --bg-white: #ffffff;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border-color: #CBD5E1;
}

* {
  box-sizing: border-box;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* --- HEADER GLOBAL --- */
header {
  background: var(--bg-white);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 10;
  flex-shrink: 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-left img {
  height: 60px;
}

.header-left h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-dark);
  text-transform: uppercase;
}


/* --- FOOTER GLOBAL --- */
footer {
  background: var(--text-dark);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  flex-shrink: 0;
}

/* --- ESTILO RESPONSIVE (MÓVIL) --- */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .header-left {
    flex-direction: column;
    gap: 10px;
  }

  .header-left img {
    height: 45px;
  }

  .header-left h1 {
    font-size: 1.5rem;
  }

  .time-display {
    font-size: 1.8rem;
    padding: 8px 20px;
  }

  footer {
    font-size: 0.5rem;
    padding: 5px;
  }
}

.leaflet-control-container {
  z-index: 10 !important;
}

.sidebar {
  z-index: 2000;
}
/* iOS safe area fix */
