body {
    font-family: Arial, sans-serif;
    background-color: #e8f4e8;
    background-color: #f8f9fa;
    color: #333;
    margin: 5px;
    padding: 5px;
}

.login-container {
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-container img {
    width: 150px;
    margin-bottom: 1rem;
}

h2 {
    text-align: center;
    color: #2e7d32;
}

label {
    display: block;
    margin-top: 10px;
    color: #333;
}

input[type="text"],
input[type="password"] {
    width: 350px;
    max-width: 90%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    width: fit-content;
    padding: 10px;
    margin-top: 20px;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #1b5e20;
}

.error {
    color: red;
    text-align: center;
}

header nav ul {
    list-style: none;
    padding: 8px;
    margin: 8px;
    background: #4CAF50;
    display: flex;
    justify-content: space-around;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: block;
}

header nav ul li a:hover {
    background: #3b923e;
}

header img {
    height: 75px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
}

headerRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 5px;
    background-color: #4CAF50;
    color: white;
}

tr {
    padding: 20px;
    box-shadow: 0 4px 8px #00000033;
    border-style: none;
    border-color: black;
}

th {
    background: #cbd1ce;
    padding: 5px 5px;
    box-shadow: 3px;
    border: 1px;
    text-align: center;
    vertical-align: middle;
}

td {
    background: #e4f7ec;
    padding: 5px 5px;
    box-shadow: 3px;
    border: 1px;
    text-align: center;
    vertical-align: middle;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1300px;
    max-width: 90%;
    background: rgb(213, 227, 219);
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow-y: auto;
    max-height: 80vh;
    border-radius: 10px;
}

.modal-header {
    font-size: 1.2em;
    margin-bottom: 10px;
    background: rgb(71, 149, 105);
}

.modal-content {
    max-height: 60vh;
    overflow-y: auto;
}

.modal2 {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1100px;
    max-width: 90%;
    background: #aeddd5;
    padding: 20px;
    box-shadow: 0 4px 8px #00000033;
    z-index: 1000;
    overflow-y: auto;
    max-height: 80vh;
    border-radius: 10px;
}

.modal2-header {
    font-size: 1.2em;
    margin-bottom: 10px;
    background: rgb(71, 149, 105);
}

.modal2-content {
    max-height: 60vh;
    overflow-y: auto;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Estilo para el formulario de búsqueda */
.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.search-form input {
    flex: 1;
}

.search-form button {
    flex: 0 0 auto;
}

main {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Estilo del pie de página */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #8cbc8c;
    color: #000000;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9em;
    font-weight: bold;
}

.link-item {
    margin: 10px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.link-item a {
    text-decoration: none;
    color: #1111bb;
    font-weight: bold;
}

.link-item a:hover {
    text-decoration: underline;
}