/* Reset básico y Fuente */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Cambiado para permitir scroll si es muy alto */
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    color: #333;
}

/* Contenedor Principal */
.main-container {
    width: 100%;
    max-width: 600px;
}

/* Encabezado */
.header {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

.logo {
    width: 80px;
    margin-bottom: 10px;
}

.header h1 {
    margin: 5px 0;
    font-size: 28px;
    color: #1a5f7a;
}

.header p {
    margin: 0;
    font-size: 16px;
    color: #555;
    font-style: italic;
}

/* Tarjeta del Formulario */
.card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 30px;
    overflow: hidden;
}

.profile-section {
    text-align: center;
    margin-bottom: 20px;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #1a5f7a;
    padding: 3px;
    background: white;
}

/* Tabla de Datos */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th {
    background-color: #1a5f7a; /* Azul Educativo */
    color: white;
    padding: 12px;
    text-align: left;
    font-size: 16px;
    border-radius: 5px;
}

/* Separación entre secciones */
tr:not(:first-child) th {
    padding-top: 20px;
    background-color: transparent;
    color: #1a5f7a;
    border-bottom: 2px solid #1a5f7a;
    border-radius: 0;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

/* Estilo para las etiquetas (columna izquierda) */
td:first-child {
    font-weight: bold;
    color: #555;
    width: 40%;
}

/* Efecto hover en filas */
tr:hover td {
    background-color: #f9fbfd;
}

/* Pie de tarjeta */
.footer-msg {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #0c7691;
    font-weight: bold;
    border-top: 1px dashed #ccc;
    padding-top: 10px;
}
.footer2-msg {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #0c7691;
    font-weight: bold;
    border-top: 1px dashed #ccc;
    padding-top: 10px;
}