.bci-card {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.bci-wrap {
  --bci-bg-1: #eff6ff;
  --bci-bg-2: #e7f1ff;
  --bci-ink: #11263b;
  --bci-muted: #5d738d;
  --bci-border: #c6daf2;
  --bci-accent: #0d67c2;
  --bci-accent-2: #1390de;
  --bci-success: #107f60;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(180, 205, 232, 0.9);
  padding: 28px;
  border-radius: 24px;
  isolation: isolate;
  background:
    radial-gradient(1200px 420px at -5% -10%, rgba(58, 143, 231, 0.2), transparent 56%),
    radial-gradient(900px 340px at 105% 105%, rgba(11, 124, 186, 0.18), transparent 55%),
    linear-gradient(145deg, var(--bci-bg-1), var(--bci-bg-2));
  color: var(--bci-ink);
  box-shadow:
    0 20px 46px rgba(7, 46, 84, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  font-family: "Be Vietnam Pro", "Segoe UI", Tahoma, sans-serif;
}

.bci-wrap::before,
.bci-wrap::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.bci-wrap::before {
  width: 300px;
  height: 300px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(20, 137, 209, 0.3), rgba(20, 137, 209, 0));
}

.bci-wrap::after {
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(11, 102, 195, 0.22), rgba(11, 102, 195, 0));
}

.bci-hero {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.bci-hero h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  color: #0a2f53;
  letter-spacing: 0.2px;
}

.bci-hero p {
  margin: 8px 0 0;
  max-width: 900px;
  color: var(--bci-muted);
  font-size: 15px;
}

.bci-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.bci-hero-tags span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #b8d3f1;
  background: rgba(255, 255, 255, 0.72);
  color: #13456e;
  font-size: 12px;
  font-weight: 700;
}

.bci-search {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(1px);
  border: 1px solid rgba(193, 214, 238, 0.95);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(9, 54, 92, 0.1);
}

.bci-search label {
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--bci-ink) !important;
  letter-spacing: 0.2px;
}

.bci-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bci-grid > div {
  padding: 12px;
  border: 1px solid rgba(197, 215, 236, 0.95);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 255, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.bci-size-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 8px;
}

.bci-search input[type="text"],
.bci-search select {
  width: 100%;
  height: 46px;
  padding: 11px 12px;
  color: #112437 !important;
  background: #eaf4ff !important;
  border: 1px solid #b6d3f2;
  border-radius: 11px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bci-search input[type="text"]:focus,
.bci-search select:focus {
  outline: none;
  border-color: var(--bci-accent);
  box-shadow: 0 0 0 3px rgba(11, 102, 195, 0.16);
  transform: translateY(-1px);
}

.bci-search input[type="text"]::placeholder {
  color: var(--bci-muted) !important;
  opacity: 1;
}

.bci-fixed-brand {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 12px;
  color: #0c3d67;
  background: linear-gradient(180deg, #edf6ff, #e2f0ff);
  border: 1px solid #b6d3f2;
  border-radius: 11px;
  font-weight: 700;
}

.bci-search button {
  height: 46px;
  min-width: 150px;
  padding: 0 22px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--bci-accent), var(--bci-accent-2));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 12px 18px rgba(11, 102, 195, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.bci-action-cell {
  grid-column: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  border: 0 !important;
  background: transparent !important;
  padding: 4px 0 0 !important;
}

.bci-search button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(11, 102, 195, 0.34);
}

.bci-results {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(192, 213, 236, 0.95);
  background: rgba(255, 255, 255, 0.82);
}

.bci-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.bci-results-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e8f3ff;
  border: 1px solid #bfd8f3;
  color: #14466f;
  font-size: 12px;
  font-weight: 800;
}

.bci-results,
.bci-results p,
.bci-results h3,
.bci-results th,
.bci-results td,
.bci-results a {
  color: #0f2338 !important;
}

.bci-results h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.bci-results p {
  margin: 2px 0;
}

.bci-empty-state {
  border: 1px dashed #b6cee8;
  background: linear-gradient(180deg, #f8fbff, #f2f8ff);
  border-radius: 12px;
  padding: 12px 14px;
}

.bci-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #d5e3f3;
}

.bci-table th {
  background: linear-gradient(180deg, #0f78ca, #0a63b1);
  color: #fff !important;
  border: 0;
  padding: 10px;
  text-align: left;
}

.bci-table td {
  border-top: 1px solid #e2ebf5;
  border-right: 1px solid #e2ebf5;
  padding: 10px;
  vertical-align: top;
  background: #fff;
}

.bci-table th:nth-child(1),
.bci-table th:nth-child(2),
.bci-table th:nth-child(3),
.bci-table td:nth-child(1),
.bci-table td:nth-child(2),
.bci-table td:nth-child(3) {
  text-align: center;
  vertical-align: middle;
}

.bci-table th:nth-child(4),
.bci-table td:nth-child(4) {
  text-align: left;
}

.bci-table td:last-child,
.bci-table th:last-child {
  border-right: 0;
}

.bci-table tbody tr:nth-child(even) td {
  background: #f8fbff;
}

.bci-table tbody tr:hover td {
  background: #eef6ff;
}

.bci-table a {
  font-weight: 700;
  text-decoration: none;
  color: #0b66c3 !important;
}

.bci-table a:hover {
  text-decoration: underline;
}

.bci-mobile-cards {
  display: none;
}

.bci-mobile-card {
  border: 1px solid #d7e4f2;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 10px 18px rgba(10, 49, 90, 0.08);
}

.bci-mobile-card + .bci-mobile-card {
  margin-top: 10px;
}

.bci-mobile-card__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.bci-mobile-card__head strong {
  color: #0f3157;
  font-size: 17px;
  line-height: 1.2;
}

.bci-mobile-card__head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eaf4ff;
  border: 1px solid #c5daf0;
  color: #14466f;
  font-size: 12px;
  font-weight: 800;
}

.bci-mobile-card__row + .bci-mobile-card__row {
  margin-top: 8px;
}

.bci-mobile-card__row label {
  display: block;
  margin-bottom: 4px;
  color: #5d738d !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bci-mobile-card__row span {
  display: block;
  color: #0f2338;
  font-size: 14px;
  line-height: 1.55;
}

.bci-pagination {
  margin-top: 14px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.bci-pagination a,
.bci-pagination span {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c7d9ed;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
}

.bci-pagination .current {
  background: linear-gradient(135deg, var(--bci-accent), var(--bci-accent-2));
  color: #fff !important;
  border-color: transparent;
}

.bci-detail {
  margin-top: 8px;
  border: 1px solid #cbe1d6;
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(180deg, #f5fffb, #eefff8);
  box-shadow: inset 0 0 0 1px rgba(15, 122, 95, 0.05);
}

.bci-detail p {
  margin: 6px 0;
}

.bci-detail h3 {
  margin-top: 0;
  color: var(--bci-success) !important;
}

@media (max-width: 1024px) {
  .bci-grid {
    grid-template-columns: 1fr;
  }

  .bci-action-cell {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .bci-wrap {
    padding: 14px;
    border-radius: 16px;
    overflow: visible;
  }

  .bci-hero h2 {
    font-size: 18px;
    line-height: 1.18;
  }

  .bci-hero p {
    font-size: 14px;
  }

  .bci-search {
    padding: 12px;
  }

  .bci-grid > div {
    padding: 10px;
  }

  .bci-results {
    width: 100%;
    margin-right: 0;
    padding: 12px;
    overflow: visible;
  }

  .bci-results h3 {
    font-size: 16px;
    line-height: 1.2;
  }

  .bci-size-row {
    grid-template-columns: 1fr;
  }

  .bci-search button {
    width: 100%;
    justify-content: center;
  }

  .bci-table {
    display: none;
  }

  .bci-mobile-cards {
    display: block;
    margin-top: 10px;
  }
}
