/* ==========================================================
   MBH CARE BRIGHT PRO v3.2 — AUTO FIX FOR RAW HTML STRUCTURE
   Elegan • Responsif • Tanpa ubah HTML
   ========================================================== */

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(160deg, #e9f2ff, #cfdfff);
  color: #001a33;
  margin: 0;
  padding: 0;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #004c9e;
  padding: 12px 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
header img {
  width: 36px;
  height: 36px;
  margin-right: 10px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* Container utama */
.container {
  max-width: 900px;
  margin: 80px auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 40px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  animation: fadeIn 0.6s ease;
}

/* Judul */
h2, h3 {
  text-align: center;
  color: #003366;
  font-weight: 700;
  margin-bottom: 20px;
}
h2::after, h3::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #ffd700);
  margin: 10px auto 0;
  border-radius: 3px;
}

/* Formulir */
label {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
  color: #003366;
}

input, select {
  width: 100%;
  padding: 11px 15px;
  border-radius: 10px;
  border: 1px solid #ccd5e0;
  font-size: 15px;
  color: #001a33;
  background: #f8fbff;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}
input:focus, select:focus {
  border-color: #007bff;
  outline: none;
  background: #fff;
  box-shadow: 0 0 6px rgba(0,123,255,0.25);
}

/* Tombol */
button, input[type="button"], input[type="submit"] {
  background: linear-gradient(135deg, #007bff, #339dff);
  border: none;
  border-radius: 10px;
  color: #fff;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin: 8px 4px 0 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}
button:hover, input[type="button"]:hover, input[type="submit"]:hover {
  background: linear-gradient(135deg, #339dff, #66b3ff);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

/* Tabel */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  margin-top: 20px;
  overflow: hidden;
}
th, td {
  padding: 12px 14px;
  border-bottom: 1px solid #e6e6e6;
  text-align: center;
}
th {
  background: #007bff;
  color: #fff;
  font-weight: 600;
}
tr:hover td {
  background: #eaf4ff;
  transition: 0.25s;
}

/* Total text */
.total, p {
  text-align: right;
  color: #444;
  font-weight: 600;
  margin-top: 10px;
}

/* Footer */
footer {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin: 40px 0 25px;
}

/* Animasi */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 25px;
    margin: 50px 15px;
  }
  input, select {
    font-size: 14px;
  }
  button {
    width: 100%;
    margin-top: 10px;
  }
  table {
    font-size: 14px;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }
}

/* =============================
   🔧 MBH Care Minor UI Fix v3.2.1
   ============================= */

/* Teks di tabel (cek.html) jadi hitam dan jelas */
table, th, td {
  color: #000 !important;
}

/* Link navigasi atas (tanpa underline) */
header a {
  text-decoration: none;
  color: #004c9e;
  font-weight: 600;
  margin: 0 12px;
  transition: color 0.3s ease, transform 0.3s ease;
}

header a:hover {
  color: #007bff;
  transform: translateY(-2px);
}

/* Tambahan kontras di background untuk halaman cek */
.container {
  background: #ffffff !important;
  color: #000 !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* Responsif di HP */
@media (max-width: 768px) {
  header a {
    font-size: 14px;
    margin: 0 8px;
  }
}

