/* Mirage DayZ - Contact page styles
   This file only styles the contact content.
   Global look (background, nav, footer glow/animation) is inherited from index.css.
*/

/*
  Contact page layout fixes
  ------------------------
  Index.php uses an absolute-position nav because the hero section is tall.
  On shorter pages (like Contact) that can cause a "black gap" feeling at the top
  and makes the menu feel different when you scroll.
  Here we make Contact behave like Store (fixed nav + full-page background).
*/

/* Use the same background treatment as the other pages */
body{
  background: url("/images/contact.png") center center / cover no-repeat fixed;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: system-ui, Arial, sans-serif;
  color: #fff;
}

/* Keep particles covering the screen instead of only the document height */
#particles-js{
  position: fixed;
  inset: 0;
  height: 100vh;
}

/* Make nav behave consistently (same size, centered menu, no scroll-away) */
nav{
  position: fixed;
}

/* We now rely on body background, so don't re-apply the hero background wrapper */
.main-bg{
  background-image: none;
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
}

.contact-bg{
  /* Space for fixed nav so content never sits under it */
  padding-top: 110px;
  padding-bottom: 70px;
  min-height: calc(100vh - 70px);
  position: relative;
  z-index: 2;
}

.contact-main{
  /* Slightly wider so the form never feels cramped */
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-container{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 980px){
  .contact-container{ grid-template-columns: 1fr; }
}

/* Card shells */
.contact-info,
.map-section{
  background-color: rgba(17, 17, 17, 0.85);
  border: 1px solid #333;
  border-radius: 22px;
  padding: 26px 24px;
  min-width: 0; /* prevent grid overflow on narrow screens */
  box-shadow: 0 0 30px rgba(0,255,0,0.10);
}

/* Headings */
.contact-info h2,
.map-section h2{
  margin: 0 0 12px;
  color: #e5e7eb;
  text-shadow: 0 0 10px #0f0;
  letter-spacing: 1px;
  font-size: 22px;
}

/* Remove glow specifically for the main contact title */
.contact-info h2{
  text-shadow: none;
}

/* Disclaimer styling */
.contact-disclaimer{
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: #cfcfcf;
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-disclaimer strong{
  color: #ffffff;
  letter-spacing: 0.5px;
}

.contact-info p{
  color: #bdbdbd;
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.6;
}

.contact-info a{
  color: #e5e7eb;
  text-decoration: none;
}
.contact-info a:hover{
  text-decoration: underline;
}

.response-note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,255,0,0.22);
  background: rgba(0,255,0,0.08);
  color: #cfcfcf;
}

/* Form card */
.form-card{
  margin-top: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  padding: 18px;
}

.form-card h3{
  margin: 0;
font-size: 18px;
  color: #e8e8e8;
  letter-spacing: .5px;
}


/* Form header: title, then a row with Live Form Quality (left) + Category (right) */
.form-card-header{
  margin: 0 0 14px;
}

.form-card-title-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.form-card-header h3{ margin: 0; }

.form-title-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  opacity: 0.85;
}

.form-header-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap; /* keep Live Quality + Category on same row (desktop) */
  margin-top: 10px;
  min-width: 0;
}

.form-quality-inline{
  flex: 0 1 280px;
  max-width: 300px;
  margin-top: 0;
}

/* Compact (≈50% smaller) Live Form Quality for the header row */
.form-quality-inline{
  padding: 6px 8px;
  border-radius: 14px;
}
.form-quality-inline .quality-top{
  margin-bottom: 6px;
}
.form-quality-inline .quality-title{
  font-size: 12px;
  line-height: 1.1;
}
.form-quality-inline .quality-score{
  font-size: 12px;
  padding: 3px 8px;
}
.form-quality-inline .quality-bar{
  height: 6px;
}

.category-field{
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 420px;
}

@media (max-width: 720px){
  .form-header-row{
    flex-wrap: wrap; /* allow stacking on small screens */
  }
  .form-quality-inline{
    flex: 1 1 240px;
    max-width: 100%;
  }
  .category-field{
    flex: 1 1 240px;
    max-width: 100%;
  }
}

.category-field label{
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 6px;
  width: 100%;
  text-align: right;
}


.alert{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 16px;
  padding: 12px 14px;
  margin: 0 0 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
}
.alert i{ margin-top: 2px; }
.alert.success{
  border-color: rgba(0,255,0,0.25);
  background: rgba(0,255,0,0.10);
}
.alert.error{
  border-color: rgba(255,0,0,0.25);
  background: rgba(255,0,0,0.08);
}
.alert ul{
  margin: 8px 0 0 18px;
  padding: 0;
  color: #d6d6d6;
}

/* Fields */
.field{ margin-bottom: 14px; }
.field label{
  display: block;
  margin-bottom: 8px;
  color: #cfcfcf;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.field input,
.field textarea,
.field select{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box; /* prevent overflow caused by padding */
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 12px 12px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea{ resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus{
  border-color: rgba(0,255,0,0.55);
  box-shadow: 0 0 0 3px rgba(0,255,0,0.10);
}

/* Actions */
.actions{
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}


.privacy-note{
  margin: 14px 0 0;
  color: #9e9e9e;
  font-size: 12px;
  line-height: 1.5;
}

/* Honeypot */
.hp-field{
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 1px !important;
  width: 1px !important;
  opacity: 0 !important;
}

/* Map section */
.map-section p{
  color: #bdbdbd;
  margin: 10px 0;
}
.map-section img{
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 0 25px rgba(0,0,0,0.55);
  display: block;
  margin: 12px 0;
}

.location-note{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,255,0,0.18);
  background: rgba(0,255,0,0.06);
  color: #cfcfcf;
}

/* Mobile: keep footer logo from overlapping on very small widths */
@media (max-width: 560px){
  footer .footer-content{
    flex-direction: column;
    gap: 10px;
  }
  footer .footer-server-logo{
    position: static;
    width: 120px;
    margin: 0 auto 6px;
  }
}


/* =========================================================
   V7 Contact Form + HQ styling (restored/strengthened)
   - Only touches: .form-card (contact form card) and .map-section (HQ card)
   ========================================================= */

/* Neon animated border wrapper */
.form-card,
.map-section{
  position: relative;
  overflow: hidden;
}

/* Allow the textarea resize handle and any focus glow to remain visible */
.form-card{
  overflow: visible;
}

/* Animated border ring */
.form-card::before,
.map-section::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 22px;
  padding: 2px;
  background: conic-gradient(from 180deg,
    rgba(0,255,0,0.05),
    rgba(0,255,0,0.55),
    rgba(255,255,255,0.10),
    rgba(0,255,0,0.55),
    rgba(0,255,0,0.05)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: none;
  pointer-events:none;
}

/* Soft glow */
.form-card::after,
.map-section::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(circle at 20% 10%, rgba(0,255,0,0.20), transparent 55%);
  filter: blur(18px);
  opacity: 0.6;
  pointer-events:none;
}

/* Keep content above overlays */
.form-card > *,
.map-section > *{
  position: relative;
  z-index: 1;
}

/* Make the form card feel "premium" like index/store panels */
.form-card{
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(0,255,0,0.18);
  box-shadow: 0 0 34px rgba(0,255,0,0.18);
  backdrop-filter: blur(10px);
}

.form-card h3{
  margin-top: 0;
  color: #eaffea;
  text-shadow: 0 0 10px rgba(0,255,0,0.55);
  letter-spacing: 1px;
}

/* Inputs: stronger glow + consistent spacing */
.field input:focus,
.field textarea:focus{
  border-color: rgba(0,255,0,0.65);
  box-shadow: 0 0 0 3px rgba(0,255,0,0.12), 0 0 22px rgba(0,255,0,0.22);
}

/* HQ card polish */
.map-section img{
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(0,255,0,0.20);
  box-shadow: 0 0 24px rgba(0,255,0,0.18);
  margin: 12px 0 10px;
}

/* Animation */
@keyframes neonSpin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .form-card::before,
  .map-section::before{
    animation: none !important;
  }
}


/* Cyan highlight for response note (as requested) */
.response-note{
  color: #7fe7ff;
  border-color: rgba(127,231,255,0.35);
  background: rgba(127,231,255,0.10);
  box-shadow: 0 0 18px rgba(127,231,255,0.22);
  text-shadow: 0 0 10px rgba(127,231,255,0.45);
}


/* HQ image hover expand */
.map-section img{
  transition: transform .18s ease, box-shadow .18s ease;
  transform-origin: center;
}
.map-section img:hover{
  transform: scale(1.03);
  box-shadow: 0 0 34px rgba(127,231,255,0.18), 0 0 24px rgba(0,255,0,0.18);
}


/* Primary button (match index.php donate button look) */
.btn{
  display: inline-block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 15px 40px;
  background-color: #e5e7eb;
  color: #000;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  border-radius: 14px;
  border: none;
  transition: background-color 0.3s, transform 0.3s, box-shadow .2s ease;
}
.btn:hover{
  background-color: #0c0;
  transform: scale(1.03);
  box-shadow: 0 0 18px rgba(0,255,0,0.30);
}
.btn.loading{
  opacity: 0.9;
  cursor: progress;
}
.btn.sent,
.btn:disabled{
  background-color: #22c55e;
  color: #07110a;
  transform: none;
}


/* White / silver text overrides */
.contact-info,
.contact-info p,
.contact-info a,
.map-section h2,
.form-card h3{
  color: #e5e7eb;
  text-shadow: 0 0 6px rgba(255,255,255,0.25);
}

.contact-info a{
  color: #f1f5f9;
}

.contact-info a:hover{
  color: #ffffff;
}

/* Back to Top Button (same as index.php) */
#backToTop {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: rgba(0, 255, 0, 0.3);
            border: 2px solid #0f0;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            font-size: 28px;
            color: #0f0;
            box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
            z-index: 999;
        }
        #backToTop:hover {
            background: rgba(0, 255, 0, 0.6);
            box-shadow: 0 0 25px rgba(0, 255, 0, 0.9);
            transform: scale(1.1);
        }
#backToTop.show {
            opacity: 1;
            visibility: visible;
        }


/* Discord link hover light-blue */
.contact-info a[href*="discord"]:hover{
  color: #7fe7ff;
  text-shadow: 0 0 10px rgba(127,231,255,0.55);
}


/* =========================================================
   🎥 Evidence link preview
   ========================================================= */
.evidence-preview{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  color: #d6d6d6;
  display: none;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.evidence-preview.show{ display: flex; }
.evidence-preview.ok{
  border-color: rgba(0,255,0,0.22);
  background: rgba(0,255,0,0.08);
}
.evidence-badge{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}


/* =========================================================
   🧠 Live “Form Quality” Indicator
   ========================================================= */
.form-quality{
  margin-top: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  padding: 12px 14px;
}
.quality-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.quality-title{
  font-weight: 800;
  letter-spacing: .3px;
  color: #e5e7eb;
}
.quality-score{
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
}
.quality-bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
}
.quality-bar-fill{
  height: 100%;
  width: 0;
  background: rgba(127,231,255,0.95);
  transition: width .22s ease;
}
.quality-text{
  margin-top: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  color: #d6d6d6;
}
.quality-rules{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 10px;
  font-size: 12px;
  color: #a8a8a8;
}

/* Elite state: turns green at 90%+ */
.form-quality.is-elite{
  border-color: rgba(0,255,0,0.28);
  background: rgba(0,255,0,0.10);
  box-shadow: 0 0 22px rgba(0,255,0,0.16);
}
.form-quality.is-elite .quality-bar-fill{ background: rgba(0,255,0,0.95); }
.form-quality.is-elite .quality-score{
  border-color: rgba(0,255,0,0.28);
  background: rgba(0,255,0,0.12);
}


/* =========================================================
   ✨ Submission Confirmation (premium feel)
   ========================================================= */
.submission-confirmation{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  margin: 0 0 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,255,0,0.25);
  background: rgba(0,255,0,0.10);
}
.confirm-text .confirm-title{
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .4px;
}
.confirm-ref{
  margin-top: 2px;
  font-size: 13px;
  color: #d7ffe2;
}
.confirm-ref span{ font-weight: 900; }
.confirm-sub{
  margin-top: 4px;
  font-size: 12px;
  color: #c7c7c7;
}

.confirm-check{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated checkmark */
.checkmark{
  width: 18px;
  height: 10px;
  border-left: 4px solid rgba(0,255,0,0.95);
  border-bottom: 4px solid rgba(0,255,0,0.95);
  transform: rotate(-45deg) scale(0.2);
  opacity: 0;
  animation: mdzCheckPop .6s ease forwards;
}
@keyframes mdzCheckPop{
  0%{ transform: rotate(-45deg) scale(0.2); opacity: 0; }
  60%{ transform: rotate(-45deg) scale(1.08); opacity: 1; }
  100%{ transform: rotate(-45deg) scale(1); opacity: 1; }
}



/* Headquarters right align */
.map-section{
  text-align: right;
}

/* Headquarters location info row */
.location-info{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.location-note{
  text-align: left;
  flex: 1;
}

.location-note span{
  opacity: 0.85;
  font-size: 0.95em;
}

.info-icon{
  font-size: 18px;
  color: #cbd5e1;
  cursor: default;
  padding: 6px 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
}

.info-icon:hover{
  color: #7fe7ff;
  border-color: rgba(127,231,255,0.6);
  box-shadow: 0 0 12px rgba(127,231,255,0.35);
}


/* FIX: Force HQ location text left + icon right (side-by-side) */
.location-info{
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  text-align: left !important;
}

.location-info .location-note{
  margin: 0 !important;
  flex: 1 1 auto !important;
  text-align: left !important;
}

.location-info .info-icon{
  flex: 0 0 auto !important;
  align-self: center !important;
  margin-left: 14px !important;
}


/* Info icon as oval pill + hover chat bubble */
.location-info{
  position: relative;
}

.info-icon{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 46px !important;
  height: 28px !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  color: #e5e7eb !important;
  cursor: default !important;
  padding: 0 10px !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  background: rgba(255,255,255,0.08) !important;
  position: relative !important;
}

/* Bubble */
.info-icon::after{
  content: "Hey live support coming soon...";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%) translateY(-14px);
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.92);
  border: 1px solid rgba(127,231,255,0.35);
  color: #e5e7eb;
  box-shadow: 0 0 18px rgba(127,231,255,0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 5;
}

/* Small tail */
.info-icon::before{
  content: "";
  position: absolute;
  right: 14px;
  top: -8px;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  background: rgba(2, 6, 23, 0.92);
  border-left: 1px solid rgba(127,231,255,0.35);
  border-top: 1px solid rgba(127,231,255,0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, visibility .15s ease;
  z-index: 5;
}

.info-icon:hover{
  color: #7fe7ff !important;
  border-color: rgba(127,231,255,0.65) !important;
  box-shadow: 0 0 14px rgba(127,231,255,0.28) !important;
}

.info-icon:hover::after{
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%) translateY(-22px);
}
.info-icon:hover::before{
  opacity: 1;
  visibility: visible;
}


/* Force consistent typing direction/alignment */
.field input,
.field textarea{
  direction: ltr;
  text-align: left;
}


/* =========================================================
   Category helper tooltip (Style A)
   - Appears under the category select and updates live
   ========================================================= */

.category-hint{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 14px;
  margin: 2px 0 14px;
  border-radius: 18px;
  border: 1px solid rgba(127,231,255,0.22);
  background:
    radial-gradient(circle at 18% 10%, rgba(127,231,255,0.18), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.40), rgba(0,0,0,0.22));
  box-shadow:
    0 0 18px rgba(127,231,255,0.12),
    0 0 22px rgba(0,255,0,0.10);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.category-hint.is-hidden{
  display: none;
}

.category-hint::before{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: conic-gradient(from 180deg,
    rgba(127,231,255,0.00),
    rgba(127,231,255,0.30),
    rgba(0,255,0,0.18),
    rgba(127,231,255,0.30),
    rgba(127,231,255,0.00)
  );
  opacity: 0.55;
  filter: blur(10px);
  pointer-events: none;
}

.category-hint > *{ position: relative; z-index: 1; }

.hint-icon{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,255,0,0.18);
  background: rgba(0,0,0,0.45);
  box-shadow: 0 0 14px rgba(0,255,0,0.12);
  flex: 0 0 auto;
}

.hint-icon i{
  font-size: 16px;
  color: #7fe7ff;
  text-shadow: 0 0 12px rgba(127,231,255,0.55);
}

.hint-content{ min-width: 0; }

.hint-title{
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #eaffea;
  text-shadow: 0 0 10px rgba(0,255,0,0.30);
  margin: 0 0 6px;
}

.hint-list{
  margin: 0;
  padding-left: 18px;
  color: #d2d7dd;
  line-height: 1.55;
  font-size: 13px;
}

.hint-list li{ margin: 4px 0; }

.hint-footer{
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,0.12);
  color: #9fb7c3;
  font-size: 12px;
}

/* Pop animation on change */
.category-hint.hint-pop{
  animation: hintPop 320ms ease-out;
}

@keyframes hintPop{
  0%{ transform: translateY(-2px) scale(0.985); opacity: 0.0; }
  45%{ opacity: 1; }
  100%{ transform: translateY(0) scale(1); opacity: 1; }
}


/* =========================================================
   Screenshot attachments (dropzone)
   ========================================================= */

.attachment-field input[type="file"]{
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.attachment-drop{
  position: relative;
  border-radius: 18px;
  border: 1px dashed rgba(127,231,255,0.35);
  background:
    radial-gradient(circle at 15% 10%, rgba(127,231,255,0.14), transparent 60%),
    rgba(0,0,0,0.45);
  padding: 14px 14px;
  box-shadow: 0 0 18px rgba(127,231,255,0.10);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  overflow: hidden;
}

.attachment-drop-top{
  display: flex;
  gap: 12px;
  align-items: center;
}

.attachment-drop i{
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,255,0,0.18);
  background: rgba(0,0,0,0.55);
  color: #7fe7ff;
  text-shadow: 0 0 12px rgba(127,231,255,0.55);
  box-shadow: 0 0 14px rgba(0,255,0,0.12);
}

.attachment-title{
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #eaffea;
  text-shadow: 0 0 10px rgba(0,255,0,0.25);
  margin: 0 0 2px;
}

.attachment-sub{
  font-size: 12px;
  color: #9fb7c3;
}

.attachment-drop.dragover{
  transform: translateY(-1px);
  border-color: rgba(0,255,0,0.45);
  box-shadow: 0 0 26px rgba(0,255,0,0.18), 0 0 18px rgba(127,231,255,0.12);
}

.attachment-list{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.attachment-chip{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.38);
  box-shadow: 0 0 16px rgba(127,231,255,0.10);
}

.attachment-thumb{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(127,231,255,0.22);
  object-fit: cover;
  background: rgba(0,0,0,0.5);
}

.attachment-name{
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: #d2d7dd;
}

.attachment-remove{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.55);
  color: #e5e7eb;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.attachment-remove:hover{
  transform: scale(1.06);
  border-color: rgba(255,0,0,0.35);
  box-shadow: 0 0 16px rgba(255,0,0,0.12);
}



/* ===== Contact form typography polish ===== */
.response-note{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

/* Make form field text look cleaner and stop "stretched upward" feeling */
.form-card .field input,
.form-card .field textarea,
.form-card .field select{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

/* Placeholders slightly smaller for a premium look */
.form-card .field input::placeholder,
.form-card .field textarea::placeholder{
  font-size: 13px;
  opacity: 0.75;
}

/* SteamID field: monospace so numbers are easy to read */
.form-card .steamid-input{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  letter-spacing: 0.2px;
}


/* Contact links row (Discord left, Email right) */
.contact-links-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin-top: 10px;
  flex-wrap: nowrap;          /* keep on one line */
}

.contact-links-left,
.contact-links-right{
  white-space: nowrap;        /* prevent wrapping inside each side */
}

.contact-links-right{
  margin-left: auto;
  text-align: right;
}

/* Keep links same typography as surrounding text */
.discord-link, .discord-link:visited,
.email-link, .email-link:visited{
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  text-decoration: none;
}

.discord-link:hover{
  color: #66b3ff;             /* light blue on hover */
  text-decoration: underline;
}

.email-link:hover{
  text-decoration: underline;
}

/* Discord tooltip */
.discord-tooltip{
  position: relative;
  display: inline-block;
}

.discord-tip{
  position: absolute;
  left: 0;
  top: 125%;
  white-space: nowrap;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 8px;
  opacity: 0;
  transform: translate(16px, -4px); /* shift tooltip to the right */
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 50;
}

.discord-tip-icon{
  opacity: 0;
  transform: scale(0.9);
  transition: opacity .15s ease, transform .15s ease;
}

.discord-tooltip:hover .discord-tip{
  opacity: 1;
  transform: translate(16px, 0);
}

.discord-tooltip:hover .discord-tip-icon{
  opacity: 1;
  transform: scale(1);
}


/* Form quality: float with the HQ panel */
.map-section .form-quality{
  position: sticky;
  top: 18px;
}

/* Pulse when the score updates */
.quality-bar-fill.quality-pulse{
  animation: qualityPulse 0.28s ease;
}
@keyframes qualityPulse{
  0%{ transform: scaleX(1); filter: brightness(1); }
  50%{ transform: scaleX(1.02); filter: brightness(1.15); }
  100%{ transform: scaleX(1); filter: brightness(1); }
}

/* Ban appeal evidence required */
#evidence_link[data-required]{
  border-color: rgba(255, 165, 0, 0.75) !important;
  box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.10);
}
.inline-error{
  margin-top: 8px;
  font-size: 13px;
  color: #ffd6a6;
}


/* === HQ Video Crossfade (replaces HQ image) === */
.map-section .hq-media{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.55);
  display: block;
  margin: 12px 0;
  background: #000;
  position: relative;
}

.map-section .hq-media .hq-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  transform: scale(1);
}

.map-section .hq-media .hq-video.is-active{
  opacity: 1;
}


/* Zoom-in variant for play2.mp4 */
.map-section .hq-media .hq-video.is-zoom{
  transform: scale(1.05);
}
