<template>
  <BContainer class="container">
    <BRow align-h="center">
      <BCol class="edit-coop">
        <h1 class="title">Editar Cooperativa</h1>
        <div class="form-container">
          <CompanyForm />
        </div>
      </BCol>
    </BRow>
  </BContainer>
</template>

<script>
export default {
  setup (){
    definePageMeta({
      layout: 'editar',
      middleware: 'auth',
      auth: { authority: 'COOP_MANAGER' }
    })
  },
}
</script>

<style lang="scss" scoped>
.edit-coop {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.title {
  color: $color-primary;
  font-size: $h2;
  margin-bottom: 40px;
  text-align: center;
  width: 100%;
  @include mobile {
    width: 80%;
    margin-top: 70px;
  }
  @include desktop {
    width: 40%;
  }
}

.form-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
</style>
