/* =========================================================
   GiftFlow — Contact Page
   File: /assets/css/pages/contact.css
   PURPOSE
   ---------------------------------------------------------
   - Support-centre style contact page
   - Left topic menu
   - Right FAQ content
   - Contact form below
========================================================= */

.gf-dash{
  min-height:100vh;
  background:
    radial-gradient(
      ellipse at 50% 220px,
      rgba(124,77,255,.07) 0%,
      rgba(124,77,255,.04) 35%,
      rgba(124,77,255,.02) 55%,
      rgba(245,246,255,1) 78%
    );
}

.gf-dash-main{
  width:100%;
  padding:28px 20px 48px;
}

.gf-dash-content{
  max-width:980px;
  margin:0 auto;
}

.gf-page-title{
  font-size:26px;
  font-weight:700;
  margin:0 0 18px;
  color:#171721;
}

.gf-contact-card{
  background:#fff;
  border-radius:22px;
  padding:28px 28px 30px;
  box-shadow:0 16px 44px rgba(18,12,46,.06);
  border:1px solid rgba(22,22,32,.05);
}

.gf-contact-card h2{
  margin:0 0 6px;
  font-size:28px;
  line-height:1.1;
  font-weight:800;
  color:#171721;
}

.gf-contact-intro{
  margin:0 0 22px;
  color:#656177;
  font-size:15px;
  line-height:1.6;
}

/* =========================================================
   SUPPORT LAYOUT
========================================================= */

.gf-support-layout{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:22px;
  align-items:start;
  margin-bottom:24px;
}

.gf-support-menu{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.gf-support-btn{
  appearance:none;
  border:none;
  width:100%;
  min-height:48px;
  padding:13px 15px;
  border-radius:14px;
  text-align:left;
  font-weight:700;
  font-size:14px;
  line-height:1.3;
  color:#433b67;
  background:#f3f0ff;
  cursor:pointer;
  transition:background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.gf-support-btn:hover{
  background:#ece7ff;
  transform:translateY(-1px);
}

.gf-support-btn.active{
  color:#fff;
  background:linear-gradient(135deg,#8a5cff,#6f52ff);
  box-shadow:0 10px 24px rgba(138,92,255,.25);
}

.gf-support-content{
  background:#faf9ff;
  border:1px solid #ece9f6;
  border-radius:16px;
  padding:22px 22px 18px;
  min-height:220px;
}

.gf-topic{
  display:none;
}

.gf-topic.active{
  display:block;
}

.gf-topic h3{
  margin:0 0 14px;
  font-size:18px;
  font-weight:800;
  color:#171721;
}

.gf-topic p{
  margin:0 0 10px;
  color:#5d5870;
  line-height:1.6;
  font-size:14px;
}

.gf-topic p b{
  display:block;
  margin-bottom:4px;
  color:#171721;
}

/* =========================================================
   SUPPORT HINT
========================================================= */

.gf-support-hint{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background:#f6f4ff;
  border:1px solid #ece9f6;
  border-radius:14px;
  padding:14px 16px;
  margin:2px 0 18px;
}

.gf-support-icon{
  font-size:16px;
  line-height:1;
  margin-top:2px;
}

.gf-support-text{
  font-size:14px;
  line-height:1.55;
  color:#5f5a75;
}

.gf-support-text strong{
  color:#171721;
}

/* =========================================================
   FORM
========================================================= */

.gf-contact-form-title{
  margin:0 0 12px;
  font-size:18px;
  font-weight:800;
  color:#171721;
}

.gf-contact-form{
  display:block;
}

.gf-form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:14px;
}

.gf-form-row > div{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.gf-form-row label{
  font-size:13px;
  font-weight:600;
  color:#171721;
}

.gf-form-row input,
.gf-form-row select,
.gf-form-row textarea{
  width:100%;
  border:1px solid #e6e3f0;
  border-radius:12px;
  padding:11px 13px;
  background:#faf9ff;
  color:#171721;
  font-size:14px;
  outline:none;
  box-shadow:none;
}

.gf-form-row input:focus,
.gf-form-row select:focus,
.gf-form-row textarea:focus{
  border-color:#cdbfff;
  box-shadow:0 0 0 4px rgba(138,92,255,.08);
}

.gf-form-row textarea{
  min-height:140px;
  resize:vertical;
}

.gf-btn-primary{
  appearance:none;
  border:none;
  border-radius:14px;
  padding:13px 22px;
  background:linear-gradient(135deg,#8a5cff,#6f52ff);
  color:#fff;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(138,92,255,.22);
}

.gf-btn-primary:hover{
  transform:translateY(-1px);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width:900px){

  .gf-support-layout{
    grid-template-columns:1fr;
  }

  .gf-support-content{
    min-height:auto;
  }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:640px){

  .gf-dash-main{
    padding:18px 14px 34px;
  }

  .gf-contact-card{
    padding:20px 16px 22px;
    border-radius:18px;
  }

  .gf-contact-card h2{
    font-size:22px;
  }

  .gf-page-title{
    font-size:24px;
    margin-bottom:14px;
  }

  .gf-support-menu{
    flex-direction:column;
  }

  .gf-support-btn{
    min-height:44px;
    padding:12px 14px;
    font-size:13.5px;
  }

  .gf-support-content{
    padding:18px 16px 14px;
    border-radius:14px;
  }

  .gf-form-row{
    grid-template-columns:1fr;
    gap:12px;
  }

}

/* ============================================================
   GiftFlow Success Message
   Used after contact form submission
============================================================ */

.gf-success {

  margin: 22px 0 26px;

  padding: 18px 22px;

  border-radius: 12px;

  border: 1px solid #34d399;

  background: linear-gradient(
    180deg,
    #ecfdf5 0%,
    #d1fae5 100%
  );

  color: #065f46;

  font-family: "Inter", system-ui, -apple-system, sans-serif;

  font-size: 14px;

  line-height: 1.55;

  font-weight: 500;

  box-shadow:
    0 4px 12px rgba(0,0,0,0.04);

  display: flex;

  align-items: center;

  gap: 10px;
}

/* subtle success icon */

.gf-success::before {

  content: "✓";

  font-weight: 700;

  font-size: 16px;

  color: #10b981;

}

/* ============================================================
   Public Contact Notice
============================================================ */

.gf-contact-public-note {

  margin: 26px 0 10px;

  padding: 16px 20px;

  border-radius: 12px;

  border: 1px solid #e9e5ff;

  background: #f6f4ff;

  font-family: "Inter", system-ui, sans-serif;

  font-size: 14px;

  line-height: 1.55;

  color: #3f3b64;

}

.gf-contact-public-note a {

  color: #7c5cff;

  font-weight: 600;

  text-decoration: none;

}

.gf-contact-public-note a:hover {

  text-decoration: underline;

}
/* ============================================================
   GiftFlow Support Header
============================================================ */

.gf-support-header {

  display: flex;

  align-items: center;

  gap: 16px;

  padding: 20px 24px;

  margin-bottom: 24px;

  border-radius: 14px;

  background: linear-gradient(
    180deg,
    #faf9ff 0%,
    #f3f1ff 100%
  );

  border: 1px solid #ebe8ff;

}

.gf-support-header-icon {

  width: 44px;

  height: 44px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 20px;

  border-radius: 12px;

  background: #8A5CFF;

  color: white;

}

.gf-support-header-text {

  flex: 1;

}

.gf-support-header-text h1 {

  margin: 0 0 6px;

}

.gf-support-header-text p {

  margin: 0;

  font-size: 14px;

  color: #5b5875;

  line-height: 1.6;

}



/* ============================================================
   GiftFlow — Notification Messages
   Used for report verification + contact messages
============================================================ */

.gf-notice{
  margin:20px 0;
  padding:16px 18px;
  border-radius:10px;
  font-size:14px;
  line-height:1.5;
  display:flex;
  align-items:center;
  gap:10px;
}

/* SUCCESS */
.gf-notice-success{
  background:#ecfdf5;
  border:1px solid #10b98140;
  color:#065f46;
}

/* ERROR */
.gf-notice-error{
  background:#fef2f2;
  border:1px solid #ef444440;
  color:#7f1d1d;
}

/* WARNING */
.gf-notice-warning{
  background:#fffbeb;
  border:1px solid #f59e0b40;
  color:#92400e;
}

/* ICON */
.gf-notice-icon{
  font-size:18px;
}
