<template>
  <div class="container-fluid py-4 fournisseur-detail-shell">
    <div class="card border-0 mb-4 hero-shell">
      <div class="card-body p-4">
        <div
          class="d-flex flex-column flex-lg-row justify-content-between align-items-lg-center gap-3"
        >
          <div>
            <h4 class="text-white mb-1">
              <slot name="page-title">Détail fournisseur</slot>
            </h4>
            <p class="text-white-50 mb-0">
              <slot name="page-subtitle"
                >Consultez et gérez toutes les informations du
                fournisseur.</slot
              >
            </p>
          </div>
          <div class="d-flex align-items-center flex-wrap gap-2">
            <slot name="header-right" />
          </div>
        </div>
      </div>
    </div>

    <div class="row g-3 mb-3">
      <slot name="summary-cards" />
    </div>

    <div class="row mb-3">
      <slot name="button-return" />
    </div>

    <div class="row g-4">
      <div class="col-xl-3 col-lg-4">
        <slot name="fournisseur-detail-sidebar" />
        <slot name="file-input" />
      </div>
      <div class="col-xl-9 col-lg-8 mt-lg-0 mt-2">
        <slot name="fournisseur-detail-content" />
      </div>
    </div>
  </div>
</template>

<style scoped>
.hero-shell {
  background: linear-gradient(135deg, #344767 0%, #5e72e4 100%);
  box-shadow: 0 10px 30px rgba(52, 71, 103, 0.2);
}
</style>
