/* ===============================
   USER GRID VIEW — Golden Theme (#f6b028)
=============================== */

/* ---- GRID CONTAINER ---- */
.user-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: #fdfaf5;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- CARD ---- */
.user-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.user-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* ---- HEADER: NAMES + STATUS ---- */
.usercard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f6b028, #ffd56b);
  color: #ffffff;
  padding: 1rem 1.4rem;
  font-weight: 600;
}

.usercard-name {
  display: flex;
  gap: 0.15rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.usercard-name .firstname,
.usercard-name .lastname {
  white-space: nowrap;
}

.memberstatus {
  background: rgba(255, 255, 255, 0.25);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---- BODY ---- */
.usercard-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  align-items: start;
}

/* ---- PHOTO ---- */
.userphoto img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.userphoto img:hover {
  transform: scale(1.05);
}

/* ---- INFO ---- */
.usercard-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.useraddress,
.usercontact {
  background: #fffaf1;
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  box-shadow: inset 0 0 0 1px #f6e2b0;
}

.usercard-info .field__label {
  font-weight: 600;
  color: #664400;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.usercard-info .field__label::before {
  opacity: 0.85;
}

.useraddress .field__label::before {
  content: "📍";
}

.usercontact .field__label::before {
  content: "📞";
}

.usercard-info .field__item {
  font-size: 0.95rem;
  color: #222;
  line-height: 1.4;
}

.usercard-info a {
  color: #b57b00;
  font-weight: 600;
  text-decoration: none;
}

.usercard-info a:hover {
  text-decoration: underline;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 700px) {
  .user-grid {
    padding: 1rem;
    gap: 1rem;
  }

  .usercard-body {
    grid-template-columns: 1fr;
  }

  .memberstatus {
    margin-top: 0.5rem;
  }
}
