/* Public Seller Profile & Seller Dashboard CSS */

/* Seller Banner / Header */
.seller-profile-banner {
  background-color: var(--navy);
  padding: 32px 20px 24px;
  color: var(--white);
  border-bottom: 3px solid var(--gold);
  text-align: center;
  position: relative;
}

.seller-profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--navy-dark);
  color: var(--gold);
  border: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.seller-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-profile-title {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.seller-profile-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.seller-profile-desc {
  font-size: 0.85rem;
  color: var(--gold-pale);
  max-width: 320px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.seller-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.seller-profile-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
}

/* Seller Dashboard Home */
.dashboard-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background-color: var(--white);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 168, 76, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-card-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-card-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.stat-card-footer {
  font-size: 0.65rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Subscription Details Card */
.dashboard-plan-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gold);
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.plan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.plan-card-title {
  color: var(--white);
  font-size: 1.15rem;
}

.plan-progress-container {
  margin-bottom: 16px;
}

.plan-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gold-pale);
  margin-bottom: 6px;
}

.plan-progress-bar {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.plan-progress-fill {
  height: 100%;
  background-color: var(--gold);
  border-radius: 4px;
}

.plan-expiry-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.plan-expiry-text span {
  color: var(--gold-light);
  font-weight: 600;
}

/* Products Management List */
.seller-products-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seller-prod-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 168, 76, 0.08);
}

.seller-prod-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background-color: var(--gold-pale);
}

.seller-prod-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  min-width: 0;
}

.seller-prod-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seller-prod-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}

.seller-prod-stats {
  display: flex;
  gap: 10px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.seller-prod-actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.seller-prod-menu {
  display: flex;
  gap: 8px;
}

.seller-prod-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background-color: var(--cream);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
}

.seller-prod-btn:hover {
  background-color: var(--gold-pale);
  border-color: var(--gold);
}

.seller-prod-btn.btn-delete {
  color: #e53e3e;
  border-color: #fca5a5;
  background-color: #fff5f5;
}

.seller-prod-btn.btn-delete:hover {
  background-color: #fed7d7;
}

/* Image Upload Area */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  background-color: var(--white);
  cursor: pointer;
  margin-bottom: 12px;
}

.upload-zone:hover {
  border-color: var(--gold);
  background-color: var(--gold-pale);
}

.upload-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.upload-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.upload-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.uploaded-images-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.preview-img-wrapper {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--border);
}

.preview-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subscription Packages Pricing Page */
.sub-plan-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(201, 168, 76, 0.15);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.sub-plan-card.popular {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.sub-plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--gold), #b8953c);
  color: var(--navy-dark);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sub-plan-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: capitalize;
  color: var(--navy);
  margin-bottom: 4px;
}

.sub-plan-price-row {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
}

.sub-plan-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.sub-plan-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display);
}

.sub-plan-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.sub-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.sub-plan-feature-item {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-plan-feature-item i {
  color: var(--gold);
  font-size: 0.9rem;
}
