/* ============================
   STRIATUM CLOUD – HEADER
============================ */
.sc-topbar-wrap{
  width: 100%;
}

.sc-topbar2{
  width: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;            /* faible radius */
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.sc-topbar--info{
  margin-bottom: 10px;
}

.sc-topbar--actions{
  padding: 12px 16px;
}

.sc-topbar__left,
.sc-topbar__right{
  display: flex;
  align-items: center;
  gap: 14px;
}

.sc-event-logo{
  height: 44px;
  width: auto;
  display: flex;
  align-items: center;
}
.sc-event-logo img{
  height: 44px;
  width: auto;
  display: block;
}

.sc-event-title{
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  line-height: 1.1;
}
.sc-event-sub{
  color: #64748b;
  font-size: .9rem;
  margin-top: 4px;
}

/* Meta bloc à droite comme “filters” */
.sc-meta{
  display: flex;
  align-items: center;
  gap: 14px;
}
.sc-meta__item{
  display: grid;
  gap: 2px;
}
.sc-meta__label{
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}
.sc-meta__value{
  font-size: .92rem;
  color: #0f172a;
  font-weight: 600;
}

.sc-meta__sep{
  width: 1px;
  height: 34px;
  background: #e2e8f0;
  opacity: .9;
}

/* Statut propre et homogène */
.sc-status{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .85rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
}
.sc-status--success{ background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.25); color: #16a34a; }
.sc-status--secondary{ background: rgba(100,116,139,.10); border-color: rgba(100,116,139,.25); color: #64748b; }
.sc-status--dark{ background: rgba(15,23,42,.08); border-color: rgba(15,23,42,.18); color: #0f172a; }

/* Actions : homogènes, unis, peu de radius, pas d’underline */
.sc-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.sc-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;           /* peu arrondi */
  border: 1px solid #e2e8f0;
  background: #0f172a;          /* couleur unie */
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  line-height: 1;
  text-decoration: none !important;
  transition: transform .15s ease, filter .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.sc-btn i{
  opacity: .95;
}
.sc-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
  color: #fff;
}

/* Bouton “principal” (app) : même famille, juste accent */
.sc-btn--primary{
  background: var(--sc-cyan-dark);
  border-color: rgba(2,132,199,.35);
}

/* Responsive : on évite que ça colle aux bords + scroll horizontal actions */
@media (max-width: 992px){
  .sc-topbar2{
    flex-direction: column;
    align-items: stretch;
  }
  .sc-topbar__right{
    justify-content: space-between;
  }
  .sc-meta{
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .sc-meta__sep{
    display: none;
  }
  .sc-actions{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .sc-actions::-webkit-scrollbar{ height: 6px; }
  .sc-actions::-webkit-scrollbar-thumb{ background: #e2e8f0; border-radius: 999px; }
}
.sc-topbar {
  background: var(--sc-bg-elevated);
  border-radius: 999px;
  padding-inline: 1rem;
  padding-block: .45rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--sc-shadow-soft);
}

/* Buttons */
.sc-topbar-btn {
  border: none;
  background: transparent;
  padding: .35rem .55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    background-color 140ms ease-out,
    transform 140ms ease-out,
    box-shadow 140ms ease-out;
}

.sc-topbar-btn:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

/* Icons */
.sc-topbar-icon {
  font-size: 1.1rem;
  color: #4b5563;
}

/* Notifications badge */
.sc-topbar-badge {
  position: absolute;
  top: -3px;
  right: -1px;
  background: #22c55e;
  color: #fff;
  border-radius: 999px;
  font-size: .65rem;
  padding: 0 .25rem;
  line-height: 1.1;
  box-shadow: 0 0 0 3px #ffffff;
}

/* User block */
.sc-topbar-user {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.sc-avatar {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.25);
}

/* Mobile */
@media (max-width: 767.98px) {
  .sc-topbar {
    border-radius: 0 0 1rem 1rem;
    margin: 0 -0.75rem 1rem;
  }
}
