@charset "UTF-8";
.overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 24px);
  z-index: 2000;
  background: rgba(6, 32, 36, 0.45);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.22s ease-in-out;
  /* Десктоп (>1024px) */
}
.overlay {
  /* Планшеты (768px–1024px) */
}
.overlay {
  /* Мобильные (<768px) */
}
@media only screen and (max-width: 767px) {
  .overlay {
    padding: 16px;
  }
}
@media only screen and (max-width: 390px) {
  .overlay {
    padding: 16px;
  }
}

.content {
  position: relative;
  z-index: 1;
  width: min(92vw, 560px);
  max-width: 560px;
  max-height: min(100vh - 32px, 760px);
  overflow: auto;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #f7fbfc);
  border: 1px solid rgba(2, 132, 137, 0.12);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(6, 32, 36, 0.2);
  animation: slideIn 0.22s ease-in-out;
}
@media only screen and (max-width: 600px) {
  .content {
    max-width: 100%;
  }
}

.closeButton {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 0;
  border: 1px solid rgba(2, 132, 137, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #062024;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(10, 40, 70, 0.14);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.closeButton:hover, .closeButton:focus-visible {
  background: #ffffff;
  border-color: rgba(2, 132, 137, 0.22);
  transform: translateY(-1px);
}
.closeButton {
  font-size: 24px;
  line-height: 1;
}
.closeButton:focus {
  outline: none;
  color: #0d9488;
}
.closeButton {
  /* Десктоп (>1024px) */
}
.closeButton {
  /* Планшеты (768px–1024px) */
}
.closeButton {
  /* Мобильные (<768px) */
}
@media only screen and (max-width: 767px) {
  .closeButton {
    top: 8px;
    right: 8px;
  }
}
@media only screen and (max-width: 390px) {
  .closeButton {
    top: 2px;
    right: 2px;
  }
}

.title {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #062024;
  margin-bottom: 16px;
  padding: 4px 48px 0 4px;
}
@media only screen and (max-width: 600px) {
  .title {
    font-size: 20px;
  }
}

.body {
  padding: 4px;
  /* Десктоп (>1024px) */
}
.body {
  /* Планшеты (768px–1024px) */
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .body {
    padding: 16px 16px 16px;
  }
}
.body {
  /* Мобильные (<768px) */
}
@media only screen and (max-width: 767px) {
  .body {
    padding: 14px 14px 14px;
  }
}
@media only screen and (max-width: 390px) {
  .body {
    padding: 12px 12px 12px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    transform: translateY(-12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}