/* Public mahasiswa search — PDDIKTI-like layout, MyFeeder / BigSpring teal */
.ps-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  width: 100%;
  box-sizing: border-box;
}

.ps-breadcrumb {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ps-breadcrumb a {
  color: #0aa8a7;
  font-weight: 700;
}
.ps-breadcrumb span {
  color: #222;
  font-weight: 700;
}

.ps-banner {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 168, 167, 0.12);
  margin-bottom: 1.5rem;
  background: #fff;
}

.ps-banner-head {
  background: linear-gradient(90deg, #0aa8a7 0%, #0d9488 55%, #f97316 100%);
  color: #fff;
  padding: 1rem 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.ps-banner-body {
  padding: 1.25rem;
}

.ps-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.ps-search-row input[type="search"] {
  flex: 1 1 16rem;
  min-width: 0;
  width: 100%;
  height: 2.75rem;
  min-height: 2.75rem;
  max-height: 2.75rem;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  padding: 0 1rem;
  font-size: 1rem;
  line-height: 1.25;
  color: #222;
  background: #fff;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.ps-search-row input[type="search"]:focus {
  outline: 2px solid rgba(10, 168, 167, 0.35);
  border-color: #0aa8a7;
}

.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 8px;
  height: 2.75rem;
  padding: 0 1.25rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #0aa8a7, #0d9488);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}
.ps-btn:hover {
  filter: brightness(1.05);
  color: #fff;
}

.ps-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 168, 167, 0.1);
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.ps-card-head {
  background: linear-gradient(90deg, #0aa8a7 0%, #0d9488 70%, #14b8a6 100%);
  color: #fff;
  padding: 0.85rem 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.ps-card-body {
  padding: 0;
  max-width: 100%;
}

/* Mobile result cards */
.ps-result-list {
  list-style: none;
  margin: 0;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ps-result-card {
  border: 1px solid #e5efee;
  border-radius: 12px;
  padding: 1rem;
  background: #fbfefe;
}

.ps-result-name {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #134e4a;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ps-result-meta {
  margin: 0 0 1rem;
  display: grid;
  gap: 0.65rem;
}

.ps-result-meta > div {
  display: grid;
  gap: 0.15rem;
}

.ps-result-meta dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7c7a;
}

.ps-result-meta dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ps-result-action {
  width: 100%;
}

/* Desktop table */
.ps-table-wrap {
  display: none;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ps-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}
.ps-table th,
.ps-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #edf2f1;
  vertical-align: top;
}
.ps-table th {
  color: #555;
  font-weight: 700;
  background: #f8fbfb;
  white-space: nowrap;
}
.ps-table td {
  color: #222;
  overflow-wrap: anywhere;
}
.ps-table a.ps-link {
  color: #0aa8a7;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.ps-table a.ps-link:hover {
  text-decoration: underline;
}

.ps-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  color: #555;
  font-size: 0.9rem;
  border-top: 1px solid #edf2f1;
}
.ps-pager a {
  color: #0aa8a7;
  font-weight: 700;
  text-decoration: none;
  min-width: 2rem;
  text-align: center;
}
.ps-pager a.is-disabled,
.ps-pager span.is-disabled {
  color: #bbb;
  pointer-events: none;
}

.ps-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
}
.ps-empty-copy h3 {
  color: #0aa8a7;
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
}
.ps-empty-copy p {
  margin: 0 0 1rem;
  color: #777;
}

.ps-bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 2rem;
  padding: 1.25rem;
}
@media (min-width: 768px) {
  .ps-bio-grid {
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem;
  }
}
.ps-bio-item dt {
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 0.25rem;
}
.ps-bio-item dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  overflow-wrap: anywhere;
  line-height: 1.4;
}
.ps-bio-item dd.accent {
  color: #0aa8a7;
}

.ps-info {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #edf6f5;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: #444;
  font-size: 0.925rem;
  line-height: 1.5;
}
.ps-info svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #0aa8a7;
}

.ps-alert {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.925rem;
}

@media (max-width: 767.98px) {
  .ps-wrap {
    padding: 1rem 0.75rem 2.5rem;
  }

  .ps-banner-head,
  .ps-card-head {
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
  }

  .ps-banner-body {
    padding: 1rem;
  }

  .ps-search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ps-search-row input[type="search"] {
    flex: 0 0 auto;
    width: 100%;
    height: 2.75rem;
    min-height: 2.75rem;
    max-height: 2.75rem;
  }

  .ps-search-row .ps-btn {
    width: 100%;
    height: 2.75rem;
  }

  .ps-empty {
    padding: 1.5rem 1rem;
  }

  .ps-empty-copy h3 {
    font-size: 1.25rem;
  }

  .ps-info {
    padding: 0.9rem 1rem;
  }
}

@media (min-width: 768px) {
  .ps-result-list {
    display: none;
  }

  .ps-table-wrap {
    display: block;
  }

  .ps-pager {
    justify-content: flex-end;
  }
}
