/* ══════════════════════════════════════════
   CURATOR MODAL — Global
   Used on: marble-detail.php and any page
   that includes a "Speak to a Curator" CTA
══════════════════════════════════════════ */

.md-curator-modal .modal-dialog {
  max-width: 600px;
}

.md-curator-modal .modal-content {
  background: #0e0e0e;
  border: 1px solid rgba(199, 120, 30, 0.5);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

/* Gold top accent bar */
.md-curator-modal .modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #e1ae42, transparent);
  pointer-events: none;
}

/* ── Header ── */
.md-curator-modal .modal-header {
  border-bottom: 1px solid rgba(199, 120, 30, 0.2);
  padding: 28px 36px 20px;
}

.md-curator-modal .modal-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
}

.md-curator-modal .modal-title small {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: #e1ae42;
  text-transform: uppercase;
  font-family: inherit;
  margin-bottom: 6px;
}

.md-curator-modal .btn-close {
  filter: invert(1) sepia(1) saturate(2) hue-rotate(5deg);
  opacity: 0.5;
  transition: opacity 0.2s;
}

.md-curator-modal .btn-close:hover {
  opacity: 1;
}

/* ── Body ── */
.md-curator-modal .modal-body {
  padding: 28px 36px;
}

/* ── Footer ── */
.md-curator-modal .modal-footer {
  border-top: 1px solid rgba(199, 120, 30, 0.2);
  padding: 18px 36px 28px;
  justify-content: space-between;
  align-items: center;
}

/* ── Form elements ── */
.md-curator-modal .md-form-group {
  margin-bottom: 18px;
}

.md-curator-modal .md-form-label {
  display: block;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: #9f9f9f;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.md-curator-modal .md-form-control {
  background: #161616;
  border: 1px solid rgba(199, 120, 30, 0.3);
  border-radius: 0;
  color: #fff;
  font-size: 14px;
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
}

.md-curator-modal .md-form-control:focus {
  border-color: #e1ae42;
  background: #161616;
  box-shadow: none;
  color: #fff;
}

.md-curator-modal .md-form-control::placeholder {
  color: #555;
}

.md-curator-modal select.md-form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='%23e1ae42'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.md-curator-modal select.md-form-control option {
  background: #161616;
  color: #fff;
}

/* ── Privacy note ── */
.md-curator-modal .md-privacy-note {
  font-size: 11px;
  color: #555;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

.md-curator-modal .md-privacy-note a {
  color: #e1ae42;
  text-decoration: none;
}

.md-curator-modal .md-privacy-note a:hover {
  text-decoration: underline;
}

/* ── Submit button ── */
.md-curator-modal .md-modal-submit {
  background: linear-gradient(180deg, #f6e27a 20%, #cb9b51 80%);
  color: #000;
  border: none;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 13px 28px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.3s;
  white-space: nowrap;
  border-radius: 999px;
}

.md-curator-modal .md-modal-submit:hover {
  opacity: 0.88;
  color: #000;
}

/* ── Success state ── */
.md-curator-modal .md-form-success {
  display: none;
  text-align: center;
  padding: 20px 0 8px;
}

.md-curator-modal .md-form-success i {
  font-size: 40px;
  color: #e1ae42;
  display: block;
  margin-bottom: 14px;
}

.md-curator-modal .md-form-success h5 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.md-curator-modal .md-form-success p {
  font-size: 13px;
  color: #9f9f9f;
  line-height: 1.8;
}
