body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #e0e0e0;
}

header {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: #003366;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header img {
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
}

h1 {
    margin: 0;
}
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
main {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px;
    background-color: #f9f9f9;
}

.menu {
    max-width: 800px;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

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

th {
    background-color: #003366;
    color: white;
}

td {
    background-color: #fff;
}

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

tr:hover {
    background-color: #f1f1f1;
}

.no-records {
    text-align: center;
    font-size: 18px;
    color: #666;
}

footer {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background-color: #003366;
    color: white;
}

.addfood {
    text-decoration: none;
    list-style-type: none;
    display: inline;
    font-size: 20px;
    padding: 20px;
}

h2 {
    margin-top: 0;
    color: #003366;
}

form {
    display: flex;
    flex-direction: column;
    margin: 0;
}

label {
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input[type="submit"] {
    background-color: #003366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

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

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #003366;
    font-size: 18px;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #002244;
}

.btn-danger {
    background-color: #d9534f;
}

.btn-danger:hover {
    background-color: #c9302c;
}

.btn-edit {
    background-color: #5bc0de;
}

.btn-edit:hover {
    background-color: #31b0d5;
}

.btn-delete {
    background-color: #d9534f;
}

.btn-delete:hover {
    background-color: #c9302c;
}

form input[type="hidden"] {
    display: none;
}

@media (max-width: 768px) {
    .menu {
        padding: 10px;
    }

    input[type="submit"] {
        padding: 8px 16px;
    }

    .logo {
        max-width: 120px;
    }
}
