/* Skeleton loader : une base discrète et cohérente avec les interfaces claires. */
.ssc {
  --ssc-base: #e9eef5;
  --ssc-highlight: rgba(255, 255, 255, 0.72);
  --ssc-radius: 8px;
}

/* Animation */
@keyframes ssc-loading {
  from {
    transform: translate3d(-100%, 0, 0);
  }
  to {
    transform: translate3d(100%, 0, 0);
  }
}
/* Animation partial */
.ssc-square, .ssc-head-line, .ssc-line, .ssc-circle {
  position: relative;
  overflow: hidden;
  background-color: var(--ssc-base, #e9eef5);
  isolation: isolate;
}
.ssc-square:after, .ssc-head-line:after, .ssc-line:after, .ssc-circle:after {
  content: "";
  animation: ssc-loading 1.5s ease-in-out infinite;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: translate3d(-100%, 0, 0);
  z-index: 1;
  will-change: transform;
  background: linear-gradient(90deg, transparent 0%, var(--ssc-highlight, rgba(255, 255, 255, 0.72)) 50%, transparent 100%);
}

/** Main class */
.ssc {
  cursor: progress;
  user-select: none;
}

/** Helpers classes */
.mb {
  margin-bottom: 16px;
}
.mt {
  margin-top: 16px;
}
.mr {
  margin-right: 16px;
}
.ml {
  margin-left: 16px;
}
.mbs {
  margin-bottom: 8px;
}
.mts {
  margin-top: 8px;
}
.mrs {
  margin-right: 8px;
}
.mls {
  margin-left: 8px;
}
.w-10 {
  width: 10% !important;
}
.w-20 {
  width: 20% !important;
}
.w-30 {
  width: 30% !important;
}
.w-40 {
  width: 40% !important;
}
.w-50 {
  width: 50% !important;
}
.w-60 {
  width: 60% !important;
}
.w-70 {
  width: 70% !important;
}
.w-80 {
  width: 80% !important;
}
.w-90 {
  width: 90% !important;
}
.w-100 {
  width: 100% !important;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.align-end {
  align-items: flex-end;
}
.align-stretch {
  align-items: stretch;
}
.justify-start {
  justify-content: start;
}
.justify-end {
  justify-content: end;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.justify-around {
  justify-content: space-around;
}

/** Wrapper class */
.ssc-wrapper {
  padding: 16px;
  border-radius: var(--ssc-radius, 8px);
}

/* Figures, Objects */
.ssc-card {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  background-color: #ffffff;
}

.ssc-circle {
  display: block;
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.ssc-hr {
  display: block;
  width: 100%;
  background-color: var(--ssc-base, #e9eef5);
  height: 2px;
}

.ssc-line {
  display: block;
  border-radius: var(--ssc-radius, 8px);
  /*margin-bottom: 8px;*/
  /*width: 100%;*/
  height: 12px;
}
.ssc-line:last-child {
  margin-bottom: unset;
}

.ssc-head-line {
  display: block;
  border-radius: var(--ssc-radius, 8px);
  width: 100%;
  height: 24px;
}

.ssc-square {
  display: block;
  border-radius: var(--ssc-radius, 8px);
  width: 100%;
  height: 150px;
}

/* Évite une animation inutile pour les utilisateurs qui la désactivent. */
@media (prefers-reduced-motion: reduce) {
  .ssc-square:after,
  .ssc-head-line:after,
  .ssc-line:after,
  .ssc-circle:after {
    animation: none;
    transform: none;
    background: transparent;
  }
}
