/* === Toàn bộ trang === */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background: #dceefb;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  color: #000;
}

/* === Blob nền động === */
.wallpaper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
}

.wallpaper > div {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out alternate;
}

.green-blob {
  width: 400px;
  height: 400px;
  background: #a8e6cf;
  top: 10%;
  left: -10%;
}

.blue-blob {
  width: 500px;
  height: 500px;
  background: #b3e5fc;
  top: 50%;
  right: -15%;
}

.white-blob {
  width: 300px;
  height: 300px;
  background: #ffffff;
  bottom: -10%;
  left: 30%;
}

@keyframes float {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(30px, -30px); }
}

/* === Khung chính tra cứu === */
.lookup-container {
  position: relative;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 30px 25px;
  width: 100%;
  max-width: 450px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
  color: #000;
}

/* === Tiêu đề === */
h1 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
  color: #1a4b7a;
}

/* === Lựa chọn tra cứu === */
.lookup-mode {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.lookup-mode label {
  font-weight: bold;
  color: #1a4b7a;
  font-size: 14px;
}

/* === Input / Select đồng bộ === */
input,
select {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #7f9db9;
  background: linear-gradient(to bottom, #ffffff, #eaf2f9);
  box-shadow: inset 1px 1px 2px rgba(0,0,0,0.05);
  transition: border-color 0.2s ease-in-out;
  outline: none;
}

input:focus,
select:focus {
  border-color: #4682b4;
}

/* === Output box hiển thị kết quả === */
output {
  display: inline-block;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #c0c0c0;
  padding: 6px 12px;
  border-radius: 6px;
  min-width: 120px;
  min-height: 20px;
  font-size: 14px;
  margin-top: 4px;
  color: #000;
  box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.6),
              inset -1px -1px 2px rgba(0, 0, 0, 0.05);
}

/* === Nhãn kết quả === */
p {
  margin: 12px 0 6px;
  font-weight: 500;
  font-size: 14px;
  color: #1a4b7a;
}

/* === Ngăn cách nhẹ === */
hr {
  border: none;
  border-top: 1px solid #c8d4e3;
  margin: 20px 0;
}
