﻿    :root {
      --bg: #f4f7f5;
      --ink: #151b20;
      --muted: #68737d;
      --panel: rgba(255, 255, 255, 0.86);
      --line: rgba(21, 27, 32, 0.12);
      --shadow: 0 20px 55px rgba(29, 42, 52, 0.14);
      --sea: #eaf9ff;
      --sea-deep: #d6f1fb;
      --land: #8fd3f0;
      --land-line: rgba(255, 255, 255, 0.72);
      --usa: #ff6b4a;
      --brazil: #33b879;
      --france: #8067f2;
      --india: #f2b63d;
      --japan: #e84f91;
      --main:#3b84e1;
    }

    * {
      box-sizing: border-box;
    }

    html {
      min-height: 100%;
    }

    body {
      min-height: 100vh;
      margin: 0;
      color: var(--ink);
      font-family: Inter, "Segoe UI", Arial, sans-serif;
      background:
         rgb(222 232 247);
      overflow-x: hidden;
    }

    button {
      font: inherit;
    }

    .page {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
      padding: 22px 0 32px;
    }

    .account-row {align-items: center;
      display: flex;
      justify-content: flex-end;
      min-height: 42px;border-radius: 28px;padding:8px 20px 5px 20px;
          justify-content: space-between;    
          background: var(--main);
      gap: 10px;
          
    }

    .login {
          text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 38px;
    padding: 0 18px;
    border: 1px solid rgba(21, 27, 32, 0.14);
    border-radius: 999px;
    color: #3b84e1;
    font-weight: 700;
    background: #fff;
    box-shadow: 0 10px 25px rgba(22, 32, 42, 0.08);
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
    font-size: 12px;
    	text-decoration: none;
    }

    .login:hover {
      transform: translateY(-1px);
      border-color: rgba(21, 27, 32, 0.28);
      background: #ffffff;
    }

    .logo-strip {
      position: relative;
      z-index: 5;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin-top: 14px;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.62);
      box-shadow: 0 14px 34px rgba(27, 41, 52, 0.08);
      backdrop-filter: blur(12px);
    }

    .logo-option {
      display: block;
      place-items: center;
      width: 52px;
      height: 52px;
  
      border-radius: 14px;
    
   
      transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
    }

    .logo-option:hover {
      transform: translateY(-1px);
      border-color: rgba(21, 27, 32, 0.24);
      box-shadow: 0 12px 26px rgba(28, 39, 48, 0.11);
    }

    .logo-option svg {
      width: 52px;
      height: 52px;
      display: block;
    }

    .controls {
      position: relative;
      z-index: 5;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      margin-top: 18px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: var(--main);
      box-shadow: 0 18px 45px rgba(27, 41, 52, 0.1);
      backdrop-filter: blur(14px);
    }

    .dropdown {
      position: relative;
    }

    .filter-button,
    .static-button {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      min-width: 160px;
      height: 46px;
      padding: 0 16px 0 18px;
      border: 1px solid rgba(21, 27, 32, 0.13);
      border-radius: 14px;
      color: var(--ink);
      background: #ffffff;
      box-shadow: 0 9px 22px rgba(28, 39, 48, 0.07);
      cursor: pointer;
      transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
    }

    .filter-button:hover,
    .static-button:hover {
      transform: translateY(-1px);
      border-color: rgba(21, 27, 32, 0.24);
      box-shadow: 0 12px 28px rgba(28, 39, 48, 0.11);
    }

    .filter-button[aria-expanded="true"] {
      border-color: rgba(255, 107, 74, 0.62);
      box-shadow: 0 13px 30px rgba(255, 107, 74, 0.13);
    }

    .button-label {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      white-space: nowrap;
    }

    .button-mark {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--ff, var(--usa));
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--ff, var(--usa)) 18%, transparent);
    }

    .chevron {
      width: 8px;
      height: 8px;
      border-right: 2px solid currentColor;
      border-bottom: 2px solid currentColor;
      transform: rotate(45deg) translateY(-2px);
      transition: transform 160ms ease;
      opacity: 0.7;
    }

    .filter-button[aria-expanded="true"] .chevron {
      transform: rotate(225deg) translateY(-1px);
    }

    .menu {
      position: absolute;
      top: calc(100% + 10px);
      left: 0;
      width: max(100%, 258px);
      max-height: min(470px, calc(100vh - 190px));
      margin: 0;
      padding: 8px;
      border: 1px solid rgba(21, 27, 32, 0.12);
      border-radius: 16px;
      list-style: none;
      background: rgba(255, 255, 255, 0.96);
      box-shadow: var(--shadow);
      opacity: 0;
      transform: translateY(-6px) scale(0.98);
      pointer-events: none;
      overflow: auto;
      transition: opacity 160ms ease, transform 160ms ease;
    }

    .dropdown.is-open .menu {
      opacity: 1;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }

    .menu li {
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 38px;
      padding: 9px 10px;
      border-radius: 11px;
      color: #222a31;
      font-size: 14px;
      line-height: 1.2;
    }

    #countries-menu li {
      justify-content: space-between;
    }

    .menu li:hover {
      background: #f1f7f4;
    }

    .menu li[aria-disabled="true"] {
      color: var(--muted);
      background: transparent;
      cursor: default;
    }

    .menu-group {
      padding: 7px 0 4px;
    }

    .menu-group + .menu-group {
      border-top: 1px solid rgba(21, 27, 32, 0.08);
    }

    .menu-heading {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 10px 5px;
      color: #52616d;
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
      text-transform: uppercase;
    }

    .menu-group ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .menu-dot {
      flex: 0 0 10px;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--dot, #8fd3f0);
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot, #8fd3f0) 18%, transparent);
    }

    .country-name {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .add-city-button {
      display: inline-grid;
      place-items: center;
      flex: 0 0 24px;
      width: 24px;
      height: 24px;
      border: 1px solid rgba(21, 27, 32, 0.13);
      border-radius: 50%;
      color: #1d525d;
      background: #ffffff;
      cursor: pointer;
      font-size: 17px;
      line-height: 1;
      box-shadow: 0 5px 12px rgba(28, 39, 48, 0.07);
      transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
   	  padding: 0px 4px 4px 4.5px;
    }

    .add-city-button:hover,
    .add-city-button:focus {
      transform: translateY(-1px);
      border-color: rgba(47, 157, 146, 0.46);
      box-shadow: 0 8px 18px rgba(47, 157, 146, 0.14);
      outline: none;
    }

    .map-stage {gap: 20px;
    padding: 20px;

      position: relative;
      min-height: 650px;
      margin-top: 24px;
  
      border-radius: 28px;
      background:#fff;
      box-shadow: var(--shadow);
      overflow: hidden;
          flex-direction: column;
    display: flex;
    }

   

    .map-header {
      position: relative;
    
      z-index: 2;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      pointer-events: none;
    }

    .map-title {
      margin: 0;
      font-size: clamp(28px, 4vw, 54px);
      line-height: 0.96;
      letter-spacing: 0;
      max-width: 520px;
    }

    .map-meta {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      max-width: 100%;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 32px;
      padding: 0 11px;
      border: 1px solid rgba(21, 27, 32, 0.1);
      border-radius: 999px;
      color: #28313a;
      background: rgba(255, 255, 255, 0.72);
      font-size: 13px;
      box-shadow: 0 8px 20px rgba(28, 39, 48, 0.08);
    }

    .map-wrap {
  position: relative;
        border-radius: 18px;
    background: var(--main);
      display: grid;
      place-items: center;
      padding: 10px;
      overflow: auto;
    }

    .world-map {
      width: min(100%, 1120px);
      height: auto;
      max-height: 100%;
      aspect-ratio: 2000 / 857;
      display: block;
      filter: drop-shadow(0 18px 26px rgba(38, 99, 128, 0.16));
    }

    .real-world-map {
      overflow: visible;
    }

    .real-world-map .real-ocean {
      fill: var(--main);
      pointer-events: none;
    }

    .real-world-map path {
      fill: var(--land);
      stroke: rgba(255, 255, 255, 0.85);
      stroke-width: 0.7;
      vector-effect: non-scaling-stroke;
      transition: filter 170ms ease, opacity 170ms ease, transform 170ms ease;
    }

    .map-country {
      cursor: pointer;
      transform-box: fill-box;
      transform-origin: center;
    }

    .selected-country,
    .country {
      stroke: rgba(255, 255, 255, 0.96);
      stroke-width: 1.1;
      cursor: pointer;
    }

    .map-country:hover,
    .map-country:focus,
    .map-country.is-hovered {
      filter: drop-shadow(0 7px 11px rgba(21, 27, 32, 0.18));
      outline: none;
      opacity: 0.92;
      transform: translateY(-1px);
    }

    .selected-country:hover,
    .selected-country:focus,
    .selected-country.is-hovered {
      filter: drop-shadow(0 9px 13px rgba(21, 27, 32, 0.28));
      outline: none;
      opacity: 0.98;
      transform: translateY(-1px);
    }

    .real-world-map .selected-country {
      fill: var(--selected-fill, #2f9d92);
    }

    .real-world-map .selected-country.country-usa { --selected-fill: var(--usa); }
    .real-world-map .selected-country.country-brazil { --selected-fill: var(--brazil); }
    .real-world-map .selected-country.country-france { --selected-fill: var(--france); }
    .real-world-map .selected-country.country-india { --selected-fill: var(--india); }
    .real-world-map .selected-country.country-japan { --selected-fill: var(--japan); }

    .map-tooltip {
      position: fixed;
      z-index: 20;
      display: none;
      padding: 9px 12px;
      border: 1px solid rgba(21, 27, 32, 0.12);
      border-radius: 12px;
      color: #11171c;
      background: rgba(255, 255, 255, 0.96);
      box-shadow: 0 16px 36px rgba(21, 27, 32, 0.18);
      font-size: 14px;
      line-height: 1;
      pointer-events: none;
      transform: translate(12px, -18px);
      white-space: nowrap;
    }

    @media (max-width: 760px) {
      .page {
        width: min(100% - 22px, 1180px);
        padding-top: 14px;
      }

      .controls {
        gap: 9px;
      }

      .dropdown,
      .filter-button,
      .static-button {
        width: 100%;
      }

      .menu {
        width: 100%;
      }

      .map-stage {
        min-height: 610px;
        border-radius: 22px;
      }

      .map-header {
        position: relative;
        inset: auto;
        display: block;
        padding: 20px 18px 0;
      }

      .map-meta {
        justify-content: flex-start;
        margin-top: 14px;
      }

      .map-wrap {
        inset: 210px 8px 18px;
      }

      .world-map {
        width: 820px;
        max-width: none;
      }
    }
    h1{margin-top: 15px;color:#fff}
    .rp{display: flex;
    justify-content: flex-start;
    gap: 10px;align-items: center;}


.city-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.city-modal.is-open {
  display: flex;
}

.city-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.city-modal__box {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(29, 42, 52, 0.24);
}

.city-modal__box h2 {
  margin: 0 0 16px;
  color: var(--ink);
}

.city-modal__box label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #52616d;
  font-size: 13px;
  font-weight: 700;
}

.city-modal__box input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(21, 27, 32, 0.16);
  border-radius: 12px;
  font: inherit;
}

.city-modal__submit {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: var(--main);
  cursor: pointer;
  font-weight: 700;
}

.city-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.city-country-name {
  height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(21, 27, 32, 0.16);
  border-radius: 12px;
  background: #f5f7fa;
}


.city-suggestions {
  display: none;
  margin: 6px 0 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(21, 27, 32, 0.12);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(28, 39, 48, 0.12);
  max-height: 180px;
  overflow: auto;
}

.city-suggestions.is-open {
  display: block;
}

.city-suggestions li {
  padding: 9px 10px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
  color: #222a31;
}

.city-suggestions li:hover {
  background: #f1f7f4;
}

.city-suggestions .city-suggestion-muted {
  color: var(--muted);
  cursor: default;
}

.city-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.city-remove-button {
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  opacity: 0.7;
  margin-right: -18px;
}

.city-remove-button:hover {
  color: #111827;
  opacity: 1;
}

.save-map-button {
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(21, 27, 32, 0.14);
  border-radius: 999px;
  color: #3b84e1;
  font-weight: 700;
  background: #fff;
  box-shadow: 0 10px 25px rgba(22, 32, 42, 0.08);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  font-size: 12px;
  margin-left: auto;
}

.save-map-button:hover {
  transform: translateY(-1px);
  border-color: rgba(21, 27, 32, 0.28);
  background: #ffffff;
}

.left-button-header {
	margin-left: auto;
}

.login-modal__remember {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
}

.login-modal__remember input {
  width: auto;
  height: auto;
}

.login-modal__google {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: 10px;
  border-radius: 12px;
  color: #ffffff;
  background: #151b20;
  text-decoration: none;
  font-weight: 700;
}

.login-modal__forgot {
  display: inline-flex;
  margin-top: 12px;
  color: var(--main);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.city-modal__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.city-modal__error {
  margin: 0 0 10px;
  color: #d93025;
  font-size: 13px;
  font-weight: 700;
}
.city-modal__submit.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}