.banner-main {
  padding-bottom: 116px !important;
  background: #fff;
}

.banner-hero.master-request-settings-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 14px 0 16px;
  margin-bottom: 18px;
  border: 0;
}


.banner-hero strong {
  font-size: 15px;
  line-height: 20px;
}

.banner-hero p {
  max-width: 100%;
  line-height: 16px;
}

.banner-create-button {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
}

.banner-schema-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #23324d;
}

.banner-schema-notice.is-blocked {
  border-color: transparent;
  color: #9b4a00;
}

.banner-schema-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: #4279ff;
}

.banner-schema-notice.is-blocked .banner-schema-dot {
  background: #f59e0b;
}

.banner-schema-notice strong {
  display: block;
  color: #292929;
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: -0.04em;
}

.banner-schema-notice span:not(.banner-schema-dot) {
  display: block;
  margin-top: 2px;
  color: #7a7f87;
  font-size: 11px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: -0.03em;
}

.banner-toolbar.master-request-toolbar {
  align-items: center;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
}

.banner-count {
  color: #6a6e74;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.03em;
}

.banner-count strong {
  margin-left: 4px;
  color: #292929;
  font-size: 14px;
  font-weight: 600;
}

.banner-count em {
  color: #6a6e74;
  font-style: normal;
}

.banner-refresh-button {
  width: auto;
  min-width: 74px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
}

.banner-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 0;
}

.banner-card.master-request-application-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
  padding: 0 0 18px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}


.banner-card-thumb {
  width: 100%;
  aspect-ratio: 750 / 240;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: #fafcff;
  color: #9aa3b4;
  font-size: 11px;
  font-weight: 400;
}

.banner-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-card-content {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.banner-card-top.master-request-application-top {
  align-items: flex-start;
  margin: 0;
}

.banner-card-title {
  min-width: 0;
}

.banner-card-title h2 {
  margin: 7px 0 0;
  color: #292929;
  font-size: 15px;
  font-weight: 600;
  line-height: 19px;
  letter-spacing: -0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner-card-body dl.banner-card-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 0;
}

.banner-card-body dl.banner-card-meta > div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.banner-card-body dt {
  margin: 0;
  color: #7a7f87;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
}

.banner-card-body dd {
  margin: 0;
  color: #292929;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner-card-actions.master-request-application-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.banner-card-actions.is-readonly {
  grid-template-columns: 1fr;
}

.banner-card-actions .master-request-primary-button,
.banner-card-actions .master-request-sub-button {
  height: 32px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
}

.banner-card-actions .master-request-sub-button:disabled {
  opacity: .35;
  pointer-events: none;
}

.banner-card-actions .master-request-sub-button.is-danger {
  border-color: transparent;
  background: #fff7f8;
  color: #e11d48;
}

.banner-readonly-note {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: #f8fbff;
  color: #4279ff;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.03em;
  text-align: center;
}

.banner-edit-modal .modal-dialog {
  width: calc(100% - 28px);
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.banner-edit-modal-content.dashboard-request-modal-content {
  border-radius: 22px;
}

.banner-edit-modal-body.dashboard-request-modal-body {
  padding: 16px 18px 18px;
}

.banner-form-group {
  margin-bottom: 15px;
}

.banner-form-group label:not(.banner-file-button):not(.banner-active-toggle) {
  display: block;
  margin: 0 0 8px;
  color: #293241;
  font-size: 13px;
  font-weight: 700;
  line-height: 17px;
  letter-spacing: -0.04em;
}

.banner-form-group input[type="text"],
.banner-form-group input[type="number"],
.banner-form-group textarea {
  width: 100%;
  border: 1px solid #e4e9f1;
  border-radius: 11px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.04em;
}

.banner-form-group input[type="text"],
.banner-form-group input[type="number"] {
  height: 42px;
  padding: 0 13px;
}

.banner-form-group textarea {
  min-height: 88px;
  padding: 12px 13px;
  resize: vertical;
}

.banner-form-group input[type="text"]::placeholder,
.banner-form-group input[type="number"]::placeholder,
.banner-form-group textarea::placeholder {
  color: #b2bcc8;
}

.banner-form-group input[type="text"]:focus,
.banner-form-group input[type="number"]:focus,
.banner-form-group textarea:focus {
  border-color: #4279ff;
  box-shadow: 0 0 0 3px rgba(66, 121, 255, 0.12);
  outline: none;
}

.banner-image-preview-wrap {
  width: 100%;
  aspect-ratio: 750 / 240;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px dashed #cfd7e6;
  border-radius: 14px;
  background: #fafcff;
  color: #8a95a8;
  font-size: 12px;
}

.banner-image-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.banner-file-control {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.banner-file-button {
  height: 38px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0 !important;
  border: 1px solid #4279ff;
  border-radius: 10px;
  background: #4279ff;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 16px !important;
  cursor: pointer;
}

.banner-file-name {
  min-width: 0;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #e4e9f1;
  border-radius: 10px;
  color: #6a6e74;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner-form-help,
.banner-ui-disclosure {
  margin: 8px 0 0;
  color: #8a95a8;
  font-size: 12px;
  line-height: 16px;
}

.banner-form-help.is-danger {
  color: #dc2626;
}

.banner-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 10px;
  align-items: end;
}

.banner-form-row .banner-form-group {
  margin-bottom: 0;
}

.banner-period-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  margin-bottom: 15px;
}

.banner-date-card.admin-date-card {
  margin-bottom: 0;
}

.banner-date-card .admin-date-range {
  min-height: 42px;
  justify-content: space-between;
  gap: 8px;
  padding: 0 13px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 500;
}

.banner-date-card .admin-date-value {
  width: 100%;
  justify-content: space-between;
  gap: 8px;
}

.banner-date-card .admin-date-label {
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.04em;
}

.banner-active-toggle {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: #fff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
}

.banner-submit-status {
  min-height: 20px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 18px;
}
.banner-submit-status.is-error { color: #e53935; }
.banner-submit-status.is-success { color: #1d9b52; }

.banner-edit-modal-footer.dashboard-request-modal-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 18px 18px;
  border-top: 0;
}

.banner-edit-modal-footer > * {
  margin: 0;
}

.banner-save-area {
  margin-top: 12px;
}

.banner-save-button {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 13px;
  background: #3182f6;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.45px;
}

.banner-save-button:disabled {
  background: #d8dee8 !important;
  color: #7d8794 !important;
  opacity: 1;
}

.banner-save-button:hover,
.banner-save-button:focus,
.banner-save-button:active {
  background: #2563eb !important;
  color: #fff !important;
  box-shadow: none !important;
}

.banner-list.is-order-saving {
  opacity: .65;
  pointer-events: none;
}

@media (max-width: 390px) {
  .banner-edit-modal .modal-dialog {
    width: calc(100% - 20px);
  }

  .banner-edit-modal-body.dashboard-request-modal-body,
  .banner-edit-modal-footer.dashboard-request-modal-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .banner-form-row {
    grid-template-columns: 1fr;
  }

  .banner-file-control {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

@media (max-width: 360px) {
  .banner-card-actions.master-request-application-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
