<template>
  <v-row no-gutters class="fill-height" justify="center" align-content="center">
    <v-card class="pa-4" elevation="4" color="success lighten-1">
      <v-card-title class="text-white d-flex align-center">
        <v-icon class="mr-2">mdi-check-circle</v-icon>
        Successfully Linked Payment Method
      </v-card-title>

      <v-card-actions class="d-flex justify-center">
        <v-btn
          color="white"
          variant="tonal"
          rounded="xl"
          size="large"
          @click="closeWindow"
          >Close</v-btn
        >
      </v-card-actions>
    </v-card>
  </v-row>
</template>

<script setup>
definePageMeta({
  layout: "plain",
});

const closeWindow = () => {
  window.close();
};
</script>
