/* styles.css - custom styles for Tes Kematangan Pisang */
:root{
  --yellow:#FBE870;
  --yellow-600:#FAD02C;
  --black:#111;
  --white:#ffffff;
  --muted:#6b6b6b;
}

/* Reset minor */
html,body{
  height:100%;
}

body{
  background:var(--white);
  color:var(--black);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-bottom:40px;
}

/* header wave */
.header-wave{
  background: linear-gradient(180deg,var(--yellow) 0%, rgba(251,232,112,0.95) 60%);
  position: relative;
  padding: 2.5rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-bottom:1.5rem;
}

/* title card */
.header-title{
  max-width:1100px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

/* small logo circle */
.logo-circle{
  width:64px;
  height:64px;
  border-radius:999px;
  background:linear-gradient(135deg,#fff8dc,#fff);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight:700;
  color:var(--black);
}

/* svg wave position */
.header-wave svg{
  position:absolute;
  bottom:-1px;
  left:0;
  width:100%;
  height:60px;
}

/* card accent */
.card-accent{
  border-radius:16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.03);
}

/* table row image */
.thumb{
  width:80px;
  height:60px;
  object-fit:cover;
  border-radius:8px;
  border:1px solid rgba(0,0,0,0.06);
}

/* small muted text */
.small-muted{
  color:var(--muted);
  font-size:0.9rem;
}

/* camera modal sizing */
#cameraPreview{
  width:100%;
  height:320px;
  background:#000;
  object-fit:cover;
  border-radius:8px;
}

/* form buttons */
.btn-yellow{
  background:var(--yellow);
  border-color:var(--yellow);
  color:var(--black);
}
.btn-yellow:hover{
  background:var(--yellow-600);
  border-color:var(--yellow-600);
  color:var(--black);
}

/* small layout tweaks for forms */
.form-container{
  max-width:820px;
  margin: 1.5rem auto;
}

/* footer space for wave */
.footer-wave{
  margin-top:3rem;
}

/* responsive */
@media (max-width:576px){
  .header-title { flex-direction:column; align-items:flex-start; gap:.5rem; }
  .logo-circle{ width:52px; height:52px; }
}
