#dimprivateshop-overlay {
  background: #000;
  inset: 0;
  position: fixed;
  z-index: 9999;
}

.dimprivateshop-modal {
  color: #1f1f1f;
  display: none;
  left: 50%;
  max-height: calc(100vh - 32px);
  max-width: calc(100vw - 32px);
  overflow-y: auto;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
  z-index: 10000;
}

.dimprivateshop-modal__content {
  background: #fff;
  border: 14px solid #dedede;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .65);
  padding: 30px 36px;
}

.dimprivateshop-modal h1 {
  color: #4c3037;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  letter-spacing: .05em;
  margin: 0 0 25px;
  text-align: center;
  text-transform: uppercase;
}

.dimprivateshop-field,
.dimprivateshop-captcha {
  margin-bottom: 18px;
}

.dimprivateshop-modal label {
  display: block;
  font-weight: 600;
  margin-bottom: 7px;
}

.dimprivateshop-modal input.form-control {
  border: 1px solid #c8c8c8;
  border-radius: 0;
  min-height: 40px;
}

.dimprivateshop-captcha img {
  border: 1px solid #d0d0d0;
  display: block;
  height: 75px;
  margin: 0 auto 10px;
  width: 185px;
}

.dimprivateshop-captcha__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.dimprivateshop-captcha .btn-secondary {
  background: #6c757d;
  border: 0;
  color: #fff;
}

.dimprivateshop-submit {
  background: #9b8ec2;
  border: 0;
  font-weight: 700;
  margin: 4px 0 18px;
  text-transform: uppercase;
}

.dimprivateshop-links {
  border-top: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 18px;
  text-align: center;
}

.dimprivateshop-links a { color: #4c3037; }
.dimprivateshop-error { color: #b00020; font-weight: 600; }

@media (max-width: 575px) {
  .dimprivateshop-modal__content { padding: 24px 20px; }
  .dimprivateshop-modal h1 { font-size: 23px; }
}
