
.egp-af-wrap {
  --egp-blue: #0b63ce;
  --egp-border: #e5e7eb;
  --egp-text: #111827;
  --egp-muted: #6b7280;
  font-family: inherit;
  color: var(--egp-text);
  background: #fff;
  border: 1px solid var(--egp-border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
  margin: 24px 0;
}
.egp-af-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.egp-af-title {
  font-size: 26px;
  margin: 0 0 4px;
  line-height: 1.25;
}
.egp-af-subtitle {
  color: var(--egp-muted);
  margin: 0;
}
.egp-af-search {
  display: flex;
  gap: 8px;
  min-width: 360px;
}
.egp-af-search input {
  width: 100%;
  border: 1px solid var(--egp-border);
  border-radius: 8px;
  padding: 10px 12px;
}
.egp-af-search button,
.egp-af-button {
  background: var(--egp-blue);
  color: #fff !important;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  display: inline-block;
}
.egp-af-table-scroll {
  overflow-x: auto;
}
.egp-af-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.egp-af-table th {
  text-align: left;
  color: #334155;
  background: #f8fafc;
  padding: 12px 14px;
  border-bottom: 1px solid var(--egp-border);
  font-weight: 700;
}
.egp-af-table td {
  padding: 14px;
  border-bottom: 1px solid var(--egp-border);
  vertical-align: top;
}
.egp-af-table tr:hover td {
  background: #f9fbff;
}
.egp-af-table .egp-title a {
  color: #0b63ce;
  text-decoration: none;
  font-weight: 600;
}
.egp-af-table .egp-title a:hover {
  text-decoration: underline;
}
.egp-type span,
.egp-method span {
  background: #eef6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  display: inline-block;
}
.egp-date {
  width: 120px;
  color: #475569;
}
.egp-type {
  width: 190px;
}
.egp-method {
  width: 130px;
}
.egp-action {
  width: 110px;
  text-align: right;
}
.egp-af-empty {
  text-align: center;
  color: var(--egp-muted);
  padding: 24px !important;
}

@media (max-width: 760px) {
  .egp-af-wrap {
    padding: 16px;
  }
  .egp-af-header,
  .egp-af-search {
    display: block;
    min-width: 0;
  }
  .egp-af-search {
    margin-top: 12px;
  }
  .egp-af-search input,
  .egp-af-search button {
    width: 100%;
    margin-top: 8px;
  }
  .egp-af-table,
  .egp-af-table thead,
  .egp-af-table tbody,
  .egp-af-table th,
  .egp-af-table td,
  .egp-af-table tr {
    display: block;
  }
  .egp-af-table thead {
    display: none;
  }
  .egp-af-table tr {
    border: 1px solid var(--egp-border);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 12px;
  }
  .egp-af-table td {
    border-bottom: 0;
    padding: 8px 0;
  }
  .egp-af-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--egp-muted);
    font-size: 12px;
    margin-bottom: 3px;
  }
  .egp-date,
  .egp-type,
  .egp-method,
  .egp-action {
    width: auto;
    text-align: left;
  }
}
