/* ==================== HERO СЕКЦИЯ ВАКАНСИИ ==================== */
.vacancy-hero {
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  background-color: #0b1a30;
  color: #fff;
  overflow: hidden;
  padding: 0;
}

@media (max-width: 768px) {
  .vacancy-hero {
    height: auto;
    min-height: 220px;
    padding: 30px 0;
  }
}

/* Красный фирменный декоративный уголок слева */
.vacancy-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45px;
  height: 140px;
  background-color: #ea001b;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
}

@media (max-width: 576px) {
  .vacancy-hero::after {
    width: 32px;
    height: 95px;
  }
}

/* Фоновое изображение панорамы Санкт-Петербурга */
.vacancy-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../images/vacancy/vacancy.webp');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  z-index: 1;
}

.vacancy-hero__bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(11, 26, 48, 0.95) 0%, rgba(11, 26, 48, 0.7) 35%, rgba(11, 26, 48, 0.2) 65%, transparent 85%);
}

@media (max-width: 768px) {
  .vacancy-hero__bg::before {
    background: linear-gradient(to right, rgba(11, 26, 48, 0.94) 0%, rgba(11, 26, 48, 0.8) 100%);
  }
}

/* Внутренний контейнер Hero (не ломает ширину базового .container) */
.vacancy-hero__container {
  position: relative;
  z-index: 3;
}

/* Голубой бейдж ВАКАНСИИ */
.vacancy-hero__badge {
  display: inline-block;
  background-color: #008be2;
  color: #fff;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

@media (max-width: 576px) {
  .vacancy-hero__badge {
    font-size: 12px;
    padding: 3px 10px;
    margin-bottom: 8px;
  }
}

.vacancy-hero__title {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .vacancy-hero__title {
    font-size: 26px;
    margin-bottom: 6px;
  }
}

@media (max-width: 480px) {
  .vacancy-hero__title {
    font-size: 25px;
  }
}

.vacancy-hero__subtitle {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 400;
  opacity: 0.92;
}

@media (max-width: 768px) {
  .vacancy-hero__subtitle {
    font-size: 14px;
  }
}

/* ==================== ОСНОВНОЙ КОНТЕНТ ==================== */
.vacancy-content {
  padding: 60px 0;
  background-color: #ffffff;
}

@media (max-width: 768px) {
  .vacancy-content {
    padding: 40px 0;
  }
}

.vacancy-section {
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .vacancy-section {
    margin-bottom: 24px;
  }
}

.vacancy-section__title {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #0b1a30;
  margin-bottom: 20px;
  padding-left: 18px;
}

@media (max-width: 768px) {
  .vacancy-section__title {
    font-size: 20px;
    margin-bottom: 16px;
    padding-left: 14px;
  }
}

.vacancy-section__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background-color: #ea001b;
  border-radius: 2px;
}

.vacancy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vacancy-list__item {
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: #333;
}

@media (max-width: 768px) {
  .vacancy-list__item {
    font-size: 15px;
    font-weight: 500;
  }
}

.vacancy-list__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  margin-top: 2px;
  color: #008be2;
  font-size: 17px;
}

@media (max-width: 768px) {
  .vacancy-list__icon {
    font-size: 17px;
  }
}

.vacancy-list__icon--red {
  color: #ea001b;
}

/* Место работы */
.vacancy-location {
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

@media (max-width: 768px) {
  .vacancy-location {
    font-size: 14px;
  }
}

.vacancy-location__icon {
  font-size: 30px;
  color: #008be2;
  margin-right: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==================== ФОРМА АНКЕТЫ ==================== */
.vacancy-form-wrapper {
  background: linear-gradient(180deg, #edf5fc 0%, #e3effa 100%);
  border-radius: 18px;
  padding: 38px 36px 32px;
  border: 1px solid #d6e7f7;
  box-shadow: 0 10px 30px rgba(11, 26, 48, 0.04);
  margin-top: 50px;
}

@media (max-width: 992px) {
  .vacancy-form-wrapper {
    padding: 30px 24px;
    border-radius: 14px;
    margin-top: 40px;
  }
}

@media (max-width: 576px) {
  .vacancy-form-wrapper {
    padding: 22px 14px;
    border-radius: 12px;
  }
}

@media (max-width: 400px) {
  .vacancy-form-wrapper {
    padding: 18px 10px;
    border-radius: 10px;
  }
}

.vacancy-form-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 576px) {
  .vacancy-form-header {
    gap: 12px;
    margin-bottom: 20px;
  }
}

.vacancy-form-header__icon {
  font-size: 50px;
  color: #008be2;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .vacancy-form-header__icon {
    font-size: 32px;
  }
}

.vacancy-form-header__title {
  font-size: 24px;
  font-weight: 700;
  color: #0b1a30;
  margin: 0 0 4px 0;
}

@media (max-width: 576px) {
  .vacancy-form-header__title {
    font-size: 19px;
  }
}

.vacancy-form-header__subtitle {
  font-size: 14px;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 576px) {
  .vacancy-form-header__subtitle {
    font-size: 13px;
  }
}

/* Сетка формы: 3 колонки */
.vacancy-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}

@media (max-width: 992px) {
  .vacancy-form {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .vacancy-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

/* Колонки формы (карточки) */
.vacancy-form__col {
  background-color: #f9fcfe;
  border-radius: 14px;
  padding: 26px 20px;
  box-shadow: 0 4px 16px rgba(11, 26, 48, 0.04), 0 1px 3px rgba(11, 26, 48, 0.02);
  border: 1px solid #dbe9f6;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

@media (max-width: 992px) {
  .vacancy-form__col {
    padding: 22px 18px;
    border-radius: 12px;
  }
}

@media (max-width: 576px) {
  .vacancy-form__col {
    padding: 18px 14px;
    gap: 14px;
  }
}

@media (max-width: 400px) {
  .vacancy-form__col {
    padding: 16px 10px;
    border-radius: 10px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-label span {
  color: #ea001b;
}

.form-input,
.form-textarea {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-input:hover,
.form-textarea:hover {
  background-color: #ffffff;
  border-color: #94a3b8;
}

.form-input {
  height: 42px;
}

.form-input:focus,
.form-textarea:focus {
  background-color: #ffffff;
  border-color: #008be2;
  box-shadow: 0 0 0 3px rgba(0, 139, 226, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 95px;
  height: 95px;
}

.form-checkbox-group,
.form-radio-group {
  display: flex;
  gap: 16px;
  align-items: center;
  height: 42px;
  min-height: 42px;
  padding: 0;
  box-sizing: border-box;
}

@media (max-width: 576px) {

  .form-checkbox-group,
  .form-radio-group {
    height: auto;
    min-height: 40px;
    padding: 4px 0;
    flex-wrap: wrap;
  }
}

.form-checkbox-label,
.form-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  user-select: none;
}

.form-radio-label input {
  width: 20px;
  height: 20px;
  accent-color: #008be2;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

/* Премиальные кастомные чекбоксы */
.form-checkbox-label input[type="checkbox"],
.form-agreement input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background-color: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  margin: 0;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 15px 15px;
  transition: border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
  flex-shrink: 0;
}

.form-agreement input[type="checkbox"] {
  margin-top: 1px;
}

.form-checkbox-label:hover input[type="checkbox"],
.form-agreement:hover input[type="checkbox"],
.form-checkbox-label input[type="checkbox"]:hover,
.form-agreement input[type="checkbox"]:hover {
  border-color: #008be2;
  box-shadow: 0 0 0 3px rgba(0, 139, 226, 0.14);
}

.form-checkbox-label input[type="checkbox"]:active,
.form-agreement input[type="checkbox"]:active {
  border-color: #0077c5;
  box-shadow: 0 0 0 4px rgba(0, 139, 226, 0.22);
}

.form-checkbox-label input[type="checkbox"]:focus-visible,
.form-agreement input[type="checkbox"]:focus-visible {
  outline: none;
  border-color: #008be2;
  box-shadow: 0 0 0 3px rgba(0, 139, 226, 0.25);
}

.form-checkbox-label input[type="checkbox"]:checked,
.form-agreement input[type="checkbox"]:checked {
  background-color: #008be2;
  border-color: #008be2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 12.75L9.5 17.75L19.5 6.75' stroke='%23ffffff' stroke-width='4.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  box-shadow: 0 2px 5px rgba(0, 139, 226, 0.3);
}

.form-agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
  margin-top: 4px;
  letter-spacing: -0.12px;
}

.form-agreement a {
  color: #008be2;
  text-decoration: underline;
}

.form-agreement__required {
  color: #ea001b;
  font-weight: 700;
  margin-left: 3px;
  white-space: nowrap;
}

/* Яндекс Смарт-капча */
.smart-captcha {
  width: 100%;
  min-height: 100px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  transform-origin: left top;
}

@media (max-width: 1200px) {
  .smart-captcha {
    transform: scale(0.85);
    margin-bottom: -15px;
  }
}

@media (max-width: 1100px) {
  .smart-captcha {
    transform: scale(0.78);
    margin-bottom: -22px;
  }
}

@media (max-width: 1020px) {
  .smart-captcha {
    transform: scale(0.68);
    margin-bottom: -32px;
  }
}

@media (max-width: 992px) {
  .smart-captcha {
    transform: scale(1);
    margin-bottom: 0;
  }
}

@media (max-width: 880px) {
  .smart-captcha {
    transform: scale(0.9);
    margin-bottom: -10px;
  }
}

@media (max-width: 820px) {
  .smart-captcha {
    transform: scale(0.82);
    margin-bottom: -18px;
  }
}

@media (max-width: 775px) {
  .smart-captcha {
    transform: scale(0.76);
    margin-bottom: -24px;
  }
}

@media (max-width: 768px) {
  .smart-captcha {
    transform: scale(1);
    margin-bottom: 0;
  }
}

@media (max-width: 380px) {
  .smart-captcha {
    transform: scale(0.9);
    margin-bottom: -10px;
  }
}

@media (max-width: 340px) {
  .smart-captcha {
    transform: scale(0.78);
    margin-bottom: -22px;
  }
}

/* Кнопка отправки анкеты */
.form-submit-btn {
  background-color: #008be2;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  margin-top: 4px;
  transition: background-color 0.2s, transform 0.1s;
}

.form-submit-btn:hover {
  background-color: #0077c5;
}

.form-submit-btn:active {
  transform: translateY(1px);
}

/* Подвал формы (ссылка на скачивание PDF) */
.form-download-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: rgb(249, 252, 254);
  border: 1px solid #dbe9f6;
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 2px 10px rgba(11, 26, 48, 0.03);
  font-size: 14px;
  font-weight: 500;
  color: #008be2;
  flex-wrap: wrap;
  gap: 12px 18px;
}

@media (max-width: 576px) {
  .form-download-link {
    padding: 14px 16px;
    font-size: 13px;
    margin-top: 16px;
    gap: 10px;
    border-radius: 10px;
  }
}

.form-download-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 576px) {
  .form-download-info {
    gap: 10px;
  }
}

.form-download-icon,
.form-download-link a i {
  color: #008be2;
  font-size: 28px;
  flex-shrink: 0;
}

@media (max-width: 576px) {

  .form-download-icon,
  .form-download-link a i {
    font-size: 24px;
  }
}

.form-download-link a {
  color: #008be2;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

@media (width >=992px) {
  .form-download-link a {
    margin-left: 10px;
  }
}

.form-download-link a:hover {
  text-decoration: underline;
  color: #0077c5;
}

.fa-solid.fa-paper-plane::before {
  font-size: 20px;
}

/* ==================== МОДАЛЬНОЕ ОКНО УСПЕШНОЙ ОТПРАВКИ ==================== */
.form-success-modal {
  --base-size: 160px;
  --anim-time: 2.4s;
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

@media (max-width: 576px) {
  .form-success-modal {
    --base-size: 135px;
    padding: 16px;
  }
}

.form-success-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.form-success-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 19, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.form-success-modal__card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 32px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 1;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 576px) {
  .form-success-modal__card {
    padding: 30px 20px 24px;
    border-radius: 16px;
  }
}

.form-success-modal.is-active .form-success-modal__card {
  transform: scale(1) translateY(0);
}

.form-success-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background-color: #f1f5f9;
  color: #64748b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s, transform 0.15s;
}

@media (max-width: 576px) {
  .form-success-modal__close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
}

.form-success-modal__close:hover {
  background-color: #e2e8f0;
  color: #0f172a;
  transform: scale(1.06);
}

.form-success-modal__close:active {
  transform: scale(0.96);
}

/* Анимация летящего конверта с галочкой (User Envelope Animation) */
#anim-wrapper {
  width: var(--base-size);
  height: var(--base-size);
  margin: 0 auto 12px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#anim-bg {
  border-radius: 50%;
  margin: auto;
  width: 0;
  height: 0;
  background: linear-gradient(135deg, #00a2ff 0%, #008be2 50%, #006eb3 100%);
  border: calc(var(--base-size) / 7.5) solid #0077c5;
  overflow: hidden;
  transform: scale(0);
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-success-modal.is-active #anim-bg {
  animation: bg-pop var(--anim-time) ease-in-out forwards;
}

#env-wrapper {
  position: relative;
  margin-bottom: calc(var(--base-size) / 30);
  transform: translateX(calc(var(--base-size) * -1.5));
}

.form-success-modal.is-active #env-wrapper {
  animation: env-fly var(--anim-time) ease-in-out forwards;
}

#env {
  color: #fefefe;
  font-size: calc(var(--base-size) / 2.5);
  text-shadow: -8px 8px 0 rgba(0, 100, 180, 0.35);
  display: inline-block;
}

.form-success-modal.is-active #env {
  animation: mail-stretch var(--anim-time) linear forwards;
}

.speedline {
  position: absolute;
  height: 3px;
  background: rgba(255, 255, 255, 0.65);
  left: 0;
  transform: translateX(-100%);
  border-radius: 20px;
}

.line1 {
  top: 25%;
  width: calc(var(--base-size) / 3.3);
}

.form-success-modal.is-active .line1 {
  animation: speedline1 var(--anim-time) linear forwards;
}

.line2 {
  top: 50%;
  width: calc(var(--base-size) / 4);
}

.form-success-modal.is-active .line2 {
  animation: speedline2 var(--anim-time) linear forwards;
}

.line3 {
  top: 75%;
  width: calc(var(--base-size) / 5);
}

.form-success-modal.is-active .line3 {
  animation: speedline3 var(--anim-time) linear forwards;
}

#check-container {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  right: calc(var(--base-size) / 5.2);
  bottom: calc(var(--base-size) / 4.2);
  position: absolute;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: #10b981;
  overflow: visible;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
  transform: scale(0);
}

@media (max-width: 576px) {
  #check-container {
    width: 27px;
    height: 27px;
    border-width: 2px;
  }
}

.form-success-modal.is-active #check-container {
  animation: check-pop var(--anim-time) ease-in-out forwards;
}

.check-stroke1 {
  width: 10px;
  height: 4px;
  position: absolute;
  background: #ffffff;
  border-radius: 5px;
  top: 16px;
  left: 3px;
  transform: rotate(45deg);
}

@media (max-width: 576px) {
  .check-stroke1 {
    width: 8px;
    height: 3px;
    top: 13px;
    left: 5px;
  }
}

.form-success-modal.is-active .check-stroke1 {
  animation: check-stroke1 var(--anim-time) linear forwards;
}

.check-stroke2 {
  width: 18px;
  height: 4px;
  position: absolute;
  background: #ffffff;
  border-radius: 5px;
  top: 14px;
  left: 7px;
  transform: rotate(-45deg);
}

@media (max-width: 576px) {
  .check-stroke2 {
    width: 14px;
    height: 3px;
    top: 12px;
    left: 9px;
  }
}

.form-success-modal.is-active .check-stroke2 {
  animation: check-stroke2 var(--anim-time) linear forwards;
}

@keyframes mail-stretch {
  0% {
    transform: skew(-20deg, 0);
  }

  21% {
    transform: skew(-20deg, 0);
  }

  26% {
    transform: skew(10deg, 0);
  }

  30% {
    transform: skew(0);
  }

  100% {
    transform: skew(0);
  }
}

@keyframes env-fly {
  0% {
    transform: translateX(calc(var(--base-size) * -1.5));
  }

  25% {
    transform: translateX(10px);
  }

  100% {
    transform: translateX(10px);
  }
}

@keyframes bg-pop {
  10% {
    border: 25px solid #0077c5;
  }

  25% {
    width: calc(var(--base-size) * 0.8);
    height: calc(var(--base-size) * 0.8);
    transform: scale(1);
    border: 0 solid #0077c5;
  }

  100% {
    width: calc(var(--base-size) * 0.8);
    height: calc(var(--base-size) * 0.8);
    border: 0 solid #0077c5;
    transform: scale(1);
  }
}

@keyframes speedline1 {
  0% {
    width: 70px;
  }

  20% {
    width: 70px;
  }

  28% {
    width: 0;
  }

  100% {
    width: 0;
  }
}

@keyframes speedline2 {
  0% {
    width: 60px;
  }

  20% {
    width: 60px;
  }

  28% {
    width: 0;
  }

  100% {
    width: 0;
  }
}

@keyframes speedline3 {
  0% {
    width: 50px;
  }

  20% {
    width: 50px;
  }

  28% {
    width: 0;
  }

  100% {
    width: 0;
  }
}

@keyframes check-pop {
  0% {
    transform: scale(0);
  }

  25% {
    transform: scale(0);
  }

  35% {
    transform: scale(1.15);
  }

  40% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes check-stroke1 {
  0% {
    width: 0;
  }

  34% {
    width: 0;
  }

  37% {
    width: 10px;
  }

  100% {
    width: 10px;
  }
}

@media (max-width: 576px) {
  @keyframes check-stroke1 {
    0% {
      width: 0;
    }

    34% {
      width: 0;
    }

    37% {
      width: 8px;
    }

    100% {
      width: 8px;
    }
  }
}

@keyframes check-stroke2 {
  0% {
    width: 0;
  }

  38% {
    width: 0;
  }

  42% {
    width: 18px;
  }

  100% {
    width: 18px;
  }
}

@media (max-width: 576px) {
  @keyframes check-stroke2 {
    0% {
      width: 0;
    }

    38% {
      width: 0;
    }

    42% {
      width: 14px;
    }

    100% {
      width: 14px;
    }
  }
}

.form-success-modal__title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.25;
}

@media (max-width: 576px) {
  .form-success-modal__title {
    font-size: 19px;
    margin-bottom: 8px;
  }
}

.form-success-modal__desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 24px;
}

@media (max-width: 576px) {
  .form-success-modal__desc {
    font-size: 13px;
    margin-bottom: 20px;
  }
}

.form-success-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 24px;
  background-color: #008be2;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0, 139, 226, 0.35);
}

.form-success-modal__btn:hover {
  background-color: #0077c5;
  box-shadow: 0 6px 18px rgba(0, 139, 226, 0.45);
}

.form-success-modal__btn:active {
  transform: translateY(1px);
}