/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}

/* Warna utama */
:root {
  --primary-bg: #ffffff;
  --primary-text: #010101;
  --accent-blue: #001a6d;
  --btn-blue: #001a6d;
  --btn-blue-hover: #00258c;
}

/* Body */
body {
  background: var(--primary-bg);
  color: var(--primary-text);
  overflow-x: hidden;
  font-size: 14px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 10px;
  background: #310f28;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-nav a {
  color: var(--primary-bg);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.navbar-nav a span {
  color: #007bff;
  font-weight: 500;
}

/* Container */
.container {
  max-width: 500px;
  margin: 20px auto 100px;
  padding: 0 25px;
  align-items: center;
}

/* Hero image */
.container img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}

/* Judul klaim */
h4 {
  font-size: 20px;
  color: #333;
  text-align: center;
  margin: 20px 0;
}

/* Form */
label {
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0 5px;
  display: block;
  color: var(--primary-text);
}

input[type="text"],
input[type="tel"],
input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: var(--accent-blue);
}

/* Input khusus dengan icon */
input[name="name"] {
  background: url("https://static.thenounproject.com/png/identity-card-icon-310180-512.png")
    no-repeat 12px center;
  background-size: 18px;
  padding-left: 40px;
}

input[name="phone"] {
  background: url("https://flagcdn.com/w20/my.png") no-repeat 12px center;
  background-size: 24px 16px;
  padding-left: 45px;
}

button,
.btn {
  display: block;
  width: 60%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: var(--btn-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  text-align: center;
  margin: 0 auto 20px; /* <-- tambahin 20px bawah */
}

button:hover,
.btn:hover {
  background: var(--btn-blue-hover);
}

select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
  background-color: #fff;
}

select:focus {
  outline: none;
  border-color: var(--accent-blue);
}

/* Flash message */
.flash p {
  background: #ffe5e5;
  color: #b30000;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  margin-bottom: 15px;
}

/* Footer */
footer {
  width: 100%;
  background: #fff;
  padding: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  text-align: center;
  border-top: 1px solid #ddd;
}

footer img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Responsif */
@media (max-width: 480px) {
  .navbar-nav a {
    font-size: 14px;
  }

  .container h4 {
    font-size: 16px;
  }

  button,
  .btn {
    width: 70%; /* full di layar kecil */
    font-size: 14px;
  }

  input[name="name"] {
    background-size: 14px;
    padding-left: 34px;
  }

  input[name="phone"] {
    background-size: 20px 14px;
    padding-left: 38px;
  }
}

/* Tambahkan CSS ini di dalam tag <style> */
.record-box {
  width: 100%;
  max-width: 500px;
  margin: 100px auto 5px;
  background: #cec0c0;
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 50px;
  text-align: center; /* ini kunci biar konten ke tengah */
}

.list-box {
  max-height: 163px;
  overflow-y: auto;
  scrollbar-width: none; /* Untuk Firefox */
  -ms-overflow-style: none; /* Untuk Internet Explorer dan Edge */
}

.list-box::-webkit-scrollbar {
  display: none; /* Untuk Chrome, Safari dan Opera */
}

.list .item {
  display: flex;
  align-items: center;
  padding: 5px;
  border: 1px solid #00258c;
  border-radius: 5px;
}

.record_logo {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  margin-left: 5px;
}

.record_logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.center {
  flex: 1;
}

.center .h1 {
  color: var(--accent-yellow);
  font-size: 12px;
  margin-bottom: 4px;
}

.center .h2 {
  color: var(--accent-yellow);
  font-size: 14px;
  font-weight: bold;
}
