/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 50px;
    height: 100vh;
    width: 100%;
    background-color: #e46c32
}

.searcher {
    text-align: center;
    background: #4CB190;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #8f2B40;
}

input {
    width: 80%;
    padding: 10px;
    border: 2px solid #8f2B40;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 16px;
}

button {
    background-color: #8f2B40;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #b08868ad;
}

.options {
    margin-bottom: 15px;
    color: #8f2B40;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.options input[type="checkbox"] {
    width: auto;
    margin-bottom: 0;
    cursor: pointer;
}

.options input[type="checkbox"]:hover {
    transform: scale(1.1);
}

.options label {
    cursor: pointer;
}

.options input[type="checkbox"]:checked {
    accent-color: #8f2B40;

}

#error-msg {
    color: rgb(218, 18, 18);
    margin-bottom: 10px;
    font-weight: bold;
}

#chartCanvas {
    width: 100%;
    height: 100%;
    margin-top: 20px;
}

.chart {
    text-align: center;
    background: #edede9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    height: 80%;
}
