/* === TOÀN BỘ TRANG === */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
    background: #0d1117;
    overflow-x: hidden;
    position: relative;
    color: #c9d1d9;
}

/* === 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.4;
    animation: float 20s infinite ease-in-out alternate;
}

.green-blob {
    width: 400px;
    height: 400px;
    background: #1a4b2a;
    top: 10%;
    left: -10%;
}

.blue-blob {
    width: 500px;
    height: 500px;
    background: #1f3a5f;
    top: 50%;
    right: -15%;
}

.white-blob {
    width: 300px;
    height: 300px;
    background: #161b22;
    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(22, 27, 34, 0.85);
    border: 1px solid #30363d;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    padding: 30px 25px;
    width: 100%;
    max-width: 450px;
    margin: 20px auto;
    z-index: 1;
    color: #c9d1d9;
}

/* === TIÊU ĐỀ === */
h1 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    color: #58a6ff;
}

/* === 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: #f0f6fc;
    font-size: 14px;
}

/* === Ô NHẬP LIỆU (Input / Select) === */
input,
select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #30363d;
    background: #0d1117;
    color: #c9d1d9;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    outline: none;
    box-sizing: border-box;
}

input:focus,
select:focus {
    border-color: #58a6ff;
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.3);
}

/* === Ô HIỂN THỊ KẾT QUẢ (Output) === */
output {
    display: inline-block;
    background: rgba(13, 17, 23, 0.8);
    border: 1px solid #30363d;
    padding: 6px 12px;
    border-radius: 6px;
    min-width: 120px;
    min-height: 20px;
    font-size: 14px;
    margin-top: 4px;
    color: #c9d1d9;
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.05),
                inset -1px -1px 2px rgba(0, 0, 0, 0.5);
}

/* === NHÃN KẾT QUẢ === */
p {
    margin: 12px 0 6px;
    font-weight: 500;
    font-size: 14px;
    color: #f0f6fc;
}

/* === ĐƯỜNG KẺ NGĂN CÁCH === */
hr {
    border: none;
    border-top: 1px solid #30363d;
    margin: 20px 0;
}