/* ReutPrint callback modal · consolidated 2026-11-14 */

.rp-callback-open-lock { overflow: hidden; }

.rp-callback[hidden] { display: none !important; }
.rp-callback {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 20px;
  font-family: Montserrat, Arial, sans-serif;
}
.rp-callback__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 30, .62);
  backdrop-filter: blur(3px);
}
.rp-callback__dialog {
  position: relative;
  width: min(100%, 500px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  border: 1px solid #e7e1ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(20, 12, 34, .24);
  color: #29262f;
}
.rp-callback__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f3f0f7;
  color: #514b58;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.rp-callback__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #6339aa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.rp-callback__title {
  margin: 0 42px 8px 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}
.rp-callback__lead {
  margin: 0 0 20px;
  color: #77717d;
  font-size: 14px;
  line-height: 1.45;
}
.rp-callback__service {
  margin: -6px 0 18px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f6f1fb;
  color: #593397;
  font-size: 13px;
  font-weight: 700;
}
.rp-callback__field { margin-bottom: 14px; }
.rp-callback__field label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
}
.rp-callback__field input,
.rp-callback__field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dcd7e2;
  border-radius: 10px;
  background: #fff;
  color: #29262f;
  font: inherit;
  font-size: 15px;
  padding: 11px 12px;
  outline: none;
}
.rp-callback__field textarea { min-height: 92px; resize: vertical; }
.rp-callback__field input:focus,
.rp-callback__field textarea:focus {
  border-color: #7b51bd;
  box-shadow: 0 0 0 3px rgba(111, 66, 193, .10);
}
.rp-callback__field.is-error input { border-color: #c62828; }
.rp-callback__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.rp-callback__submit {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  background: #6339aa;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.rp-callback__submit:hover { background: #4f2c8d; }
.rp-callback__submit:disabled { opacity: .62; cursor: wait; }
.rp-callback__status {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
}
.rp-callback__status.is-error { color: #b42318; }
.rp-callback__status.is-ok { color: #247247; }
.rp-callback__success {
  padding: 18px;
  border-radius: 12px;
  background: #eef8f2;
  color: #225f3c;
  line-height: 1.45;
}
@media (max-width: 520px) {
  .rp-callback { padding: 10px; }
  .rp-callback__dialog { padding: 24px 18px 20px; border-radius: 16px; }
  .rp-callback__title { font-size: 24px; }
}


/* Direct consultation actions */
.rp-callback__direct-actions {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.rp-callback__direct-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #6339aa;
  border-radius: 11px;
  background: #fff;
  color: #593397 !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
}

.rp-callback__direct-btn:hover {
  background: #f6f1fb;
  color: #4f2c8d !important;
}

.rp-callback__or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 16px;
  color: #8a8490;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.rp-callback__or::before,
.rp-callback__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e7e1ef;
}
