/* sell.css */

.page-header {
  padding: 36px 40px 24px;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-size: 36px; font-weight: 800;
  color: var(--dark-green);
}

.page-sub {
  font-size: 15px; color: var(--text-muted); margin-top: 6px;
}

/* LAYOUT */
.sell-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  max-width: 1140px;
  margin: 32px auto;
  padding: 0 32px;
}

.sell-left, .sell-right {
  display: flex; flex-direction: column; gap: 20px;
}

/* VOICE LISTING */
.voice-listing-card { padding: 28px; }

.vl-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}

.vl-title { font-size: 20px; font-weight: 700; }
.vl-desc { font-size: 13px; color: var(--text-muted); margin-top: 4px; max-width: 280px; }

.vl-center {
  display: flex; justify-content: center;
  margin-bottom: 24px;
}

.mic-btn {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--dark-green); color: #fff;
  border: none; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 0 0 rgba(61,122,82,0.4);
}

.mic-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 12px rgba(61,122,82,0.12);
}

.mic-btn.active {
  background: #ef4444;
  animation: mic-pulse 1.5s ease infinite;
  box-shadow: 0 0 0 0 rgba(239,68,68,0.4);
}

@keyframes mic-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
  70% { box-shadow: 0 0 0 20px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

.mic-label {
  font-size: 10px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
}

.vl-example { text-align: center; }
.vl-example-en {
  font-size: 14px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 6px; font-style: italic;
}
.vl-example-ta {
  font-size: 13px; color: var(--text-muted);
  font-family: 'Noto Sans Tamil', serif;
}

/* MANUAL LISTING */
.manual-card { padding: 24px; }

.manual-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}

.manual-title { font-size: 20px; font-weight: 700; }

.manual-fields {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 20px;
}

/* HARVEST SNAP */
.snap-header { padding: 20px 20px 0; margin-bottom: 14px; }
.snap-title { font-size: 18px; font-weight: 700; }

.snap-drop {
  margin: 0 20px;
  border: 2px dashed var(--border);
  border-radius: 14px; padding: 32px 20px;
  text-align: center; cursor: pointer;
  transition: all 0.2s; background: var(--bg-cream);
}

.snap-drop:hover { border-color: var(--accent-green); background: #f0f9f2; }

.snap-icon {
  color: var(--text-muted); margin-bottom: 10px;
  display: flex; justify-content: center;
}

.snap-text { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.snap-previews {
  display: flex; gap: 10px; align-items: center;
  padding: 16px 20px 20px;
}

.snap-thumb {
  width: 64px; height: 64px; border-radius: 10px;
  object-fit: cover; border: 2px solid var(--pale-green);
}

.snap-thumb-active { border-color: var(--dark-green); }

.snap-add {
  width: 64px; height: 64px; border-radius: 10px;
  border: 2px dashed var(--border);
  background: var(--bg-cream); color: var(--text-muted);
  font-size: 22px; cursor: pointer; transition: all 0.2s;
}

.snap-add:hover { border-color: var(--accent-green); color: var(--dark-green); }

/* SOLD LIST */
.sold-list { padding: 0 20px; display: flex; flex-direction: column; gap: 10px; }

.sold-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  transition: all 0.2s;
}

.sold-item:hover { border-color: var(--pale-green); box-shadow: var(--shadow-sm); }

.sold-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}

.sold-name { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.sold-detail { font-size: 12px; color: var(--text-muted); }
.sold-info { flex: 1; }

.sold-badge {
  padding: 4px 10px; border-radius: 20px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
}

.sold-out { background: var(--pale-green); color: var(--mid-green); }
.processing { background: #fce8db; color: #c45e1a; }

.sold-status-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

/* EARNINGS */
.earnings-box {
  margin: 16px 20px 20px;
  background: var(--dark-green); color: #fff;
  border-radius: 14px; padding: 20px;
}

.earnings-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15);
  padding: 5px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
