<template>
  <a-modal title-align="start" modal-class="modal" body-class="body" v-bind="$attrs">
    <slot></slot>
  </a-modal>
</template>
<script setup lang="ts">
</script>
<style lang="scss">
.modal {
  .arco-modal-header {
    border-bottom: none;
  }
  .arco-modal-footer {
    border-top: none;
    :first-child {
      border: 1px solid var(--BG-500, rgba(177, 178, 181, 1));
      border-radius: 4px;
      padding: 7px 20px;
      font-family: $font-family-medium;
      font-weight: 400;
      font-size: 14px;
    }
    :last-child {
      border-radius: 4px;
      padding: 7px 20px;
      font-family: $font-family-medium;
      font-weight: 400;
      font-size: 14px;
      margin-left: 16px;
    }
  }
}
.body {
  padding-top: 0;
  padding-bottom: 0;
}
</style>
