body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h2, h3 {
    text-align: center;
    color: #800039;
}

.message {
    margin: 20px 0;
    text-align: left;
}

.centerbutton {
    text-align: center;
}

textarea, input[type="file"], input[type="text"], input[type="email"], select, button {
    width: 89%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
}

input[type="password"] {
    width: 50%;
    padding: 10px;
    margin: 5px 0;
}

input[type="checkbox"] {
    padding: 10px;
    margin: 5px 0;
}

button {
    background-color: #85ac1c;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    text-decoration: none;
    margin-top: 10px;
    border-radius: 5px;
    width: 200px;
}

button:hover {
    background-color: #28a745;
}

label {
    display: block;
    margin: 10px 0 5px;
}

.download-link {
    display: inline-block;
    background-color: #85ac1c;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.download-link:hover {
    background-color: #28a745;
}

.note {
    font-size: 0.9em;
    color: #666;
    margin: 5px 0;
}

.warning {
    color: red;
    font-weight: bold;
    margin: 10px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #85ac1c;
    color: white;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

td[title] {
    position: relative;
    cursor: help;
}

td[title]:hover::after {
    content: attr(title);
    position: absolute;
    top: 100%;
    left: 0;
    background: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    white-space: pre-line;
    max-width: 250px;
    z-index: 10;
}

.entry-container {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f9f9f9;
}

.title-row {
    font-weight: bold;
    white-space: normal;
}

.details-row, .actions {
    margin-top: 5px;
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.actions button {
    padding: 5px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    color: white;
    width: 180px;
}

.view-btn {
    background-color: blue;
}

.delete-btn {
    background-color: red;
}

.reactivate-btn {
    background-color: blue;
}

.deactivate-btn {
    background-color: green;
}

.activate-btn {
    background-color: orange;
}

.edit-btn {
    background-color: orange;
}

/* Menu Styles */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 8px; /* Add gap between items */
    // background-color: #e9ecef;
    padding: 10px;
    border-radius: 5px;
}

.main-nav a {
    color: #495057;
    padding: 10px 20px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: 1px solid #ced4da; /* Add light border */
    border-radius: 3px; /* Slightly rounded corners for the border */
    flex: 1; /* Make all items equal width */
    text-align: center; /* Center text inside */
}

.main-nav a:hover {
    background-color: #dee2e6;
    text-decoration: none;
}

.main-nav a.logout {
    background-color: #d9534f;
}

.main-nav a.logout:hover {
    background-color: #c9302c;
}
