/* InterFilm — Hub support utilisateur */

.support-banner {
  margin: 0 2.5rem 1.5rem;
  padding: 28px 32px;
  border-radius: 16px;
  background: #0a0a0a;
  border: 1px solid rgba(247, 127, 0, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.support-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(247, 127, 0, 0.08), transparent 45%);
  pointer-events: none;
}
.support-banner-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.support-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f77f00;
  margin-bottom: 10px;
}
.support-banner-title {
  font-family: 'Bebas Neue', var(--ff-head);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.support-banner-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}
.support-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #f77f00, #ff9500);
  color: #fff;
  font-family: 'Bebas Neue', var(--ff-head);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(247, 127, 0, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.support-banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(247, 127, 0, 0.38);
}

/* Modal support */
.support-modal .legal-box { max-width: 640px; }
.support-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 4px;
}
.support-cat-card {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: left;
}
.support-cat-card:hover {
  border-color: rgba(247, 127, 0, 0.3);
  background: rgba(247, 127, 0, 0.05);
}
.support-cat-card.active {
  border-color: rgba(247, 127, 0, 0.45);
  background: rgba(247, 127, 0, 0.1);
  box-shadow: inset 0 0 0 1px rgba(247, 127, 0, 0.15);
}
.support-cat-card strong {
  display: block;
  font-family: 'Bebas Neue', var(--ff-head);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}
.support-cat-card span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.45;
}
.support-upload-zone {
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  margin-bottom: 16px;
}
.support-upload-zone:hover {
  border-color: rgba(247, 127, 0, 0.35);
  background: rgba(247, 127, 0, 0.04);
}
.support-upload-zone.has-file {
  border-style: solid;
  border-color: rgba(247, 127, 0, 0.35);
}
.support-upload-preview {
  max-width: 100%;
  max-height: 160px;
  border-radius: 10px;
  margin-top: 10px;
  display: none;
}
.support-upload-preview.visible { display: block; margin: 10px auto 0; }
.support-upload-hint { font-size: 12px; color: rgba(255, 255, 255, 0.42); }
.ticket-msg-images { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ticket-msg-img {
  max-width: 220px;
  max-height: 160px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}
.ticket-staff-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}

/* Ticket modal — layout staff sidebar */
.ticket-box {
  display: flex;
  flex-direction: row;
  width: min(920px, calc(100% - 2rem));
  max-height: 88vh;
}
.ticket-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.ticket-sidebar {
  width: 0;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
  transition: width 0.25s ease;
  display: flex;
  flex-direction: column;
}
.ticket-box.ticket-box--staff .ticket-sidebar {
  width: 260px;
}
.ticket-sidebar-head {
  padding: 14px 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ticket-sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}
.ticket-drawer {
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.ticket-drawer-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.ticket-drawer-head:hover { background: rgba(255, 255, 255, 0.04); }
.ticket-drawer-body {
  display: none;
  padding: 0 12px 12px;
  flex-direction: column;
  gap: 8px;
}
.ticket-drawer.open .ticket-drawer-body { display: flex; }
.ticket-drawer-chevron { transition: transform 0.2s; opacity: 0.5; }
.ticket-drawer.open .ticket-drawer-chevron { transform: rotate(180deg); }

/* Discord join popup */
.discord-join-modal {
  position: fixed;
  inset: 0;
  z-index: 9999998;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.discord-join-modal.open { display: flex; }
.discord-join-box {
  position: relative;
  background: #0a0a0a;
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: 16px;
  padding: 36px 32px 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(88, 101, 242, 0.15);
}
.discord-join-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.discord-join-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(88, 101, 242, 0.4);
}
.discord-join-title {
  font-family: var(--ff-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}
.discord-join-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 22px;
}
.discord-join-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.discord-join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.45);
}
.discord-join-later {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  cursor: pointer;
  padding: 8px;
}
.discord-join-later:hover { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 768px) {
  .support-banner { margin: 0 1rem 1rem; padding: 20px; }
  .support-banner-grid { grid-template-columns: 1fr; }
  .support-cat-grid { grid-template-columns: 1fr; }
}
