/* ===== SELL YOUR CAR PAGE ===== */

/* Hero */
.sell-hero {
  padding: 60px 0 0;
  text-align: center;
}

.sell-hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.sell-hero-content h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 46px;
  color: var(--main);
  margin-bottom: 12px;
}

.sell-hero-content p {
  font-size: 16px;
  line-height: 26px;
  color: var(--grey-9);
}

/* Trust Points */
.sell-trust {
  padding: 48px 0;
}

.sell-trust-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sell-trust-item {
  text-align: center;
  padding: 24px;
  border: 1px solid var(--grey-2);
  border-radius: 24px;
}

.sell-trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grey-1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.sell-trust-item h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: var(--main);
  margin-bottom: 4px;
}

.sell-trust-item p {
  font-size: 15px;
  line-height: 24px;
  color: var(--grey-9);
}

/* Form Section */
.sell-form-section {
  padding: 0 0 80px;
}

.sell-form-wrap {
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--grey-2);
  border-radius: 32px;
  padding: 32px 24px;
}

.sell-form-header {
  margin-bottom: 32px;
}

.sell-form-header h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 34px;
  color: var(--main);
  margin-bottom: 4px;
}

.sell-form-header p {
  font-size: 15px;
  line-height: 24px;
  color: var(--grey-9);
}

/* Form Fields */
.sell-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.sell-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.sell-field label {
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: var(--main);
}

.sell-input {
  position: relative;
  display: flex;
  align-items: center;
}

.sell-input input {
  width: 100%;
  height: 50px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--grey-2);
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--main);
  background: var(--white);
  outline: none;
}

.sell-input input::placeholder {
  color: var(--grey-5);
}

.sell-input input:focus {
  border-color: var(--main);
}

.sell-input svg {
  position: absolute;
  right: 16px;
  pointer-events: none;
}

.sell-input-error input {
  border-color: #c0392b;
}

.sell-field-error {
  font-size: 13px;
  color: #c0392b;
  margin-top: 2px;
}

/* Name Row */
.sell-field-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Upload Area */
.sell-upload-area {
  position: relative;
  border: 2px dashed var(--grey-2);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.sell-upload-area:hover,
.sell-upload-area.drag-over {
  border-color: var(--main);
}

.sell-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.sell-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.sell-upload-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--main);
}

.sell-upload-hint {
  font-size: 13px;
  color: var(--grey-5);
}

/* Upload Preview */
.sell-upload-preview {
  position: relative;
  display: inline-block;
}

.sell-upload-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 12px;
  object-fit: cover;
}

.sell-upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--main);
  color: var(--white);
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Submit */
.sell-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 56px;
  background: var(--main);
  color: var(--white);
  border: none;
  border-radius: 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
}

.sell-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Status */
.form-status-error {
  color: #c0392b;
  font-size: 14px;
  text-align: center;
  padding: 12px;
  border: 1px solid #f5c6cb;
  border-radius: 12px;
  background: #fef2f2;
}

.form-status-success {
  color: #27ae60;
  font-size: 14px;
  text-align: center;
  padding: 12px;
  border: 1px solid #c3e6cb;
  border-radius: 12px;
  background: #f0faf4;
}

/* Phone CTA */
.sell-phone-cta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-2);
  text-align: center;
}

.sell-phone-cta p {
  font-size: 15px;
  color: var(--grey-5);
  margin-bottom: 8px;
}

.sell-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--main);
  text-decoration: none;
}

.sell-phone-link:hover {
  opacity: 0.8;
}

/* ===== DESKTOP ===== */
@media (min-width: 1024px) {
  .sell-hero {
    padding: 84px 0 0;
  }

  .sell-hero-content h1 {
    font-size: 56px;
    line-height: 66px;
  }

  .sell-hero-content p {
    font-size: 18px;
    line-height: 28px;
  }

  .sell-trust {
    padding: 60px 0;
  }

  .sell-trust-grid {
    flex-direction: row;
    gap: 24px;
  }

  .sell-trust-item {
    flex: 1;
  }

  .sell-form-section {
    padding: 0 0 120px;
  }

  .sell-form-wrap {
    padding: 48px;
  }

  .sell-form-header h2 {
    font-size: 28px;
    line-height: 38px;
  }

  .sell-field-row {
    flex-direction: row;
    gap: 20px;
  }

  .sell-input input {
    height: 54px;
  }

  .sell-submit-btn {
    height: 58px;
  }
}
