/* california-search.css | ver 5.9 */

#parcel-search-app * { box-sizing: border-box; }
#parcel-search-app { width: 100%; }
#parcel-search-app {
  font-family: Arial, Helvetica, sans-serif;
}

.ps-wrapper {
    background: #3f3f4e;
    padding: 40px 0;
    min-height: 400px;
}

.ps-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── HEADER ── */
.ps-header { margin-bottom: 30px; }

.ps-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.ps-desc { color: #ffffff; font-size: 14px; line-height: 1.6; }
.ps-desc strong { font-weight: 700; color: #ffffff; }
.highlight { color: #ff9900; font-weight: 700; }

/* ── CARD ── */
.ps-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.ps-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.ps-divider {
    height: 2px;
    background: #0088aa;
    width: 100%;
    margin: 0 0 25px 0;
}

/* ── FORM ── */
.ps-form { display: flex; gap: 14px; flex-wrap: wrap; }

.ps-input {
    flex: 1;
    min-width: 200px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #e5e5e5 !important;
    background: #ffffff;
    font-size: 15px;
    border-radius: 0 !important;
}

.ps-input::placeholder { color: #999; font-size: 15px; }
.ps-input:focus { border-color: #0076a8 !important; outline: none; }

/* ── BUTTON ── */
.ps-btn {
    background: #0076a8;
    color: #ffffff;
    border: none !important;
    height: 46px;
    padding: 0 32px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0 !important;
}
.ps-btn:hover { background: #005f87; }

/* ── STATUS ── */
#mb-status-area { margin-top: 20px; min-height: 20px; }

#mb-status-area .loading-text {
    color: #444444 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin: 0 0 10px 0;
}

#mb-status-area .success-count {
    color: #28a745 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    margin: 0 0 15px 0 !important;
    display: block;
}

/* ── TABLE WRAPPER ── */
.ps-table-wrap {
    overflow-x: auto !important;
    width: 100%;
    margin-top: 0;
}

/* ── TABLE ── */
/* Use !important on every rule to override Astra theme's table styles */
#mb-main-table {
    width: 100% !important;
    min-width: 1800px !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    border: none !important;
    margin: 0 !important;
    table-layout: auto !important;
}

/* ── HIDE THEAD UNTIL SEARCH ── */
#mb-main-table thead,
#mb-main-table #mb-thead {
    display: none !important;
}

#mb-main-table.show-head thead,
#mb-main-table.show-head #mb-thead {
    display: table-header-group !important;
}

/* ── THEAD CELLS — beat Astra's td,th rule ── */
#mb-main-table thead th,
#mb-main-table #mb-header-row th,
table#mb-main-table thead tr th {
    background: #f2f2f2 !important;
    color: #333333 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    text-align: center !important;
    padding: 11px 12px !important;
    border: 1px solid #dee2e6 !important;
    border-width: 1px !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    line-height: 1.4 !important;
}

/* ── TBODY CELLS ── */
#mb-main-table tbody td,
table#mb-main-table tbody tr td {
    background: #ffffff !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #333333 !important;
    padding: 12px !important;
    border: 1px solid #dee2e6 !important;
    border-width: 1px !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

#mb-main-table tbody tr:hover td {
    background: #e6f2ff !important;
}

/* ── LOAD MORE ── */
#load-more { margin-top: 15px; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    .ps-card { padding: 20px; }
    .ps-input, .ps-btn { flex: 1 1 100%; }
}