html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family:
    "Noto Sans",
    Arial,
    sans-serif;
  background: #f4f0e8;
}

#map {
  position: absolute;
  inset: 0;
}

#brand {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 20;

  display: flex;
  flex-direction: column;

  background: rgba(31,42,58,.96);
  color: #f4f0e8;

  padding: 9px 14px;
  border-radius: 8px;

  box-shadow: 0 3px 14px rgba(0,0,0,.22);
}

#brand strong {
  font-size: 15px;
}

#brand span {
  margin-top: 2px;
  font-size: 10px;
  color: #c8a96a;
}

#panel {
  position: absolute;
  z-index: 15;

  left: 14px;
  top: 78px;

  width: 370px;
  max-height: calc(100vh - 110px);

  overflow-y: auto;

  box-sizing: border-box;

  padding: 16px;

  background: rgba(255,255,255,.97);

  border-radius: 12px;

  box-shadow:
    0 5px 22px rgba(0,0,0,.22);
}

.panel-title {
  font-size: 19px;
  font-weight: 700;

  color: #1f2a3a;

  margin-bottom: 12px;
}

.mode-row {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 6px;

  margin-bottom: 15px;
}

.mode {
  border: 1px solid #c7c2b8;
  border-radius: 7px;

  padding: 8px 5px;

  background: white;

  cursor: pointer;
}

.mode.active {
  color: white;

  background: #1f2a3a;

  border-color: #1f2a3a;
}

.search-block {
  position: relative;

  margin-bottom: 10px;
}

.search-block label {
  display: block;

  margin-bottom: 5px;

  font-size: 12px;
  font-weight: 700;

  color: #505864;
}

.input-row {
  display: flex;
  gap: 6px;
}

.input-row input {
  flex: 1;

  min-width: 0;

  padding: 10px;

  box-sizing: border-box;

  border: 1px solid #c7c2b8;
  border-radius: 7px;

  outline: none;

  font-size: 14px;
}

.input-row input:focus {
  border-color: #c8a96a;

  box-shadow:
    0 0 0 2px rgba(200,169,106,.17);
}

.small-button {
  width: 42px;

  border: 0;
  border-radius: 7px;

  background: #1f2a3a;
  color: white;

  cursor: pointer;

  font-size: 20px;
}

.results {
  position: absolute;

  left: 0;
  right: 48px;

  z-index: 100;

  display: none;

  margin-top: 3px;

  max-height: 245px;

  overflow-y: auto;

  background: white;

  border: 1px solid #d5d2cb;
  border-radius: 7px;

  box-shadow:
    0 5px 15px rgba(0,0,0,.15);
}

.result {
  padding: 9px 10px;

  border-bottom: 1px solid #eee;

  cursor: pointer;

  font-size: 12px;
  line-height: 1.35;
}

.result:hover {
  background: #f4f0e8;
}

.result:last-child {
  border-bottom: 0;
}

.result-title {
  font-weight: 700;
  color: #1f2a3a;
}

.result-address {
  margin-top: 2px;

  color: #6a7078;
}

.swap-button {
  display: block;

  width: 36px;
  height: 30px;

  margin:
    -2px auto
    6px auto;

  border: 0;
  border-radius: 15px;

  background: #c8a96a;
  color: #1f2a3a;

  cursor: pointer;

  font-size: 18px;
  font-weight: bold;
}

.action-row {
  display: flex;

  gap: 7px;

  margin-top: 13px;
}

.primary-button,
.secondary-button,
.location-button {
  border: 0;
  border-radius: 7px;

  cursor: pointer;

  font-weight: 700;
}

.primary-button {
  flex: 1;

  padding: 11px;

  background: #1f2a3a;
  color: white;
}

.secondary-button {
  padding: 11px;

  background: #e8e5df;
  color: #1f2a3a;
}

.location-button {
  width: 100%;

  margin-top: 8px;

  padding: 9px;

  background: #f4f0e8;
  color: #1f2a3a;

  border: 1px solid #c7c2b8;
}

.route-summary {
  margin-top: 15px;

  padding: 12px;

  border-radius: 9px;

  background: #1f2a3a;
  color: white;
}

.summary-main {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 8px;
}

.summary-time {
  font-size: 24px;
  font-weight: 700;
}

.summary-distance {
  color: #c8a96a;

  font-size: 16px;
  font-weight: 700;
}

.summary-mode {
  margin-top: 4px;

  font-size: 11px;

  color: #d9dce0;
}

.instructions {
  margin-top: 10px;
}

.instruction {
  display: flex;

  gap: 10px;

  padding: 9px 3px;

  border-bottom: 1px solid #ece9e4;
}

.instruction-icon {
  width: 30px;

  flex: 0 0 30px;

  text-align: center;

  font-size: 18px;
}

.instruction-text {
  font-size: 12px;

  line-height: 1.35;

  color: #333;
}

.instruction-meta {
  margin-top: 3px;

  color: #8b939c;

  font-size: 10px;
}

#status {
  position: absolute;

  left: 14px;
  bottom: 28px;

  z-index: 20;

  padding: 6px 10px;

  border-radius: 6px;

  background: rgba(255,255,255,.95);

  box-shadow:
    0 1px 6px rgba(0,0,0,.15);

  font-size: 11px;
}

.hidden {
  display: none;
}

@media (max-width: 700px) {

  #brand {
    top: 8px;
    left: 8px;
  }

  #panel {
    left: 8px;
    right: 8px;

    top: 68px;

    width: auto;

    max-height: 54vh;
  }

  #status {
    left: 8px;
  }
}

/* ORAMA-LIVE-GPS-15C */

.live-navigation {
  margin-top: 12px;
  padding: 10px;
  background: #f7f5f0;
  border: 1px solid #d8d3c9;
  border-radius: 9px;
}

.live-title {
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #1f2a3a;
}

.live-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 5px;
}

.live-start,
.live-center,
.live-stop {
  padding: 8px 4px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.live-start {
  background: #1f2a3a;
  color: white;
}

.live-center {
  background: #c8a96a;
  color: #1f2a3a;
}

.live-stop {
  background: #e3dfd8;
  color: #1f2a3a;
}

.gps-info {
  margin-top: 7px;
  font-size: 10px;
  color: #68707a;
}

.orama-gps-marker {
  width: 25px;
  height: 25px;
  border: 4px solid white;
  border-radius: 50%;
  background: #2474ff;
  box-shadow:
    0 0 0 2px rgba(36,116,255,.35),
    0 2px 7px rgba(0,0,0,.35);
}

.orama-heading {
  position: absolute;
  left: 50%;
  top: -14px;
  transform-origin: 50% 26px;
  color: #2474ff;
  font-size: 20px;
  font-weight: 900;
}


/* ==========================================================
   Orama Properties-Advisors Maps
   LIVE NAVIGATION 15D
   ========================================================== */

.nav-banner {
  position: absolute;
  z-index: 30;

  top: 14px;
  left: 50%;

  transform: translateX(-50%);

  width: min(620px, calc(100vw - 40px));

  box-sizing: border-box;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 13px 16px;

  background: rgba(31,42,58,.97);
  color: white;

  border-radius: 12px;

  box-shadow:
    0 5px 20px rgba(0,0,0,.28);
}

.nav-banner.hidden {
  display: none;
}

.nav-turn-icon {
  width: 48px;
  flex: 0 0 48px;

  text-align: center;

  font-size: 38px;
  line-height: 1;
  color: #c8a96a;
}

.nav-turn-main {
  min-width: 0;
  flex: 1;
}

.nav-turn-distance {
  font-size: 13px;
  font-weight: 700;
  color: #c8a96a;
}

.nav-turn-text {
  margin-top: 2px;

  font-size: 18px;
  font-weight: 700;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-road-name {
  margin-top: 3px;

  font-size: 11px;

  color: #d5d9de;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-speed-box {
  min-width: 60px;

  text-align: center;

  padding-left: 12px;

  border-left:
    1px solid rgba(255,255,255,.18);
}

.nav-speed {
  font-size: 25px;
  font-weight: 700;
}

.nav-speed-unit {
  font-size: 9px;

  color: #c8a96a;
}

.rerouting-active {
  animation:
    reroutingPulse 1s infinite;
}

@keyframes reroutingPulse {
  0%   { opacity: 1; }
  50%  { opacity: .55; }
  100% { opacity: 1; }
}

@media (max-width: 700px) {

  .nav-banner {
    top: 8px;

    width: calc(100vw - 16px);

    padding: 10px 11px;
  }

  .nav-turn-text {
    font-size: 14px;
  }

  .nav-turn-icon {
    width: 38px;
    flex-basis: 38px;

    font-size: 31px;
  }
}

/* Orama Properties-Advisors - Voice Navigation */

.voice-controls {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.voice-button {
  flex: 1;
  padding: 8px 6px;
  border: 1px solid #c7c2b8;
  border-radius: 6px;
  background: #ffffff;
  color: #1f2a3a;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.voice-button.voice-off {
  opacity: .55;
}


/* SPEED-INTELLIGENCE-15H */

.speed-intelligence {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 10px;
  padding: 10px;

  background: #ffffff;
  border: 1px solid #d8d3c9;
  border-radius: 9px;
}

.speed-limit-sign {
  width: 62px;
  height: 62px;

  flex: 0 0 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border: 6px solid #d62828;
  border-radius: 50%;

  background: #ffffff;
  color: #111;

  font-size: 23px;
  font-weight: 800;
}

.speed-details {
  min-width: 0;
  flex: 1;
}

.current-road {
  margin-bottom: 6px;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: #1f2a3a;

  font-size: 13px;
  font-weight: 700;
}

.speed-data-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;

  margin-top: 2px;

  color: #68707a;
  font-size: 10px;
}

.speed-data-row strong {
  color: #1f2a3a;
}

.speed-warning {
  margin-top: 7px;
  padding: 5px 7px;

  border-radius: 5px;

  background: #d62828;
  color: white;

  font-size: 10px;
  font-weight: 700;
}

.speed-warning.hidden {
  display: none;
}

.speed-limit-sign.unknown {
  border-color: #8b939c;
  color: #8b939c;
}

.speed-limit-sign.over-speed {
  animation: speedPulse .7s infinite;
}

@keyframes speedPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}


/* SAFETY-CAMERAS-15I2 */

.safety-controls {
  margin-top: 9px;
}

.safety-button {
  width: 100%;

  padding: 8px;

  border: 1px solid #c7c2b8;
  border-radius: 7px;

  background: white;
  color: #1f2a3a;

  cursor: pointer;

  font-size: 11px;
  font-weight: 700;
}

.safety-button.active {
  background: #1f2a3a;
  color: white;
}



/* ==========================================================
   POI INTELLIGENCE 16D
   Orama Properties-Advisors Maps
   ========================================================== */

.poi-panel {
  position: absolute;
  left: 12px;
  bottom: 18px;
  z-index: 20;

  max-width: 520px;

  padding: 8px;

  background: rgba(244,240,232,.96);
  border: 1px solid #c7c2b8;
  border-radius: 10px;

  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}

.poi-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.poi-category-btn {
  border: 1px solid #c7c2b8;
  border-radius: 7px;

  padding: 6px 8px;

  background: #ffffff;
  color: #1f2a3a;

  cursor: pointer;

  font-size: 11px;
  font-weight: 700;
}

.poi-category-btn:hover,
.poi-category-btn.active {
  background: #1f2a3a;
  color: #f4f0e8;
}

.poi-clear-btn {
  border-color: #8b939c;
}

.poi-status {
  margin-top: 6px;

  color: #1f2a3a;
  font-size: 10px;
}

.poi-marker {
  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid #ffffff;
  border-radius: 50%;

  background: #1f2a3a;

  box-shadow: 0 2px 7px rgba(0,0,0,.30);

  cursor: pointer;

  font-size: 16px;
}

.poi-popup {
  min-width: 180px;
  max-width: 280px;

  color: #1f2a3a;
}

.poi-popup-title {
  margin-bottom: 5px;

  font-size: 13px;
  font-weight: 800;
}

.poi-popup-row {
  margin-top: 3px;

  font-size: 11px;
}

.poi-popup-navigation {
  width: 100%;

  margin-top: 8px;
  padding: 7px;

  border: 0;
  border-radius: 6px;

  background: #1f2a3a;
  color: #f4f0e8;

  cursor: pointer;

  font-weight: 700;
}

@media (max-width: 700px) {

  .poi-panel {
    left: 8px;
    right: 8px;
    bottom: 10px;

    max-width: none;
  }

}


/* ==========================================================
   POI NAVIGATION 16D.2
   ========================================================== */

.poi-popup-destination {
  width: 100%;

  margin-top: 8px;
  padding: 7px;

  border: 1px solid #c7c2b8;
  border-radius: 6px;

  background: #f4f0e8;
  color: #1f2a3a;

  cursor: pointer;

  font-weight: 700;
}

.poi-popup-navigation {
  width: 100%;

  margin-top: 5px;
  padding: 8px;

  border: 0;
  border-radius: 6px;

  background: #1f2a3a;
  color: #f4f0e8;

  cursor: pointer;

  font-weight: 800;
}



/* ==========================================================
   GREEK VOICE COMMANDS 17B
   ========================================================== */

.voice-command-panel {
  margin-top: 8px;
}

.voice-command-button {
  width: 100%;

  padding: 9px;

  border: 1px solid #c8a96a;
  border-radius: 7px;

  background: #1f2a3a;
  color: #f4f0e8;

  cursor: pointer;

  font-size: 12px;
  font-weight: 800;
}

.voice-command-button.recording {
  background: #b42318;
  color: white;

  animation: voiceRecordPulse 1s infinite;
}

.voice-command-text {
  margin-top: 5px;

  min-height: 15px;

  color: #1f2a3a;

  font-size: 10px;
  line-height: 1.35;
}

@keyframes voiceRecordPulse {

  0% {
    opacity: 1;
  }

  50% {
    opacity: .65;
  }

  100% {
    opacity: 1;
  }
}

