/* Modal */
.custom-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(31, 31, 31, 0.9);
  z-index: 9999;
}

.custom-modal.active {
  display: flex;
}

.custom-modal .modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 500px;
  width: 90%;
  gap: 24px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
}

.modal-inner-title-description-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.modal-text {
  text-align: start;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.modal-buttons a {
  width: 100%;
}

.modal-buttons .btn-outlined {
  height: 50px;
}

.close-modal {
  background-color: unset;
  border: none;
  cursor: pointer;
}

.modal-buttons button {
  width: 100%;
}

@media (max-width: 768px) {
  /* Modal */
  .custom-modal .modal-content {
    padding: 24px 20px;
    width: 100%;
    margin-left: 20px;
    margin-right: 20px;
    gap: 16px;
  }
  .modal-header {
    gap: 10px;
  }
  .modal-header h3 {
    text-align: start;
  }
  .close-modal {
    display: flex;
    align-items: start;
  }
  .close-modal svg {
    width: 26px;
    height: 26px;
  }
  .modal-buttons .btn-outlined {
    height: 45px;
  }
}
