/* Tashkilotlar bazasini yuklab olish (exports). Ranking uslublariga (ranking.css) qo'shimcha. */

.exports-card { padding: 1.5rem; }
.exports-h { font-family: "Bitter", Georgia, serif; font-size: 1.25rem; font-weight: 700; color: #212529; margin-bottom: 1.25rem; }
.exports-label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: #6c757d; margin-bottom: 0.375rem; }
.exports-hint { font-size: 0.8125rem; color: #6c757d; }
.exports-input { width: 100%; padding: 0.5rem 1rem; }
.exports-select { border: 1px solid #dee2e6; background-color: rgb(248, 250, 252); border-radius: 6px; font-size: 14px; }
.exports-pair { display: flex; gap: 0.5rem; }
.exports-link { background: none; border: 0; padding: 0; color: #00992b; font-size: 0.875rem; cursor: pointer; }
.exports-link:hover { text-decoration: underline; }

/* Qadamlar */
.exports-steps { list-style: none; display: flex; gap: 0.5rem; padding: 0; margin: 0 0 1.25rem; }
.exports-steps li { flex: 1; text-align: center; padding: 0.5rem 0.25rem; border-radius: 10px; background: #f1f3f5; color: #6c757d; font-size: 0.8125rem; font-weight: 600; }
.exports-steps li span { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #dee2e6; color: #495057; font-size: 0.75rem; margin-right: 4px; }
.exports-steps li.is-active { background: #00b533; color: #fff; }
.exports-steps li.is-active span { background: rgba(255, 255, 255, .25); color: #fff; }
.exports-steps li.is-done { background: #e6f9ee; color: #00992b; }
.exports-steps li.is-done span { background: #00b533; color: #fff; }
@media (max-width: 575px) { .exports-steps li { font-size: 0; } .exports-steps li span { font-size: 0.8125rem; margin: 0; } }

/* Tumanlar, chip'lar */
.exports-districts { max-height: 150px; overflow-y: auto; border: 1px solid #dee2e6; border-radius: 6px; background: rgb(248, 250, 252); padding: 0.375rem 0.75rem; font-size: 14px; }
.exports-districts label { display: flex; gap: 0.5rem; align-items: center; padding: 2px 0; cursor: pointer; }
.exports-chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.5rem; }
.exports-chip { display: inline-flex; align-items: center; gap: 0.375rem; background: #e6f9ee; color: #00762a; border-radius: 14px; padding: 2px 10px; font-size: 0.8125rem; }
.exports-chip button { background: none; border: 0; color: inherit; padding: 0; line-height: 1; cursor: pointer; font-size: 1rem; }
.exports-chip-plain { background: #f1f3f5; color: #343a40; }

/* OKED qidiruv */
.exports-oked { position: relative; }
.exports-oked-list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 2px 0 0; padding: 0; list-style: none; background: #fff; border: 1px solid #dee2e6; border-radius: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, .08); max-height: 260px; overflow-y: auto; }
.exports-oked-list li { padding: 0.5rem 0.75rem; font-size: 14px; cursor: pointer; }
.exports-oked-list li:hover { background: #f8f9fa; }
.exports-oked-list b { color: #00992b; margin-right: 6px; }

/* Segment */
.exports-seg { display: inline-flex; border: 1px solid #dee2e6; border-radius: 8px; overflow: hidden; }
.exports-seg label { margin: 0; padding: 0.4375rem 1rem; font-size: 14px; cursor: pointer; background: #fff; }
.exports-seg .btn-check:checked + label { background: #00b533; color: #fff; }

/* Statistika, jadval */
.exports-stat-label { font-size: 0.75rem; color: #6c757d; text-transform: uppercase; letter-spacing: .03em; }
.exports-big { font-size: 1.625rem; font-weight: 700; color: #212529; line-height: 1.2; }
.exports-sum { color: #00992b; }
.exports-table { width: 100%; font-size: 0.875rem; }
.exports-table td { padding: 4px 0; border-bottom: 1px solid #edf0f6; }
.exports-table td:last-child { text-align: right; white-space: nowrap; }

/* Ogohlantirishlar */
.exports-alert { border-radius: 10px; padding: 0.75rem 1rem; font-size: 0.875rem; }
.exports-alert-warn { background: #fff8e1; color: #7a5b00; }
.exports-alert-error { background: #fdecec; color: #a12a2a; }

/* Pastki panel */
.exports-bar { position: sticky; bottom: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; padding: 0.75rem 1.25rem; background: #fff; border: 1px solid #e9ecef; border-radius: 14px; box-shadow: 0 -4px 16px rgba(0, 0, 0, .05); }
.exports-bar-count { font-size: 1.125rem; font-weight: 700; }
.exports-bar-total { color: #00992b; font-weight: 700; }
.exports-bar-warn { color: #a12a2a; font-size: 0.8125rem; }
.exports-bar-actions { display: flex; gap: 0.5rem; }
.exports-bar.is-hidden { display: none; }
@media (max-width: 575px) { .exports-bar-actions { width: 100%; } .exports-bar-actions .ranking-btn { flex: 1; } }

/* Landing */
.exports-landing { max-width: 880px; }
.exports-hero { padding: 2.5rem 2rem; text-align: center; margin-bottom: 1.5rem; }
.exports-hero__title { font-family: "Bitter", Georgia, serif; font-size: 1.875rem; font-weight: 700; color: #212529; line-height: 1.25; margin-bottom: 0.75rem; }
.exports-hero__sub { color: #6c757d; font-size: 1rem; max-width: 600px; margin: 0 auto 1.5rem; }
.exports-hero__btn { font-size: 1.0625rem; padding: 0.75rem 2rem; }
.exports-hero__pick { background: #f6fbf8; border: 1px solid #d7f2e1; border-radius: 12px; padding: 1rem; margin: 0 auto 1.25rem; max-width: 560px; }
.exports-hero__pick-text { font-size: 0.875rem; color: #495057; margin: 0.25rem 0; }
.exports-hero__pick-num { font-size: 1.375rem; font-weight: 700; color: #212529; }
.exports-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.exports-fact { background: #fff; border: 1px solid #e9ecef; border-radius: 14px; padding: 1.25rem 1rem; text-align: center; }
.exports-fact__num { font-size: 1.75rem; font-weight: 700; color: #00992b; line-height: 1.1; }
.exports-fact__label { font-size: 0.875rem; color: #6c757d; margin-top: 0.25rem; }
.exports-price-table td { padding: 0.5rem 0; font-size: 0.9375rem; }
.exports-final { text-align: center; padding: 1.5rem 1rem 0; }
@media (max-width: 575px) {
  .exports-hero { padding: 1.75rem 1.25rem; }
  .exports-hero__title { font-size: 1.375rem; }
  .exports-hero__btn { display: block; width: 100%; }
  .exports-facts { grid-template-columns: 1fr; gap: 0.5rem; }
  .exports-fact { display: flex; align-items: baseline; gap: 0.75rem; text-align: left; padding: 0.75rem 1rem; }
}

/* Sahifalardagi blok */
.exports-promo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: #f6fbf8; border: 1px solid #d7f2e1; border-radius: 14px; padding: 1rem 1.25rem; }
.exports-promo__title { font-weight: 700; color: #212529; }
.exports-promo__sub { font-size: 0.875rem; color: #6c757d; }
.exports-promo__btn { display: inline-block; white-space: nowrap; background: #00b533; color: #fff; font-weight: 600; font-size: 0.9375rem; border-radius: 10px; padding: 0.5rem 1.25rem; text-decoration: none; }
.exports-promo__btn:hover { background: #00992b; color: #fff; }
@media (max-width: 575px) { .exports-promo__btn { width: 100%; text-align: center; } }

/* "Mening xaridlarim" */
.exports-table-wrap { overflow: hidden; }
.exports-list { width: 100%; font-size: 0.875rem; }
.exports-list th { background: #f8fcfe; color: #6d8188; font-size: 0.75rem; font-weight: 600; padding: 0.75rem 1rem; }
.exports-list td { padding: 0.75rem 1rem; border-top: 1px solid #edf0f6; vertical-align: middle; }
.exports-filters-cell { max-width: 320px; color: #495057; }
.exports-badge { display: inline-block; border-radius: 6px; padding: 2px 8px; font-size: 0.75rem; font-weight: 600; }
.exports-badge-ok { background: #e6f9ee; color: #00762a; }
.exports-badge-wait { background: #fff8e1; color: #7a5b00; }
.exports-badge-bad { background: #fdecec; color: #a12a2a; }
.exports-badge-muted { background: #f1f3f5; color: #495057; }
@media (max-width: 767px) {
  .exports-list thead { display: none; }
  .exports-list tr { display: block; padding: 0.75rem 1rem; border-top: 1px solid #edf0f6; }
  .exports-list td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: 0.25rem 0; text-align: right; }
  .exports-list td::before { content: attr(data-label); color: #6c757d; text-align: left; }
  .exports-list td:last-child::before { content: none; }
  .exports-list td:last-child { justify-content: flex-end; }
}
