body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
}
.container {
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}
h2 {
    color: #333;
    font-size: 1em; /* Tamaño reducido */
    margin-bottom: 20px;
    text-align: center;
}
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
label {
    margin: 0;
    font-weight: bold;
    font-size: 1em;
}
input[type="text"],
input[type="password"],
input[type="submit"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 1em;
}
input[type="submit"] {
    background-color: #007bff;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}
input[type="submit"]:hover {
    background-color: #0056b3;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-size: 0.9em;
}
th {
    background-color: #007bff;
    color: #fff;
}
tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
.no-registros {
    font-size: 1.2em;
    color: #a00;
    text-align: center;
    margin-top: 20px;
}
.button-container {
    margin-top: 10px;
    text-align: center;
}
.button-container input {
    padding: 10px;
    background-color: #28a745;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}
.button-container input:hover {
    background-color: #218838;
}
.profile-photo {
    width: 100%; /* Ancho completo */
    height: auto; /* Altura automática */
    border-radius: 8px;
    object-fit: cover;
    margin: 0 auto;
    border: 2px solid #000; /* Color y grosor del borde */
    padding: 2px;           /* Espacio entre el borde y la imagen (opcional) */
}
.informative-text p {
    margin: 5px 0;
 text-align: center; /* Centra el texto dentro del contenedor */    
font-size: 1em;
    font-weight: bold; /* Hace que el texto esté en negrita */
}
.account-status,
.apellido {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    font-size: 1.7em;
}
@media (max-width: 768px) {
    h2 {
        font-size: 1.3em;
    }
    input[type="text"],
    input[type="password"],
    input[type="submit"] {
        font-size: 0.9em;
        padding: 8px;
    }
    table {
        font-size: 0.8em;
    }
    th, td {
        padding: 6px;
    }
}
@media (max-width: 480px) {
    h2 {
        font-size: 1.2em;
    }
    input[type="text"],
    input[type="password"],
    input[type="submit"] {
        font-size: 0.8em;
        padding: 6px;
    }
    table {
        font-size: 0.7em;
    }
    th, td {
        padding: 4px;
    }
}
