/* css/seller_profile.css – Profilseite */

.seller-page { max-width: 1600px; margin: 0 auto; padding-bottom: 60px; }

/* ─── Banner ─────────────────────────────────────────── */
.profile-banner-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: visible;
}
.profile-banner-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 0 0 12px 12px;
}
.profile-banner-empty {
  background: linear-gradient(135deg, #e63950, #ff8a65);
  border-radius: 0 0 12px 12px;
}
.banner-edit-btn { position: absolute; top: 12px; right: 12px; }

/* ─── Profil-Header ──────────────────────────────────── */
.profile-header {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 0 24px;
  margin-top: -48px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.profile-avatar-wrap { position: relative; flex-shrink: 0; }
.profile-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  border: 4px solid #fff; object-fit: cover; display: block;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15); background: #e63950;
}
.profile-avatar-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; font-weight: 900; color: #fff;
}
.avatar-edit-btn { position: absolute; bottom: 2px; right: 2px; }
.profile-username-wrap { padding-bottom: 8px; }
.profile-username { font-size: 1.4rem; font-weight: 900; color: #111; margin-bottom: 2px; }
.profile-since { font-size: 0.8rem; color: #aaa; }

/* ─── Stift-Button ───────────────────────────────────── */
.edit-btn {
  background: rgba(255,255,255,0.85); border: 1px solid #ddd;
  border-radius: 50%; width: 28px; height: 28px; font-size: 0.75rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s; padding: 0; line-height: 1;
}
.edit-btn:hover { background: #fff; transform: scale(1.12); }
.bio-edit-btn { margin-left: 6px; vertical-align: middle; }

/* ─── Über mich ──────────────────────────────────────── */
.profile-bio-section {
  margin: 0 24px 24px; background: #fff; border-radius: 12px;
  padding: 18px 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.profile-section-label {
  font-size: 0.78rem; font-weight: 700; color: #aaa;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 8px; display: flex; align-items: center; gap: 4px;
}
.profile-bio-text { font-size: 0.95rem; color: #333; line-height: 1.6; }
#bio-edit textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid #ddd;
  border-radius: 8px; font-size: 0.95rem; resize: vertical; outline: none;
  font-family: inherit; transition: border-color 0.2s; box-sizing: border-box;
}
#bio-edit textarea:focus { border-color: #e63950; }
.bio-edit-actions { display: flex; gap: 8px; margin-top: 10px; }

/* ─── PayPal ─────────────────────────────────────────── */
.profile-paypal-section {
  margin: 0 24px 24px; background: #fffbf0;
  border: 1px solid #ffe082; border-radius: 12px; padding: 18px 20px;
}
.private-badge {
  background: #fff3cd; color: #856404; border-radius: 5px;
  padding: 2px 8px; font-size: 0.72rem; font-weight: 600;
  margin-left: 8px; text-transform: none; letter-spacing: 0;
}
.paypal-row { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.paypal-row input {
  flex: 1; padding: 10px 14px; border: 1.5px solid #ddd;
  border-radius: 8px; font-size: 0.95rem; outline: none; transition: border-color 0.2s;
}
.paypal-row input:focus { border-color: #e63950; }
.paypal-hint { font-size: 0.78rem; color: #aaa; margin-top: 6px; }
.btn-sm { padding: 8px 16px !important; font-size: 0.85rem !important; }

/* ─── Angebote ───────────────────────────────────────── */
.profile-listings-section { padding: 0 24px; }
.profile-listings-section h2 { font-size: 1.1rem; margin-bottom: 16px; color: #333; }
.public-listing-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
}
.public-listing-card { text-decoration: none; color: inherit; display: block; }
.public-card-img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #f0f0f0; }
.public-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
.public-listing-card:hover .public-card-img img { transform: scale(1.04); }
.public-card-body { padding: 8px 4px; }
.public-card-title { font-weight: 700; font-size: 0.9rem; color: #111; margin-bottom: 2px; }
.public-card-meta { font-size: 0.75rem; color: #aaa; margin-bottom: 4px; }
.public-card-price { font-size: 1rem; font-weight: 800; color: #e63950; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 600px) {
  .profile-header { padding: 0 14px; margin-top: -40px; }
  .profile-avatar { width: 80px; height: 80px; }
  .profile-bio-section, .profile-paypal-section,
  .profile-listings-section { margin-left: 14px; margin-right: 14px; padding: 14px; }
  .paypal-row { flex-direction: column; align-items: stretch; }
.btn-share {
  background: #fff;
  border: 2px solid #e63950;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  padding: 0;
}
.btn-share:hover {
  background: #ffeaed;
  transform: scale(1.1);
}

