/********************************************
 PHASE 1 – GLOBAL + NAVIGATION + LANDING (UPDATED)
********************************************/

/* ---------- FONTS ---------- */
@font-face {
  font-family: "Knockout";
  src: url("../font/Knockout-HTF48-Featherweight.otf") format("opentype");
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 ;
}

/* ---------- ROOT VARIABLES ---------- */
:root {
  --brand: #ed1a3b;
  --brand-dark: #b91c1c;
  --text: #fff;
  --muted: #9ca3af;
  --bg-gradient: linear-gradient(180deg, #330000, #1a0000 60%, #000);
  --line: #202226;
  --transition: 0.25s ease-in-out;
  --offwhite: #f9f9f9;
  --text-dark: #1a1a1a;
}

/* ---------- GLOBAL RESET ---------- */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg-gradient);
  color: var(--text);
  scroll-behavior: smooth;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { text-decoration: none; color: inherit; transition: opacity var(--transition); }
a:hover { opacity: 0.85; }
ul { list-style: none; margin: 0; padding: 0; }
.main {
  padding-top: 3rem; /* slightly more than nav height to prevent overlap */
  padding-bottom: 3rem;
}

/* ---------- FLASH MESSAGES ---------- */
.message {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 600;
  margin: 12px auto;         /* centers the box horizontally */
  max-width: 600px;          /* limits width */
  width: 100%;               /* allows responsiveness */
  text-align: center;
}
.message.error   { background: #2a1013; color: #ffd2d7; border-color: #44151b; }
.message.success { background: #102a14; color: #c6f7d0; border-color: #1c3b22; }

/* =====================================
   NAVIGATION – DESKTOP ONLY
===================================== */
#cs-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Slimmer container */
#cs-navigation .cs-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
  padding: 0 3rem;
}

/* Logo – resized and centred */
#cs-navigation .cs-logo {
  display: flex;
  align-items: center;
  height: 100%;
}
#cs-navigation .cs-logo img {
  height: 3.6rem;
  width: auto;
  object-fit: contain;
}

/* Nav Menu */
#cs-navigation .cs-ul {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

#cs-navigation .cs-li-link {
  font-family: "Knockout", sans-serif;
  text-transform: uppercase;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: #fff;
  position: relative;
  transition: color var(--transition);
}

#cs-navigation .cs-li-link::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width var(--transition);
}

#cs-navigation .cs-li-link:hover::before{
  width: 100%;
}

.cs-li-link.cs-active {
  width: 100%;
  color: #fff; 
}

.cs-li-link.cs-active::before {
  width: 100%;
  background: #ED1A3B; /* Force red underline */
}

/* Nav Button */
.cs-button-solid {
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 0px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.2rem;
  transition: background var(--transition), transform var(--transition);
}
.cs-button-solid:hover,
.cs-button-solid:focus,
.cs-button-solid:active {
  background: var(--brand-dark);
  color: #fff;               /* keep text white */
  transform: translateY(-1px);
}

@media (min-width: 769px) {
  #cs-navigation .cs-toggle {
    display: none !important;
  }
}

/* =====================================
   NAVIGATION – MOBILE
===================================== */
@media only screen and (max-width: 63.9375rem) {
  /* Lock body scroll when menu is open */
  /* Header */
  #cs-navigation {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    background: #fff;
    box-shadow: rgba(149,157,165,.2) 0 8px 24px;
    position: fixed;          /* FIX: was 'flex' */
    top: 0; left: 0;          /* ensure it sticks to top */
    z-index: 10000;
  }

  /* Backdrop overlay */
  #cs-navigation::before {
    content: "";
    width: 100%;
    height: 0vh;
    background: rgba(0,0,0,.6);
    opacity: 0;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: -1;
    transition: height .5s, opacity .5s;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  #cs-navigation.cs-active::before {
    height: 150vh;
    opacity: 1;
  }

  /* Container row */
  #cs-navigation .cs-container {
    width: 100%;
    display: flex;
    justify-content: space-between;  /* better spacing on mobile */
    align-items: center;
    gap: .75rem;
  }

  /* Logo */
  #cs-navigation .cs-logo {
    width: 40%;
    max-width: 9.125rem;
    height: 100%;
    margin: 0;
    box-sizing: border-box;
    display: flex; justify-content: center; align-items: center;
    z-index: 10;
  }
  #cs-navigation .cs-logo img {
    width: 100%; height: 100%; object-fit: contain;
  }

  /* Hamburger */
  #cs-navigation .cs-toggle {
    width: clamp(2.75rem, 6vw, 3rem);
    height: clamp(2.75rem, 6vw, 3rem);
    margin-left: auto;
    border: none; border-radius: .25rem;
    display: flex; justify-content: center; align-items: center;
    background: transparent;
    color: black;
  }
  #cs-navigation .cs-box {
    width: 4px;
    height: 4px;
    position: relative;
    color: black;

  }
  #cs-navigation .cs-line {
    width: 100%; height: 2px; background: #1a1a1a; border-radius: 2px;
    position: absolute; left: 50%; transform: translateX(-50%);
    color: black !important;
  }
  #cs-navigation .cs-line1 {
    top: 0;
    transition: transform .5s, top .3s, left .3s;
    transform-origin: center;
    color: black;
    margin-bottom: 3px;
  }
  #cs-navigation .cs-line2 {
    top: 50%;
    transform: translate(-50%,-50%);
    transition: top .3s, left .3s, transform .5s;
  }

  #cs-navigation .cs-line3 {
    margin-top: 5px;
    bottom: 0;
    transition: bottom .3s, opacity .3s;
  }

  #cs-navigation .cs-toggle .cs-line1,
  #cs-navigation .cs-toggle .cs-line2,
  #cs-navigation .cs-toggle .cs-line3 {
    background-color: #000 !important;
  }

  /* Animate hamburger to X when open */
  #cs-navigation.cs-active .cs-line1 { top: 50%; transform: translate(-50%,-50%) rotate(225deg); }
  #cs-navigation.cs-active .cs-line2 { top: 50%; transform: translate(-50%,-50%) rotate(-225deg); }
  #cs-navigation.cs-active .cs-line3 { opacity: 0; bottom: 100%; }

  /* Drawer wrapper */
  #cs-navigation .cs-ul-wrapper {
    width: 100%;
    padding-bottom: 2.4em;
    background: #fff;
    box-shadow: inset rgba(0,0,0,.2) 0 8px 24px;
    opacity: 0;
    position: absolute;   /* sits under fixed header */
    top: 100%; left: 0;
    z-index: -1;
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .4s, opacity .3s;
  }

  /* Open state: show drawer (dark theme) */
  #cs-navigation.cs-active .cs-ul-wrapper {
    opacity: 1;
    transform: scaleY(1);
    transition-delay: .15s;
    background: #000;         /* your black background */
  }

  /* Menu list */
  #cs-navigation .cs-ul {
    width: 100%;
    max-height: 65vh;
    margin: 0; padding: 3rem 0 0;
    display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
    overflow: auto;
  }

  /* Items animate in */
  #cs-navigation .cs-li {
    width: 100%; list-style: none; text-align: center;
    opacity: 0; transform: translateY(-4.375rem);
    transition: transform .6s, opacity .9s;
  }
  #cs-navigation.cs-active .cs-li { opacity: 1; transform: translateY(0); }
  #cs-navigation .cs-li:nth-of-type(1){ transition-delay:.05s; }
  #cs-navigation .cs-li:nth-of-type(2){ transition-delay:.1s; }
  #cs-navigation .cs-li:nth-of-type(3){ transition-delay:.15s; }
  #cs-navigation .cs-li:nth-of-type(4){ transition-delay:.2s; }
  #cs-navigation .cs-li:nth-of-type(5){ transition-delay:.25s; }
  #cs-navigation .cs-li:nth-of-type(6){ transition-delay:.3s; }
  #cs-navigation .cs-li:nth-of-type(7){ transition-delay:.35s; }
  #cs-navigation .cs-li:nth-of-type(8){ transition-delay:.4s; }
  #cs-navigation .cs-li:nth-of-type(9){ transition-delay:.45s; }
  #cs-navigation .cs-li:nth-of-type(10){ transition-delay:.5s; }
  #cs-navigation .cs-li:nth-of-type(11){ transition-delay:.55s; }
  #cs-navigation .cs-li:nth-of-type(12){ transition-delay:.6s; }

  /* Links */
  #cs-navigation .cs-li-link {
    font-family: 'Knockout' !important;
    color: #000;
    line-height: 1.2;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: .5rem 0;
  }

  /* Make links readable on dark drawer */
  #cs-navigation.cs-active .cs-li-link { color: #fff; }

  /* Active underline */
  #cs-navigation .cs-li-link::before {
    content: "";
    width: 100%; height: 1px; background: currentColor;
    opacity: 1; display: none;
    position: absolute; bottom: -0.125rem; left: 0;
  }
  #cs-navigation .cs-li-link.cs-active::before { display: block; }

  /* Hide solid button in mobile header (keeps desktop intact) */
  #cs-navigation .cs-button-solid { display: none; }
}


/* =====================================
   LANDING PAGE
===================================== */
.landing {
  min-height: 100vh;
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 20px 20px;
}

.landing .content {
  max-width: 900px;
  margin: auto;
}

.landing h1 {
  font-family: "Knockout", sans-serif;
  font-size: 160px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0;
}

.landing h2 {
  font-family: "Knockout", sans-serif;
  font-size: 80px;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  margin: 20px 0 40px;
  letter-spacing: 1.5px;
}

.landing p {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 50px;
}

/* CTA Buttons */
.cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #fff;
  background: var(--brand);
  color: #fff;
  font-family: "Knockout", sans-serif;
  text-transform: uppercase;
  font-size: 40px;
  padding: 12px 12px;
  letter-spacing: 1.5px;
  transition: background var(--transition), transform var(--transition);
  border-radius: 0;
}

.btn:hover,
.btn:focus,
.btn:active {
  background: var(--brand-dark);
  color: #fff;               /* ensure hover text stays white */
  transform: translateY(-2px);
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }


/********************************************
 PHASE 2 – HOME + PREVIEW (UPDATED)
********************************************/

/* ---------- LAYOUT ---------- */
.home-list {
  margin-top: 6rem; /* allow for fixed nav */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* ---------- MENU LAYOUT ---------- */
#lh-home {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 2rem 2rem;
  width: 100%;
  max-width: 1600px;
}

.lh-menu {
  display: grid;
  grid-template-columns: 1fr;
  width: 28%;
  min-width: 320px;
  text-align: left;
}

.lh-menu li {
  background: none;
  border: none;
  padding: 1rem 0;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.lh-link {
  display: inline-block;
  font-family: "Knockout", sans-serif;
  font-size: 4.25rem;
  text-shadow: 0 0 8px rgba(0,0,0,0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  transition: color 0.4s ease, -webkit-text-stroke 0.4s ease, transform 0.3s ease;
  font-weight: 100;
}

.lh-link:hover {
  color: var(--text);
  -webkit-text-stroke: 1px var(--text);
  transform: translateX(6px);
}

      /* Modal overlay */
.tutorial-modal {
  display: block; /* default visible, hide after dismiss */
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

/* Modal box */
.tutorial-content {
  background: #1a1a1a;
  color: #fff;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  text-align: left;
}

/* Close button */
.tutorial-close {
  float: right;
  font-size: 2rem;
  cursor: pointer;
}

.tutorial-options {
  display: flex;
  align-items: center;   /* centers checkbox + text vertically */
  gap: 0.5rem;           /* spacing between them */
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: #ddd;
  margin-top: 20px;
}

.tutorial-options input[type="checkbox"] {
  margin: 0;             /* remove default offset */
  width: 18px;           /* optional: make checkbox a bit larger */
  height: 18px;
  cursor: pointer;
}

.tutorial-options label {
  cursor: pointer;       /* clicking text toggles checkbox */
  padding-top: 2px;    /* aligns text with checkbox */
}

/* ---------- PREVIEW STAGE ---------- */
/* Keep preview area flexible */
.home-preview {
  flex: 1;
  max-width: 900px;   /* limit width instead of height */
  margin: 0 auto;
  aspect-ratio: 16/9; /* keeps video proportional */
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  border-radius: 0;
}

/* Video fits inside without cropping */
.slideshow-media video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* instead of cover */
  background: #000;    /* letterbox effect */
  border-radius: 0; /* sharp edges */
}

.preview-stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}

/* Overlay backgrounds */
.slideshow-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* ---------- PREVIEW TEXT ---------- */
.home-info {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translateY(-50%);
  width: 40%;
  color: #fff;
  pointer-events: none;
}

.preview-text {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.preview-desc {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #f3f3f3;
}

/* ---------- INTERACTION LOGIC ---------- */
.lh-menu li.bg-intake:hover ~ .home-preview .slideshow-bg.intake,
.lh-menu li.bg-intake:hover ~ .home-info .preview-text.intake {
  opacity: 1;
}

.lh-menu li.bg-mealplan:hover ~ .home-preview .slideshow-bg.mealplan,
.lh-menu li.bg-mealplan:hover ~ .home-info .preview-text.mealplan {
  opacity: 1;
}

.lh-menu li.bg-checkin:hover ~ .home-preview .slideshow-bg.checkin,
.lh-menu li.bg-checkin:hover ~ .home-info .preview-text.checkin {
  opacity: 1;
}

.lh-menu li.bg-journal:hover ~ .home-preview .slideshow-bg.journal,
.lh-menu li.bg-journal:hover ~ .home-info .preview-text.journal {
  opacity: 1;
}

/* ---------- FOOTER ACCENT ---------- */
.foot-accent {
  width: 100%;
  height: 10px;
  background: var(--brand);
  margin-top: 4rem;
  border-radius: 0;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.lh-menu li,
.home-preview,
.home-info {
  animation: fadeInUp 0.8s ease both;
}

/********************************************
 PHASE 3 – FINAL LOGIN & REGISTER
********************************************/

/************** LOGIN **************/
#login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg-gradient);
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.login-container {
  width: 100%;
  max-width: 450px;
  padding: 16px;
}

.login-card {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--line);
  padding: 40px 32px;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.45);
  border-radius: 0;
}

.login-header h1 {
  font-family: "Knockout", sans-serif;
  letter-spacing: 1px;
  font-size: 60px;
  color: var(--brand);
  margin: 0 0 2px 0;
  text-align: center;
}

.login-header .sub {
  text-align: center;
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
}

/* Form */
fieldset {
  border: none;
  margin: 0;
  padding: 10px 0 0 0;
}

label {
  display: block;
  text-align: left;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 4px;
}

input:focus {
  outline: none;
  border-color: var(--brand);
  background: #151515;
}

/* Buttons */
.btn.login {
  background: var(--brand);
  color: #fff;
  border: none;
  width: 100%;
  padding: 12px 36px;
  font-family: "Knockout", sans-serif;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 0;
  transition: background var(--transition), transform var(--transition);

}

.btn.login:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

/* Links */
.link {
  display: inline-block;
  margin-top: 12px;
  color: var(--brand);
  text-decoration: none;
  transition: opacity var(--transition);
}

.link:hover {
  opacity: 0.8;
}

.divider {
  border: none;
  border-top: 1px solid #333;
  margin: 2rem 0;
}

.btn-outline {
  display: inline-block;
  background: none;
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: 10px 28px;
  font-family: "Knockout", sans-serif;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 1px;
  border-radius: 0;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Alternate link layout */
.alt-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

/************** REGISTER **************/
#register {
  min-height: 100vh;
  background: radial-gradient(1200px 600px at 20% 10%, rgba(237,26,59,0.12), transparent),
              linear-gradient(180deg, #000, #060606 60%, #000);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  display: grid;
  place-items: stretch;
}

.grid {
  display: grid;
  grid-template-columns: 40% 60%;
  height: 100vh;
}

/* Left panel */
.brand-pane {
  background: #720a0a;
  border-right: 1px solid #1b1b1b;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.brand-inner .badge {
  font-family: "Knockout", sans-serif;
  color: #fff;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.brand-inner h1 {
  font-family: "Knockout", sans-serif;
  font-size: 58px;
  color: var(--text);
  margin: 0.5rem 0 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 100;
}

.brand-inner p {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlights li {
  color: #ffffff;
  border-left: 3px solid var(--brand);
  padding-left: 10px;
  margin-bottom: 0.75rem;
}

/* Decorative stripe */
.brand-pane .stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--brand);
}

/* Right form panel */
.form-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient)
}

.form-pane .card {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid #222;
  padding: 3rem 3.5rem;
  width: 700px;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.45);
  border-radius: 0;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Card header */
.card-head h2 {
  font-family: "Knockout", sans-serif;
  text-transform: uppercase;
  font-size: 50px;
  color: var(--brand);
  margin: 0 0 8px;
  letter-spacing: 1px;
  font-weight: 100;
}

.card-head .sub {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.card-head .sub a {
  color: var(--brand);
  text-decoration: none;
  transition: opacity var(--transition);
}
.card-head .sub a:hover { opacity: 0.8; }

/* Form fields */
.field, .row, .col {
  width: 100%;
}

.row {
  display: flex;
  gap: 3rem;
}

.col {
  flex: 1;
}

input[type="email"],
input[type="password"],
input[type="text"], input, select {
  margin-bottom: 1.25rem;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  border-radius: 0;
  box-sizing: border-box;
  transition: border var(--transition), background var(--transition);
}

input:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  background: #151515;
}

/* Register button */
.btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 12px 36px;
  font-family: "Knockout", sans-serif;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 0;
  transition: background var(--transition), transform var(--transition);
  width: 100%;
}

.btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

/************** ONBOARDING RESPONSES **************/
.page-wrapper {
  max-width: 1100px;
  margin: 60px auto 200px;
  padding: 0 30px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.page-title1 {
  font-family: "Knockout", sans-serif;
  font-size: 70px;
  color: white;
  letter-spacing: 1px;
  padding-top: 55px;
  text-align: center;
  text-transform: uppercase;
}

.response-header {
  text-align: center;
  margin-bottom: 30px;
}

.client-name {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.questionnaire-title {
  color: #aaa;
  font-size: 16px;
  margin-top: 4px;
}

/* Alert for no responses */
.alert-message {
  text-align: center;
  padding: 20px;
  background: #111;
  border: 1px solid #333;
  color: #bbb;
  font-weight: 500;
  border-radius: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .4);
}

/* Response Card */
.response-card {
  background: #0f0f0f;
  border: 1px solid #222;
  box-shadow: 0 4px 16px rgba(0,0,0,.6);
  border-radius: 0; /* sharp corners */
  padding: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.response-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.6);
}

/* Table styling */
.response-table {
  width: 100%;
  border-collapse: collapse;
  color: #eee;
  font-size: 16px;
  margin-top: 10px;
}

.response-table th {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  background-color: #1a1a1a;
  border-bottom: 2px solid var(--brand);
  padding: 16px 18px;
  text-align: left;
}

.response-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #555555;
  
}

.response-table tr:hover {
  background-color: rgba(237, 26, 59, 0.05);
}

.question {
  width: 45%;
  font-weight: 600;
  color: #fff;
}

.answer {
  color: #ccc;
}

.answer-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.answer-list li {
  padding: 4px 0;
  border-left: 3px solid var(--brand);
  padding-left: 10px;
  margin-bottom: 4px;
  color: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  .page-title {
    font-size: 42px;
  }
  .response-table th, .response-table td {
    padding: 12px;
    font-size: 14px;
  }
  .question {
    width: 100%;
  }
}

/************** FORGOT PASSWORD **************/
.container.login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #330000, #1a0000 60%, #000);
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.users.form.content {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--line);
  padding: 40px 32px;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.45);
  border-radius: 0;
  text-align: center;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  justify-content: center;
}

/************** RESET PASSWORD **************/
.container.login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #330000, #1a0000 60%, #000);
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.users.form.content {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--line);
  padding: 40px 32px;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.45);
  border-radius: 0;
  text-align: center;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  justify-content: center;
}

/* Header & legend */
legend {
  font-family: "Knockout", sans-serif;
  font-size: 60px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.instruction {
  color: #ddd;
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

/* Form input */
.form-forgot-password input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #333;
  background: #111;
  color: #fff;
  font-size: 1rem;
  border-radius: 0;
  transition: border var(--transition), background var(--transition);
}

.form-forgot-password input[type="email"]:focus {
  outline: none;
  border-color: var(--brand);
  background: #151515;
}

/* Submit button */
.button-primary {
  background: var(--brand);
  color: #fff;
  border: none;
  width: 100%;
  padding: 12px 36px;
  font-family: "Knockout", sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 0;
  transition: background var(--transition), transform var(--transition);
  margin-top: 10px;
}

.button-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

/* Divider */
.hr-between-buttons {
  border: none;
  border-top: 1px solid #333;
  margin: 2rem 0;
}

/* Outline button */
.button-outline {
  display: inline-block;
  border: 1px solid var(--brand);
  color: var(--brand);
  background: none;
  padding: 10px 28px;
  font-family: "Knockout", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  transition: all var(--transition);
}

.button-outline:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  color: #fff;
}

/* Alignment fix */
.text-center {
  text-align: center;
}

/********************************************
 PHASE 4 – ONBOARDING / QUESTIONNAIRE (FIXED)
********************************************/

#responses-stepper {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  background: linear-gradient(180deg, #330000, #1a0000 60%, #000);
  min-height: 100vh;
  padding: 100px 60px;
  box-sizing: border-box;
}

#responses-stepper h3 {
  font-family: "Knockout", sans-serif;
  font-size: 70px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 8px;
}

#responses-stepper p,
#responses-stepper label,
#responses-stepper .option-label {
  font-family: 'Montserrat', sans-serif;
}

#responses-stepper p.text-muted {
  color: #ccc;
  margin-bottom: 30px;
}



/* === Header Controls === */
#responses-stepper select,
#responses-stepper button {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 0;
  cursor: pointer;
}

#responses-stepper select {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #ffffff !important;
  padding: 10px !important;
  font-size: 1rem !important;
  font-family: 'Montserrat', sans-serif !important;
  min-width: 220px !important;
  height: 42px !important;
  border-radius: 0 !important;
}

#responses-stepper select:focus {
  border-color: var(--brand);
  outline: none;
}

#responses-stepper .btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

#responses-stepper .btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

#responses-stepper .btn:disabled {
  background: #333;
  color: #777;
  cursor: not-allowed;
}

/* === Progress Bar === */
#responses-stepper #progress-bar {
  background: var(--brand);
  height: 8px;
  width: 0;
  transition: width 0.3s ease;
}

/* === Category Panels === */
#responses-stepper .cat-panel {
  display: block; /* ensure visibility until JS toggles */
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid #333;
  padding: 40px 30px;
  margin-top: 20px;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.45);
}

#responses-stepper .cat-panel:first-of-type {
  display: block;
}

#responses-stepper .q-block {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: #111;
  border: 1px solid #333;
  border-radius: 0;
}

/* === Question Label === */
#responses-stepper .q-block label {
  color: #fff;
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

/* === Options === */
#responses-stepper .options {
  display: grid;
  gap: 10px;
}

#responses-stepper .option {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  column-gap: 10px;
}

#responses-stepper .option input[type="radio"],
#responses-stepper .option input[type="checkbox"] {
  accent-color: var(--brand);
  width: 18px;
  height: 18px;
}

#responses-stepper .option-label {
  color: #eee;
  cursor: pointer;
  font-size: 1rem;
}

/* === Text and Number Inputs === */
#responses-stepper input[type="text"],
#responses-stepper input[type="number"],
#responses-stepper input[type="email"],
#responses-stepper input[type="date"],
#responses-stepper textarea {
  background: #111;
  color: #fff;
  border: 1px solid #333;
  border-radius: 0;
  padding: 12px 14px;
  width: 100%;
  transition: border 0.2s, background 0.2s;
}

#responses-stepper input:focus,
#responses-stepper textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #151515;
}

/* === Range Input === */
#responses-stepper input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
}

/* === Output (slider value) === */
#responses-stepper output {
  color: var(--brand);
  font-weight: 600;
  text-align: center;
  justify-content: center;
}

/* === Bottom Buttons === */
#responses-stepper .btn-success {
  color: #fff;
  border: white;
  padding: 10px 20px;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

#responses-stepper .btn-success:hover {
  background: var(--brand-dark);
}
