/* =========================================================
   AConfession Contact + Report Pages
   Path: public_html/assets/css/contact-report.css
   Scope: /contact and /report only
   ========================================================= */

.acf-cr-page {
  display: grid;
  gap: 12px;
  direction: rtl;
  text-align: right;
}

.acf-cr-hero,
.acf-cr-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 26px;
  background:
    radial-gradient(220px 150px at 100% -20%, rgba(124,58,237,.22), transparent 72%),
    radial-gradient(210px 140px at -15% 28%, rgba(6,182,212,.11), transparent 72%),
    linear-gradient(145deg, rgba(18,26,44,.90), rgba(7,10,18,.90));
  box-shadow: 0 14px 42px rgba(0,0,0,.25);
}

.acf-cr-hero {
  padding: 16px 14px;
  margin-top: 8px;
}

.acf-cr-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  margin-bottom: 8px;
  border-radius: 999px;
  border: 1px solid rgba(153,246,228,.18);
  background: rgba(20,184,166,.09);
  color: #99f6e4;
  font-size: 11px;
  font-weight: 950;
}

.acf-cr-hero h1 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 23px;
  line-height: 1.28;
  letter-spacing: -.35px;
}

.acf-cr-hero p {
  margin: 0;
  color: #aab5c8;
  font-size: 14px;
  line-height: 1.85;
}

.acf-cr-card {
  display: grid;
  gap: 12px;
  padding: 13px;
}

.acf-cr-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.acf-cr-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.acf-cr-field-full {
  grid-column: 1 / -1;
}

.acf-cr-field span {
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 900;
}

.acf-cr-field small {
  color: #8fa0ba;
  font-size: 11.5px;
  line-height: 1.7;
}

.acf-cr-field input,
.acf-cr-field textarea,
.acf-cr-field select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(2,6,23,.72);
  color: #f8fafc;
  -webkit-text-fill-color: #f8fafc;
  outline: none;
  font: inherit;
  line-height: 1.7;
  padding: 11px 12px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.acf-cr-field input,
.acf-cr-field select {
  min-height: 45px;
}

.acf-cr-field textarea {
  resize: vertical;
  min-height: 142px;
  max-height: 290px;
}

.acf-cr-field input::placeholder,
.acf-cr-field textarea::placeholder {
  color: rgba(203,213,225,.56);
  -webkit-text-fill-color: rgba(203,213,225,.56);
}

.acf-cr-field input:focus,
.acf-cr-field textarea:focus,
.acf-cr-field select:focus {
  border-color: rgba(124,58,237,.62);
  box-shadow: 0 0 0 3px rgba(124,58,237,.14);
  background: rgba(2,6,23,.84);
}

.acf-cr-url-field input {
  text-align: left;
  direction: ltr;
  unicode-bidi: plaintext;
}

.acf-cr-submit {
  min-height: 46px;
  border-radius: 18px;
  font-weight: 950;
}

.acf-cr-submit.is-loading {
  opacity: .72;
  pointer-events: none;
}

.acf-cr-submit.is-loading::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-inline-start: 7px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  vertical-align: -2px;
  animation: acfCrSpin .75s linear infinite;
}

.acf-cr-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px;
}

.acf-cr-modal[hidden] {
  display: none !important;
}

.acf-cr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.acf-cr-modal-card {
  position: relative;
  width: min(100%, 390px);
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.15);
  background:
    radial-gradient(180px 120px at 100% 0, rgba(124,58,237,.24), transparent 75%),
    linear-gradient(180deg, #0f172a, #070a12);
  box-shadow: 0 30px 90px rgba(0,0,0,.62);
  text-align: center;
}

.acf-cr-modal-card strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

.acf-cr-modal-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.85;
  font-size: 14px;
}

.acf-cr-modal-card.is-error {
  border-color: rgba(239,68,68,.32);
}

.acf-cr-modal-card.is-duplicate {
  border-color: rgba(250,204,21,.30);
}

@keyframes acfCrSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 430px) {
  .acf-cr-hero,
  .acf-cr-card {
    border-radius: 23px;
  }

  .acf-cr-hero {
    padding: 14px 12px;
  }

  .acf-cr-hero h1 {
    font-size: 21px;
  }

  .acf-cr-grid {
    grid-template-columns: 1fr;
  }

  .acf-cr-card {
    padding: 12px;
  }
}
