// _modal.scss

.mhub-del-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.mhub-del-modal {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 400px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;

  .close-button {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #7856fb;
    position: absolute;
    top: 0;
    right: 5px;
    padding: 0;
    margin: 0;
    &:hover {
      color: #4f21ff;
    }
  }

  .modal-header {
    h2 {
      font-weight: 700;
    }
  }

  .modal-body {
    margin-bottom: 40px;
  }

  .modal-buttons {
    display: flex;
    justify-content: flex-end;

    button {
      margin-left: 10px;
      padding: 8px 12px;
      cursor: pointer;
      transition: background-color 0.3s ease, border-color 0.3s ease;

      &.confirm-button {
        background-color: #7856fb;
        color: #fff;
        border: 1px solid #7856fb;
        border-radius: 8px;

        &:hover {
          background-color: #4f21ff;
          border-color: #4f21ff;
        }
      }

      &.cancel-button {
        background-color: #f44336;
        color: #fff;
        border: 1px solid #f44336;
        border-radius: 8px;

        &:hover {
          background-color: #d32e2e;
          border-color: #d32e2e;
        }
      }
    }
  }
}
  