:root{
  --black:#050505;
  --white:#ffffff;
  --cream:#f5f4ef;
  --line:#d8d8d2;
  --gray:#6d6d6d;
  --shadow:0 10px 30px rgba(0,0,0,.06);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html, body{
  width:100%;
  min-height:100%;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:var(--cream);
  color:var(--black);
  line-height:1.5;
}

a{
  text-decoration:none;
  color:inherit;
}

/* ---------------------- */
/*   CONSISTENT NAV BAR   */
/* ---------------------- */

.site-header{
  background:var(--cream);
  border-bottom:1px solid var(--line);
  padding:25px 7%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:sticky;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
}

.brand {
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  gap: 6px;
}

.brand-mark span {
  width: 6px;
  height: 28px;
  background: var(--black);
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-text span:first-child {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text span:last-child {
  font-size: 32px;
  font-weight: 800;
}


.site-nav{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.site-nav a{
  color:var(--black);
  border:1px solid var(--black);
  padding:12px 18px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  transition:.25s;
}

.site-nav a:hover,
.site-nav a.active{
  background:var(--black);
  color:white;
}

/* ---------------------- */
/*        PAGE LAYOUT     */
/* ---------------------- */

.page-shell{
  width:min(1200px,90%);
  margin:50px auto 80px;
}

/* HERO SECTION (Homepage) */

.hero{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:24px;
  margin-bottom:40px;
}

.hero-content{
  background:white;
  border:1px solid var(--line);
  border-radius:28px;
  padding:50px;
  box-shadow:var(--shadow);
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:.15em;
  font-size:12px;
  font-weight:800;
  color:var(--gray);
  margin-bottom:18px;
}

.hero h1{
  font-size:clamp(50px,8vw,90px);
  line-height:.9;
  margin-bottom:25px;
  letter-spacing:-4px;
}

.hero-text{
  font-size:18px;
  color:#333;
  max-width:650px;
}

.hero-card{
  background:black;
  border-radius:28px;
  position:relative;
  overflow:hidden;
  min-height:420px;
  color:white;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.hero-stripe{
  position:absolute;
  background:white;
}

.stripe-one{
  right:60px;
  top:0;
  width:55px;
  height:200px;
}

.stripe-two{
  right:140px;
  top:0;
  width:55px;
  height:150px;
}

.hero-block{
  position:absolute;
  right:0;
  bottom:0;
  width:80px;
  height:180px;
  background:white;
}

.hero-card p{
  position:absolute;
  left:30px;
  bottom:30px;
  font-size:14px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.15em;
}

.button-row{
  display:flex;
  gap:12px;
  margin-top:30px;
  flex-wrap:wrap;
}

.btn{
  padding:14px 20px;
  border-radius:999px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:13px;
}

.btn.primary{
  background:black;
  color:white;
}

.btn.secondary{
  border:1px solid black;
  color:black;
}

/* DASHBOARD CARDS */

.dashboard-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.card{
  background:white;
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px;
  box-shadow:var(--shadow);
}

.card h2{
  margin-bottom:15px;
  font-size:28px;
}

.card p{
  color:#444;
  margin-bottom:20px;
}

.stat{
  border-top:1px solid var(--line);
  padding-top:15px;
  font-size:18px;
  font-weight:900;
}

.text-link{
  display:inline-block;
  margin-top:15px;
  color:black;
  font-weight:800;
}

/* ---------------------- */
/*   CHECKLIST PAGE CSS   */
/* ---------------------- */

.page-intro{
  margin-bottom:30px;
}

.page-intro h1{
  font-size:48px;
  margin-bottom:15px;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.form-grid label{
  font-weight:700;
  font-size:14px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.form-grid input{
  padding:12px;
  border-radius:10px;
  border:1px solid var(--line);
  background:white;
}

.panel{
  background:white;
  border:1px solid var(--line);
  border-radius:24px;
  padding:25px;
  box-shadow:var(--shadow);
  margin-bottom:40px;
}

.shift-tabs{
  display:flex;
  gap:10px;
  margin-bottom:25px;
}

.shift-tab{
  padding:10px 18px;
  border-radius:999px;
  border:1px solid black;
  background:white;
  font-weight:800;
  cursor:pointer;
}

.shift-tab.active{
  background:black;
  color:white;
}

.checklist-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:25px;
}

.progress-card{
  background:white;
  border:1px solid var(--line);
  padding:12px 18px;
  border-radius:14px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:180px;
}

.progress-track{
  width:100%;
  height:8px;
  background:var(--line);
  border-radius:999px;
  overflow:hidden;
}

.progress-fill{
  height:100%;
  width:0%;
  background:black;
  transition:width .3s ease;
}

.checklist-actions{
  display:flex;
  gap:12px;
  margin-bottom:25px;
}

#checklistContainer{
  margin-bottom:30px;
}

.notes-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:30px;
}

.notes-grid textarea{
  width:100%;
  min-height:120px;
  padding:12px;
  border-radius:10px;
  border:1px solid var(--line);
  background:white;
}

.submit-row{
  margin-top:30px;
  text-align:right;
}

/* ---------------------- */
/*        FOOTER          */
/* ---------------------- */

.site-footer{
  border-top:1px solid var(--line);
  text-align:center;
  padding:25px;
  color:var(--gray);
}
/* ✅ Fix checklist layout */
#checklistContainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Each checklist item on its own line */
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

/* Prevent weird inline wrapping */
.checklist-item label {
  display: block;
  line-height: 1.4;
  width: 100%;
}

/* Clean checkbox alignment */
.checklist-item input[type="checkbox"] {
  margin-top: 4px;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.checklist-item label {
  display: block;
  line-height: 1.4;
  cursor: pointer;
}

.checklist-item input[type="checkbox"] {
  margin-top: 4px;
}
