/* ---- Container Box ---- */
.aqi-box {
    max-width: 460px;
    background: #ffffff;
    margin: 20px auto;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0px 8px 35px rgba(0, 0, 0, 0.12);
    text-align: center;
    font-family: "Poppins", Arial, sans-serif;
    transition: 0.3s;
}

/* Title */
.aqi-box h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #222;
}

/* Input Box */
#aqi_input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #d1d1d1;
    font-size: 17px;
    margin-bottom: 20px;
    outline: none;
    transition: 0.3s;
}

#aqi_input:focus {
    border-color: #0066ff;
    box-shadow: 0px 0px 8px rgba(0, 102, 255, 0.3);
}

/* Button */
#aqi_btn {
    width: 100%;
    background: linear-gradient(135deg, #007bff, #005ad4);
    color: white;
    padding: 14px;
    font-size: 18px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

#aqi_btn:hover {
    background: linear-gradient(135deg, #005ad4, #003c9d);
}

/* Result Container */
#aqi_result {
    margin-top: 25px;
}

/* Result Card */
.result-card {
    background: #f7f9ff;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #e1e6ff;
    box-shadow: 0px 4px 18px rgba(0, 0, 0, 0.05);
}

.result-card h3 {
    margin: 5px 0 12px;
    color: #333;
}
.cig-box {
    background: #ffffff;
    padding: 12px 18px;
    margin-top: 8px;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #005ad4;
    border: 2px dashed #005ad4;
}

/* Error message */
.error {
    color: red;
    font-size: 16px;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .aqi-box {
        padding: 25px;
        margin: 30px auto;
    }

    .aqi-box h2 {
        font-size: 24px;
    }
}
