/*Header*/
body {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
    background-color: #f0f4f0; /* Fondo suave */
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    height: 70px;
    border-bottom: 1px solid #68885f;
    margin-top: 0;
    padding-top: 0;
}

.header a {
    font-size: 1em;
    font-family: 'Quicksand', sans-serif;
    color: #4f8052;
    padding: 0 10px;
    height: inherit;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    margin-block-start: 3px;
    margin-block-end: 3px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.logo img {
    margin: 0px 0px 0px 5px;
    display: flex;
    padding: 0;
    border: 0;
}

.header ol {
    list-style: none;
    display: flex; /* horizontal */
    height: inherit;
}

.header ol li {
    height: inherit;
}

.link:hover {
    color: white;
    background-color: #7a8d6a;
    border: 0.5px solid #D5D9D9;
}

ol {
    margin: 0;
    padding: 0;
}

/* Menú */
.menu {
    height: inherit;
}

.menu li {
    display: inline;
}

/* Footer */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    border-top: 1px solid #5a6e50;
    margin-top: 0;
    padding: 1em;
    background-color: #e9f0e7;
}

a:link {
    text-decoration: none;
}

.social {
    width: 32px;
    height: 32px;
    display: inline-block;
    margin: 0 8px;
}

.footer-fb {
    background-image: url('../images/fb.ico');
    background-size: contain;
    background-repeat: no-repeat;
}

.footer-twitter {
    background-image: url('../images/twitter.ico');
    background-size: contain;
    background-repeat: no-repeat;
}

.footer-instagram {
    background-image: url('../images/instagram.ico');
    background-size: contain;
    background-repeat: no-repeat;
}

.footer-linkedin {
    background-image: url('../images/linkedin.ico');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Formulario */
form {
    text-align: center;
    margin: 30px 0;
}

.caja {
    display: block;
    margin: 0 auto;
    max-width: 500px;
}

.caja label {
    font-family: 'Quicksand', sans-serif;
    margin: 0 10px 0 0;
}

.caja input {
    width: 8em;
    height: 2em;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    margin-right: 15px;
    margin-bottom: 10px;
}

.submit {
    width: 8em;
    height: 2em;
    font-family: 'Quicksand', sans-serif;
    color: white;
    background-color: #527257;
    border: 2px solid white;
    cursor: pointer;
}

.submit:hover {
    background-color: #7a8d6a;
    border-color: #d5d9d9;
}

/* Tabla y centrado */

.tablita {
    display: flex;  
    justify-content: center; /* centra horizontalmente */
    margin: 40px auto 20px auto;
    max-width: 600px; /* opcional para limitar ancho */
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.tabla {
    border-collapse: collapse;
    font-family: 'Quicksand', sans-serif;
    width: 100%; /* que tome todo el ancho del contenedor */
}

table tr th {
    border: 1px solid #D5D9D9;
    width: 100px;
    height: 25px;
    color: white;
    background-color: #73b67c;
}

td {
    border: 1px solid #D5D9D9;
    width: 100px;
    height: 25px;
    text-align: center;
}

/* Resaltar botones de acciones en la tabla */
input.submit {
    font-size: 0.9em;
    padding: 0.3em 0.7em;
    margin: 0 3px;
}

/* Opcional: al hacer hover sobre fila */
.tabla tr:hover {
    background-color: #e0efda;
    cursor: default;
}