body {
    font-family: Arial, sans-serif;
    margin: 20px;
    padding: 10px;
}

h2 {
    text-align: center;
}

form input, form textarea {
    display: block;
    margin: 10px 0;
    padding: 8px;
    width: 100%;
    max-width: 400px;
}

form button {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: left;
}

a {
    text-decoration: none;
    color: #007BFF;
    margin-right: 10px;
}

a:hover {
    text-decoration: underline;
}



/* Override some default styles in Chrome and Firefox */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 25px;  /* For custom dropdown arrow */
}




/* Style the select dropdown */
select {
    font-size: 14px;
    padding: 8px;
    color: #333;  /* Text color */
    
    border: 1px solid #ccc;
    width: 100%;
    max-width: 400px;
}

/* Style the options in the dropdown */
select option {
    color: #333;  /* Text color */
    background-color: #fff;  /* Option background color */
}

select:focus {
    border-color: #4CAF50;  /* Focused border color */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);  /* Focus shadow */
}

/* Responsive Adjustments */
@media screen and (max-width: 600px) {
    body {
        margin: 10px;
        padding: 10px;
    }

    form input, 
    form textarea, 
    form select,
    select {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    form {
        padding: 15px;
        margin: 0 auto;
    }

    h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    form button {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Ensure improved mobile readability */
@media screen and (max-width: 400px) {
    body {
        font-size: 14px;
    }

    form {
        padding: 10px;
    }

    form input, 
    form textarea, 
    form select {
        padding: 8px 12px;
    }
}