/* SMT Workshops – styl frontendowy */
#smt-registration {
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 20px;
  background: #fafafa;
  font-family: "Segoe UI", Arial, sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

#smt-registration h3 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #333;
}

#smt-registration form {
  display: grid;
  grid-gap: 15px;
}

.smt-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: #444;
}

.smt-row input,
.smt-row select,
.smt-row textarea {
  width: 50%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}

.smt-row textarea {
    height: 80px;
}


.smt-row input:focus,
.smt-row select:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 2px rgba(0,115,170,0.2);
}

#smt-submit {
  background: #0073aa;
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#smt-submit:hover {
  background: #005f8d;
}

#smt-message {
  margin-top: 10px;
  font-size: 14px;
}

/* Sloty */
.smt-slot {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
  background: #fff;
  transition: 0.2s;
  display: inline-block;
  height:120px;
}

.smt-slot input[type=radio] {
  margin-right: 6px;
}

.smt-slot.smt-full {
  opacity: 0.6;
}

.smt-slot.smt-full label {
  color: #888;
}

/* Pasek postępu */
.smt-progress {
    margin-top: 8px;
    height: auto;
}

.smt-bar {
    position: relative;
    height: 20px;
    border-radius: 6px;
    background: #454545;
    margin-bottom: 6px;
    overflow: hidden;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.smt-bar span {
  position: relative;
  z-index: 2;
}

.smt-bar.adults::before,
.smt-bar.children::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  z-index: 1;
  transition: width 0.4s ease;
}

.smt-bar.adults::before { background: #0073aa; }
.smt-bar.children::before { background: #46b450; }

.smt-bar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: var(--progress, 0%);
  background: #0073aa;
  z-index: 1;
  transition: width 0.4s ease;
}
.smt-bar.children::before { background: #46b450; }
