body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

h2 {
    margin-top: 40px;
    color: #2c3e50;
    text-align: center;
    font-size: 1.8em;
}

.rating-link {
    width: 90%;
    margin: 20px auto;
}

.rating-link a {
    display: inline-block;
    margin: 10px auto 20px auto;
    text-decoration: none;
    color: #ffffff;
    background-color: #3498db;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.rating-link a:hover {
    background-color: #1abc9c;
}

table {
    width: 90%;
    margin: 40px auto;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

table th, table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #34495e;
    color: #ffffff;
    font-size: 1em;
}

table tr {
    transition: background-color 0.3s ease;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #dff9fb;
}

#fullname {
    text-align: left;
    width: 65%;
}

#filterForm {
    width: 90%;
    margin: 20px auto;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-direction: column;
}

#filterForm .filterForm-row {
    width: 100%;
}

#filterForm label {
    font-size: 1em;
    font-weight: bold;
    color: #34495e;
    margin-right: 10px;
}

#filterForm select,
#filterForm input {
    font-size: 1em;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#filterForm select:focus,
#filterForm input:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    outline: none;
}

#filterForm input::placeholder {
    color: #aaa;
    font-style: italic;
}

#filterForm button {
    font-size: 1em;
    padding: 10px 20px;
    background-color: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#filterForm button:hover {
    background-color: #1abc9c;
    transform: scale(1.05);
}

#filterForm button:active {
    background-color: #16a085;
    transform: scale(0.95);
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.5em;
    }

    .rating_link {
        width: 90%;
        margin: 20px auto;
    }

    .rating-link a {
        font-size: 0.9em;
        padding: 8px 16px;
    }

    table {
        font-size: 0.9em;
    }

    table th, table td {
        padding: 8px 10px;
    }

    #filterForm {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    #filterForm select,
    #filterForm input {
        width: 100%;
    }

    #filterForm button {
        width: 100%;
    }
}
