/* Selección moderna */
::selection { background-color: #007AFF; color: #fff; }
::moz-selection { background-color: #007AFF; color: #fff; }
::webkit-selection { background-color: #007AFF; color: #fff; }

/* Reset básico y cuerpo */
body#login, body#int {
    background: #F2F2F7; 
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Contenedor principal */
#login #warp-content, #int #warp-content {
    margin: 20px auto;
    max-width: 1057px;
}

/* Enlaces básicos con estilo iOS */
#login a, a {
    font-size: 0.8em;
    color: #007AFF; /* color primario iOS */
    text-decoration: none;
}
#login a:hover, a:hover {
    text-shadow: none;
    text-decoration: underline;
}

/* Formularios */
#login label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 1em;
    color: #555;
}
#login input[type=text], input[type=password] {
    border: 1px solid #CCC;
    border-radius: 8px;
    padding: 10px;
    font-size: 1.2em;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.3s;
}
#login input[type=text]:focus, input[type=password]:focus {
    border-color: #007AFF;
    box-shadow: 0 0 4px rgba(0,122,255,0.5);
}

/* Botón login estilo iOS 18 */
#login input[type=submit] {
    background-color: #007AFF;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.9em;
    color: #fff;
    cursor: pointer;
    width: auto;
    transition: background-color 0.3s, box-shadow 0.2s;
}
#login input[type=submit]:hover {
    background-color: #005BB5;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Header estilo iOS minimalista */
#login #head-content, #int #head-content {
    width: 100%;
    overflow: hidden;
}
#login #head-content #logo, #int #head-content #logo {
    background: url("https://asistencia.infancia.gob.ec/assets/css/skin/biotech/logos-biotech.png") no-repeat center/contain;
    float: left;
    height: 60px;
    width: 200px;
}
#login #head-content #title, #int #head-content #title {
    float: right;
    font-size: 1.8em;
    color: #007AFF;
    display: flex;
    align-items: center;
    height: 60px;
}

#login #content-content, #contenido {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 20px;
    min-height: 370px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Zona destacada de mensaje */
.mensaje-resaltado {
    margin-top: 10px;
    background: #34C759; /* verde suave iOS */
    padding: 10px 15px;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    max-width: 600px;
    width: 90%;
}

/* Imagen de fondo en login (si aplica) */
#content-content {
    background: url("https://asistencia.infancia.gob.ec/assets/css/skin/biotech/imagen-fondo-login.jpg") no-repeat right bottom;
    background-size: contain;
}

/* Tamaños de fuentes */
.fuente-xlgrd { font-size: 1.8em; }
.fuente-xgrd  { font-size: 1.5em; }
.fuente-grd  { font-size: 1.2em; }
.fuente-med  { font-size: 1em; }
.fuente-peq  { font-size: 0.8em; }

/* Links y botones internos */
a {
    color: #007AFF;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Menú y navegación (estilo iOS) */
#menu {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 10px 0;
    padding: 8px 0;
}
#menu nav {
    display: flex;
    justify-content: center;
}
#menu nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}
#menu nav ul li {
    padding: 8px 15px;
    border-radius: 8px;
    transition: background 0.3s;
}
#menu nav ul li:hover {
    background: #F0F0F5;
}
#menu nav ul li a {
    color: #333;
    font-weight: 600;
    font-size: 1em;
}
#menu nav ul li.current_page a {
    color: #007AFF;
    font-weight: bold;
}

/* Submenu estilo iOS */
nav ul ul {
    background: #fff;
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    margin-top: 4px;
}
nav ul ul li {
    padding: 8px 20px;
}
nav ul ul li a {
    display: block;
    color: #333;
}
nav ul ul li a:hover {
    background: #eee;
}

/* Tabla estilo iOS */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.95em;
}
table th {
    background-color: #E5E5EA; /* gris claro */
    color: #333;
    padding: 8px 10px;
    border-radius: 8px;
    text-align: right;
}
table td {
    padding: 8px 10px;
    text-align: left;
}

/* Títulos y contenido */
.titulo-contenido {
    background: linear-gradient(to bottom, #FAFAFA, #ECECEC);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 1.2em;
    color: #2C2C2E;
}

/* Botones interativos */
.boton {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 12px;
    background-color: #007AFF;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.2s;
}
.boton:hover {
    background-color: #005BB5;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Footer minimalista */
#footer {
    margin-top: 30px;
    text-align: right;
    padding: 10px 20px;
    font-size: 1.1em;
    color: #007AFF;
}
#footer #bandera {
    height: 1px;
    border-bottom: 1px solid #CCC;
}
#footer #texto {
    margin-top: 10px;
}

/* Otros estilos pequeños para cohesión */
input[type=submit], input[type=button] {
    background: #007AFF;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.9em;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}
input[type=submit]:hover, input[type=button]:hover {
    background-color: #005BB5;
}
