/* ====== Support page base ====== */
.page { padding: 26px 0 56px; }

.supportHero{
  text-align:center;
  margin: 22px 0 18px;
}
.supportTitle{
  margin: 0 0 8px;
  font-size: 42px;
  letter-spacing: -0.02em;
}
.supportSub{
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
}

/* ====== Grid ====== */
.supportGrid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
  align-items:start;
}
.rightCol{ display:flex; flex-direction:column; gap:16px; }

/* ====== Card title ====== */
.cardTitleLg{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}

/* =========================================================
   ✅ IMPORTANT: Make form styles independent from other CSS
   (щоб не залежало від style.css / інших сторінок)
========================================================= */
.supportForm{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.supportForm .full{ grid-column: 1 / -1; }

.supportForm .field{
  display:block;
  width:100%;
}

.supportForm .field > span{
  display:block;
  font-size: 12px;
  color: #475569;
  margin-bottom: 6px;
  font-weight: 700;
}

.supportForm input,
.supportForm select,
.supportForm textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  outline:none;
  font-size: 14px;
  background:#fff;
  font-family: inherit;
}

.supportForm textarea{
  resize: vertical;
  min-height: 140px;
}

.supportForm input:focus,
.supportForm select:focus,
.supportForm textarea:focus{
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

/* helpers */
.muted{ color: var(--muted); font-weight: 700; }
.smallHint{ margin-top: 6px; font-size: 12px; color: #94a3b8; }
.hint{ margin: 12px 0 0; font-size: 12px; color: #94a3b8; }

/* ====== File input (clickable) ====== */
.fileRow{ position: relative; }
.fileInput{
  position:absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.fileFake{
  display:flex;
  align-items:center;
  gap:10px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  padding: 12px 12px;
  background: #fff;
}
.fileIcon{ font-size: 16px; }
.fileText{ font-weight: 800; color: #334155; }
.fileName{ color: #94a3b8; font-weight: 700; margin-left:auto; }
.fileRow:hover .fileFake{ border-color: rgba(37, 99, 235, 0.35); }

/* ====== Buttons row ====== */
.supportForm .actions{
  display:flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.supportForm .actions .btn{ cursor:pointer; }

/* ====== Contacts ====== */
.contactList{ display:flex; flex-direction:column; gap: 10px; }
.contactItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255,255,255,.90);
}
.ciLeft{ display:flex; align-items:center; gap: 10px; }
.ciIcon{
  width: 38px; height: 38px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(37, 99, 235, 0.10);
  color: var(--blue);
}
.ciLabel{ font-size: 12px; color: #64748b; font-weight: 800; }
.ciValue{ font-size: 15px; font-weight: 900; color:#0f172a; }
.ciBtn{ padding: 9px 12px; }

.miniNote{
  margin-top: 10px;
  font-size: 12px;
  color: #94a3b8;
}

/* ====== Donate ====== */
.donateRow{ display:flex; gap: 10px; flex-wrap: wrap; }
.donateBtn{ flex:1; min-width: 180px; justify-content:center; }

/* ====== FAQ accordion ====== */
.faq{ display:flex; flex-direction:column; gap: 10px; margin-top: 6px; }
.faqItem{
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255,255,255,.90);
  overflow:hidden;
}
.faqQ{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align:left;
}
.faqQ:hover{ background: rgba(37, 99, 235, 0.06); }
.faqIco{
  width: 30px; height: 30px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(251, 191, 36, 0.25);
  font-size: 16px;
}
.faqQText{ font-weight: 900; color:#0f172a; }
.faqArr{ margin-left:auto; color:#94a3b8; transition: transform .2s ease; }

.faqA{
  padding: 0 12px 12px;
  color:#334155;
  font-size: 14px;
  line-height: 1.5;
  display:none;
}
.faqItem.isOpen .faqA{ display:block; }
.faqItem.isOpen .faqArr{ transform: rotate(180deg); }

.faqCode{
  margin-top: 10px;
  display:flex;
  align-items:center;
  gap:10px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  padding: 10px 10px;
}
.faqCode code{ font-weight: 900; }
.miniCopy{
  margin-left:auto;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  cursor:pointer;
}
.miniCopy:hover{
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--blue);
}

/* ====== Responsive ====== */
@media (max-width: 980px){
  .supportGrid{ grid-template-columns: 1fr; }
  .supportTitle{ font-size: 34px; }
  .supportForm{ grid-template-columns: 1fr; }
}
/* FIX: ніхто не має перекривати кліки */
.supportGrid, .card, .supportForm, .actions, .faq, .contactList {
  position: relative;
  z-index: 1;
}
/* =========================
   VISUAL SEPARATION / DEPTH
   (додає "повітря", грані та тіні)
========================= */

/* легкий фон секції, щоб cards не зливались з білим */
.page{
  background:
    radial-gradient(1200px 500px at 50% -120px, rgba(37,99,235,.08), transparent 60%),
    radial-gradient(900px 420px at 90% 0px, rgba(251,191,36,.10), transparent 55%),
    #fff;
}

/* якщо десь є .main з білим — не заважає */
.main{ background: transparent; }

/* підсилюємо "картковість" */
.supportGrid{ gap: 18px; }
.rightCol{ gap: 18px; }

/* самі cards: чіткі грані + м'яка тінь */
.supportGrid .card{
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.08),
    0 1px 0 rgba(255,255,255,.9) inset;
  padding: 20px;
}

/* легкий hover, щоб блок "жив" */
.supportGrid .card:hover{
  transform: translateY(-1px);
  box-shadow:
    0 22px 55px rgba(15, 23, 42, 0.10),
    0 1px 0 rgba(255,255,255,.92) inset;
  transition: .2s ease;
}

/* розділювачі всередині правої колонки (щоб секції не зливались) */
.rightCol .card{
  position: relative;
}
.rightCol .card::after{
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -9px;
  height: 1px;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  opacity: 0.0; /* вимкнено, але можна включити */
}

/* contact items / faq items — трохи більше контрасту */
.contactItem,
.faqItem{
  border-color: rgba(15, 23, 42, 0.10);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

/* підсилюємо заголовки секцій */
.cardTitleLg{
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 14px;
}

/* форма: щоб блоки в середині теж читались */
.supportForm input,
.supportForm select,
.supportForm textarea{
  border-color: rgba(15, 23, 42, 0.12);
}

.supportForm input,
.supportForm select{
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
}

/* трохи відокремимо buttons row */
.supportForm .actions{
  padding-top: 8px;
  border-top: 1px dashed rgba(15, 23, 42, 0.10);
  margin-top: 10px;
}

/* мобільна: трохи менші тіні */
@media (max-width: 980px){
  .supportGrid .card{
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
  }
}
/* ====== DONATE MAIN BUTTON ====== */
.donateCard{
  text-align: center;
  background:
    linear-gradient(
      180deg,
      rgba(37,99,235,.06),
      rgba(255,255,255,.95)
    );
}

.donateText{
  margin: 0 0 16px;
  font-size: 14px;
  color: #475569;
  line-height: 1.45;
}

/* головна кнопка */
.donateMainBtn{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 16px 20px;
  border-radius: 18px;

  background: linear-gradient(
    135deg,
    #fbbf24,
    #f59e0b
  );
  color: #3a2500;

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

  box-shadow:
    0 18px 40px rgba(251,191,36,.45),
    0 2px 0 rgba(255,255,255,.7) inset;

  transition: transform .15s ease, box-shadow .15s ease;
}

.donateMainBtn:hover{
  transform: translateY(-2px);
  box-shadow:
    0 22px 55px rgba(251,191,36,.55),
    0 2px 0 rgba(255,255,255,.8) inset;
}

.donateMainBtn:active{
  transform: translateY(0);
}

.donateSub{
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  opacity: .8;
}
