/* ========================================
   تنظیمات اصلی
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: Tahoma, Arial, sans-serif;
  background: #10191a;
  overflow: hidden;
}

/* ========================================
   صفحه ثبت آگهی خدمات
======================================== */

.gk-services-page {
  position: relative;
  isolation: isolate;

  width: 100%;
  min-height: 100vh;
  min-height: 100svh;

  padding: 14px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  /* قرار گرفتن پنجره در سمت چپ */
  direction: ltr;

  background-image: url("./services-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* لایه کم‌رنگ روی تصویر */

.gk-services-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;

  background: linear-gradient(
    90deg,
    rgba(26, 7, 0, 0.1) 0%,
    rgba(7, 17, 19, 0.02) 55%,
    rgba(2, 9, 11, 0.07) 100%
  );

  pointer-events: none;
}
.gk-services-window {
  position: relative;
  z-index: 2;

  direction: rtl;

  width: clamp(560px, 47vw, 760px);
  height: min(900px, calc(100svh - 28px));

  display: flex;
  flex-direction: column;

  color: #fff8ed;

  border: 1px solid rgba(255, 190, 110, 0.65);
  border-radius: 26px;

  /* شیشه نارنجی شفاف‌تر */

  background: linear-gradient(
    145deg,
    rgba(48, 12, 0, 0.46) 0%,
    rgba(99, 29, 0, 0.37) 40%,
    rgba(180, 69, 8, 0.25) 72%,
    rgba(245, 139, 44, 0.14) 100%
  );

  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);

  box-shadow:
    0 0 0 1px rgba(255, 143, 45, 0.1),
    0 0 32px rgba(225, 90, 10, 0.2),
    0 25px 65px rgba(20, 5, 0, 0.48),
    inset 0 1px 0 rgba(255, 235, 210, 0.2);

  overflow: hidden;
}

/* خط نورانی بالای فرم */

.gk-services-window::before {
  content: "";

  position: absolute;
  top: 0;
  right: 10%;
  left: 10%;
  z-index: 3;

  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    #ffe1b2,
    #ff9d39,
    transparent
  );

  box-shadow: 0 0 17px rgba(255, 150, 50, 0.8);

  pointer-events: none;
}

/* ========================================
   دکمه ضربدر
======================================== */

.gk-services-close {
  position: absolute;
  top: 15px;
  left: 16px;
  z-index: 20;

  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  color: #fff6e8;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;

  border: 1px solid rgba(255, 215, 165, 0.5);
  border-radius: 50%;

  background: rgba(58, 15, 0, 0.5);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  box-shadow:
    0 7px 18px rgba(35, 8, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.gk-services-close:hover {
  transform: rotate(90deg) scale(1.05);

  background: rgba(205, 80, 10, 0.78);

  box-shadow:
    0 0 20px rgba(255, 162, 65, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* ========================================
   سربرگ فرم
======================================== */

.gk-services-header {
  position: relative;
  z-index: 2;

  min-height: 92px;

  /*
    سمت چپ ۹۰ پیکسل فاصله دارد
    تا گرا.کالا زیر ضربدر نرود
  */

  padding: 16px 22px 15px 90px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  flex-shrink: 0;

  /* هدر یکدست و بدون گرادیان زیر نوشته‌ها */

  background: rgba(48, 12, 0, 0.14);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* خط گرادیانی فقط زیر هدر */

.gk-services-header::after {
  content: "";

  position: absolute;
  right: 20px;
  bottom: 0;
  left: 20px;
  z-index: 0;

  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 205, 145, 0.65),
    rgba(255, 137, 36, 0.6),
    transparent
  );

  pointer-events: none;
}

/* محتوای هدر بالاتر از افکت‌ها */

.gk-services-heading,
.gk-services-brand {
  position: relative;
  z-index: 3;
}

/* عنوان و آیکن */

.gk-services-heading {
  display: flex;
  align-items: center;
  gap: 13px;

  min-width: 0;
}

.gk-services-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;

  display: grid;
  place-items: center;

  font-size: 27px;

  border: 1px solid rgba(255, 215, 165, 0.55);
  border-radius: 16px;

  background: rgba(120, 37, 0, 0.24);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);

  box-shadow:
    0 0 18px rgba(255, 135, 30, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.gk-services-heading h1 {
  color: #fffaf2;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.4;

  text-shadow: 0 3px 14px rgba(42, 8, 0, 0.65);
}

.gk-services-heading p {
  margin-top: 5px;

  color: rgba(255, 234, 208, 0.82);
  font-size: 12px;
  line-height: 1.7;

  text-shadow: 0 2px 8px rgba(35, 7, 0, 0.65);
}

/* نوشته گرا.کالا */

.gk-services-brand {
  flex-shrink: 0;

  padding: 8px 14px;

  color: #fff0d8;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;

  border: 1px solid rgba(255, 200, 135, 0.45);
  border-radius: 50px;

  background: rgba(60, 15, 0, 0.24);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ========================================
   بدنه فرم
======================================== */

.gk-services-form {
  position: relative;
  z-index: 1;

  flex: 1;
  min-height: 0;

  padding: 18px;

  overflow-x: hidden;
  overflow-y: auto;

  scrollbar-width: thin;
  scrollbar-color: rgba(255, 164, 66, 0.75) rgba(60, 15, 0, 0.2);
}

/* اسکرول فرم */

.gk-services-form::-webkit-scrollbar {
  width: 7px;
}

.gk-services-form::-webkit-scrollbar-track {
  background: rgba(60, 15, 0, 0.2);
}

.gk-services-form::-webkit-scrollbar-thumb {
  border-radius: 20px;

  background: linear-gradient(#ffb15c, #d55b12);
}

/* ========================================
   نسخه موبایل
======================================== */

@media (max-width: 700px) {
  body {
    overflow: auto;
  }

  .gk-services-page {
    padding: 8px;
    align-items: flex-start;

    background-position: 68% center;
  }

  .gk-services-window {
    width: 100%;
    height: calc(100svh - 16px);

    border-radius: 20px;

    background: linear-gradient(
      145deg,
      rgba(48, 12, 0, 0.67) 0%,
      rgba(105, 31, 0, 0.56) 48%,
      rgba(220, 102, 23, 0.31) 100%
    );
  }

  .gk-services-header {
    min-height: 84px;

    /*
      در موبایل گرا.کالا مخفی است،
      ولی برای ضربدر فاصله نگه می‌داریم
    */

    padding: 14px 14px 13px 62px;
  }

  .gk-services-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;

    font-size: 22px;
  }

  .gk-services-heading {
    gap: 10px;
  }

  .gk-services-heading h1 {
    font-size: 20px;
  }

  .gk-services-heading p {
    font-size: 11px;
  }

  .gk-services-brand {
    display: none;
  }

  .gk-services-form {
    padding: 13px;
  }
}
/* ========================================
   محتوای داخل فرم خدمات
======================================== */

.gk-services-content {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  gap: 16px;

  direction: ltr;
}

/* بخش تصاویر و اطلاعات */

.gk-services-gallery,
.gk-services-details {
  direction: rtl;

  padding: 14px;

  border: 1px solid rgba(255, 208, 150, 0.22);
  border-radius: 19px;

  background: rgba(55, 14, 0, 0.18);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 30px rgba(34, 7, 0, 0.16);
}

/* بخش تصاویر هنگام اسکرول ثابت می‌ماند */

.gk-services-gallery {
  position: sticky;
  top: 0;
}

/* عنوان هر بخش */

.gk-services-section-title {
  min-height: 48px;
  margin-bottom: 13px;
  padding-bottom: 11px;

  display: flex;
  align-items: center;
  gap: 10px;

  border-bottom: 1px solid rgba(255, 211, 157, 0.18);
}

.gk-services-section-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;

  display: grid;
  place-items: center;

  color: #fff3df;
  font-size: 18px;

  border: 1px solid rgba(255, 198, 125, 0.38);
  border-radius: 11px;

  background: rgba(210, 83, 13, 0.28);
}

.gk-services-section-title h2 {
  color: #fff8ee;
  font-size: 16px;
  line-height: 1.5;
}

.gk-services-section-title p {
  margin-top: 2px;

  color: rgba(255, 229, 197, 0.65);
  font-size: 11px;
  line-height: 1.6;
}

/* ========================================
   انتخاب تصاویر
======================================== */

.gk-services-image-box {
  min-height: 170px;
  padding: 16px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;

  text-align: center;

  border: 1px dashed rgba(255, 198, 129, 0.48);
  border-radius: 16px;

  background: rgba(38, 8, 0, 0.25);
}

.gk-services-image-icon {
  font-size: 34px;
}

.gk-services-image-box strong {
  color: #fff7ea;
  font-size: 13px;
}

.gk-services-image-box small {
  color: rgba(255, 229, 197, 0.58);
  font-size: 10px;
  line-height: 1.7;
}

.gk-services-image-button {
  min-height: 43px;
  margin-top: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  color: #3b1100;
  font-size: 13px;
  font-weight: 900;

  cursor: pointer;

  border-radius: 12px;

  background: linear-gradient(100deg, #ffd39c, #ff9b3c);

  box-shadow:
    0 8px 20px rgba(52, 10, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gk-services-image-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 11px 25px rgba(52, 10, 0, 0.4),
    0 0 16px rgba(255, 151, 48, 0.25);
}

.gk-services-image-button span {
  font-size: 19px;
}

.gk-services-image-counter {
  margin-top: 9px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  color: rgba(255, 229, 197, 0.6);
  font-size: 11px;
}

.gk-services-image-counter strong {
  color: #ffd093;
  font-size: 13px;
}

/* ========================================
   فیلدهای اطلاعات خدمت
======================================== */

.gk-services-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 11px;
}

.gk-services-field {
  min-width: 0;
}

.gk-services-field-full {
  grid-column: 1 / -1;
}

.gk-services-field label {
  display: block;

  margin-bottom: 7px;

  color: rgba(255, 244, 229, 0.9);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.gk-services-field label span {
  color: #ffd08c;
}

/* ورودی‌ها */

.gk-services-field input,
.gk-services-field select {
  width: 100%;
  min-height: 43px;

  padding: 8px 11px;

  color: #fffaf2;
  font-size: 13px;

  border: 1px solid rgba(255, 206, 147, 0.28);
  border-radius: 12px;
  outline: none;

  background: rgba(42, 9, 0, 0.3);

  box-shadow: inset 0 1px 5px rgba(25, 5, 0, 0.2);

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.gk-services-field input::placeholder {
  color: rgba(255, 225, 187, 0.42);
}

.gk-services-field input:focus,
.gk-services-field select:focus {
  border-color: rgba(255, 203, 140, 0.8);

  background: rgba(48, 11, 0, 0.42);

  box-shadow:
    0 0 0 3px rgba(255, 149, 47, 0.14),
    inset 0 1px 5px rgba(25, 5, 0, 0.2);
}

.gk-services-field select option {
  color: #fff7ed;
  background: #642200;
}

/* ورودی مبلغ */

.gk-services-money-input {
  position: relative;

  display: flex;
  align-items: center;
}

.gk-services-money-input input {
  padding-left: 66px;
}

.gk-services-money-input span {
  position: absolute;
  left: 10px;

  padding-right: 7px;

  color: rgba(255, 226, 190, 0.68);
  font-size: 10px;

  border-right: 1px solid rgba(255, 205, 146, 0.18);

  pointer-events: none;
}

/* ========================================
   نمایش موبایل
======================================== */

@media (max-width: 700px) {
  .gk-services-content {
    grid-template-columns: 1fr;
  }

  .gk-services-gallery {
    position: static;
  }

  .gk-services-image-box {
    min-height: 145px;
  }
}

@media (max-width: 470px) {
  .gk-services-fields-grid {
    grid-template-columns: 1fr;
  }

  .gk-services-field-full {
    grid-column: auto;
  }
}
/* ========================================
   توضیحات و اطلاعات تماس
======================================== */

.gk-services-divider {
  height: 1px;
  margin: 18px 0;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 198, 126, 0.42),
    transparent
  );
}

.gk-services-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 11px;
}

/* کادر توضیحات */

.gk-services-field textarea {
  width: 100%;
  min-height: 92px;

  padding: 10px 11px;

  color: #fffaf2;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.8;

  resize: vertical;

  border: 1px solid rgba(255, 206, 147, 0.28);
  border-radius: 12px;
  outline: none;

  background: rgba(42, 9, 0, 0.3);

  box-shadow: inset 0 1px 5px rgba(25, 5, 0, 0.2);

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.gk-services-field textarea::placeholder {
  color: rgba(255, 225, 187, 0.42);
}

.gk-services-field textarea:focus {
  border-color: rgba(255, 203, 140, 0.8);

  background: rgba(48, 11, 0, 0.42);

  box-shadow:
    0 0 0 3px rgba(255, 149, 47, 0.14),
    inset 0 1px 5px rgba(25, 5, 0, 0.2);
}

/* شمارنده متن */

.gk-services-text-counter {
  display: block;

  margin-top: 5px;

  color: rgba(255, 228, 194, 0.58);
  font-size: 10px;
  text-align: left;
}

.gk-services-text-counter span {
  color: #ffd096;
  font-weight: 800;
}
/* ========================================
   روش ارتباط با شما
======================================== */

.gk-services-contact-methods {
  grid-column: 1 / -1;

  width: 100%;
  min-width: 0;

  padding: 0;

  border: none;
}

.gk-services-contact-methods legend {
  margin-bottom: 9px;

  color: rgba(255, 244, 229, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.gk-services-contact-methods legend span {
  color: #ffd08c;
}

/* قرار گرفتن دکمه‌ها کنار هم */

.gk-services-contact-options {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.gk-services-contact-options label {
  width: 100%;
  min-width: 0;
  min-height: 42px;

  padding: 7px 5px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  color: rgba(255, 242, 224, 0.88);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;

  cursor: pointer;

  border: 1px solid rgba(255, 205, 145, 0.26);
  border-radius: 11px;

  background: rgba(45, 10, 0, 0.22);

  overflow: hidden;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

/* نوشته دکمه پیام کمی کوچک‌تر */

.gk-services-contact-options label:last-child {
  font-size: 9px;
}

.gk-services-contact-options label:hover {
  transform: translateY(-1px);

  border-color: rgba(255, 205, 145, 0.55);

  background: rgba(180, 65, 8, 0.24);
}

.gk-services-contact-options input {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;

  accent-color: #ff9d3c;
}

.gk-services-contact-options label > span {
  flex: 0 0 auto;

  color: #ffc67e;
  font-size: 13px;
}

/* حالت انتخاب‌شده */

.gk-services-contact-options label:has(input:checked) {
  border-color: rgba(255, 205, 145, 0.68);

  background: linear-gradient(
    135deg,
    rgba(218, 86, 14, 0.3),
    rgba(95, 26, 0, 0.28)
  );

  box-shadow: 0 0 12px rgba(255, 139, 38, 0.12);
}

.gk-services-contact-error {
  display: block;

  min-height: 17px;
  margin-top: 5px;

  color: #ffe09b;
  font-size: 10px;
}

/* نسخه گوشی */

@media (max-width: 470px) {
  .gk-services-contact-options {
    gap: 5px;
  }

  .gk-services-contact-options label {
    min-height: 40px;

    padding: 6px 3px;

    font-size: 9px;
  }

  .gk-services-contact-options label:last-child {
    font-size: 8px;
  }

  .gk-services-contact-options input {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .gk-services-contact-options label > span {
    font-size: 12px;
  }
}
/* عناصر مخفی */
[hidden] {
  display: none !important;
}

/* ========================================
   قوانین
======================================== */

.gk-services-terms {
  min-height: 43px;
  margin-top: 13px;
  padding: 9px 11px;

  display: flex;
  align-items: center;
  gap: 8px;

  color: rgba(255, 240, 220, 0.8);
  font-size: 11px;
  line-height: 1.7;

  cursor: pointer;

  border: 1px solid rgba(255, 202, 137, 0.17);
  border-radius: 12px;

  background: rgba(47, 11, 0, 0.18);
}

.gk-services-terms input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;

  accent-color: #ff9d3c;
}

/* ========================================
   دکمه‌های نهایی
======================================== */

.gk-services-final-buttons {
  margin-top: 13px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.gk-services-submit,
.gk-services-cancel {
  min-height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: 13px;

  text-decoration: none;
}

.gk-services-submit {
  color: #391000;

  cursor: pointer;

  border: none;

  background: linear-gradient(100deg, #ffe0ad, #ffb15a 48%, #f48124);

  box-shadow:
    0 10px 23px rgba(48, 9, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gk-services-submit:hover {
  transform: translateY(-2px);

  box-shadow:
    0 13px 28px rgba(48, 9, 0, 0.44),
    0 0 17px rgba(255, 153, 47, 0.28);
}

.gk-services-submit span {
  font-size: 18px;
}

.gk-services-submit strong {
  font-size: 13px;
}

.gk-services-cancel {
  min-width: 82px;

  padding: 0 15px;

  color: rgba(255, 241, 222, 0.84);
  font-size: 12px;
  font-weight: 800;

  border: 1px solid rgba(255, 209, 150, 0.28);

  background: rgba(48, 11, 0, 0.22);
}

/* نسخه گوشی */

@media (max-width: 470px) {
  .gk-services-final-buttons {
    grid-template-columns: 1fr;
  }
}
/* ========================================
   پیش‌نمایش تصاویر خدمات
======================================== */

.gk-services-image-box {
  position: relative;

  overflow: hidden;
}

/* تصویر اصلی */

.gk-services-image-box > img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

/* نوشته پیش‌فرض تصویر */

.gk-services-image-placeholder {
  width: 100%;
  height: 100%;

  padding: 15px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

/* تصاویر کوچک */

.gk-services-thumbnails {
  width: 100%;
  min-height: 48px;

  margin-top: 10px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.gk-services-thumbnail {
  position: relative;

  width: 100%;
  aspect-ratio: 1;

  overflow: hidden;

  border: 1px solid rgba(255, 207, 148, 0.3);
  border-radius: 9px;

  background: rgba(35, 7, 0, 0.3);
}

.gk-services-thumbnail.active {
  border-color: #ffd095;

  box-shadow:
    0 0 0 2px rgba(255, 153, 48, 0.35),
    0 0 12px rgba(255, 139, 38, 0.2);
}

/* دکمه نمایش تصویر */

.gk-services-thumbnail-view {
  width: 100%;
  height: 100%;

  padding: 0;

  cursor: pointer;

  border: none;
  background: transparent;
}

.gk-services-thumbnail-view img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

/* دکمه حذف تصویر */

.gk-services-thumbnail-remove {
  position: absolute;
  top: 3px;
  left: 3px;

  width: 20px;
  height: 20px;

  display: grid;
  place-items: center;

  color: #ffffff;
  font-size: 15px;
  line-height: 1;

  cursor: pointer;

  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;

  background: rgba(55, 11, 0, 0.82);
}

/* راهنمای تصاویر */

.gk-services-image-help {
  display: block;

  min-height: 34px;
  margin-top: 6px;

  color: rgba(255, 226, 190, 0.58);
  font-size: 9px;
  line-height: 1.7;
  text-align: center;
}
/* فیلد غیرفعال قیمت */

.gk-services-field input:disabled {
  color: rgba(255, 235, 208, 0.5);

  cursor: not-allowed;

  background: rgba(31, 7, 0, 0.18);
}

/* پیام خطای فیلد */

.gk-services-field-error {
  display: block;

  min-height: 17px;
  margin-top: 4px;

  color: #ffe09b;
  font-size: 10px;
  line-height: 1.6;
}
/* ========================================
   پنجره ثبت موفق آگهی
======================================== */

.gk-services-success-modal {
  position: fixed;
  inset: 0;
  z-index: 100;

  padding: 18px;

  display: grid;
  place-items: center;

  visibility: hidden;
  opacity: 0;

  background: rgba(22, 5, 0, 0.68);

  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

/* حالت باز پنجره */

.gk-services-success-modal.is-open {
  visibility: visible;
  opacity: 1;
}

/* کادر اصلی موفقیت */

.gk-services-success-window {
  position: relative;

  width: min(500px, 100%);

  padding: 28px 24px 24px;

  color: #fff8ed;
  text-align: center;

  border: 1px solid rgba(255, 207, 145, 0.62);
  border-radius: 24px;

  background: linear-gradient(
    145deg,
    rgba(66, 17, 0, 0.94),
    rgba(171, 65, 7, 0.88)
  );

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 28px 75px rgba(24, 5, 0, 0.65),
    0 0 35px rgba(255, 138, 32, 0.24);

  transform: translateY(15px) scale(0.96);

  transition: transform 0.25s ease;
}

.gk-services-success-modal.is-open .gk-services-success-window {
  transform: translateY(0) scale(1);
}

/* دکمه بستن */

.gk-services-success-close {
  position: absolute;
  top: 12px;
  left: 12px;

  width: 35px;
  height: 35px;

  display: grid;
  place-items: center;

  color: #fff6e8;
  font-size: 23px;
  line-height: 1;

  cursor: pointer;

  border: 1px solid rgba(255, 216, 168, 0.38);
  border-radius: 50%;

  background: rgba(53, 11, 0, 0.42);
}

/* علامت موفقیت */

.gk-services-success-icon {
  width: 66px;
  height: 66px;

  margin: 0 auto 11px;

  display: grid;
  place-items: center;

  color: #421300;
  font-size: 31px;
  font-weight: 900;

  border-radius: 50%;

  background: linear-gradient(145deg, #ffe0aa, #ff9d3c);

  box-shadow: 0 0 24px rgba(255, 170, 72, 0.42);
}

.gk-services-success-label {
  color: #ffd29a;
  font-size: 11px;
  font-weight: 800;
}

.gk-services-success-window h2 {
  margin-top: 7px;

  color: #fffaf2;
  font-size: 23px;
}

.gk-services-success-description {
  margin-top: 10px;

  color: rgba(255, 235, 210, 0.72);
  font-size: 12px;
  line-height: 1.9;
}

/* اطلاعات نتیجه */

.gk-services-success-details {
  margin-top: 17px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.gk-services-success-details div {
  min-height: 66px;
  padding: 8px 5px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;

  border: 1px solid rgba(255, 208, 148, 0.2);
  border-radius: 12px;

  background: rgba(53, 12, 0, 0.25);
}

.gk-services-success-details span {
  color: rgba(255, 228, 193, 0.6);
  font-size: 9px;
}

.gk-services-success-details strong {
  color: #fff5e6;
  font-size: 11px;
}

/* پیام امنیت */

.gk-services-success-security {
  margin-top: 12px;

  color: rgba(255, 232, 204, 0.65);
  font-size: 10px;
}

/* دکمه‌های پنجره */

.gk-services-success-actions {
  margin-top: 16px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.gk-services-success-actions button,
.gk-services-success-actions a {
  min-height: 43px;

  display: grid;
  place-items: center;

  font-size: 11px;
  font-weight: 900;
  text-decoration: none;

  cursor: pointer;

  border-radius: 11px;
}

.gk-services-success-actions button {
  color: #fff0dc;

  border: 1px solid rgba(255, 214, 163, 0.28);

  background: rgba(55, 12, 0, 0.35);
}

.gk-services-success-actions a {
  color: #3c1100;

  border: none;

  background: linear-gradient(100deg, #ffdaa4, #ff9d3c);
}

/* نسخه گوشی */

@media (max-width: 430px) {
  .gk-services-success-window {
    padding: 25px 15px 20px;
  }

  .gk-services-success-window h2 {
    font-size: 19px;
  }

  .gk-services-success-description {
    font-size: 11px;
  }

  .gk-services-success-details {
    gap: 5px;
  }

  .gk-services-success-details strong {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
