#information-ad-request.ad-request-page {
  max-width: 1220px;
  padding-top: 24px;
  padding-bottom: 56px;
  color: #183547;
}

.ad-request-content {
  min-width: 0;
}
.honeypot {
display: none;
}

.ad-request-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 132px;
  margin: 0 0 24px;
  padding: 26px 30px;
  border-right: 5px solid #ed8a2f;
  border-radius: 6px;
  background: #12354b;
  color: #fff;
  animation: ad-request-enter 420ms ease-out both;
}
#information-ad-request .ad-request-error-summary {
  margin-bottom: 18px;
  border-right: 4px solid #c84a3d;
  background: #fff4f2;
  color: #81352d;
}

.ad-request-error-summary ul {
  margin: 8px 18px 0 0;
  padding: 0;
}
.ad-request-hero__icon {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #ffc178;
  font-size: 23px;
}

.ad-request-hero__eyebrow {
  margin: 0 0 3px;
  color: #b7d0dc;
  font-size: 13px;
}

.ad-request-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 27px;
  font-weight: 700;
}

.ad-request-form {
  overflow: hidden;
  border: 1px solid #dce5e9;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 53, 75, .07);
}

.ad-request-section {
  padding: 27px 30px;
  border-bottom: 1px solid #e5ecef;
}

.ad-section-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.ad-section-heading h2 {
  margin: 0 0 3px;
  color: #17384d;
  font-size: 19px;
  font-weight: 700;
}

.ad-section-heading p {
  margin: 0;
  color: #748692;
  font-size: 13px;
}

.ad-section-step {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #edf4f6;
  color: #28627b;
  font-size: 13px;
  font-weight: 700;
}

.ad-section-heading--compact {
  margin-bottom: 15px;
}

.ad-section-heading--compact .ad-section-step {
  background: #fff1e2;
  color: #b75b12;
}

.ad-period-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ad-period-card {
  position: relative;
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 17px 19px;
  border: 1px solid #d7e2e7;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.ad-period-card:hover {
  transform: translateY(-2px);
  border-color: #7ca6b7;
}

.ad-period-card.is-selected {
  border-color: #e7832a;
  background: #fff8ef;
  box-shadow: inset 0 0 0 1px #e7832a;
}

.ad-period-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ad-period-card:focus-within {
  outline: 3px solid rgba(39, 102, 132, .22);
  outline-offset: 2px;
}

.ad-period-card__name {
  color: #536b78;
  font-size: 14px;
}

.ad-period-card__price {
  color: #143b52;
  font-size: 20px;
  font-weight: 700;
  direction: ltr;
  text-align: right;
}

.ad-period-card.is-selected .ad-period-card__price {
  color: #bd5f14;
}

.ad-period-card__check {
  position: absolute;
  top: 12px;
  left: 13px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #c8d6dc;
  border-radius: 50%;
  color: transparent;
  font-size: 10px;
}

.ad-period-card.is-selected .ad-period-card__check {
  border-color: #e7832a;
  background: #e7832a;
  color: #fff;
}

.ad-payment-information {
  margin: 0 30px;
  padding: 20px 22px;
  border-right: 3px solid #7ca6b7;
  border-radius: 4px;
  background: #f3f7f8;
}

.ad-payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.ad-payment-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid #e0e8eb;
  border-radius: 4px;
  background: #fff;
}

.ad-payment-item__image,
.ad-payment-item__icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  object-fit: contain;
  border-radius: 4px;
  background: #f4f7f8;
}

.ad-payment-item__icon {
  color: #34728b;
  font-size: 20px;
}

.ad-payment-item strong {
  color: #23485d;
  font-size: 14px;
}

.ad-payment-item p {
  margin: 3px 0 0;
  color: #71828b;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.ad-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.ad-field {
  min-width: 0;
  margin: 0;
}

.ad-field--wide {
  grid-column: 1 / -1;
}

.ad-field > label,
.ad-field > legend {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: #315365;
  font-size: 13px;
  font-weight: 700;
}

.ad-field.required > label::after {
  content: ' *';
  color: #d96c28;
}

.ad-request-page .ad-field .form-control {
  width: 100%;
  height: 47px;
  padding: 10px 13px;
  border: 1px solid #d7e1e6;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: none;
  color: #183547;
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.ad-request-page .ad-field textarea.form-control {
  min-height: 116px;
  height: auto;
  resize: vertical;
}

.ad-request-page .ad-field .form-control:focus {
  border-color: #47839b;
  box-shadow: 0 0 0 3px rgba(71, 131, 155, .13);
}

.ad-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ad-type-option {
  position: relative;
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 16px;
  border: 1px solid #d7e1e6;
  border-radius: 4px;
  background: #fff;
  color: #456170;
  cursor: pointer;
}

.ad-type-option.is-selected {
  border-color: #47839b;
  background: #f0f7f9;
  color: #17445b;
}

.ad-type-option input {
  accent-color: #e7832a;
}

.ad-type-option > i {
  color: #40788f;
  font-size: 18px;
}

#product-price-row {
  display: none;
}

.ad-upload {
  position: relative;
  display: flex !important;
  min-height: 108px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0 !important;
  padding: 16px;
  border: 1px dashed #9eb5bf;
  border-radius: 5px;
  background: #f7fafb;
  color: #315d70;
  cursor: pointer;
  text-align: center;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.ad-upload:hover,
.ad-upload:focus-within {
  border-color: #e7832a;
  background: #fffaf4;
}

.ad-upload > i {
  color: #32738d;
  font-size: 22px;
}

.ad-upload > span {
  font-size: 13px;
  font-weight: 700;
}

.ad-upload small {
  color: #7d8d95;
  font-size: 11px;
  font-weight: 400;
}

.ad-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.ad-upload--compact {
  min-height: 76px;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.ad-upload--compact small {
  flex-basis: 100%;
}

.ad-file-names {
  display: block;
  margin-top: 7px;
  color: #55717e;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.ad-field-note {
  margin: 7px 0 0;
  color: #71828b;
  font-size: 12px;
}

.ad-request-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 30px;
  background: #f6f8f9;
}

.ad-request-actions > span {
  color: #6f818b;
  font-size: 12px;
}

.ad-request-actions > span i {
  margin-left: 5px;
  color: #39758d;
}

.ad-request-actions .btn-primary {
  min-width: 170px;
  min-height: 47px;
  padding: 11px 22px;
  border: 0;
  border-radius: 4px;
  background: #e7832a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 150ms ease, transform 150ms ease;
}

.ad-request-actions .btn-primary:hover,
.ad-request-actions .btn-primary:focus {
  background: #c96719;
  transform: translateY(-1px);
}

#information-ad-request .alert {
  border-radius: 4px;
}

#information-ad-request .text-danger {
  margin-top: 6px;
  font-size: 12px;
}

@keyframes ad-request-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  #information-ad-request.ad-request-page {
    padding: 16px 13px 36px;
  }

  .ad-request-hero {
    min-height: 100px;
    gap: 12px;
    margin-bottom: 15px;
    padding: 18px;
  }

  .ad-request-hero__icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    font-size: 19px;
  }

  .ad-request-hero h1 {
    font-size: 22px;
  }

  .ad-request-section {
    padding: 21px 17px;
  }

  .ad-period-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ad-period-card {
    min-height: 76px;
    padding: 12px 17px;
  }

  .ad-period-card__price {
    font-size: 18px;
  }

  .ad-payment-information {
    margin: 0 15px;
    padding: 17px 14px;
  }

  .ad-payment-grid,
  .ad-field-grid,
  .ad-type-grid {
    grid-template-columns: 1fr;
  }

  .ad-field--wide {
    grid-column: auto;
  }

  .ad-request-actions {
    align-items: stretch;
    flex-direction: column;
    padding: 18px 17px;
  }

  .ad-request-actions .btn-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ad-request-hero,
  .ad-period-card,
  .ad-request-actions .btn-primary {
    animation: none;
    transition: none;
  }
}
