/* === Tescom Glassmorphism Style v2 === */
/* Фон не трогаем, форма стеклянная, с отступом 88px сверху */



/* Контейнер формы */
.form__container {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  box-shadow: 0 0 25px rgba(0, 129, 229, 0.5);
  padding: 40px 20px;
	margin: 0 auto;
	max-width: 1046px;
  width: 80%;
  animation: fadeInUp 0.9s ease;
  position: relative;
}

/* Эффект мягкого сияния по краям */
.form__container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 25px;
  padding: 2px;
  background: linear-gradient(135deg, #021f90, #0081e5, #ff0000);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form__title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
}
.form__subtitle{
	max-width: 700px;
	text-align: center;
  margin: 0px 50px 18px;
  padding: 12px 14px;
  line-height: 1.45;
  font-size: 14px;
  color: rgba(201 198 198 / 88%);
}

/* Поля ввода */
.form__input,
.form__textarea,
.form__select {
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  color: #fff;
  padding: 12px 14px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: #00b7ff;
  box-shadow: 0 0 10px rgba(0, 183, 255, 0.4);
  background: rgba(255, 255, 255, 0.18);
}

.form__textarea {
  min-height: 100px;
  resize: vertical;
}


/* Кнопка отправки */
.form__button {
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(135deg, #ff0000, #ff5252);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 40px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

.form__button:hover {
  background: linear-gradient(135deg, #0081e5, #00b7ff);
  box-shadow: 0 0 25px rgba(0, 183, 255, 0.6);
  transform: translateY(-3px);
}

/* Превью загруженных файлов */
.file__preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.file__preview-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 8px 10px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.4s ease;
}

.file__preview-item img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(255,255,255,0.2);
}

/* Уведомления */
.notification {
  backdrop-filter: blur(8px);
  background: rgba(0, 183, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 183, 255, 0.3);
  color: #fff;
  border-radius: 10px;
  padding: 15px 20px;
}

.notification.error {
  background: rgba(255, 0, 0, 0.3);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Адаптивность */
@media (max-width: 500px) {
  .form__container {
    padding: 30px 25px;
  }
}

/* === Выпадающий список (универсальный Tescom Glass) === */
/* === Выпадающий список (универсальный Tescom Glass) === */
.form__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  color: #fff;
  padding: 12px 45px 12px 14px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(8px);
  position: relative;
}

/* Встроенная белая стрелка */
.form__select::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  width: 10px;
  height: 10px;
  background: transparent;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
  pointer-events: none;
}

.form__select:focus {
  border-color: #00b7ff;
  box-shadow: 0 0 12px rgba(0, 183, 255, 0.4);
  background: rgba(255, 255, 255, 0.18);
}

/* Цвета раскрывающегося списка */
.form__select option {
  background-color: #021f90;
  color: #fff;
  font-size: 0.95rem;
  padding: 10px;
  border: none;
}
/* === Обёртка для select со стрелкой === */
.form__select-wrapper {
  position: relative;
}

.form__select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 10px;
  height: 10px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
  pointer-events: none;
  transition: all 0.3s ease;
}

.form__select-wrapper:hover::after {
  border-color: #00b7ff;
  transform: translateY(-50%) rotate(-45deg) scale(1.1);
}
.form__container {
  animation: formGlow 4s ease-in-out infinite alternate;
}

@keyframes formGlow {
  from { box-shadow: 0 0 20px rgba(0, 129, 229, 0.4); }
  to { box-shadow: 0 0 40px rgba(255, 0, 0, 0.6); }
}

.form__button {
  position: relative;
  overflow: hidden;
}

.form__button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00b7ff, #ff0000, #021f90);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  opacity: 0.5;
}

.form__button:hover::before {
  transform: translateX(0);
}

/* === Световые частицы вокруг формы === */
.form__container {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.form__container::before,
.form__container::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle at 20% 20%, rgba(0,183,255,0.25) 0%, transparent 40%),
              radial-gradient(circle at 80% 60%, rgba(255,0,0,0.2) 0%, transparent 40%),
              radial-gradient(circle at 40% 80%, rgba(2,31,144,0.25) 0%, transparent 40%);
  animation: glowMove 18s linear infinite;
  z-index: -1;
  opacity: 0.7;
  filter: blur(40px);
}

/* Эффект движения бликов */
@keyframes glowMove {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -30px) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}
/* === Эффект "живого стекла" с мерцающими частицами === */
.form__container {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Движущиеся фоновые блики */
.form__container::before,
.form__container::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  z-index: -2;
  opacity: 0.8;
  background: radial-gradient(circle at 20% 20%, rgba(0,183,255,0.2) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(255,0,0,0.2) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(2,31,144,0.25) 0%, transparent 60%);
  animation: glowMove 25s linear infinite;
  filter: blur(50px);
}

/* Мерцающие частицы */
.form__container::after {
  background: none;
  box-shadow:
    0 0 10px rgba(0,183,255,0.6),
    50px 80px 15px rgba(255,0,0,0.5),
    -60px 100px 12px rgba(0,129,229,0.6),
    120px -90px 10px rgba(255,255,255,0.3),
    -90px -50px 8px rgba(0,183,255,0.5),
    200px 60px 20px rgba(2,31,144,0.5);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  animation: sparkle 10s ease-in-out infinite;
  filter: blur(2px);
}

/* Медленное движение бликов */
@keyframes glowMove {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(25px, -30px) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

/* Мерцание точек */
@keyframes sparkle {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

