/*
 * Стили модалки-фолбэка мессенджера.
 * Палитра и радиусы взяты из существующих страниц:
 * фон #1A1514, карточка #2D2421, акцент #3A86FF, заголовок Montserrat,
 * кнопки — как .btn (border-radius 8px).
 */
.msgr-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(26, 21, 20, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.msgr-overlay[hidden] {
  display: none;
}

.msgr-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #2D2421;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 32px 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  text-align: center;
}

.msgr-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: #FFFFFF;
}

.msgr-text {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 28px;
}

.msgr-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msgr-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  background-color: #3A86FF;
  color: #FFFFFF;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.msgr-btn:hover {
  background-color: #2f6fd6;
  transform: translateY(-2px);
}

.msgr-btn:active {
  transform: scale(0.98);
}

.msgr-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.msgr-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.msgr-close:focus-visible,
.msgr-btn:focus-visible {
  outline: 2px solid #3A86FF;
  outline-offset: 2px;
}
