/* === Prestasjonsprofiler === */
.pp-search {
  text-align: center;
  margin-bottom: 1.5rem;
}
#ppSearch {
  padding: 0.75rem 1rem;
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

.pp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.pp-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
  margin-bottom: 0.8rem;
}
.pp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.pp-card-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}
.pp-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ccc;
}
.pp-info {
  flex: 1;
}
.pp-info h3 {
  margin: 0;
  font-size: 1.1rem;
}
.pp-info .muted {
  font-size: 0.9rem;
  color: #777;
}
.pp-summary {
  font-size: 0.85rem;
  color: #333;
  display: flex;
  gap: 1rem;
  margin: 0.25rem 0 0.75rem 0;
}

/* Modal styling (samme stil som profil) */
.nv-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
}
.nv-modal-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.2);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.nv-modal-head {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nv-modal-body {
  overflow-y: auto;
  padding: 1rem 1.25rem 2rem;
  max-height: 80vh;
}
.pp-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.pp-sort {
  font-size: 0.9rem;
  color: #333;
}
.pp-sort select {
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  margin-left: 0.4rem;
}
#ppModalContent .badge {
  margin-bottom: 0.8rem;
}
.pp-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  margin-top: 0.15rem;
  font-size: 0.95rem;
}

.pp-title-emoji {
  font-size: 1.1rem;
  line-height: 1;
}

.pp-title-text {
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
