/* panel.css */

.panel-overlay{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.panel-modal{
  width: min(560px, 100%);
  max-height: 85vh;
  overflow: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  position: relative;
}

.panel-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  background: rgba(0,0,0,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  z-index: 5;
  pointer-events: auto;
}
.panel-close:hover{ background: rgba(0,0,0,.10); }

.panel-lock-scroll{ overflow: hidden !important; }

/* proste style formularza */
.panel-form{
  padding: 22px 22px 18px;
}

.panel-title{
  font-size: 28px;
  margin: 0 0 12px;
  text-align: center;
}

.panel-muted{
  text-align: center;
  margin: 0 0 18px;
  opacity: .75;
}

.panel-field{
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
}

.panel-label{
  font-size: 14px;
  opacity: .85;
}

.panel-input,
.panel-select{
  width: 95%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  outline: none;
}

.panel-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.panel-check{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  font-size: 14px;
  opacity: .9;
}

.panel-btn{
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  background: #b7d2f4;
}

.panel-btn[disabled]{
  cursor: not-allowed;
  opacity: .55;
}

.panel-warn{
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  opacity: .75;
}

.panel-help{
  font-size: 13px;
  opacity: .7;
  margin-top: 6px;
}