/* Ziara Gold: qualified enquiry details. Preserve existing PageLayer name/email/phone styling. */
.zgqe-panel{--zg-border:#d6e0db;--zg-green:#073e31;--zg-gold:#f8bd0e;box-sizing:border-box;background:#e7edeb;border-radius:12px;padding:clamp(16px,2.5vw,32px);margin:22px 0;width:100%;max-width:100%;grid-column:1/-1!important;flex-basis:100%;font-family:inherit;color:#142a24;}
.zgqe-panel *, .zgqe-standalone-form *{box-sizing:border-box}
.zgqe-panel[hidden]{display:none!important}
.zgqe-panel h2{font-weight:750;font-size:clamp(21px,2.4vw,28px);margin:4px 0 8px;color:var(--zg-green)!important;letter-spacing:-.015em}
.zgqe-panel h3{font-size:clamp(17px,1.55vw,21px);line-height:1.35;font-weight:700;color:var(--zg-green)!important;margin:0 0 16px}
.zgqe-panel p{line-height:1.55;margin:0 0 8px}
.zgqe-kicker{text-transform:uppercase;letter-spacing:.11em;font-size:11px;font-weight:750;color:#6b5a11}
.zgqe-intro{margin-bottom:18px}
.zgqe-step{background:#fff;border:1px solid var(--zg-border);border-radius:12px;padding:clamp(16px,2vw,24px);margin:16px 0}
.zgqe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:18px;width:100%}
.zgqe-grid label{font-size:14px;line-height:1.45;font-weight:600;color:#244238;display:flex;flex-direction:column;gap:7px;min-width:0;text-transform:none;letter-spacing:normal}
.zgqe-panel input:not([type=checkbox]):not([type=file]),.zgqe-panel select,.zgqe-panel textarea,
.zgqe-standalone-form input:not([type=checkbox]):not([type=file]),.zgqe-standalone-form select,.zgqe-standalone-form textarea{width:100%;font-family:inherit;border:1px solid #c5d4cb;background:white!important;border-radius:9px;min-height:45px;padding:10px 12px;font-size:15px;color:#182b25;box-shadow:none;max-width:100%}
.zgqe-panel input:focus,.zgqe-panel select:focus,.zgqe-panel textarea:focus{outline:2px solid #7abf47;outline-offset:1px}
.zgqe-panel input[type=file]{width:100%;border:1px dashed #95aaa0;padding:11px;border-radius:9px;font-size:14px;max-width:100%}
.zgqe-panel textarea{resize:vertical;min-height:88px}
.zgqe-panel small{font-size:12px;color:#627168;font-weight:400}
.zgqe-wide{grid-column:1/-1!important}
.zgqe-hint{font-size:13px!important;color:#4b6256;margin:-5px 0 14px!important}
.zgqe-documents{border:1px solid #dae5de;border-radius:10px;padding:15px}
.zgqe-documents legend{font-size:14px;font-weight:650;padding:0 7px}
.zgqe-checkgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 20px}
.zgqe-panel .zgqe-checkgrid label{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-size:13px;font-weight:500}
.zgqe-checkgrid input[type=checkbox],.zgqe-check input[type=checkbox]{accent-color:#0a6b42;width:18px;height:18px;flex:none;min-width:18px;min-height:18px;margin-top:0}
.zgqe-panel .zgqe-check{display:flex;gap:12px;align-items:flex-start;line-height:1.5;font-weight:500;font-size:14px;margin:0 0 12px}
.zgqe-panel .zgqe-check a{color:#075c45;text-decoration:underline}
.zgqe-small{font-size:12px!important;color:#4e6358;margin-top:16px!important}
.zgqe-message{padding:10px 14px;border-radius:9px;font-weight:600;font-size:14px;white-space:pre-line}
.zgqe-message:empty{padding:0}
.zgqe-success{background:#e2f5e8;color:#155b34}
.zgqe-error{background:#fff0e9;color:#983400}
.zgqe-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
.zgqe-standalone-form{background:#e7edeb;border-radius:18px;padding:clamp(20px,3vw,40px);max-width:1100px;margin:32px auto;color:#13392c;font-family:inherit}
.zgqe-standalone-form>h2{font-size:clamp(25px,3vw,34px);text-align:center;margin:0 0 24px}
.zgqe-standalone-form>.zgqe-grid label{display:flex;flex-direction:column;gap:8px}
.zgqe-standalone-form .zgqe-panel{padding:0;margin:10px 0;background:transparent}
.zgqe-send{background:#f6bf00;color:#073e31;border:0;border-radius:8px;padding:13px 28px;font-weight:750;font-size:16px;cursor:pointer}
@media(max-width:680px){.zgqe-panel{padding:14px;margin:16px 0}.zgqe-grid,.zgqe-checkgrid{grid-template-columns:minmax(0,1fr)}.zgqe-step{padding:14px;margin:12px 0}.zgqe-panel h3{margin-bottom:12px}}

/* Gold-specific application checks: only show the relevant origin/destination sections. */
.zgqe-gold[hidden],.zgqe-subsection[hidden]{display:none!important}
.zgqe-subsection{border:1px solid #d7e4da;background:#f5f8f4;padding:16px;border-radius:10px;margin:4px 0}
.zgqe-subsection>strong{display:block;font-size:15px;margin:0 0 10px;color:#073e31}
.zgqe-subsection>.zgqe-hint{margin:0 0 14px!important}

/* v1.0.3: buyer/seller selector and searchable country + telephone-code lists. */
.zgqe-party-picker{grid-column:1/-1;flex-basis:100%;width:100%;box-sizing:border-box;border:1px solid #bccdc2;border-radius:12px;background:#f5f8f5;padding:15px 18px;margin:5px 0 16px!important;display:flex;gap:12px;flex-wrap:wrap;align-items:center;color:#143f30}
.zgqe-party-picker legend{padding:0 7px;font-weight:700;font-size:16px;color:#0a4936}
.zgqe-party-choice{display:flex!important;align-items:center!important;gap:9px!important;border:1px solid #c9d8cd;border-radius:8px;padding:12px 18px;min-width:150px;background:white;cursor:pointer;font-weight:650!important;color:#164432!important;flex-direction:row!important;font-size:15px}
.zgqe-party-choice:has(input:checked){background:#fff8d7;border-color:#d1a01a;box-shadow:0 0 0 2px rgba(241,189,14,.25)}
.zgqe-party-choice input{width:18px!important;height:18px!important;min-height:18px!important;margin:0;flex:none;accent-color:#0b5840}
.zgqe-country-control,.zgqe-phone-control{position:relative;display:flex;align-items:stretch;min-width:0;width:100%;max-width:100%;gap:0}
.zgqe-country-control .zgqe-country-input{padding-left:44px!important;cursor:pointer;min-width:0}
.zgqe-country-flag{position:absolute;top:50%;left:11px;transform:translateY(-50%);font-size:22px;line-height:1;pointer-events:none}
.zgqe-country-menu{position:absolute;left:0;top:calc(100% + 3px);z-index:99999;min-width:250px;width:min(390px,96vw);max-width:96vw;padding:9px;background:#fff;border:1px solid #b8cbc1;border-radius:10px;box-shadow:0 13px 35px rgba(0,0,0,.17);text-align:left}
.zgqe-country-menu[hidden]{display:none!important}
.zgqe-country-menu .zgqe-country-search{margin:0 0 7px!important;display:block;min-height:42px!important;width:100%!important;border:1px solid #ced8d0!important;padding:9px 11px!important;border-radius:7px!important;background:#fff!important;font-size:14px!important;box-shadow:none!important;color:#152c23!important}
.zgqe-country-results{max-height:245px;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:2px}
.zgqe-country-option{background:transparent;border:0;width:100%;font-family:inherit;text-align:left;padding:9px 10px;font-size:13px;line-height:1.35;border-radius:6px;cursor:pointer;color:#143c2e;white-space:normal}
.zgqe-country-option:hover,.zgqe-country-option:focus{background:#fff4c5;outline:1px solid #dab338}
.zgqe-country-empty{padding:9px;color:#54655c;font-size:13px}
.zgqe-phone-control{gap:6px;align-items:center}
.zgqe-phone-control input[type=tel]{flex:1 1 auto!important;min-width:0!important;width:1%!important;max-width:100%!important}
.zgqe-phone-prefix{flex:none;min-width:103px;max-width:112px;min-height:43px;border-radius:9px;border:1px solid #bacdc1;background:#fffbe5!important;color:#183e2b!important;font:inherit;font-size:13px;font-weight:700;cursor:pointer;padding:8px 5px;white-space:nowrap}
.zgqe-phone-control .zgqe-country-menu{left:0}
.zgqe-document-uploads{margin-top:10px}
.zgqe-documents h4{font-size:16px;font-weight:700;color:#0c5139!important;margin:0 0 10px}
.zgqe-documents{background:#fcfdfb}
.zgqe-document-uploads label{font-size:14px}
.zgqe-panel .zgqe-document-uploads input[type=file]{background:#fff;min-height:54px}
.zgqe-panel [data-zgqe-party-contact][hidden]{display:none!important}
@media(max-width:680px){.zgqe-party-picker{padding:12px}.zgqe-party-choice{min-width:0;flex:1 1 140px}.zgqe-country-menu{max-width:calc(100vw - 42px);min-width:0}.zgqe-phone-prefix{min-width:99px}.zgqe-country-option{padding:10px 9px}}


/* v1.0.4: separate registration entry screen; no buyer/seller fieldset inside the form. */
.zgqe-gateway,.zgqe-portal-form{font-family:inherit;box-sizing:border-box;max-width:1100px;margin:clamp(30px,5vw,80px) auto;padding:clamp(16px,4vw,50px);color:#0d3429;}
.zgqe-gateway{background:#e8efeb;border:1px solid #d6e0da;border-radius:23px;box-shadow:0 20px 50px rgba(2,45,30,.09);text-align:center;}
.zgqe-gateway-kicker,.zgqe-form-role{display:inline-block;color:#8d711a;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:13px;}
.zgqe-gateway h1{font-size:clamp(28px,4.1vw,45px);letter-spacing:-.025em;line-height:1.16;margin:0 0 15px;color:#083a2c;}
.zgqe-gateway-lead{margin:0 auto 34px;max-width:700px;font-size:clamp(15px,1.4vw,18px);line-height:1.55;color:#456456;}
/* v1.0.5: Buyer/Seller buttons share the EXACT gold-bar asset with the header. */
.zgqe-gateway-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2vw,28px);align-items:start;justify-items:center;text-align:center;}
.zgqe-gateway-choice{width:100%;max-width:520px;margin:0 auto;min-width:0;}
.zgqe-gateway .zgqe-gateway-button{position:relative;display:block!important;width:100%!important;max-width:520px!important;height:auto!important;min-height:0!important;margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0;color:#000!important;text-decoration:none!important;transform-origin:center center;animation:ziara-goldbar-pulse 1.65s ease-in-out infinite;}
.zgqe-gateway .zgqe-gateway-button .zgqe-goldbar-image{display:block!important;position:relative;z-index:1;width:100%!important;height:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:contain!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.zgqe-gateway .zgqe-gateway-button .zgqe-goldbar-label{position:absolute;z-index:2;top:50%;left:50%;transform:translate(-50%,-50%);display:block!important;width:62%;white-space:nowrap;text-align:center;color:#000!important;font-family:inherit!important;font-size:clamp(16px,2vw,24px)!important;font-weight:600!important;line-height:1.2!important;text-shadow:none!important;pointer-events:none;}
.zgqe-gateway .zgqe-gateway-button:hover{filter:brightness(1.12) saturate(1.06) drop-shadow(0 0 9px rgba(255,193,7,.75));}
.zgqe-gateway .zgqe-gateway-button:focus-visible{outline:3px solid #07503b!important;outline-offset:3px!important;}
.zgqe-gateway-choice>p{color:#36564a;font-size:clamp(12px,1.1vw,14px);line-height:1.45;margin:5px auto 0!important;max-width:390px;}
.zgqe-gateway-disclaimer{font-size:13px;line-height:1.55;color:#58675f;margin:33px 0 0;}
.zgqe-portal-form{padding-top:17px;}
.zgqe-back-link{display:inline-flex;margin-bottom:22px;text-decoration:none!important;color:#17563e!important;font-weight:750;font-size:15px;}
.zgqe-back-link:hover,.zgqe-back-link:focus{text-decoration:underline!important;}
.zgqe-form-role{margin:0 0 0 20px;}
.zgqe-portal-form .zgqe-standalone-form{margin:0;max-width:100%;}
.zgqe-portal-form .zgqe-standalone-form>h2{color:#0c4330;}
@media(max-width:700px){.zgqe-gateway-actions{grid-template-columns:minmax(0,1fr);gap:20px}.zgqe-form-role{display:block;margin:0 0 12px}.zgqe-gateway{border-radius:13px}.zgqe-gateway-choice{max-width:440px}.zgqe-gateway-choice>p{margin-top:1px!important}}
@media(prefers-reduced-motion:reduce){.zgqe-gateway .zgqe-gateway-button{animation:none!important}}


/* v1.0.6: role-specific registration sections. Hidden fields cannot block submission. */
.zgqe-panel [data-zgqe-role-only][hidden],
.zgqe-panel [data-zgqe-party-contact][hidden],
.zgqe-panel [data-zgqe-sample][hidden],
.zgqe-panel [data-zgqe-zambia][hidden],
.zgqe-panel [data-zgqe-southafrica][hidden] { display:none!important; }
.zgqe-panel .zgqe-role-group h4 { font-size:16px!important; color:#104736!important; font-weight:750; margin:0 0 15px; }
.zgqe-panel .zgqe-role-group > .zgqe-grid { margin-top:10px; }
.zgqe-panel .zgqe-role-label { display:block; }
.zgqe-panel .zgqe-grid > label[data-zgqe-role-only][hidden] { display:none!important; }
/* Match the Contact page telephone selector to Buyer/Seller registration. */
body.zgqe-general-contact .zgqe-phone-control { width:100%; max-width:100%; }
body.zgqe-general-contact .zgqe-phone-control input[type=tel] {
  min-width:0!important; flex:1 1 auto!important; width:1%!important;
  border-radius:9px!important; box-sizing:border-box;
}
body.zgqe-general-contact .zgqe-phone-prefix { font-size:13px; }
@media(max-width:520px) {
  .zgqe-panel .zgqe-role-group h4 { font-size:15px!important; }
  body.zgqe-general-contact .zgqe-phone-prefix { min-width:92px; padding:7px 4px; }
}

/* v1.0.7: concise role-based enquiry with accessible optional details. */
.zgqe-panel .zgqe-optional-details{margin:14px 0 2px;padding:12px 14px;border-radius:10px;border:1px solid #d4e2d9;background:#f7faf7;}
.zgqe-panel .zgqe-optional-details>summary{display:list-item;cursor:pointer;font-weight:700;color:#0e513c;font-size:15px;line-height:1.45;}
.zgqe-panel .zgqe-optional-details[open]>summary{margin-bottom:13px;}
.zgqe-panel .zgqe-optional-details .zgqe-grid{margin-top:12px;}
.zgqe-panel .zgqe-optional-details[hidden]{display:none!important;}
.zgqe-panel input[type=file][name="zgqe_product_photos[]"]{min-height:50px;background:white;}
.zgqe-panel .zgqe-gold .zgqe-optional-details{margin-top:0;}
.zgqe-contact-original-form{display:none!important;height:0!important;min-height:0!important;visibility:hidden!important;margin:0!important;padding:0!important;}
body.zgqe-general-contact .zgqe-contact-gateway{max-width:100%!important;width:100%!important;margin:0 auto!important;padding:clamp(12px,2vw,26px)!important;box-shadow:none!important;border-radius:12px!important;}
body.zgqe-general-contact .zgqe-contact-gateway h1{font-size:clamp(23px,2.2vw,31px)!important;}
body.zgqe-general-contact .zgqe-contact-gateway .zgqe-gateway-actions{grid-template-columns:minmax(0,1fr)!important;gap:10px!important;}
body.zgqe-general-contact .zgqe-contact-gateway .zgqe-gateway-lead{margin-bottom:18px!important;font-size:14px!important;}
body.zgqe-general-contact .zgqe-contact-gateway .zgqe-gateway-choice{max-width:390px;}
body.zgqe-general-contact .zgqe-contact-gateway .zgqe-goldbar-label{font-size:clamp(15px,2vw,20px)!important;}
body.zgqe-general-contact .zgqe-contact-gateway .zgqe-gateway-disclaimer{margin:15px 0 0!important;}

/* v1.0.8 — visible upload requirements and removable photo previews. */
.zgqe-panel .zgqe-required-doc{font-weight:650;}
.zgqe-panel .zgqe-required-doc input[type=file]{border-color:#c59712!important;background:#fffdf4!important;}
.zgqe-panel .zgqe-document-checklist{font-size:13px;line-height:1.65;color:#14513c;background:#f1f6ef;border-left:3px solid #e6b521;padding:12px 14px;margin:14px 0;}
.zgqe-panel [data-zgqe-doc][hidden],.zgqe-panel .zgqe-role-group[hidden]{display:none!important;}
.zgqe-photo-previews{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;margin-top:10px;}
.zgqe-photo-tile{background:#fff;border:1px solid #dee6de;border-radius:9px;padding:7px;display:grid;gap:6px;min-width:0;}
.zgqe-photo-tile img{width:100%;height:90px;object-fit:cover;border-radius:5px;}
.zgqe-photo-tile small{display:block;overflow-wrap:anywhere;font-size:11px;}
.zgqe-photo-tile button{background:#fff;color:#1b493e;border:1px solid #cad9d3;cursor:pointer;border-radius:5px;padding:6px;}
.zgqe-panel :is(input,textarea,select,button,a):focus-visible,.zgqe-gateway a:focus-visible{outline:3px solid #d7a500!important;outline-offset:3px;}
@media(max-width:600px){.zgqe-photo-previews{grid-template-columns:repeat(2,minmax(0,1fr));}}

.zgqe-standalone-form .zgqe-form-title{font-size:clamp(25px,2.5vw,36px);line-height:1.2;color:#0e493a;font-weight:700;margin:0 0 20px;}

/* v1.0.6: all applicable registration sections remain visible. */
.zgqe-panel .zgqe-visible-section{border:1px solid #d4e2d9;background:#f7faf7;padding:13px 14px;margin:10px 0 4px;border-radius:10px;}
.zgqe-panel .zgqe-visible-section>h4{font-size:16px;font-weight:700;color:#0e513c;margin:0 0 12px;}
.zgqe-panel .zgqe-visible-section .zgqe-grid{margin-top:10px;}
.zgqe-panel .zgqe-technical-extra[hidden]{display:none!important;}
.zgqe-panel .zgqe-required-doc>input[type=file]{border:2px solid #b28b18!important;}
/* v1.2.4: long forms remain in normal flow at narrow widths. */
.zgm-public-intake{width:100%;max-width:100%;box-sizing:border-box;}
.zgm-public-intake fieldset{border:1px solid #d6e0da;padding:clamp(12px,3vw,25px);min-width:0;}
.zgm-public-intake input,.zgm-public-intake textarea,.zgm-public-intake select{max-width:100%;width:100%;box-sizing:border-box;min-height:44px;}
.zgm-public-intake :disabled{opacity:1;color:#45564d;background:#f2f5f3;cursor:not-allowed;}
@media(max-width:700px){.zgm-public-intake .zgqe-grid{grid-template-columns:minmax(0,1fr)!important;}.zgqe-gateway .zgqe-goldbar-label{white-space:normal!important;font-size:clamp(13px,4vw,20px)!important;}}

/* Experience branches must stay hidden despite generic label layout rules. */
[data-zgqe-experience][hidden], [data-zgqe-experience] [hidden]{display:none!important;}
