/**
 * Create-a-Listing polish. Scoped to the submit page (enqueued only there).
 * Prefixed .hle-* for our own elements; a few scoped overrides of Houzez's
 * submit markup for spacing/clarity.
 */

/* ---- progress bar ---- */
.hle-progress{
	--navy:#0b1b32;--gold:#c9a35f;--line:#e4e9f1;
	background:#fff;border:1px solid var(--line);border-radius:12px;
	padding:14px 18px;margin:0 0 18px;
	box-shadow:0 1px 2px rgba(11,27,50,.05);
}
.hle-progress__row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px;}
.hle-progress__label{font-family:Georgia,serif;font-size:17px;font-weight:600;color:var(--navy);}
.hle-progress__count{font-size:13px;color:#6a7994;white-space:nowrap;}
.hle-progress__count b{color:var(--navy);}
.hle-progress__track{height:7px;border-radius:99px;background:#eef2f7;overflow:hidden;}
.hle-progress__fill{height:100%;border-radius:99px;width:0;
	background:linear-gradient(90deg,var(--gold),#dcb87a);transition:width .35s ease;}

/* ---- inline validation note ---- */
.hle-field-err{color:#dc2626;font-size:12.5px;font-weight:600;margin-top:5px;}
.submit-form-wrap .is-invalid,
#submit_property_form .is-invalid{border-color:#dc2626 !important;}

/* ---- price step: let the price breathe, de-emphasize the toggle ---- */
#submit_property_form .hz-price-placeholder{margin-top:8px;font-size:13px;color:#6a7994;}

/* ---- repeater remove buttons: replace the hardcoded inline red X ---- */
#submit_property_form .additional-details-remove,
#submit_property_form .floor-plans-remove,
#submit_property_form .sub-properties-remove{
	color:#dc2626 !important;text-decoration:none;font-weight:700;line-height:1;
}

/* ---- additional-details / attachments tables: even columns ---- */
#submit_property_form .dashboard-table td{vertical-align:middle;}

/* ---- consistent card spacing between sections ---- */
#submit_property_form .block-wrap{margin-bottom:20px;}

/* ---- AI Listing Creator (paste-a-link importer) ---- */
.hli{--navy:#0b1b32;--navy2:#16294a;--gold:#c9a35f;--gold-deep:#9a6f26;--line:#e4e9f1;--muted:#6a7994;
	background:linear-gradient(135deg,var(--navy),var(--navy2));color:#fff;border-radius:14px;
	padding:20px 22px;margin:0 0 18px;box-shadow:0 10px 30px rgba(11,27,50,.18);}
.hli-badge{display:inline-block;background:rgba(201,163,95,.18);color:var(--gold);font-weight:700;
	font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;padding:4px 10px;border-radius:99px;}
.hli-title{font-family:Georgia,serif;font-size:20px;font-weight:600;color:#fff;margin:10px 0 4px;}
.hli-sub{color:#c3cfe0;font-size:13.5px;line-height:1.5;margin:0;max-width:70ch;}
.hli-row{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap;}
.hli-url{flex:1 1 320px;min-width:0;padding:12px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.18);
	background:rgba(255,255,255,.08);color:#fff;font-size:14.5px;}
.hli-url::placeholder{color:#8ea1bd;}
.hli-url:focus{outline:none;border-color:var(--gold);background:rgba(255,255,255,.12);}
.hli-btn{flex:0 0 auto;border:none;border-radius:10px;padding:12px 22px;font-weight:700;font-size:14px;cursor:pointer;
	background:linear-gradient(135deg,var(--gold),#dcb87a);color:var(--navy);transition:transform .1s,box-shadow .1s;}
.hli-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(201,163,95,.35);}
.hli-btn:disabled{opacity:.6;cursor:default;transform:none;}
.hli-status{margin-top:12px;font-size:13.5px;padding:10px 12px;border-radius:9px;background:rgba(255,255,255,.08);color:#dbe4f0;}
.hli-status.is-load{background:rgba(201,163,95,.14);color:#f0e4cd;}
.hli-status.is-ok{background:rgba(22,163,74,.16);color:#c9f0d5;}
.hli-status.is-err{background:rgba(220,38,38,.16);color:#f6c9c9;}
.hli-photos{margin-top:14px;}
.hli-photos__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;flex-wrap:wrap;}
.hli-photos__k{font-size:12.5px;color:#c3cfe0;font-weight:600;}
.hli-addbtn{border:1px solid var(--gold);background:rgba(201,163,95,.16);color:var(--gold);font-weight:700;font-size:12.5px;
	padding:7px 14px;border-radius:8px;cursor:pointer;transition:background .15s;white-space:nowrap;}
.hli-addbtn:hover{background:rgba(201,163,95,.28);}
.hli-addbtn:disabled{opacity:.6;cursor:default;}
.hli-photos__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;}
.hli-photos__grid img{width:100%;height:70px;object-fit:cover;border-radius:8px;display:block;border:1px solid rgba(255,255,255,.12);}
.hli-fine{margin:14px 0 0;font-size:11.5px;color:#8ea1bd;line-height:1.5;}
@media(max-width:560px){.hli-btn{flex:1 1 100%;}}
