/* the task — compact quote form on exhibition pages */
.ex-quote { padding: 48px 0; }
.ex-quote-card {
  max-width: 900px; margin: 0 auto; padding: 28px;
  border: 1px solid var(--c-line, #2a2a2a); border-radius: 16px;
  background: var(--c-surface, #161616);
}
.ex-quote .section-title { margin: 0 0 20px; font-size: clamp(22px, 3.2vw, 32px); line-height: 1.25; }
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ex-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ex-field label { font-size: 13px; color: var(--c-off-white, #f5f5f5); }
[dir="rtl"] .ex-field label { font-family: var(--f-arabic, 'Cairo', sans-serif); font-size: 14px; }
.ex-field .req { color: var(--c-magenta, #EC008C); }
.ex-field input, .ex-field select {
  width: 100%; box-sizing: border-box; padding: 12px 14px; font: inherit; font-size: 15px;
  color: var(--c-off-white, #f5f5f5); background: var(--c-black, #0a0a0a);
  border: 1px solid var(--c-line, #2a2a2a); border-radius: 10px; outline: none;
}
.ex-field input:focus, .ex-field select:focus { border-color: var(--c-magenta, #EC008C); box-shadow: 0 0 0 3px var(--c-magenta-glow, rgba(236,0,140,.35)); }
.ex-field input[readonly] { opacity: .7; cursor: default; }
.ex-file {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; box-sizing: border-box; padding: 8px 10px;
  color: var(--c-off-white, #f5f5f5); background: var(--c-black, #0a0a0a);
  border: 1px solid var(--c-line, #2a2a2a); border-radius: 10px;
}
.ex-file:focus-within, .ex-file:hover { border-color: var(--c-magenta, #EC008C); }
.ex-file:focus-within { box-shadow: 0 0 0 3px var(--c-magenta-glow, rgba(236,0,140,.35)); }
.ex-file input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; font-size: 0; }
.ex-file-btn {
  flex: 0 0 auto; padding: 8px 14px; font-size: 13px; font-weight: 600; color: #fff;
  background: var(--c-magenta, #EC008C); border-radius: 8px; pointer-events: none;
}
.ex-file:hover .ex-file-btn { background: var(--c-magenta-dark, #b3006a); }
.ex-file-name { min-width: 0; font-size: 13px; color: var(--c-gray, #8F8F8F); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.ex-file-name.has-file { color: var(--c-off-white, #f5f5f5); }
.ex-field small { font-size: 12px; color: var(--c-gray, #8F8F8F); }
.ex-hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; }
.ex-actions { margin-top: 18px; }
.ex-actions button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px;
  font: inherit; font-weight: 600; font-size: 15px; color: #fff; background: var(--c-magenta, #EC008C);
  border: 0; border-radius: 12px; cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.ex-actions button:hover { background: var(--c-magenta-dark, #b3006a); }
.ex-actions button:disabled { opacity: .6; cursor: not-allowed; }
.ex-msg { margin-top: 14px; line-height: 1.8; font-size: 14px; }
.ex-msg.is-success { color: #7ddf9b; }
.ex-msg.is-error { color: #ff8fb8; }
.ex-msg.is-fail { padding: 16px; border: 1px solid var(--c-magenta, #EC008C); border-radius: 12px; background: rgba(236, 0, 140, .08); color: var(--c-off-white, #f5f5f5); }
.ex-msg .ex-email { user-select: all; -webkit-user-select: all; font-family: var(--f-mono, monospace); padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.ex-msg .ex-fail-title { margin: 0 0 12px; font-weight: 600; }
.ex-msg .ex-fail-line { margin: 12px 0 0; }
@media (max-width: 640px) {
  .ex-quote { padding: 32px 0; }
  .ex-quote-card { padding: 18px; border-radius: 14px; }
  .ex-grid { grid-template-columns: 1fr; }
  .ex-actions button { width: 100%; }
}
