/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Header para el logo */
header {
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

header div{
	max-width: 800px;
    margin: 0px auto;
}

.logo {
    max-height: 150px;
    width: auto;
}

/* Contenedor principal */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

/* Encabezados */
h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

h3 {
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Formularios */
form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

form div {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Contenedor para el campo de contraseña con el ojo */
.password-container {
    position: relative;
    width: 100%;
}

input[type="text"],
input[type="password"],
select,
input[type="file"] {
    width: 100%;
    padding: 8px 40px 8px 8px; /* Ajustamos padding-right para el ícono */
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.password-container input[type="password"],
.password-container input[type="text"] {
    padding-right: 40px; /* Espacio para el ícono */
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 73%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 18px;
    line-height: 1; /* Asegura que el ícono esté alineado verticalmente */
}

/* Botones */
button {
    background-color: #ed1a42;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

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

/* Mensajes */
.error {
    color: #e74c3c;
    background: #fceae8;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.success {
    color: #27ae60;
    background: #e8f8f0;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Enlaces */
a {
    color: #ed1a42;
    text-decoration: none;
}

a:hover {
    color: #c31436;
    text-decoration: underline;
}

/* Tabla */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

th {
    background-color: #ed1a42;
    color: #fff;
}

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

.caso{border: 1px solid;
    padding: 1em;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    table, th, td {
        font-size: 14px;
    }

    .logo {
        max-height: 40px;
    }
}