.cek-umkm {
  --cek-green: #19834d;
  --cek-green-dark: #0f5c37;
  --cek-green-soft: #e9f5ee;
  --cek-ink: #1d3328;
  --cek-muted: #5f7469;
  --cek-border: #e1ece5;
  padding: 8px 0 56px;
  color: var(--cek-ink);
  font-family: "Open Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.cek-umkm h1,
.cek-umkm h2,
.cek-umkm h3,
.cek-modal h3,
.cek-modal h5 {
  font-family: "Poppins", "Open Sans", Arial, sans-serif;
}

/* ---------- Hero ---------- */
.cek-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 30px 32px;
  overflow: hidden;
  border: 1px solid #e3ede7;
  border-radius: 22px;
  background:
    radial-gradient(circle at 84% 12%, rgba(191, 226, 203, 0.55), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(225, 241, 230, 0.9), transparent 44%),
    linear-gradient(118deg, #ffffff 0%, #fbfdfb 55%, #eff8f1 100%);
  box-shadow: 0 12px 32px rgba(25, 68, 44, 0.07);
}

.cek-hero::after {
  content: "";
  position: absolute;
  top: -74px;
  right: -46px;
  width: 230px;
  height: 230px;
  border: 26px solid rgba(25, 131, 77, 0.055);
  border-radius: 50%;
  pointer-events: none;
}

.cek-hero-copy,
.cek-hero-badge {
  position: relative;
  z-index: 1;
}

.cek-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid #d9ebe0;
  border-radius: 20px;
  background: rgba(233, 245, 238, 0.9);
  color: #2f6a4b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cek-hero h1 {
  margin: 13px 0 7px;
  color: var(--cek-ink);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.cek-hero p {
  max-width: 590px;
  margin: 0;
  color: var(--cek-muted);
  font-size: 13px;
  line-height: 1.65;
}

.cek-hero-badge {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border: 1px solid #dcebe2;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 6px 18px rgba(25, 68, 44, 0.06);
  backdrop-filter: blur(4px);
}

.cek-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, #1f9457 0%, #0f5c37 100%);
  box-shadow: 0 8px 18px rgba(15, 92, 55, 0.24);
  color: #fff;
  font-size: 20px;
}

.cek-hero-badge strong {
  display: block;
  color: var(--cek-ink);
  font-size: 12px;
  font-weight: 700;
}

.cek-hero-badge small {
  display: block;
  margin-top: 2px;
  color: var(--cek-muted);
  font-size: 11px;
}

/* ---------- Search form ---------- */
.cek-search {
  margin-bottom: 18px;
  padding: 20px 22px 18px;
  border: 1px solid var(--cek-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 70, 47, 0.05);
}

.cek-search-grid {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) minmax(280px, 2fr) auto;
  align-items: end;
  gap: 14px;
}

.cek-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cek-field label {
  margin: 0;
  color: #4c6357;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cek-control {
  position: relative;
}

.cek-control > i {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  transform: translateY(-50%);
  color: #7b9186;
  font-size: 13px;
  pointer-events: none;
}

.cek-input {
  width: 100%;
  height: 46px;
  padding: 9px 14px 9px 40px;
  border: 1px solid #d9e5dd;
  border-radius: 11px;
  background-color: #fbfdfb;
  color: var(--cek-ink);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.cek-input::placeholder {
  color: #8ba095;
}

.cek-input:hover {
  border-color: #c3d8ca;
}

.cek-input:focus {
  border-color: #68b88d;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(25, 131, 77, 0.12);
  outline: none;
}

.cek-select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23657f71' d='M1.4 1.4 6 6l4.6-4.6L12 2.8 6 8.8 0 2.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px 7px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.cek-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: linear-gradient(135deg, #1f9457 0%, #147243 100%);
  box-shadow: 0 8px 18px rgba(20, 114, 67, 0.22);
  color: #fff;
  font-family: "Poppins", "Open Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cek-btn:hover {
  background: linear-gradient(135deg, #23a260 0%, #0f5c37 100%);
  box-shadow: 0 10px 22px rgba(20, 114, 67, 0.28);
  color: #fff;
  transform: translateY(-1px);
}

.cek-btn:focus-visible,
.cek-detail-btn:focus-visible {
  outline: 2px solid rgba(25, 131, 77, 0.55);
  outline-offset: 2px;
}

.cek-hint {
  margin: 12px 0 0;
  color: var(--cek-muted);
  font-size: 11px;
  line-height: 1.5;
}

.cek-hint i {
  margin-right: 4px;
  color: #4b8a68;
}

/* ---------- Results ---------- */
.cek-results {
  overflow: hidden;
  border: 1px solid var(--cek-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 70, 47, 0.05);
}

.cek-results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 16px;
}

.cek-results-head h2 {
  margin: 0 0 4px;
  color: var(--cek-ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cek-results-head p {
  margin: 0;
  color: var(--cek-muted);
  font-size: 11px;
  line-height: 1.5;
}

.cek-count {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid #d9ebe1;
  border-radius: 20px;
  background: #f2faf5;
  color: #2f6a4b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.cek-results .table-responsive {
  padding: 0 14px;
}

.cek-table {
  min-width: 800px;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: #3c5449;
  font-size: 12px;
}

.cek-table thead > tr > th {
  padding: 11px 12px;
  border-top: 1px solid var(--cek-border);
  border-bottom: 1px solid var(--cek-border);
  background: #f5faf7;
  color: #5a7466;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cek-table thead > tr > th:first-child {
  border-radius: 10px 0 0 10px;
}

.cek-table thead > tr > th:last-child {
  border-radius: 0 10px 10px 0;
}

.cek-table tbody > tr > td {
  padding: 12px;
  border-top: 1px solid #eef4f0;
  vertical-align: middle;
}

.cek-table tbody > tr:first-child > td {
  border-top: 0;
}

.cek-table tbody > tr:nth-child(even) > td {
  background: #fbfdfb;
}

.cek-table tbody > tr:hover > td {
  background: #f2faf5;
}

.cek-table tr[hidden] {
  display: none;
}

.cek-col-no {
  width: 58px;
}

.cek-no {
  color: #6f8579;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.cek-business {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.cek-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1f9457, #0f5c37);
  color: #fff;
  font-family: "Poppins", "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.cek-avatar-1 {
  background: linear-gradient(135deg, #3f86b5, #275f83);
}

.cek-avatar-2 {
  background: linear-gradient(135deg, #b4852f, #8a6220);
}

.cek-avatar-3 {
  background: linear-gradient(135deg, #8a5b86, #623e5f);
}

.cek-business-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cek-business-copy strong {
  overflow: hidden;
  color: var(--cek-ink);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cek-business-copy small {
  margin-top: 2px;
  color: var(--cek-muted);
  font-size: 10px;
}

.cek-nik {
  color: #4d6357;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.cek-kec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 20px;
  background: #f1f6f3;
  color: #52695d;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.cek-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid #cfe3d7;
  border-radius: 20px;
  background: #fff;
  color: #247a4f;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cek-detail-btn:hover {
  border-color: #19834d;
  background: #19834d;
  color: #fff;
}

.cek-detail-btn i {
  font-size: 11px;
}

.cek-results-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 13px 22px 15px;
  border-top: 1px dashed var(--cek-border);
  color: var(--cek-muted);
  font-size: 10px;
}

.cek-results-foot i {
  color: #4b8a68;
  font-size: 12px;
}

.cek-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 34px 16px;
  text-align: center;
}

.cek-empty i {
  margin-bottom: 4px;
  color: #8fa99b;
  font-size: 26px;
}

.cek-empty strong {
  color: var(--cek-ink);
  font-size: 13px;
}

.cek-empty span {
  color: var(--cek-muted);
  font-size: 11px;
}

/* ---------- Detail modal ---------- */
.cek-modal-dialog {
  width: auto;
  max-width: min(1040px, calc(100% - 24px));
  margin: 12px auto;
}

.cek-modal {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(18, 52, 35, 0.22);
  font-family: "Open Sans", Arial, sans-serif;
}

.cek-modal-head {
  align-items: flex-start;
  padding: 16px 18px 12px;
  border-bottom: 1px solid #e6f0ea;
  background: linear-gradient(118deg, #fff 0%, #f3faf5 100%);
}

.cek-modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: #2f6a4b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cek-modal-eyebrow i {
  font-size: 11px;
}

.cek-modal-head .modal-title {
  margin: 0;
  color: var(--cek-ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cek-modal-sub {
  margin: 5px 0 0;
  max-width: 520px;
  color: var(--cek-muted);
  font-size: 10px;
  line-height: 1.5;
}

.cek-modal-head .btn-close {
  margin: 2px 0 0;
  opacity: 0.55;
}

.cek-modal-head .btn-close:hover {
  opacity: 1;
}

.cek-modal-body {
  padding: 14px 18px 4px;
}

.cek-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 11px 13px;
  border: 1px solid #e0eee5;
  border-radius: 13px;
  background: linear-gradient(118deg, #f4fbf7 0%, #fbfdfb 100%);
}

.cek-profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, #1f9457, #0f5c37);
  box-shadow: 0 8px 18px rgba(15, 92, 55, 0.2);
  color: #fff;
  font-family: "Poppins", "Open Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.cek-profile-copy h3 {
  margin: 0 0 5px;
  color: var(--cek-ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cek-profile-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cek-chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  background: #e9f5ee;
  color: #2f6a4b;
  font-size: 10px;
  font-weight: 600;
}

.cek-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}

.cek-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.cek-status-success {
  background: #e4f5ea;
  color: #146c45;
}

.cek-status-warning {
  background: #fdf3df;
  color: #8a5f16;
}

.cek-status-danger {
  background: #fdeaea;
  color: #a93226;
}

.cek-info-grid {
  margin: 0;
  border: 1px solid #edf3ef;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.cek-section + .cek-section {
  margin-top: 14px;
}

.cek-section:last-child {
  margin-bottom: 8px;
}

.cek-section-title {
  margin: 0 0 8px;
  color: #2f6a4b;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cek-section-title::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 6px;
  background: linear-gradient(90deg, #d9ebe1, rgba(217, 235, 225, 0));
}

.cek-facility-wrap {
  padding: 0;
}

.cek-facility-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: #3c5449;
  font-size: 11px;
}

.cek-facility-table thead > tr > th {
  padding: 7px 10px;
  border-top: 1px solid var(--cek-border);
  border-bottom: 1px solid var(--cek-border);
  background: #f5faf7;
  color: #5a7466;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cek-facility-table thead > tr > th:first-child {
  border-radius: 10px 0 0 10px;
}

.cek-facility-table thead > tr > th:last-child {
  border-radius: 0 10px 10px 0;
}

.cek-facility-table tbody > tr > td {
  padding: 7px 10px;
  border-top: 1px solid #eef4f0;
  vertical-align: top;
  line-height: 1.45;
}

.cek-facility-table tbody > tr:first-child > td {
  border-top: 0;
}

.cek-facility-table tbody > tr:nth-child(even) > td {
  background: #fbfdfb;
}

.cek-col-fac-no {
  width: 44px;
}

.cek-col-fac-year {
  width: 84px;
}

.cek-fac-no {
  color: #6f8579;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cek-fac-year {
  white-space: nowrap;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cek-facility-empty {
  padding: 18px 10px;
  color: var(--cek-muted);
  text-align: center;
}

.cek-info-item {
  display: grid;
  grid-template-columns: minmax(132px, 32%) minmax(0, 1fr);
  gap: 3px 12px;
  align-items: baseline;
  padding: 6px 12px;
}

.cek-info-item + .cek-info-item {
  border-top: 1px solid #f0f5f2;
}

.cek-info-item:nth-child(even) {
  background: #fbfdfb;
}

.cek-info-item dt {
  margin: 0;
  color: #6a8174;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.cek-info-item dd {
  margin: 0;
  color: #2d4437;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.cek-modal-foot {
  padding: 11px 18px 13px;
  border-top: 1px solid #edf4f0;
}

.cek-btn-light {
  height: 40px;
  border: 1px solid #d9e5dd;
  background: #fff;
  box-shadow: none;
  color: #4c6357;
}

.cek-btn-light:hover {
  border-color: #b9d4c6;
  background: #f4faf6;
  box-shadow: none;
  color: #247a4f;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .cek-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .cek-hero h1 {
    font-size: 27px;
  }

  .cek-search-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }

  .cek-search-grid .cek-btn {
    grid-column: 1 / -1;
  }

  .cek-detail-btn {
    min-height: 44px;
    padding: 0 14px;
  }

  .cek-btn-light {
    min-height: 44px;
  }

  .cek-modal-head .btn-close {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: -10px -10px 0 0;
    background-size: 13px;
  }
}

@media (max-width: 767px) {
  .cek-umkm {
    padding-bottom: 40px;
  }

  .cek-hero {
    padding: 20px;
    border-radius: 18px;
  }

  .cek-hero h1 {
    font-size: 23px;
  }

  .cek-search {
    padding: 16px;
  }

  .cek-search-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cek-results-head {
    padding: 16px 16px 12px;
    flex-direction: column;
  }

  .cek-results .table-responsive {
    padding: 0 8px;
  }

  .cek-profile {
    align-items: flex-start;
  }

  .cek-modal-body {
    padding: 12px 12px 2px;
  }

  .cek-modal-head {
    padding: 13px 12px 10px;
  }

  .cek-modal-foot {
    padding: 9px 12px 11px;
  }

  .cek-section + .cek-section {
    margin-top: 12px;
  }
}

@media (max-width: 575px) {
  .cek-modal-dialog {
    max-width: calc(100% - 12px);
    margin: 6px auto;
  }

  .cek-info-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    padding: 6px 10px;
  }

  .cek-info-item:nth-child(even) {
    background: #fff;
  }

  .cek-facility-table thead {
    display: none;
  }

  .cek-facility-table,
  .cek-facility-table tbody,
  .cek-facility-table tr,
  .cek-facility-table td {
    display: block;
    width: 100%;
  }

  .cek-facility-table tbody > tr {
    padding: 7px 0;
    border-top: 1px solid #eef4f0;
  }

  .cek-facility-table tbody > tr:first-child {
    border-top: 0;
  }

  .cek-facility-table tbody > tr > td {
    padding: 1px 10px;
    border: 0;
  }

  .cek-facility-table tbody > tr:nth-child(even) {
    background: #fbfdfb;
  }

  .cek-facility-table tbody > tr:nth-child(even) > td {
    background: transparent;
  }

  .cek-facility-table td::before {
    content: attr(data-label);
    display: block;
    color: #6a8174;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .cek-facility-table td.cek-facility-empty::before {
    content: none;
  }

  .cek-facility-empty {
    padding: 12px 10px;
  }

  .cek-profile-avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .cek-profile-copy h3 {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cek-umkm *,
  .cek-umkm *::before,
  .cek-umkm *::after,
  .cek-modal * {
    transition: none !important;
    animation: none !important;
  }

  .cek-btn:hover {
    transform: none;
  }
}
