/* BNE Home Alert Modal - estilos para el modal de alertas en home */

.bne-modal--alert.show {
  display: flex !important;
  height: 100vh;
}

.bne-modal--alert .modal-dialog {
  max-width: 1280px;
  width: calc(100% - 32px);
  margin: auto;
}

.bne-modal--alert .modal-content {
  border: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

.bne-modal--alert .bne-modal__header {
  background: transparent;
  border: 0;
  justify-content: flex-end;
  padding: var(--bne-space-5) var(--bne-space-5) 0;
  margin-bottom: 16px;
}

.bne-modal--alert .bne-modal__body {
  padding: 48px !important;
  background-color: var(--bne-color-white, #ffffff);
  border-radius: var(--bne-radius-lg) var(--bne-radius-lg) 0 0;
}

.bne-modal-alert__content {
  font-family: var(--bne-font-family-base, 'gobCL', Arial, sans-serif);
  color: var(--bne-color-primary-100, #1a1a1a);
  line-height: 1.6;
  text-align: center;
}

.bne-modal-alert__content p {
  margin: 0 0 1rem 0;
}

.bne-modal-alert__content p:last-child {
  margin-bottom: 0;
}

.bne-modal-alert__content a {
  color: var(--bne-color-azul-1, #0070C0);
  text-decoration: underline;
}

.bne-modal-alert__content a:hover {
  text-decoration: none;
}

.bne-modal--alert .bne-modal__footer {
  justify-content: center;
  align-items: center;
  background-color: var(--bne-color-white, #ffffff);
  border-radius: 0 0 var(--bne-radius-lg, 8px) var(--bne-radius-lg, 8px);
  border-top: 0;
  padding: 0 48px 48px 48px;
}

.bne-modal--alert .bne-modal__alert-button {
  min-width: 140px;
}

/* Responsive */
@media (max-width: 767.98px) {
  .bne-modal--alert .bne-modal__body {
    padding: 24px 24px !important;
  }

  .bne-modal--alert .bne-modal__footer {
    padding: 0 24px 32px 24px;
  }

  .bne-modal--alert .bne-modal__alert-button {
    width: 100%;
  }
}
