/* =========================================================
   ROAD 2 FIT · AVISO DE SALUD
   Componentes compartidos: recordatorio previo y enlace de pie.
   ========================================================= */

.r2f-health-strip{
  padding:18px 0;
  border-top:1px solid rgba(226,196,119,.12);
  border-bottom:1px solid rgba(226,196,119,.12);
  background:
    linear-gradient(90deg,rgba(126,18,18,.12),rgba(226,196,119,.035) 48%,rgba(0,0,0,0));
}

html.r2f-health-checking .r2f-health-strip,
html.r2f-health-ack .r2f-health-strip{
  display:none!important;
}

.r2f-health-strip-inner{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  padding:16px 18px;
  border:1px solid rgba(226,196,119,.16);
  border-left:3px solid #9d2020;
  background:rgba(8,9,9,.82);
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.r2f-health-strip-mark{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid rgba(226,196,119,.28);
  color:#e2c477;
  font-family:Georgia,serif;
  font-size:22px;
  font-weight:900;
}

.r2f-health-strip-copy small{
  display:block;
  margin-bottom:4px;
  color:#e2c477;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.r2f-health-strip-copy p{
  margin:0;
  color:#aaa49b;
  font-size:12px;
  line-height:1.6;
}

.r2f-health-strip-copy strong{color:#eee9df}

.r2f-health-strip-link,
.r2f-footer-links a{
  color:#c9b06f;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
}

.r2f-health-strip-link{
  white-space:nowrap;
  font-size:10px;
}

.r2f-health-strip-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}

.r2f-health-ack-button{
  position:relative;
  min-width:182px;
  min-height:38px;
  border:1px solid rgba(226,196,119,.58);
  padding:10px 17px;
  clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
  background:
    linear-gradient(135deg,rgba(143,29,29,.34),rgba(143,29,29,.08) 48%,rgba(226,196,119,.09)),
    #11100e;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.72),
    inset 0 -10px 18px rgba(0,0,0,.3);
  color:#ead18c;
  font:900 10px/1 Arial,Helvetica,sans-serif;
  letter-spacing:.11em;
  text-transform:uppercase;
  text-shadow:0 1px 0 #000;
  cursor:pointer;
  transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease,filter .2s ease;
}

.r2f-health-ack-button::before{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:10px;
  border:1px solid #e2c477;
  background:#8f1d1d;
  box-shadow:0 0 0 2px rgba(226,196,119,.08);
  transform:rotate(45deg) translateY(-1px);
  vertical-align:middle;
}

.r2f-health-ack-button::after{
  content:"";
  position:absolute;
  top:3px;
  right:16px;
  left:16px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(240,216,146,.58),transparent);
  pointer-events:none;
}

.r2f-health-ack-button:hover{
  border-color:#e2c477;
  background:
    linear-gradient(135deg,rgba(157,32,32,.5),rgba(143,29,29,.13) 48%,rgba(226,196,119,.15)),
    #14120f;
  color:#f5dfa2;
  filter:drop-shadow(0 7px 10px rgba(0,0,0,.3));
  transform:translateY(-1px);
}

.r2f-health-ack-button:active{
  filter:none;
  transform:translateY(0);
}

.r2f-health-ack-button:focus-visible{
  border-color:#f0d892;
  color:#f5dfa2;
  filter:drop-shadow(0 0 4px rgba(226,196,119,.48));
  outline:none;
}

.r2f-health-ack-button:disabled{
  border-color:rgba(226,196,119,.22);
  color:#81796a;
  filter:none;
  opacity:.72;
  cursor:wait;
  transform:none;
}

.r2f-health-ack-button.is-error:not(:disabled){
  border-color:rgba(179,64,55,.72);
  color:#e6b2aa;
}

.r2f-health-strip-link:hover,
.r2f-footer-links a:hover{color:#f0d892}

.r2f-footer-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}

.r2f-footer-links a{font-size:10px}

@media (max-width:760px){
  .r2f-health-strip{padding:12px 0}

  .r2f-health-strip-inner{
    grid-template-columns:32px minmax(0,1fr);
    gap:12px;
    padding:14px;
  }

  .r2f-health-strip-mark{
    width:32px;
    height:32px;
    font-size:18px;
  }

  .r2f-health-strip-copy small{font-size:9px}
  .r2f-health-strip-copy p{font-size:11px}

  .r2f-health-strip-actions{
    grid-column:1 / -1;
    padding-left:44px;
    justify-content:flex-start;
    flex-wrap:wrap;
  }

  .r2f-health-strip-link{
    white-space:normal;
    font-size:9px;
  }

  .r2f-health-ack-button{
    min-width:168px;
    min-height:34px;
    font-size:9px;
  }

  .r2f-footer-links{margin-top:8px}
  .r2f-footer-links a{font-size:9px}
}
