/* IPTV Belgique Commerce Engine v2.7.19.114
   CSS stack cleanup after disabling 04-client-design-system-legacy.css.
   Purpose: reduce legacy conflicts while keeping the validated client-portal components stable. */

#iptvbc-client-app[data-iptvbc-private-portal="1"]{
  font-family:Poppins,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}

/* Protect support page from old oval/capsule legacy styles. */
#iptvbc-client-app.is-section-support .iptvbc-support-help-card-v271109,
#iptvbc-client-app.is-section-support .iptvbc-support-shortcut-card{
  clip-path:none!important;
  aspect-ratio:auto!important;
  border-radius:22px!important;
  transform:none!important;
}

#iptvbc-client-app.is-section-support .iptvbc-support-help-card-v271109::before,
#iptvbc-client-app.is-section-support .iptvbc-support-help-card-v271109::after,
#iptvbc-client-app.is-section-support .iptvbc-support-shortcut-card::before,
#iptvbc-client-app.is-section-support .iptvbc-support-shortcut-card::after{
  display:none!important;
  content:none!important;
}

/* Protect isolated sidebar VIP component from legacy grids/text compression. */
#iptvbc-client-app[data-iptvbc-private-portal="1"] .iptvbc-client-vip-card-v271105,
#iptvbc-client-app[data-iptvbc-private-portal="1"] .iptvbc-client-vip-card-v271105 *{
  writing-mode:horizontal-tb!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}

/* Keep support clean if old markup survives through cache. */
#iptvbc-client-app.is-section-support .iptvbc-support-metrics-v2643{
  display:none!important;
}

/* Ticket detail final stability. */
#iptvbc-client-app.is-section-support .iptvbc-support-message,
#iptvbc-client-app.is-section-support .iptvbc-ticket-message,
#iptvbc-client-app.is-section-support .iptvbc-support-thread-message{
  border-radius:24px!important;
  background:#fff!important;
  border:1px solid rgba(226,232,240,.96)!important;
  box-shadow:0 16px 38px rgba(15,23,42,.06)!important;
}

/* Avoid old link underline styles in the private portal. */
#iptvbc-client-app[data-iptvbc-private-portal="1"] a{
  text-decoration:none!important;
}

/* Make newest support rebuild win against legacy width/shape rules. */
#iptvbc-client-app.is-section-support .iptvbc-support-shell-v271109{
  width:100%!important;
  max-width:100%!important;
}

#iptvbc-client-app.is-section-support .iptvbc-support-shell-v271109 .iptvbc-support-panel-v271109,
#iptvbc-client-app.is-section-support .iptvbc-support-shell-v271109 .iptvbc-support-hero-v271109{
  overflow:hidden!important;
}
