{"id":2560,"date":"2025-12-14T21:22:14","date_gmt":"2025-12-15T00:22:14","guid":{"rendered":"https:\/\/futbol360.online\/futbol-360\/?page_id=2560"},"modified":"2025-12-14T21:37:32","modified_gmt":"2025-12-15T00:37:32","slug":"andujar","status":"publish","type":"page","link":"https:\/\/futbol360.online\/futbol-360\/andujar\/","title":{"rendered":"Andujar"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"es\">\n<head>\n<meta charset=\"UTF-8\">\n<title>Panel Salud &#038; Nutrici\u00f3n \u2013 Jugador Profesional<\/title>\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n\n<style>\nbody{\n    font-family: Arial, sans-serif;\n    background:#0b1220;\n    color:#e5e7eb;\n    margin:0;\n}\n.container{\n    max-width:1200px;\n    margin:auto;\n    padding:20px;\n}\nh1{\n    text-align:center;\n    color:#38bdf8;\n}\n.section{\n    background:rgba(255,255,255,0.05);\n    border-radius:10px;\n    padding:20px;\n    margin-bottom:25px;\n}\nh2{\n    color:#7dd3fc;\n    margin-bottom:15px;\n}\n.grid{\n    display:grid;\n    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));\n    gap:15px;\n}\n.card{\n    border-radius:8px;\n    padding:15px;\n    background:rgba(0,0,0,0.25);\n    border:2px solid transparent;\n    transition:0.3s;\n}\n.card input{\n    width:100%;\n    background:transparent;\n    border:none;\n    border-bottom:1px solid #64748b;\n    color:#e5e7eb;\n    font-size:1.1rem;\n}\n.label{\n    font-size:0.85rem;\n    color:#94a3b8;\n}\n.status{\n    font-weight:bold;\n    margin-top:6px;\n}\n.green{border-color:#22c55e;}\n.yellow{border-color:#eab308;}\n.red{border-color:#ef4444;}\n\n.table{\n    width:100%;\n    border-collapse:collapse;\n}\n.table th,.table td{\n    border:1px solid rgba(255,255,255,0.15);\n    padding:8px;\n    text-align:center;\n}\n.table th{\n    background:rgba(255,255,255,0.1);\n}\n\ntextarea{\n    width:100%;\n    min-height:100px;\n    background:transparent;\n    border:1px solid rgba(255,255,255,0.2);\n    color:#e5e7eb;\n    border-radius:8px;\n    padding:10px;\n}\n.alert{\n    padding:12px;\n    border-radius:8px;\n    font-weight:bold;\n    display:none;\n}\n.alert.red{background:#7f1d1d;color:#fecaca;}\n.alert.yellow{background:#78350f;color:#fde68a;}\n.alert.green{background:#14532d;color:#bbf7d0;}\nbutton{\n    padding:10px 18px;\n    background:#38bdf8;\n    border:none;\n    border-radius:8px;\n    font-weight:bold;\n    cursor:pointer;\n}\nbutton:hover{background:#0ea5e9;}\n<\/style>\n<\/head>\n\n<body>\n<div class=\"container\">\n\n<h1>Panel Din\u00e1mico de Salud &#038; Nutrici\u00f3n<\/h1>\n\n<!-- ANTROPOMETR\u00cdA -->\n<div class=\"section\">\n<h2>Antropometr\u00eda (Sem\u00e1foro Autom\u00e1tico)<\/h2>\n<div class=\"grid\">\n    <div class=\"card\" id=\"pesoCard\">\n        <div class=\"label\">Peso (kg)<\/div>\n        <input type=\"number\" id=\"peso\" step=\"0.1\" onchange=\"evaluarPeso()\">\n        <div class=\"status\" id=\"pesoStatus\"><\/div>\n    <\/div>\n    <div class=\"card\" id=\"grasaCard\">\n        <div class=\"label\">% Grasa Corporal<\/div>\n        <input type=\"number\" id=\"grasa\" step=\"0.1\" onchange=\"evaluarGrasa()\">\n        <div class=\"status\" id=\"grasaStatus\"><\/div>\n    <\/div>\n    <div class=\"card\" id=\"hidratacionCard\">\n        <div class=\"label\">% Deshidrataci\u00f3n<\/div>\n        <input type=\"number\" id=\"hidratacion\" step=\"0.1\" onchange=\"evaluarHidratacion()\">\n        <div class=\"status\" id=\"hidratacionStatus\"><\/div>\n    <\/div>\n<\/div>\n<\/div>\n\n<!-- ALERTAS -->\n<div class=\"section\">\n<h2>Alertas Autom\u00e1ticas<\/h2>\n<div class=\"alert red\" id=\"alertaRoja\">\u26a0 Riesgo alto. Intervenci\u00f3n inmediata.<\/div>\n<div class=\"alert yellow\" id=\"alertaAmarilla\">\u26a0 Atenci\u00f3n. Ajustes necesarios.<\/div>\n<div class=\"alert green\" id=\"alertaVerde\">\u2714 Par\u00e1metros dentro de rango.<\/div>\n<\/div>\n\n<!-- HIST\u00d3RICO -->\n<div class=\"section\">\n<h2>Registro Hist\u00f3rico<\/h2>\n<table class=\"table\">\n<thead>\n<tr>\n<th>Fecha<\/th>\n<th>Peso<\/th>\n<th>% Grasa<\/th>\n<th>% Deshidrataci\u00f3n<\/th>\n<th>Estado<\/th>\n<\/tr>\n<\/thead>\n<tbody id=\"tablaHistorial\"><\/tbody>\n<\/table>\n<br>\n<button onclick=\"guardarRegistro()\">Guardar Registro<\/button>\n<\/div>\n\n<!-- INFORME -->\n<div class=\"section\">\n<h2>Informe M\u00e9dico \u2013 Nutricional<\/h2>\n<textarea placeholder=\"Conclusiones, decisiones, ajustes nutricionales, observaciones cl\u00ednicas...\"><\/textarea>\n<\/div>\n\n<\/div>\n\n<script>\nfunction resetCard(card){\n    card.classList.remove('green','yellow','red');\n}\n\nfunction evaluarPeso(){\n    const peso = document.getElementById('peso').value;\n    const card = document.getElementById('pesoCard');\n    const status = document.getElementById('pesoStatus');\n    resetCard(card);\n    if(peso < 70 || peso > 90){card.classList.add('red');status.innerText='Fuera de rango';}\n    else{card.classList.add('green');status.innerText='\u00d3ptimo';}\n    evaluarAlertas();\n}\n\nfunction evaluarGrasa(){\n    const grasa = document.getElementById('grasa').value;\n    const card = document.getElementById('grasaCard');\n    const status = document.getElementById('grasaStatus');\n    resetCard(card);\n    if(grasa > 14){card.classList.add('red');status.innerText='Excesivo';}\n    else if(grasa > 11){card.classList.add('yellow');status.innerText='Atenci\u00f3n';}\n    else{card.classList.add('green');status.innerText='\u00d3ptimo';}\n    evaluarAlertas();\n}\n\nfunction evaluarHidratacion(){\n    const hid = document.getElementById('hidratacion').value;\n    const card = document.getElementById('hidratacionCard');\n    const status = document.getElementById('hidratacionStatus');\n    resetCard(card);\n    if(hid > 3){card.classList.add('red');status.innerText='Deshidratado';}\n    else if(hid > 2){card.classList.add('yellow');status.innerText='Atenci\u00f3n';}\n    else{card.classList.add('green');status.innerText='Correcto';}\n    evaluarAlertas();\n}\n\nfunction evaluarAlertas(){\n    const red = document.querySelectorAll('.card.red').length;\n    const yellow = document.querySelectorAll('.card.yellow').length;\n    document.getElementById('alertaRoja').style.display = red>0 ? 'block':'none';\n    document.getElementById('alertaAmarilla').style.display = (red==0 && yellow>0) ? 'block':'none';\n    document.getElementById('alertaVerde').style.display = (red==0 && yellow==0) ? 'block':'none';\n}\n\nfunction guardarRegistro(){\n    const tabla = document.getElementById('tablaHistorial');\n    const fecha = new Date().toLocaleDateString();\n    const peso = document.getElementById('peso').value;\n    const grasa = document.getElementById('grasa').value;\n    const hid = document.getElementById('hidratacion').value;\n    let estado = '\u00d3ptimo';\n    if(document.querySelectorAll('.card.red').length>0) estado='Riesgo';\n    else if(document.querySelectorAll('.card.yellow').length>0) estado='Atenci\u00f3n';\n    const row = `<tr><td>${fecha}<\/td><td>${peso}<\/td><td>${grasa}<\/td><td>${hid}<\/td><td>${estado}<\/td><\/tr>`;\n    tabla.innerHTML += row;\n}\n<\/script>\n\n<\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"<p>Panel Salud &#038; Nutrici\u00f3n \u2013 Jugador Profesional Panel Din\u00e1mico de Salud &#038; Nutrici\u00f3n Antropometr\u00eda (Sem\u00e1foro Autom\u00e1tico) Peso (kg) % Grasa Corporal % Deshidrataci\u00f3n Alertas Autom\u00e1ticas \u26a0 Riesgo alto. Intervenci\u00f3n inmediata. \u26a0 Atenci\u00f3n. Ajustes necesarios. \u2714 Par\u00e1metros dentro de rango. Registro Hist\u00f3rico Fecha Peso % Grasa % Deshidrataci\u00f3n Estado Guardar Registro Informe M\u00e9dico \u2013 Nutricional<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-2560","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/futbol360.online\/futbol-360\/wp-json\/wp\/v2\/pages\/2560","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/futbol360.online\/futbol-360\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/futbol360.online\/futbol-360\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/futbol360.online\/futbol-360\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/futbol360.online\/futbol-360\/wp-json\/wp\/v2\/comments?post=2560"}],"version-history":[{"count":5,"href":"https:\/\/futbol360.online\/futbol-360\/wp-json\/wp\/v2\/pages\/2560\/revisions"}],"predecessor-version":[{"id":2567,"href":"https:\/\/futbol360.online\/futbol-360\/wp-json\/wp\/v2\/pages\/2560\/revisions\/2567"}],"wp:attachment":[{"href":"https:\/\/futbol360.online\/futbol-360\/wp-json\/wp\/v2\/media?parent=2560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}