/* Tender page styles */
.tender-page .page-hero__intro {
  max-width: 780px;
}

.tender-page__advantages {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tender-page__advantages h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
}

.tender-page__form-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 36px;
}

.tender-page__form-intro {
  color: var(--about-text-soft, #dce6f8);
  margin-bottom: 24px;
  max-width: 600px;
}

.tender-page__alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.5;
}

.tender-page__alert--success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.tender-page__alert--error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* Form */
.tender-form {
  max-width: 720px;
}

.tender-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tender-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tender-form__field--full {
  margin-top: 16px;
}

.tender-form__field label {
  font-size: 14px;
  font-weight: 600;
  color: #dce6f8;
}

.tender-form__required {
  color: #f5a61d;
}

.tender-form__field input,
.tender-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #ecf3ff;
  font-size: 15px;
  line-height: 1.45;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tender-form__field input::placeholder,
.tender-form__field textarea::placeholder {
  color: rgba(220, 230, 248, 0.4);
}

.tender-form__field input:focus,
.tender-form__field textarea:focus {
  outline: none;
  border-color: rgba(245, 166, 29, 0.55);
  box-shadow: 0 0 0 3px rgba(245, 166, 29, 0.1);
}

.tender-form__field textarea {
  resize: vertical;
  min-height: 100px;
}

.tender-form__consent {
  margin: 20px 0;
  font-size: 13px;
  color: rgba(220, 230, 248, 0.7);
  line-height: 1.5;
}

.tender-form__consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.tender-form__consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #f5a61d;
}

.tender-form__consent a {
  color: #f5a61d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tender-form__consent a:hover {
  color: #ffb845;
}

.tender-form__submit {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .tender-page__advantages {
    grid-template-columns: 1fr;
  }

  .tender-form__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tender-form__field input,
  .tender-form__field textarea {
    padding: 10px 12px;
    font-size: 16px;
  }
}
