:root {
    --dsa-primary: var(--wp--preset--color--primary, #3C6255);
    --dsa-light-primary: var(--wp--preset--color--light-primary, #61876e);
    --dsa-secondary: var(--wp--preset--color--secondary, #EBB220);
}

.alumni-search {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#search-results:empty {
    display: none;
}

.search-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-fields input {
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
    border: 2px solid var(--dsa-light-primary);
    border-radius: 5px;
    outline: none;
    font-family: inherit;
}

.search-fields input:focus {
    border-color: var(--dsa-primary);
    box-shadow: 0 0 5px var(--dsa-light-primary);
}

.search-fields .button {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: var(--dsa-primary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: inherit;
}

.search-fields .button:hover {
    background-color: var(--dsa-light-primary);
}

.alumni-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 0.25rem;
    overflow: hidden;
}

.alumni-table thead {
    background-color: var(--dsa-primary);
    color: white;
}

.alumni-table th,
.alumni-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid var(--dsa-light-primary);
}

.alumni-table tbody tr:nth-child(odd) {
    background-color: var(--dsa-light-primary);
    color: white;
}

.alumni-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.alumni-table tbody tr:hover {
    background-color: var(--dsa-secondary);
    color: black;
    cursor: pointer;
}

@media screen and (max-width: 375px) {
	.search-fields {
		flex-direction: column;
	}
}
