/* ==========================================================================
   DISCOUNT TOAST NOTIFICATION
   Уведомление о скидке при бронировании
   ========================================================================== */

/* Базовый контейнер тоста */
.discount-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  max-width: 480px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border-left: 5px solid #d4af37;
  box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 18px 22px;
  z-index: 9999;
  transform: translateX(calc(100% + 30px));
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  font-family: 'Segoe UI', 'Arial', system-ui, sans-serif;
  opacity: 0;
  visibility: hidden;
}

/* Показываем тост */
.discount-toast.show {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* Контентная часть */
.discount-toast .toast-content {
  flex: 1;
}

.discount-toast .toast-title {
  color: #d4af37;
  margin: 0 0 6px 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.discount-toast .toast-message {
  color: #e0e0e0;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.discount-toast .discount-highlight {
  color: #d4af37;
  font-weight: 700;
  background: rgba(212, 175, 55, 0.15);
  padding: 0 4px;
  border-radius: 6px;
}

.discount-toast .toast-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 8px 18px;
  border-radius: 60px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #d4af37;
  text-decoration: none;
  transition: all 0.2s ease;
  margin: 6px 0 10px 0;
  display: inline-flex;
  backdrop-filter: blur(4px);
  letter-spacing: 0.5px;
}

.discount-toast .toast-phone:hover {
  background: #d4af37;
  color: #0f0f0f;
  border-color: #d4af37;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}



.discount-toast .toast-note {
  font-size: 0.7rem;
  color: #888;
  margin: 10px 0 0 0;
  line-height: 1.3;
}

/* Кнопка закрытия */
.discount-toast .toast-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: #ccc;
  cursor: pointer;
  transition: 0.2s;
  position: absolute;
  top: 12px;
  right: 16px;
}

.discount-toast .toast-close:hover {
  background: rgba(255, 80, 80, 0.5);
  color: white;
  transform: rotate(90deg);
}

/* Адаптивность для тоста */
@media (max-width: 550px) {
  .discount-toast {
    left: 16px;
    right: 16px;
    bottom: 20px;
    max-width: none;
    padding: 16px 20px;
  }
  
  .discount-toast .toast-phone {
    font-size: 1rem;
    padding: 6px 14px;
  }
  
  .discount-toast .toast-title {
    font-size: 1rem;
  }
}