:root {
    --coklat: #4F382B;
    --emas: #D4AF37;
    --bg: #fdf4dc;
}

body {
    margin: 0;
    padding: 30px 20px;
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--coklat);
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
}
header img {
    width: 150px;
    margin-bottom: 20px;
}
header p {
    font-size: 15px;
    margin: 5px 0 25px;
    color: #5c493a;
}

.login-box {
    background: #f2e3c3;
    padding: 25px;
    border-radius: 12px;
    max-width: 380px;
    margin: 0 auto;  /* ini yang bikin form benar-benar di tengah */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.login-box input {
    width: 100%;         /* isi penuh parent */
    box-sizing: border-box; /* biar padding gak dorong keluar */
    padding: 10px 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.login-box button {
    background: var(--emas);
    border: none;
    color: white;
    font-size: 16px;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
}
.login-box button:hover {
    background: #c59e2f;
}
.error {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}
.bottom-links {
    margin-top: 15px;
    text-align: center;
}
.bottom-links a {
    display: block;
    font-size: 14px;
    color: #4F382B;
    text-decoration: none;
    margin: 3px 0;
}
footer {
    margin-top: 50px;
    font-size: 13px;
    color: #888;
    text-align: center;
}
.sambutan {
    font-size: 15px;
    background: #fff3d0;
    border: 1px solid #dab97c;
    padding: 12px;
    margin-bottom: 25px;
    border-radius: 8px;
    color: #4F382B;
    text-align: center;
}
.sambutan {
    background: #fff3d0;
    border: 1px solid #dab97c;
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.sambutan h2 {
    margin-top: 0;
    font-size: 20px;
    color: var(--coklat);
}

.sambutan p {
    font-size: 15px;
    line-height: 1.6;
    color: #5c493a;
    margin: 10px 0 0;
}
.btn-logout {
    display: inline-block;
    background-color: #c0392b;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}
.btn-logout:hover {
    background-color: #a93226;
}
.btn-action {
    display: block;
    background-color: #4F382B;
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-action:hover {
    background-color: #3e2f23;
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    padding: 30px;
    max-width: 800px;
    margin: auto;
}

.menu-box {
    background-color: #fdf5e6;
    border: 2px solid var(--logo-gold);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #4F382B;
    font-weight: bold;
    transition: all 0.3s ease;
    min-height: 90px;
}

.menu-box:hover {
    background-color: #fff9e0;
    transform: scale(1.03);
}

.menu-title {
    font-size: 18px;
    margin-bottom: 6px;
}

.menu-desc {
    font-size: 14px;
    color: #6c5b4c;
    font-weight: normal;
}
.menu-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.menu-box {
    flex: 1 1 calc(50% - 20px); /* 2 kolom */
    background-color: #fff8e1;
    border: 2px solid var(--logo-gold);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    text-decoration: none;
    color: #4F382B;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 140px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.menu-box:hover {
    background-color: #fff2c5;
    transform: scale(1.02);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.menu-title {
    font-size: 18px;
    margin-bottom: 4px;
}

.menu-desc {
    font-size: 13px;
    font-weight: normal;
    color: #6c5b4c;
}

/* Responsif mobile: full width 1 kolom */
@media (max-width: 600px) {
    .menu-box {
        flex: 1 1 100%;
    }
}
.menu-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

.menu-item {
  background-color: #fff8e1;
  border: 2px solid var(--logo-gold);
  border-radius: 14px;
  width: 45%;
  min-width: 140px;
  padding: 16px 10px;
  text-align: center;
  color: #4F382B;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.menu-item:hover {
  background-color: #fff2c5;
  transform: scale(1.03);
}

.menu-item .icon {
  font-size: 38px;
  margin-bottom: 6px;
}

.menu-item .title {
  font-size: 16px;
  font-weight: bold;
}

.menu-item .desc {
  font-size: 13px;
  color: #6c5b4c;
  margin-top: 4px;
}

/* Responsive Mobile: 100% width */
@media (max-width: 600px) {
  .menu-item {
    width: 100%;
  }
}
.top-header {
    background: #fff6dc;
    padding: 20px 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e8d6ac;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}


.top-header h2 {
    margin: 0;
    font-size: 22px;
    color: #4F382B;
}

.top-header p {
    margin: 6px 0 0;
    color: #6c5b4c;
}

.menu-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 tombol per baris */
  gap: 16px;
  padding: 20px;
  max-width: 800px;
  margin: auto;
}


.menu-item {
  background-color: #fff8e1;
  border: 2px solid var(--emas); /* Gunakan variabel emas */
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
  color: var(--coklat);
  font-weight: bold;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  transition: all 0.25s ease-in-out;
}

.menu-item:hover {
  background-color: #fff3cb;
  transform: scale(1.03);
}

.menu-item .icon {
  font-size: 30px;
  margin-bottom: 8px;
}

.menu-item .title {
  font-size: 15px;
  font-weight: 600;
}

.menu-item .desc {
  font-size: 12px;
  color: #6c5b4c;
  font-weight: normal;
}

/* Responsive HP kecil tetap 3 kolom */
@media (max-width: 600px) {
  .menu-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .menu-item {
    padding: 12px 6px;
    border-radius: 10px;
  }

  .menu-item .icon {
    font-size: 26px;
  }

  .menu-item .title {
    font-size: 13px;
  }

  .menu-item .desc {
    font-size: 10px;
  }
}
.top-header-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff6dc;
  padding: 15px 20px;
  border-bottom: 1px solid #e8d6ac;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  gap: 12px;
}

.top-header-flex img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.header-text h2 {
  margin: 0;
  font-size: 20px;
  color: var(--coklat);
}

.header-text p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #6c5b4c;
}
.top-header {
    background: #fff6dc;
    padding: 25px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e8d6ac;
    text-align: center;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.top-header h2 {
    margin: 0;
    font-size: 20px;
    color: var(--coklat);
}

.top-header p {
    margin-top: 6px;
    color: #6c5b4c;
    font-size: 15px;
}

.menu-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 tombol per baris */
  gap: 14px;
  padding: 16px;
  max-width: 1000px;
  margin: auto;
}

.menu-item {
  background-color: #fff8e1;
  border: 2px solid var(--emas);
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
  color: var(--coklat);
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  transition: all 0.25s ease-in-out;
}

.menu-item:hover {
  background-color: #fff3cb;
  transform: scale(1.03);
}

.menu-item .icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.menu-item .title {
  font-size: 15px;
  font-weight: 600;
}

.menu-item .desc {
  font-size: 12px;
  color: #6c5b4c;
  font-weight: normal;
}

.menu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* 1 per baris di HP */
  gap: 16px;
  padding: 20px;
  max-width: 800px;
  margin: auto;
}


  .menu-item {
    padding: 12px 8px;
    border-radius: 10px;
  }

  .menu-item .icon {
    font-size: 26px;
  }

  .menu-item .title {
    font-size: 13px;
  }

  .menu-item .desc {
    font-size: 10px;
  }
}
.top-header-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff6dc;
  padding: 15px 20px;
  border-bottom: 1px solid #e8d6ac;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  gap: 12px;
}

.top-header-flex img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.header-text h2 {
  margin: 0;
  font-size: 20px;
  color: var(--coklat);
}

.header-text p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #6c5b4c;
}
