.sell-your-car-hero-section {
  display: flex;
  align-items: center;
}

.sell-your-car-hero-section {
  justify-content: space-between;
  margin: 64px 0px;
  gap: 48px;
}

.sell-your-car-hero-section-content {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 820px;
}

.sell-your-car-hero-section-content .sell-your-car-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--red-200);
    margin-bottom: 16px;
  }

.sell-your-car-hero-section-content .subtitle {
    font-size: max(16px, min(2vw, 24px));
    font-weight: 600;
  }

.sell-your-car-img-wrapper {
  overflow: hidden;
  border-radius: 24px;
  flex-shrink: 0;
}

.sell-your-car-form-section {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 54px 40px;
  border-radius: 24px;
  background-color: #171717;
  margin-bottom: 120px;
  box-shadow: 0px 7px 24px 0px rgba(0, 0, 0, 0.5);
}

.sell-your-car-form-section form {
    display: flex;
    flex-direction: column;
  }

.sell-your-car-form-section form .form-input-container {
      display: flex;
      gap: 40px;
      align-items: start;
      margin-top: 40px;
    }

.sell-your-car-form-section form .form-input-container-left,
    .sell-your-car-form-section form .form-input-container-right {
      display: flex;
      flex-direction: column;
      gap: 16px;
      flex: 1;
    }

.sell-your-car-form-section form .form-item {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

.sell-your-car-form-section form .form-item .visualy-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
      }

.sell-your-car-form-section form .form-item label {
        font-size: 14px;
        font-weight: 500;
      }

.sell-your-car-form-section form .form-item input,
      .sell-your-car-form-section form .form-item textarea {
        padding: 12px 16px;
        align-self: stretch;
        border-radius: 12px;
        border: 1px solid var(--text-gray-light);
        background-color: var(--bg-dark);
        font-size: 16px;
        width: 100%;
        color: var(--white);
      }

.sell-your-car-form-section form .form-item input::-moz-placeholder, .sell-your-car-form-section form .form-item textarea::-moz-placeholder {
        color: var(--text-gray-light);
      }

.sell-your-car-form-section form .form-item input::placeholder,
      .sell-your-car-form-section form .form-item textarea::placeholder {
        color: var(--text-gray-light);
      }

.sell-your-car-form-section form .form-item input:active,
      .sell-your-car-form-section form .form-item textarea:active {
        background-color: var(--bg-dark);
      }

.sell-your-car-form-section form .file-upload {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      padding: 32px;
      width: 100%;
      border-radius: 12px;
      border: 1px dashed var(--text-gray-light);
      margin-top: 24px;
    }

.sell-your-car-form-section form .upload-icon {
      padding: 8px;
      border-radius: 50%;
      background-color: #292929;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
    }

.sell-your-car-form-section form .upload-icon svg {
        opacity: 0.5;
      }

.sell-your-car-form-section form .file-upload-text {
      max-width: 500px;
      font-weight: 600;
      text-align: center;
      font-size: 16px;
    }

.sell-your-car-form-section form .input-files-info {
      font-size: 14px;
      color: var(--text-gray-light);
      text-align: center;
    }

.sell-your-car-form-section form .files-container {
      max-width: 100%;
      overflow: hidden;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin: 16px 0px;
    }

.sell-your-car-form-section form .uploads-container {
      position: relative;
      width: calc((100% - 80px) / 6);
      min-width: 90px;
      max-width: 120px;
      aspect-ratio: 16/9;
      flex-shrink: 0;
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

.sell-your-car-form-section form .uploads-container.removing {
        opacity: 0;
        transform: scale(0.8);
        pointer-events: none;
      }

.sell-your-car-form-section form .uploads-container img {
        -o-object-fit: cover;
           object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 8px;
        display: block;
      }

.sell-your-car-form-section form .uploads-container .remove-file-btn {
        border: none;
        position: absolute;
        top: 4px;
        left: 4px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--white);
        cursor: pointer;
        color: var(--red-200);
        font-size: 12px;
        padding: 0px;
        box-shadow: none;
      }

.sell-your-car-form-section form .uploads-container .file-info {
        font-size: 12px;
        max-width: 128px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        margin-top: 4px;
      }

.sell-your-car-form-section form .uploads-container .loading-indicator,
      .sell-your-car-form-section form .uploads-container .image-error {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background-color: var(--bg-dark);
        color: var(--text-gray-light);
        font-size: 12px;
      }

.sell-your-car-form-section form .uploads-container .image-error {
        background-color: rgba(213, 0, 0, 0.1);
        color: var(--red-200);
      }

.sell-your-car-form-section form .uploads-container:has(.extra-files-container) {
      flex: 1;
      min-width: 60px;
    }

.sell-your-car-form-section form .extra-files-container {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: var(--bg-dark);
      color: var(--white);
      font-size: 14px;
      font-weight: bold;
      border-radius: 8px;
      border: 1px dashed var(--text-gray-light);
    }

.sell-your-car-form-section form .send-message {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 16px 18px;
      align-self: stretch;
      border-radius: 8px;
      background: var(--red-200);
      color: var(--black);
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      text-transform: uppercase;
      border: none;
      margin-top: 24px;
    }

.sell-your-car-form-section form .textarea,
    .sell-your-car-form-section form .gdpr-container,
    .sell-your-car-form-section form .error-message,
    .sell-your-car-form-section form .google-announce-container,
    .sell-your-car-form-section form button {
      grid-column: 1/3;
    }

.sell-your-car-form-section form button {
      margin-bottom: 16px;
    }

.sell-your-car-form-section form .gdpr-container a {
      color: var(--red-200);
      -webkit-text-decoration: underline;
      text-decoration: underline;
    }

.upload-notification-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}

.upload-notification {
  background: var(--red-50);
  color: var(--text-gray-dark);
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-weight: 600;
}

.sell-your-car-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.sell-your-car-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sell-your-car-benefit-item .info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

.sell-your-car-benefit-item .info .red {
      font-weight: 600;
      color: var(--red-200);
    }

.sell-your-car-benefit-item .info p {
      font-size: 16px;
      font-weight: 800;
      color: var(--white);
    }

.image-upload-error {
  color: var(--red);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .sell-your-car-img-wrapper {
    width: 100%;
    height: auto;
    border-radius: 0px;
    margin-top: -48px;
  }

    .sell-your-car-img-wrapper img {
      width: 100%;
      height: auto;
    }
  .sell-your-car-hero-section {
    flex-direction: column;
    align-items: start;
  }

  .sell-your-car-form-section {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .sell-your-car-hero-section {
    margin: 32px 0px;
    gap: 24px;
  }

  .sell-your-car-form-section {
    padding: 0px;
    background: transparent;
    border-radius: 0px;
  }

  .form-title {
    text-align: center;
  }

  .form-input-container {
    flex-direction: column;
  }

  .form-input-container-left,
  .form-input-container-right {
    width: 100%;
    gap: 16px;
  }

  .sell-your-car-benefits-list {
    gap: 32px;
  }

  .sell-your-car-form-section form .uploads-container {
    width: calc((100% - 32px) / 3);
    min-width: 80px;
    max-width: none;
  }

  .sell-your-car-form-section form .files-container {
    gap: 8px;
  }

  .sell-your-car-form-section
    form
    .uploads-container:has(.extra-files-container) {
    flex: 1;
    min-width: 50px;
  }
}
