
.sell-lot-edit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sell-lot-edit-head__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;

  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(229, 231, 235, 0.96);
  color: var(--gf-text-main);

  text-decoration: none;
  white-space: nowrap;
}

.sell-lot-edit-head__back:hover {
  background: rgba(243, 244, 246, 0.96);
  color: var(--gf-brand);
  text-decoration: none;
}

.sell-lot-edit-head__title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

@media (max-width: 768px) {
  .sell-lot-edit-head__title {
    font-size: 18px;
  }
}

@media (max-width: 479px) {
  .sell-lot-edit-head__title {
    font-size: 17px;
  }
}

.sell-lot-edit-head__subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  opacity: 0.75;
}

.sell-lot-edit-head__dot {
  opacity: 0.5;
}

.sell-lot-edit-head__back {
  white-space: nowrap;
}

/* ====== SELL FORM ====== */

.sell-form-field {
  margin-bottom: 10px;
}

.sell-form-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 4px;
}

.sell-form-input,
.sell-form-textarea,
.sell-form-select,
#sellLotTemplateFields select {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  outline: none;
  transition: all .14s ease;

  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  color: #111827;
}

.sell-form-input::placeholder,
.sell-form-textarea::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.sell-form-input:focus,
.sell-form-textarea:focus,
#sellLotTemplateFields select:focus {
  border-color: #3e2af7;
  box-shadow: 0 0 0 2px rgba(62,42,247,0.06);
}

.sell-form-textarea {
  resize: vertical;
}

.sell-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.sell-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

.sell-form-btn {
  padding: 9px 16px;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: var(--brand, #2f6dfd);
  color: #ffffff;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.sell-form-btn--ghost {
  background: #f5f7ff;
  color: #111827;
}

.sell-form-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(47,109,253,0.26);
}

.sell-form-error {
  margin: 4px 0 0;
  font-size: 12px;
  color: #dc2626;
}

.sell-lot-edit-head__back,
.sell-form-actions .auth-back {
  text-decoration: none;
}

.sell-lot-edit-head__back:hover,
.sell-form-actions .auth-back:hover {
  text-decoration: none;
}
.sell-lot-edit-card {
  padding: 18px 18px;
  width: 100%;
}

@media (max-width: 768px) {
  .sell-lot-edit-card {
    padding: 14px 14px;
  }
}

@media (max-width: 479px) {
  .sell-lot-edit-card {
    padding: 12px 12px;
  }

  .sell-page__inner {
    gap: 10px;
  }

  .sell-page {
    padding-bottom: 22px;
  }
}

.sell-lot-edit-card {
  padding: 18px;
}

@media (max-width: 768px) {
  .sell-lot-edit-card {
    padding: 14px;
  }
}

@media (max-width: 479px) {
  .sell-lot-edit-card {
    padding: 12px;
  }
}

.sell-form {
  margin: 0;
}

.sell-form-actions {
  margin-bottom: 0;
}

.sell-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--gf-gap-y);
  align-items: start;
}

@media (max-width: 900px) {
  .sell-layout {
    grid-template-columns: 1fr;
  }
}

.sell-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  
  border-radius: var(--gf-radius-xl);
  padding: 24px; 
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: var(--gf-shadow-soft, 0 10px 15px -3px rgb(0 0 0 / 0.08));
  margin-bottom: 0;
}

.sell-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--gf-text-main);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 253, 0.2);
}

.sell-form-input, .sell-form-textarea, .sell-form-select {
  background: rgba(255, 255, 255, 0.5); 
  border: 1px solid rgba(148, 163, 253, 0.3);
}

.sell-form-input:focus, .sell-form-textarea:focus, .sell-form-select:focus {
  background: #ffffff;
  border-color: #3e2af7;
  box-shadow: 0 0 0 3px rgba(62,42,247,0.1);
}

.sell-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  cursor: pointer;
}
.sell-switch-text {
  display: flex;
  flex-direction: column;
}
.sell-switch-title { font-weight: 600; font-size: 14px; }
.sell-switch-hint { font-size: 12px; color: #6b7280; }

.sell-form-input, .sell-form-textarea, .sell-form-select {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}
.sell-form-input:focus, .sell-form-textarea:focus {
  background: #fff;
}
.sell-page--lot-edit .sell-hero-card {
  margin-bottom: 0;
}

.sell-page--lot-edit .sell-card{
  padding: var(--gf-pad-x-desktop);
}

@media (max-width: 990px){
  .sell-page--lot-edit .sell-card{
    padding: var(--gf-pad-x-tablet);
  }
}

@media (max-width: 767px){
  .sell-page--lot-edit .sell-card{
    padding: var(--gf-pad-x-mobile);
  }
}