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

.container {
    width: 90%;
    margin: 20px auto;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header,
.footer {
    background-color: #333;
    color: #ffffff;
    text-align: center;
    margin: 20px auto;
    padding: 10px;
    border-radius: 8px;
}

.header a,
.footer a,
.container a {
    color: white;
}

.header a:hover,
.footer a:hover {
    color: grey;
}

/* Ensures .container a:hover color is red, overriding the white color set above */
.container a:hover {
    color: red;
}

.list {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

.list-item {
    background: #ffffff;
    margin: 10px 0;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid black;
}

.list-item a {
    text-decoration: none;
    color: #333;
}

input[type="text"],
input[type="submit"],
input[type="reset"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"],
input[type="reset"] {
    cursor: pointer;
    color: white;
}

input[type="submit"] {
    background-color: #0056b3;
}

input[type="reset"] {
    background-color: #FF0000;
}

input[type="submit"]:hover {
    background-color: #4682B4;
}

input[type="reset"]:hover {
    background-color: #FF4433;
}

.error {
    color: red;
    margin-bottom: 10px;
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-container label,
.filter-container select {
    display: inline-block;
    margin-right: 10px;
}

#typeField {
    display: none;
    /* Adjust visibility via JavaScript based on selection */
}