/* ==========================================================================
   search.css — Dedicated stylesheet for /search page
   Extracted from inline styles in search.html + search-row.html.
   Loaded via <link> inside search.html's <main layout:fragment="content">.
   ========================================================================== */

/* --- §1  Title exception (body text size enforced globally in base.html) */
.cont_srchfrm .brd_title span   { font-size: 14px !important; }

/* --- §2  Layout --------------------------------------------------------- */
.srch-container     { width: auto; min-width: 960px; }
.srch-title-bar     { width: 100% !important; margin-top: 10px; }
.srch-title-bar span{ float: left; }

/* --- §3  Subcategory pills ---------------------------------------------- */
.srch-subcate-bar       { margin: 6px 0 10px 0; }
.srch-subcate-bar label { margin-right: 14px; }

/* --- §4  Subcategory banners -------------------------------------------- */
.srch-banner            { margin: 4px 0 10px; padding: 8px 12px; }
.srch-banner-npl        { background: var(--color-warning-soft); border-left: 4px solid var(--color-warning); color: var(--color-warning-text); }
.srch-banner-vehicle    { background: var(--color-primary-soft); border-left: 4px solid var(--color-primary-bright); color: var(--color-primary); }

/* --- §5  Filter table --------------------------------------------------- */
.srch-filter-table      { margin-top: 10px; }
.srch-filter-header     { border-bottom: 1px solid var(--color-border-mid); padding: 4px 2px; }
.srch-filter-label      { padding: 6px 4px; }
.srch-filter-label-top  { padding: 6px 4px; vertical-align: top; }
.srch-filter-value      { padding: 4px; }

/* --- §6  Form controls -------------------------------------------------- */
.srch-input             { height: 22px; border: 1px solid var(--color-border-input); padding: 2px 4px; }
.srch-input-keyword     { width: 420px; }
.srch-input-amount      { width: 110px; }
.srch-input-area        { width: 80px; }
.srch-input-case-year   { width: 70px; }
.srch-input-case-num    { width: 100px; }
.srch-select            { height: 24px; }
.srch-select-court      { height: 24px; margin-left: 10px; }
.srch-gap               { margin-left: 14px; }

/* --- §7  Status filter row ---------------------------------------------- */
.srch-status-sep        { margin-left: 14px; border-left: 1px solid var(--color-border-mid); padding-left: 14px; }
.srch-status-highlight  { color: var(--color-primary-deep); font-weight: bold; }

/* --- §8  Submit row ----------------------------------------------------- */
.srch-submit-row        { padding-top: 10px; padding-bottom: 10px; }

/* --- §9  Saved search conditions ---------------------------------------- */
.srch-saved-outer       { clear: both; margin-top: 14px; width: 100%; border-top: 1px solid var(--color-border-mid); padding-top: 10px; }
.srch-saved-list        { list-style: none; padding: 0; margin: 0; }
.srch-saved-title-li    { width: 100%; margin-top: 4px; }
.srch-saved-title-span  { float: left; font-weight: bold; color: var(--color-text-label); }
.srch-saved-pills       { clear: both; margin-bottom: 10px; width: 100%; border-bottom: 1px solid var(--color-border-subtle); text-align: left; padding: 6px 0; }
.srch-saved-pill        { display: inline-block; margin: 3px 4px 3px 0; padding: 4px 8px; border: 1px solid var(--color-border-light); background: var(--color-surface-raised); }
.srch-saved-pill a      { text-decoration: none; cursor: pointer; }
.srch-saved-pill-link   { color: var(--color-primary-deep); }
.srch-saved-pill-del    { color: var(--color-border-light); margin-left: 6px; }

/* --- §10 Error / empty states ------------------------------------------- */
.srch-error             { margin-top: 20px; padding: 14px; border: 1px solid var(--color-danger-soft); background: var(--color-danger-bg); color: var(--color-danger-text); }
.srch-initial           { margin-top: 30px; padding: 40px; text-align: center; color: var(--color-text-secondary); border: 1px dashed var(--color-border-mid); }

/* --- §11 Results wrapper ------------------------------------------------ */
.srch-results           { margin-top: 20px; }

/* --- §12 Results top menu ----------------------------------------------- */
.srch-topmenu           { border-bottom: 1px solid var(--color-border-mid); }
.srch-topmenu-action    { cursor: pointer; }
.srch-topmenu-count     { padding-right: 8px; color: var(--color-text-secondary); }

/* --- §13 Admin action bar ----------------------------------------------- */
.srch-admin-bar         { margin: 6px 0; padding: 8px; background: var(--color-caution-bg); border: 1px solid var(--color-warning); }
.srch-admin-label       { font-weight: bold; color: var(--color-warning-text); margin-right: 10px; }
.srch-admin-note        { color: var(--color-warning-text); margin-left: 10px; }
.srch-admin-note a      { color: var(--color-text-link); }

/* --- §14 Result table header -------------------------------------------- */
.srch-thead-row         { background-color: var(--color-surface-raised); }
.srch-pre-header-row    { background-color: var(--color-primary-soft); }
.srch-pre-header-cell   { padding: 6px 8px; border-top: 2px solid var(--color-primary-deep); border-bottom: 1px solid var(--color-primary-tint-border); }
.srch-pre-label         { color: var(--color-primary-deep); }
.srch-pre-count         { color: var(--color-text-secondary); margin-left: 8px; }
.srch-pre-table         { margin-top: 14px; }

/* --- §15 Pagination ----------------------------------------------------- */
.srch-pagination        { text-align: center; margin-top: 20px; }
.srch-pagination a      { display: inline-block; padding: 6px 14px; border: 1px solid var(--color-border-light); color: var(--color-text-label); text-decoration: none; }

/* ==========================================================================
   §16  Result row (search-row.html)
   ========================================================================== */
.srch-row               { cursor: pointer; height: 95px; }
.srch-row-alt           { background-color: var(--color-surface-soft); }

/* Photo cell */
.srch-photo             { position: relative; width: 95px; height: 85px; overflow: hidden; }
.srch-photo-overlay     { position: absolute; width: 24px; height: 24px; left: 0; top: 0; }
.srch-photo-overlay-seen  { z-index: 99; }
.srch-photo-overlay-fav   { z-index: 98; }
.srch-photo-overlay img { margin: 2px 0 0 2px; }
.srch-photo-overlay-seen img { width: 20px; height: 20px; }

/* Cost overlay on photo */
.srch-cost-text         { position: absolute; z-index: 10; margin-left: 3px; width: 85px; height: 40px; line-height: 20px; top: 40px; text-align: left; color: var(--color-surface); }
.srch-cost-bg           { position: absolute; z-index: 9; opacity: 0.4; width: 85px; height: 85px; background-color: var(--color-text-dim); }

/* Thumbnail */
img.kyg_pic             { width: 85px !important; height: 85px !important; object-fit: cover !important; }
.srch-thumb-wrap        { width: 85px; height: 85px; overflow: hidden; }
.srch-thumb-placeholder { display: block; width: 85px; height: 85px; background: var(--color-surface-softer); text-align: center; line-height: 85px; }
.srch-thumb-placeholder svg { vertical-align: middle; }

/* Case number cell */
.srch-court-name        { color: var(--color-text-dim); }
.srch-case-num          { color: var(--color-primary-deep); font-weight: bold; }
.srch-realty-badge      { color: var(--color-accent-pink); }

/* Address cell */
.srch-addr              { vertical-align: middle; max-width: 0; }
.srch-addr-text         { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.srch-special           { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Amount cell */
.srch-amt               { padding-right: 8px; }

/* Status cell */
.srch-status-expected   { color: var(--color-primary-deep); font-weight: bold; }

/* --- §17 Memo/review secondary row -------------------------------------- */
.srch-memo-row          { padding: 6px 10px; border-top: 1px dashed var(--color-border-subtle); color: var(--color-text-secondary); text-align: left; }
.srch-memo-icon         { color: var(--color-accent-pink); font-weight: bold; }
.srch-memo-title        { color: var(--color-text-primary); margin: 0 6px; }
.srch-memo-content      { color: var(--color-text-secondary); }
.srch-memo-sep          { color: var(--color-border-strong); margin: 0 8px; }
.srch-review-icon       { color: var(--color-primary-deep); font-weight: bold; }
.srch-review-rating     { color: var(--color-warning); margin: 0 4px; }

/* ==========================================================================
   §18  Blog clipboard modal
   ========================================================================== */
.srch-modal-overlay     { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.srch-modal-box         { background: var(--color-surface); width: 640px; max-width: 92%; margin: 6% auto; border: 1px solid var(--color-border-light); }
.srch-modal-header      { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--color-border-subtle); background: var(--color-surface-raised); }
.srch-modal-close       { width: 40px; height: 25px; line-height: 11px; }
.srch-modal-body        { padding: 14px; }
.srch-modal-btn-row     { margin-bottom: 8px; }
.srch-modal-label       { display: block; color: var(--color-text-secondary); margin-top: 10px; }
.srch-modal-textarea    { width: 100%; padding: 6px; border: 1px solid var(--color-border-input); font-family: dotum; }
.srch-modal-textarea-html { width: 100%; padding: 6px; border: 1px solid var(--color-border-input); font-family: monospace; font-size: 11px !important; }

/* ==========================================================================
   §19  Listing result row (site/fragments/listing-row.html)
   Reuses §16 classes: srch-row, srch-row-alt, srch-photo, srch-addr,
   srch-amt, oth_day. New lst-* classes below are listing-specific.
   ========================================================================== */
.lst-title              { font-weight: bold; color: var(--color-text-primary); }
.lst-prop-badge         { display: inline-block; padding: 1px 5px; border-radius: 2px; font-size: 11px; background: var(--color-primary-soft); color: var(--color-info-text); margin-left: 4px; }
.lst-txn-badge          { display: inline-block; padding: 2px 7px; border-radius: 2px; font-size: 11px; font-weight: bold; }
.lst-txn-sale           { background: var(--color-success-soft); color: var(--color-success); }
.lst-txn-jeonse         { background: var(--color-primary-soft); color: var(--color-primary-deep); }
.lst-txn-monthly        { background: var(--color-warning-soft); color: var(--color-warning-text); }
.lst-price-main         { font-weight: bold; color: var(--color-text-primary); }
.lst-price-sub          { color: var(--color-text-secondary); font-size: 12px; }
.lst-photo-wrap         { position: relative; width: 85px; height: 85px; }
.lst-photo-count        { position: absolute; bottom: 3px; right: 3px; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 2px; line-height: normal; }
