/* =========================================================
   SafeHire — Feedback page
   Same design tokens as about.css: #225BE3 blue, system font
   ========================================================= */
:root{
  --bg: #f8fafc;
  --ink:        #0B1220;
  --ink-soft:   #5B6472;
  --ink-faint:  #9AA6B8;
  --line:       #E7EAF2;
  --surface:    #FFFFFF;
  --surface-2:  #F7F8FC;
  --primary: #225be3;
  --norm: #374151;
  --blue:       #225BE3;
  --blue-2:     #1A46B8;
  --blue-light: #4D7CEB;
  --blue-tint:  #EAF0FE;
  --green:      #16A34A;
  --green-tint: #EAFBF1;
  --amber:      #D97706;
  --amber-tint: #FEF3E2;
  --red:        #DC2626;
  --red-tint:   #FEF2F2;
  --font-display: -apple-system, 'BlinkMacSystemFont', 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    -apple-system, 'BlinkMacSystemFont', 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 2px rgba(15,23,42,.04), 0 14px 32px -18px rgba(30,41,84,.18);
  --shadow-btn: 0 8px 20px -8px rgba(34,91,227,.5);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3{ font-family: var(--font-display); margin:0; letter-spacing: -0.02em; }
p{ margin:0; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }

.hiw-page {
    background: var(--bg);
    min-height: 100vh;
    padding: 100px 24px 60px;
}

/* =========================================================
   Shared eyebrow
   ========================================================= */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  color: var(--blue);
  margin-bottom: 14px;
  background: var(--blue-tint);
  padding: 5px 12px;
  border-radius: 999px;
}
.eyebrow--muted{ color: var(--ink-faint); background: transparent; padding: 0; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }

/* =========================================================
   Section head (shared across all sections)
   ========================================================= */
.fb-section-head{ max-width: 600px; margin-bottom: 40px; }
.fb-section-head h2{ font-size: clamp(24px, 3vw, 30px); font-weight: 700; color: var(--ink); }
.fb-section-head p{ margin-top: 12px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; }

/* =========================================================
   Hero
   ========================================================= */
.fb-hero{ padding: 48px 32px 40px; }
.fb-hero__inner{ max-width: 780px; margin: 0 auto; text-align: center; }
.fb-hero h1{
  font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.18; color: var(--ink);
}
.fb-hero__lede{
  margin: 18px auto 0; max-width: 560px;
  font-size: 16px; line-height: 1.65; color: var(--ink-soft);
}

/* =========================================================
   Team section
   ========================================================= */
.fb-team{ padding: 40px 32px 80px; }
.fb-team__inner{ max-width: 1120px; margin: 0 auto; }

.fb-team__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fb-team-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.fb-team-card:hover{
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
  border-color: #DCE2F0;
}

.fb-team-card__avatar{
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--blue-tint);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.fb-team-card__avatar i{ font-size: 24px; color: var(--blue); }
.fb-team-card__avatar--design{ background: #F3E8FF; }
.fb-team-card__avatar--design i{ color: #7C3AED; }
.fb-team-card__avatar--media{ background: #FEF3C7; }
.fb-team-card__avatar--media i{ color: #D97706; }

.fb-team-card h3{
  font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 16px;
}

.fb-team-card__list{
  text-align: left;
}
.fb-team-card__list li{
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.fb-team-card__list li::before{
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* =========================================================
   Judges' feedback section
   ========================================================= */
.fb-judges{
  padding: 60px 32px 80px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fb-judges__inner{ max-width: 1120px; margin: 0 auto; }

.fb-judges__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.fb-judge-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}
.fb-judge-card__header{
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.fb-judge-card__header i{ font-size: 20px; }
.fb-judge-card__header h3{ font-size: 17px; font-weight: 700; color: var(--ink); }

.fb-judge-card--appreciated .fb-judge-card__header i{ color: var(--green); }
.fb-judge-card--appreciated{ border-left: 4px solid var(--green); }

.fb-judge-card--suggest .fb-judge-card__header i{ color: var(--amber); }
.fb-judge-card--suggest{ border-left: 4px solid var(--amber); }

.fb-judge-card ul{
  display: flex; flex-direction: column; gap: 10px;
}
.fb-judge-card li{
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.fb-judge-card--appreciated li::before{
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; left: 0; top: 1px;
  font-size: 13px; color: var(--green);
}
.fb-judge-card--suggest li::before{
  content: "\f0eb";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  position: absolute; left: 0; top: 1px;
  font-size: 14px; color: var(--amber);
}

/* Outcome badge */
.fb-outcome{
  text-align: center;
  padding: 28px;
  background: linear-gradient(135deg, #f8fbff 0%, #eaf0fe 100%);
  border: 1px solid rgba(34, 91, 227, 0.18);
  border-radius: var(--radius-lg);
}
.fb-outcome__badge{
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 16px; font-weight: 700;
  box-shadow: var(--shadow-btn);
  margin-bottom: 14px;
}
.fb-outcome__badge i{ font-size: 18px; }
.fb-outcome p{ font-size: 14px; color: var(--ink-soft); }

/* =========================================================
   Feedback form section
   ========================================================= */
.fb-form-section{ padding: 60px 32px 80px; }
.fb-form-section__inner{ max-width: 720px; margin: 0 auto; }

.fb-form{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.fb-form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.fb-form__field{ display: flex; flex-direction: column; }
.fb-form__field--full{ margin-bottom: 20px; }

.fb-form__field label{
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  margin-bottom: 6px;
}
.fb-form__field label .required{ color: var(--red); }

.fb-form__field input,
.fb-form__field select,
.fb-form__field textarea{
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
}
.fb-form__field input:focus,
.fb-form__field select:focus,
.fb-form__field textarea:focus{
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(34, 91, 227, 0.12);
}
.fb-form__field textarea{ resize: vertical; min-height: 120px; }
.fb-form__field select{ cursor: pointer; appearance: auto; }

.fb-form__char-count{
  text-align: right;
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 4px;
}

/* Stars */
.fb-stars{
  display: flex; align-items: center; gap: 4px;
}
.fb-star{
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: var(--ink-faint);
  padding: 2px;
  transition: color .12s ease, transform .12s ease;
}
.fb-star:hover{ transform: scale(1.15); }
.fb-star--active{ color: var(--blue); text-shadow: 0 0 8px rgba(34, 91, 227, 0.35); }
.fb-star--hover{ color: var(--blue-light); }
.fb-stars__label{
  margin-left: 10px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* Submit button */
.fb-form__actions{ margin-top: 8px; }

.fb-form__submit{
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 13px 24px;
  font-family: var(--font-body);
  font-size: 15.5px; font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform .15s ease, filter .15s ease;
}
.fb-form__submit:hover{ transform: translateY(-1px); filter: brightness(1.06); }
.fb-form__submit:disabled{ opacity: 0.7; cursor: not-allowed; transform: none; }
.fb-form__submit-loading{ display: inline-flex; align-items: center; gap: 6px; }

/* Form messages */
.fb-form__message{
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.fb-form__message--success{
  background: var(--green-tint);
  color: var(--green);
  border: 1px solid rgba(22, 163, 74, 0.2);
}
.fb-form__message--error{
  background: var(--red-tint);
  color: var(--red);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* =========================================================
   Footer
   ========================================================= */
.footer{ border-top: 1px solid var(--line); padding: 26px 32px; }
.footer__inner{
  max-width: 1240px; margin:0 auto; display:flex; justify-content: space-between; align-items:center;
  font-size: 13px; color: var(--ink-faint); flex-wrap: wrap; gap: 10px;
}
.footer__badge{ background: var(--blue-tint); color: var(--blue); padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px){
  .fb-team__grid{ grid-template-columns: 1fr; }
  .fb-judges__grid{ grid-template-columns: 1fr; }
  .fb-form__row{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .fb-form{ padding: 24px 18px; }
  .fb-hero h1{ font-size: 26px; }
}
