/* EnerXCo v82 sample report PDF modal */
.sample-report-open{
  border-color:#cbd5e1;
}

.sample-report-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:10020;
  align-items:center;
  justify-content:center;
  padding:22px;
}

.sample-report-modal.is-open{
  display:flex;
}

.sample-report-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.72);
  backdrop-filter:blur(4px);
}

.sample-report-modal-panel{
  position:relative;
  z-index:1;
  width:min(1060px,96vw);
  height:min(88vh,980px);
  background:#fff;
  border-radius:22px;
  box-shadow:0 34px 100px rgba(0,0,0,.36);
  padding:16px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.sample-report-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:2px 48px 12px 2px;
  color:#101828;
  font-size:15px;
}

.sample-report-modal-head strong{
  color:#101828;
}

.sample-report-modal-head a{
  color:#006d77;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
}

.sample-report-modal-head a:hover{
  text-decoration:underline;
}

.sample-report-frame{
  width:100%;
  height:100%;
  min-height:0;
  border:1px solid #d0d5dd;
  border-radius:14px;
  background:#f8fafc;
}

.sample-report-modal-close{
  position:absolute;
  top:10px;
  right:10px;
  width:40px;
  height:40px;
  border:0;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  z-index:2;
  display:grid;
  place-items:center;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}

.sample-report-modal-close:hover{
  background:#1f2937;
}

@media(max-width:720px){
  .sample-report-modal{
    padding:10px;
  }

  .sample-report-modal-panel{
    width:98vw;
    height:88vh;
    padding:10px;
    border-radius:18px;
  }

  .sample-report-modal-head{
    display:block;
    padding:0 42px 10px 2px;
    font-size:14px;
  }

  .sample-report-modal-head a{
    display:block;
    margin-top:3px;
  }

  .sample-report-modal-close{
    width:36px;
    height:36px;
    font-size:25px;
  }
}
