/* ===== Reset ringan ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: #111;                 /* teks default putih agar kontras */
  background: #fff;         /* WARNA DASAR MERAH */
}

/* ===== Header 3 kolom ===== */
.rc-header {
  display: grid;
  grid-template-columns: 200px 1fr 200px; /* kiri 200, tengah fleksibel, kanan 200 */
  gap: 16px;
  align-items: center;
  padding: 12px 10%;
}

.rc-h-left, .rc-h-center, .rc-h-right { min-height: 200px; display: flex; align-items: center; }

.rc-h-left { justify-content: flex-start; }
.rc-h-center { justify-content: center; flex-direction: column; text-align: center; min-height: 200px; }
.rc-h-right { justify-content: flex-end; }

/* Kotak logo placeholder 200x200 */
.rc-logo {
  display: inline-flex;
  width: 200px; height: 200px;
  align-items: center; justify-content: center;
  background: #f3f3f3;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #666;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Jika pakai gambar logo */
.rc-logo-img img {
  display: block;
  width: 200px; height: 200px;
  object-fit: contain;
}

/* Header title lebih besar */
.rc-site-title { 
  margin: 0; 
  font-size: 5rem;            /* DIBESARKAN */
  line-height: 1.1;
  color: grey;                 /* pastikan kontras di background merah */
}
.rc-site-subtitle { 
  margin: 6px 0 0; 
  color: maroon;              /* sedikit lebih muda dari putih */
  font-size: 1rem; 
}

/* ===== Divider ===== */
.rc-divider {
  height: 1px;
  background: rgba(255,255,255,0.35);  /* divider tipis di atas merah */
}

/* ===== Nav horizontal ===== */
.rc-nav {
  padding: 4px 10%;
  background: #b30000
}

.rc-nav ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; 
  gap: 16px;
  justify-content: center;      /* MENU DI TENGAH */
}

.rc-nav a {
 /* display: inline-block;
  padding: 8px 12px;
  text-decoration: none;*/
  color: #fff;                  /* kontras dengan merah */
  border-radius: 3px;
}
.rc-nav a:hover,
.rc-nav a:focus {
  background: rgba(255,255,255,0.12);
}

/* ===== Kontainer konten ===== */
/* Sesuai permintaan: margin kiri/kanan masing-masing 10% */
.rc-container {
  margin: 20px 10%;            /* MARGIN 10% kiri/kanan */
  padding: 18px;
  min-height: 50vh;
  background: #fff;            /* kotak isi putih agar nyaman dibaca */
  color: #111;                 /* teks isi hitam */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* ===== Flash messages ===== */
.rc-flashes { display: grid; gap: 8px; margin-bottom: 16px; }
.rc-flash {
  padding: 10px 12px; border-radius: 6px;
  background: #f6f6f6; border: 1px solid #e5e5e5;
}
.rc-flash-success { border-color: #c6f6d5; background: #f0fff4; }
.rc-flash-error, .rc-flash-danger { border-color: #fed7d7; background: #fff5f5; }
.rc-flash-warning { border-color: #fefcbf; background: #fffff0; }

/* ===== Footer ===== */
.rc-footer {
  padding: 16px 10%;
  color: #ffe6e6;               /* halus di atas merah */
  border-top: 1px solid rgba(255,255,255,0.25);
  text-align: center;
}

/* ===== Responsif ringan ===== */
@media (max-width: 900px) {
  .rc-header {
    grid-template-columns: 1fr; /* tumpuk jadi 1 kolom */
    justify-items: center;
  }
  .rc-h-left, .rc-h-center, .rc-h-right {
    min-height: auto;
  }
  .rc-logo, .rc-logo-img img {
    width: 140px; height: 140px;
  }
  .rc-site-title {
    font-size: 2.25rem;         /* sedikit lebih kecil di mobile */
  }
  .rc-container {
    margin: 16px 6%;            /* sedikit dikencangkan di mobile */
    padding: 16px;
  }
}
