/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #111;
    margin: 0;
    padding: 20px;
    text-align: center;
}

h2, h3 {
    color: #f1eeee;
}

/* Dropdown Container */
.dropdown-container {
    margin: 20px auto;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

label {
    font-weight: bold;
    margin-right: 10px;
}

select {
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #007bff;
    font-size: 16px;
    background: #fff;
    color: #333;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18"><path fill="%23007bff" d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    padding-right: 35px;
}

select:hover, select:focus {
    border-color: #0056b3;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 400px;
    text-align: left;
}

.modal p {
    font-size: 18px;
    font-weight: bold;
}

.modal label {
    display: block;
    margin: 10px 0 5px;
}

.modal input, .modal select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Button Styles */
button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

button:hover {
    background: #0056b3;
}

.close-btn {
    background: #ff4d4d;
    margin-left: 10px;
}

.close-btn:hover {
    background: #cc0000;
}

/* Chart Table */
table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

table, th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

th {
    background: #007bff;
    color: white;
}

td {
    background: #f9f9f9;
}

tr:hover td {
    background: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 600px) {
    .modal {
        width: 90%;
    }
}