.anshar-sendy-form {
  width: 100%;
}

.anshar-sendy-form .newsletter-form-row,
.anshar-sendy-form .anshar-form-row {
  width: 100% !important;
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.anshar-sendy-form input,
.anshar-sendy-form textarea,
.anshar-sendy-form select,
.media-signup-form.anshar-sendy-form input,
.media-signup-form.anshar-sendy-form textarea,
.media-signup-form.anshar-sendy-form select {
  width: 100% !important;
  max-width: none !important;
  min-height: 58px;
  background: rgba(12, 14, 18, 0.58);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0 20px;
  border-radius: 16px;
  color: var(--text, #fff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  outline: none;
}

.anshar-sendy-form textarea {
  min-height: 108px;
  padding-top: 16px;
  padding-bottom: 16px;
  resize: vertical;
}

.anshar-sendy-form select[multiple] {
  min-height: 144px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.anshar-sendy-form input:focus,
.anshar-sendy-form textarea:focus,
.anshar-sendy-form select:focus {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(12, 14, 18, 0.82);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.anshar-sendy-form input::placeholder,
.anshar-sendy-form textarea::placeholder {
  color: rgba(255,255,255,0.48);
}

.anshar-newsletter-name-row {
  margin-bottom: -4px;
}

.anshar-media-request-form {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch !important;
  gap: 18px !important;
}

.anshar-form-section {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  background: rgba(255,255,255,0.025);
}

.anshar-form-section-title {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  font-weight: 800;
}

.anshar-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.anshar-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.anshar-field--full {
  grid-column: 1 / -1;
}

.anshar-field-label,
.anshar-choice-group-title {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.66);
}

.anshar-choice-group {
  width: 100%;
}

.anshar-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 190px;
  overflow: auto;
  padding: 2px 2px 4px;
  margin-top: 10px;
}

.anshar-choice-card {
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
}

.anshar-choice-card input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
}

.anshar-choice-card span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(12,14,18,0.48);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  line-height: 1.35;
  transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.anshar-choice-card.is-checked span {
  border-color: rgba(239,68,68,0.72);
  background: rgba(220,38,38,0.16);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}

.anshar-consents-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 720px;
  margin: 2px auto 0;
}

.anshar-sendy-form .newsletter-consent,
.media-signup-form.anshar-sendy-form .newsletter-consent {
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


.anshar-required-note {
  width: 100%;
  max-width: 720px;
  margin: -4px auto 2px;
  color: rgba(255,255,255,0.58);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}

.media-signup-form .anshar-required-note {
  margin-top: -6px;
  text-align: center;
}

.anshar-sendy-form-message {
  width: 100%;
  max-width: 720px;
  margin: 4px auto 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.anshar-sendy-form-message.is-success {
  color: #ffffff;
}

.anshar-sendy-form-message.is-error {
  color: #ffb4b4;
}

.anshar-field-error input,
.anshar-field-error textarea,
.anshar-field-error select,
.anshar-choice-group-error .anshar-choice-card span,
.anshar-sendy-form.has-consent-error .newsletter-consent-box {
  border-color: rgba(239,68,68,0.95) !important;
  box-shadow: 0 0 0 4px rgba(220,38,38,0.18) !important;
}

.anshar-sendy-form.is-loading {
  pointer-events: none;
  opacity: .72;
}

.anshar-sendy-form .btn[disabled] {
  cursor: wait;
  opacity: .75;
}

@media (max-width: 767px) {
  .anshar-media-request-form {
    max-width: 100%;
  }

  .anshar-form-section {
    padding: 14px;
    border-radius: 18px;
  }

  .anshar-form-grid,
  .anshar-choice-grid {
    grid-template-columns: 1fr;
  }
}


.anshar-newsletter-extra-fields {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 14px;
}

.anshar-newsletter-extra-fields .anshar-field--full {
  grid-column: 1 / -1;
}

.anshar-form-section + .anshar-form-section {
  margin-top: 0;
}

.anshar-choice-group.anshar-field--full {
  grid-column: 1 / -1;
}

/* Dropdown selectors for dynamic Sendy form fields v5.8.10 */
.anshar-dropdown-field {
  position: relative;
  overflow: visible;
  z-index: 2;
}

.anshar-dropdown-field.is-open {
  z-index: 80;
}

.anshar-form-section:has(.anshar-dropdown-field.is-open) {
  position: relative;
  z-index: 90;
}

.anshar-dropdown-toggle {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(12, 14, 18, 0.58);
  color: var(--text, #fff);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.anshar-dropdown-toggle:focus-visible,
.anshar-dropdown-field.is-open .anshar-dropdown-toggle {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(12, 14, 18, 0.82);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
  outline: none;
}

.anshar-dropdown-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255,255,255,0.86);
}

.anshar-dropdown-value.is-placeholder {
  color: rgba(255,255,255,0.48);
}

.anshar-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(14, 15, 20, 0.98);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.anshar-dropdown-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 11px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.anshar-dropdown-option:hover,
.anshar-dropdown-option:has(input:checked) {
  background: rgba(220,38,38,0.14);
  color: #fff;
}

.anshar-dropdown-option input[type="checkbox"],
.anshar-dropdown-option input[type="radio"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex: 0 0 16px;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 4px;
  accent-color: #dc2626;
}

.anshar-dropdown-option input[type="radio"] {
  border-radius: 50%;
}

.anshar-dropdown-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.anshar-dropdown-other {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 6px 0 2px;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.anshar-dropdown-other input[type="text"] {
  width: 100% !important;
  min-height: 46px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
  font-size: 14px;
}

.anshar-dropdown-error .anshar-dropdown-toggle,
.anshar-dropdown-field.anshar-field-error .anshar-dropdown-toggle {
  border-color: rgba(239,68,68,0.95) !important;
  box-shadow: 0 0 0 4px rgba(220,38,38,0.18) !important;
}

@media (max-width: 767px) {
  .anshar-dropdown-toggle {
    min-height: 50px;
    padding: 0 18px;
    border-radius: 13px;
    font-size: 14px;
  }

  .anshar-dropdown-menu {
    max-height: 260px;
  }
}

/* Required note alignment hotfix v5.8.14 */
.newsletter-form.anshar-sendy-form .anshar-required-note,
.newsletter-form .anshar-required-note {
  width: 100% !important;
  max-width: 640px !important;
  margin: 10px auto 16px !important;
  text-align: center !important;
  display: block !important;
  clear: both !important;
}

@media (max-width: 767px) {
  .newsletter-form.anshar-sendy-form .anshar-required-note,
  .newsletter-form .anshar-required-note {
    max-width: 100% !important;
    margin: 8px auto 14px !important;
    text-align: center !important;
  }
}


/* Inner Circle consent placement fix v5.8.15 */
.newsletter-form.anshar-sendy-form .anshar-newsletter-email-row {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
}

.newsletter-form.anshar-sendy-form .anshar-newsletter-email-row input[type="email"] {
  margin-left: auto !important;
  margin-right: auto !important;
}

.newsletter-form.anshar-sendy-form .anshar-newsletter-submit-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 2px !important;
}

.newsletter-form.anshar-sendy-form .anshar-newsletter-submit-row .btn {
  width: min(360px, 100%) !important;
  max-width: 100% !important;
}

.newsletter-form.anshar-sendy-form .anshar-consents-wrap {
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}
