/* RP Alba – Radioactivity calculator (mass to activity) */
.rpa-decay-dates-dates{
  border:1px solid rgba(0,0,0,0.12);
  border-radius:10px;
  padding:20px;
  max-width:1100px;
  background:rgba(0,0,0,0.02);
}
.rpa-decay-dates-dates h3{margin:0 0 14px 0;font-size:1.15rem;}
.rpa-decay-dates-dates label{display:block;margin-bottom:6px;}
.rpa-decay-dates-dates input,.rpa-decay-dates-dates select{
  width:100%;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,0.25);
  background:#fff;
  font-size:16px;
  box-sizing:border-box;
}
.rpa-decay-dates-dates input[readonly]{background:rgba(0,0,0,0.04);}
.rpa-decay-dates-dates-grid{display:grid;grid-template-columns:1fr 360px;gap:14px;margin-bottom:14px;}
@media(max-width:760px){.rpa-decay-dates-dates-grid{grid-template-columns:1fr;}}
.rpa-decay-dates-dates-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px;}
@media(max-width:760px){.rpa-decay-dates-dates-row{grid-template-columns:1fr;}}
.rpa-decay-dates-dates-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:8px;}
.rpa-decay-dates-dates-checkbox{display:flex;gap:8px;align-items:center;}
.rpa-decay-dates-dates-checkbox input{width:auto;}
.rpa-decay-dates-dates button{
  padding:9px 14px;border-radius:8px;border:1px solid rgba(0,0,0,0.3);
  background:#fff;cursor:pointer;font-size:14px;
}
/* Elementor visibility protection */
.rpa-decay-dates-dates button,.rpa-decay-dates-dates button:hover,.rpa-decay-dates-dates button:focus,.rpa-decay-dates-dates button:active{
  color:#111 !important;background-color:#fff !important;-webkit-text-fill-color:#111 !important;opacity:1 !important;
}
.rpa-decay-dates-dates-error{color:#8a1f1f;margin-top:10px;display:none;}
.rpa-decay-dates-dates-info{
  margin-top:12px;padding:10px 12px;border:1px solid rgba(0,0,0,0.10);
  background:rgba(0,0,0,0.03);border-radius:8px;font-size:0.95rem;display:none;
}
.rpa-decay-dates-dates-warning{
  margin-top:12px;padding:10px 12px;border-left:4px solid #6b4a00;
  background:rgba(107,74,0,0.10);border-radius:6px;font-size:0.95rem;display:none;
}
.rpa-decay-dates-dates-working{
  margin-top:14px;padding:10px 12px;border:1px solid rgba(0,0,0,0.10);
  background:rgba(0,0,0,0.03);border-radius:8px;font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:0.92rem;display:none;white-space:pre-wrap;
}
.rpa-decay-dates-dates-meta{font-size:0.92rem;line-height:1.5;}
.rpa-decay-dates-dates-meta .k{opacity:0.8;}
.rpa-decay-dates-dates-small{font-size:0.9rem;opacity:0.92;}


/* Time inputs grid */
.rpa-decay-dates-dates .rpa-decay-dates-dates-time-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}
@media (max-width: 820px){
  .rpa-decay-dates-dates .rpa-decay-dates-dates-time-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Elementor button visibility guard */
.rpa-decay-dates-dates .rpa-decay-dates-dates-controls button{
  position: relative;
  z-index: 5;
}


/* Date/time grid */
.rpa-decay-dates .rpa-decay-dates-dt-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}
@media (max-width: 820px){
  .rpa-decay-dates .rpa-decay-dates-dt-grid{
    grid-template-columns: 1fr;
  }
}
.rpa-decay-dates input[type="date"],
.rpa-decay-dates input[type="time"]{
  width:100%;
}
