/* ---------- Global safety / Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6,
.fts-card-title, .fts-card-sub,
.news-info h4, .news-info p,
.fts-cat-label {
  overflow-wrap: anywhere;
}

.swiper {
  width: 100%;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0;
}

/* ---------- Base / Theme ---------- */
:root {
  --bg-1: #0C0620;
  --bg-2: #1A0B3A;
  --glass: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.12);
  --white: #EAF1FF;
  --muted: #A0A6C0;
  --accent: #F72585;
  --accent-hover: #fa4699;
  --blue: #4CC9F0;
  --purple: #3A0CA3;
  --radius: 16px;
}

.fts-dashboard {
  color: var(--white);
  background: radial-gradient(1200px 600px at 70% -10%, #2a0a74 0%, #14052f 42%, #0b0420 100%);
  max-width: 100%;
  margin-inline: auto;
  min-height: calc(100vh - 65px);
}

/* -------- Buttons -------- */

/* Primary */
.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
  padding: 10px 30px;
  border-radius: 8px;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent);
}

.btn-primary:active {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
}

/* Ghost Btn */
.fts-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  color: var(--white);
  text-decoration: none;
}

.fts-btn--ghost {
  background: transparent;
}

/* Ghost Icon Btn */
.fts-icon-btn--ghost {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .06);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--white);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.fts-icon-btn--ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .10);
}

/* Primary 600 Btn */
.btn-primary-600,
.fts-btn-pink {
  background: linear-gradient(90deg, #ff4081, #f72585);
  color: #fff;
  padding: 10px 26px;
  border-radius: 14px;
  border: none;
  font-weight: bold;
  transition: all 0.2s ease;
}

.btn-primary-600:hover,
.fts-btn-pink:hover {
  background: linear-gradient(90deg, #f72585, #ff4081);
  transform: translateY(-1px);
}

/* Neutral 500 Button */
.btn-neutral-500 {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 10px 26px;
}

.btn-neutral-500:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Accent Btn */
.fts-btn-accent {
  background-color: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  border: none;
}

.fts-btn-accent:hover {
  background-color: var(--accent-hover);
}

/* ------------- Badges ------------- */
.fts-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.badge-status--open {
  border-color: rgba(76, 201, 240, .3);
  background: rgba(76, 201, 240, .08);
  color: #BDEAFF;
}

.badge-status--pending {
  border-color: rgba(250, 173, 20, .35);
  background: rgba(250, 173, 20, .10);
  color: #FFD28A;
}

.badge-status--resolved {
  border-color: rgba(55, 214, 122, .35);
  background: rgba(55, 214, 122, .10);
  color: #C9F7D6;
}

.badge-status--closed {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #D7D7D7;
}

.fts-badge--approved {
  background: rgba(0, 200, 120, 0.18);
  color: #aef0d7;
}

.fts-badge--pending {
  background: rgba(255, 184, 0, 0.18);
  color: #ffe6b3;
}

.fts-badge--rejected {
  background: rgba(255, 77, 79, 0.18);
  color: #ffb3b3;
}

.fts-badge--glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .12);
}

/* ---------------- Inputs -------------- */
/* Common Inputs */
.fts-form-input {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  color: var(--white);
  border-radius: var(--radius);
}

.fts-form-input:focus {
  outline: none;
  box-shadow: 0 0 5px var(--accent);
  border-color: var(--accent);
}

/* File Uploader Input */
.fts-uploader {
  border: 1px dashed var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 18px;
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
  position: relative;
  overflow: hidden;
}

.fts-uploader__placeholder {
  text-align: center;
  display: grid;
  place-items: center;
  gap: 6px;
}

.fts-uploader__hint {
  font-size: 12px;
  color: var(--muted);
}

.fts-uploader__preview {
  width: 100%;
  max-height: 360px;
  border-radius: 12px;
  overflow: hidden;
  display: none;
}

.fts-uploader__preview img,
.fts-uploader__preview video {
  width: 100%;
  height: auto;
  display: block;
}

.fts-uploader__actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
}

.fts-uploader__btn {
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, .25);
  color: var(--white);
  border-radius: 10px;
  padding: 6px 10px;
  text-decoration: none;
  cursor: pointer;
}

.fts-uploader .hint {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Top bar ---------- */

.fts-topbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: var(--bg-2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  border: 1px solid var(--stroke);
}


.fts-brand img {
  width: 34px;
  height: 34px;
  margin-right: 15px;
}

.fts-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 10px 14px;
  min-width: 0;
  margin-right: 15px;
}

.fts-search input {
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--white);
  width: 100%;
}

.fts-actions {
  display: flex;
  gap: 8px;
}

.fts-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.fts-icon-header-btn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.fts-dropdown-menu {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.fts-dropdown-menu .dropdown-item {
  color: var(--white);
  padding: 10px 20px;
  font-size: 15px;
  transition: background 0.2s ease;
}

.fts-dropdown-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.fts-dropdown-menu .text-danger {
  color: #ff6b6b !important;
}


/* ---------- Body grid ---------- */

.fts-body {
  display: flex;
  margin-top: 64px;
  padding-inline: 12px;
  padding-top: 1.3rem;
  min-height: calc(100vh - 150px);
}

.fts-footer {
  padding: 1px;
  color: var(--muted);
  background: var(--bg-2);
  border-top: 1px solid var(--stroke);
  font-size: 14px;
}

.footer-logo {
  max-height: 50px;
}

.fts-footer-text {
  font-weight: 300;
  margin: 0;
}

.fts-rail {
  position: fixed;
  top: 64px;
  left: 15px;
  width: 130px;
  height: calc(100vh - 64px);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  z-index: 998;
}

.fts-main {
  margin-left: 150px;
  width: calc(100% - 130px);
}

.fts-rail-btn {
  width: 130px;
  height: 48px;
  border-radius: 14px;
  padding: 0px 1rem;
  background: var(--glass);
  border: 1px solid var(--stroke);
  color: var(--white);
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
}

.fts-rail-btn.active {
  outline: 2px solid var(--blue)
}

/* ---------- News ---------- */
.fts-news-section {
  margin-bottom: 20px;
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.news-swiper.swiper {
  width: 100%;
  overflow: hidden;
}

.news-swiper .swiper-wrapper {
  display: flex;
  gap: 12px;
}

.news-swiper .swiper-slide {
  width: auto;
}

/* Card inside the swiper */
.news-card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  width: 280px;
  min-width: 280px;
  height: 320px;
}

@media (max-width: 576px) {
  .news-card {
    width: 80vw;
    min-width: 80vw;
    height: 300px;
  }
}

.news-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.news-info {
  padding: 10px;
}

.news-badge {
  background: var(--accent);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.news-badge.update {
  background: var(--blue);
}

.news-info h4 {
  margin: 6px 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.news-info p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Category tiles ---------- */
.fts-cats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px
}

.fts-cat {
  background: linear-gradient(180deg, #24164f 0%, #140b33 100%);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  min-width: 0;
}

.fts-cat.active {
  outline: 2px solid #FFA400;
}

.fts-cat-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
}

.fts-cat-icon img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 16px;
}

.fts-cat-label {
  font-weight: 800;
  letter-spacing: .5px
}

/* ---------- Tabs ---------- */
.fts-tabs {
  display: flex;
  gap: 10px;
  margin: 16px 0 10px;
  flex-wrap: wrap;
}

.fts-tab {
  background: var(--glass);
  color: #fff;
  border: 1px solid var(--stroke);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.fts-tab.active {
  background: #152042;
  border-color: #2c4cf0
}

/* ---------- Content grid ---------- */
.fts-content-grid {
  display: grid;
  gap: 16px;
}

.fts-col-main {
  display: block;
  min-width: 0;
}

/* Feature video */
.fts-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .9);
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #000;
}

.fts-play.sm {
  width: 42px;
  height: 42px;
  font-size: 22px
}

.fts-duration {
  position: absolute;
  right: 12px;
  bottom: 10px;
  background: rgba(0, 0, 0, .75);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 700;
}

.fts-duration.sm {
  right: 8px;
  bottom: 8px;
  font-size: .85rem
}

/* Rows of cards */
.fts-rows {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px
}

.fts-row h4 {
  margin: 0 0 10px;
  font-size: 18px
}

.fts-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fts-card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
}

.fts-card-thumb {
  position: relative
}

.fts-card-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.fts-card-meta {
  padding: 10px 12px
}

.fts-card-title {
  font-weight: 800;
  margin-bottom: 2px
}

.fts-card-sub {
  color: var(--muted);
  font-size: .9rem
}

/* Right column: ranking */
.fts-side-card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 14px;
}

.fts-side-card h4 {
  margin: 0 0 12px
}

.fts-rank {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.fts-rank li {
  display: grid;
  grid-template-columns: 32px 40px 1fr 24px;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 8px 10px;
  min-width: 0;
}

.fts-rank .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #152042;
  display: grid;
  place-items: center;
  font-weight: 800
}

.fts-rank img {
  width: 36px;
  height: 36px;
  border-radius: 50%
}

.fts-rank .label {
  font-weight: 700
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .fts-content-grid {
    grid-template-columns: 1fr
  }

  .fts-col-side {
    order: -1
  }
}

@media (max-width: 992px) {
  .fts-body {
    grid-template-columns: 1fr
  }

  .fts-main {
    width: 100%;
    margin-left: 0px;
  }

  .fts-rail {
    display: none
  }

  .fts-hero {
    grid-template-columns: 1fr;
    text-align: center
  }

  .fts-hero-art {
    order: -1
  }

  .fts-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .fts-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width: 576px) {

  .fts-search {
    padding: 5px 12px;
  }

  .fts-icon-btn {
    width: 35px;
    height: 35px;
  }

  .fts-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .fts-cards {
    grid-template-columns: 1fr
  }

}

@media (max-width: 400px) {

  .fts-cats {
    grid-template-columns: repeat(1, minmax(0, 1fr))
  }

}


/* ===== Age View (scoped) ===== */
.ageview-wrap .fts-sponser-group {
  width: 100%;
  height: 160px;
  border: 2px solid var(--stroke);
  border-radius: 15px;
}

@media (max-width: 991px) {
  .ageview-wrap .fts-sponser-group {
    height: 120px;
  }
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .ageview-logo {
    margin: 22px auto;
  }

  .ageview-actions {
    padding: 20px;
  }
}

.ageview-card {
  background: radial-gradient(1200px 500px at 20% 85%, rgba(120, 40, 255, .20), transparent 60%),
    radial-gradient(800px 400px at 80% 20%, rgba(255, 80, 120, .15), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02) 60%, rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .04);
  min-height: calc(100vh - 180px);
}

@media (max-width: 991px) {
  .ageview-card {
    min-height: 350px;
  }
}

.ageview-panel {
  position: relative;
  overflow: hidden;
}

.ageview-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .35;
  pointer-events: none;
}

.ageview-logo {
  position: relative;
  width: min(200px, 90%);
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin: 36px 0 24px 24px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .45));
}

.ageview-actions {
  padding: 28px;
}

.ageview-title {
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px);
  margin-bottom: 18px;
}

.ageview-sub {
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  margin-bottom: 12px;
}

.fts-sponsor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (max-width: 991.98px) {
  .fts-sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768.98px) {
  .fts-sponsor-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.fts-sponsor-box--cover {
  position: relative;
  aspect-ratio: 16 / 9;       
  overflow: hidden;
  border-radius: var(--radius);
}

.fts-sponsor-box--cover video,
.fts-sponsor-box--cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0 !important;
  display: block;
  border-radius: inherit
}

.fts-sponsor-tile {
  display: block;
}

.fts-sponsor-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform .15s ease, background .15s ease;
}

.fts-sponsor-box img, .fts-sponsor-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.fts-sponsor-placeholder {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  text-align: center;
  padding: 10px;
  opacity: .9;
}

/* Hover */
.fts-sponsor-box:hover {
  background: rgba(255, 255, 255, .06);
  transform: translateY(-1px);
}


.fts-action {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  color: #fff;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.fts-action:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
}

.fts-action i {
  font-size: 22px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 140, 0, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}

.fts-action .label {
  font-weight: 600;
}

.fts-action .chev {
  margin-left: auto;
  opacity: .6;
}

/* Terms Page Design */
.fts-terms {
  background-color: var(--bg-1);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fts-terms .fts-terms-card {
  background-color: var(--bg-2);
  border-radius: var(--radius);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.45);
  padding: 36px;
  width: 100%;
}

@media (max-width: 768px) {
  .fts-terms .fts-terms-card {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .fts-terms .fts-terms-card {
    padding: 12px;
  }
}

.fts-terms .terms-content {
  line-height: 1.8;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
}

[dir="rtl"] .form-check.d-flex {
  flex-direction: row-reverse;
  justify-content: flex-end;
  /* push the pair to the right */
}

[dir="rtl"] .form-check-input {
  margin-left: .5rem;
  margin-right: 0;
}

/* === Registration Wizard Styling === */

.fts-register-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  padding: 40px;
  color: var(--white);
  min-height: calc(100vh - 120px);
}

@media (max-width: 991px) {
  .fts-register-card {
    padding: 20px;
  }
}

/* === Stepper Responsive Fix === */
.bs-stepper-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.bs-stepper-header::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .bs-stepper-header {
    flex-direction: row;
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .bs-stepper .step {
    min-width: 140px;
  }
}

.bs-stepper {
  background: transparent;
  border-radius: 20px;
}

.bs-stepper .step-trigger {
  background: none;
  border: none;
  color: var(--white);
  font-weight: 600;
  text-align: center;
}

.bs-stepper-circle {
  background: var(--stroke);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-block;
}

.bs-stepper .step.active .bs-stepper-circle,
.bs-stepper .step.completed .bs-stepper-circle {
  background: var(--accent);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Input Styling */
.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  color: var(--white);
  padding: 10px 14px;
  font-size: 14px;
}

.form-control::placeholder {
  color: var(--muted);
}

.form-control:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(247, 37, 133, 0.25);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.form-select option {
  background: var(--bg-2);
  color: var(--white);
}

.form-select option:hover,
.form-select option:focus {
  background: var(--accent);
  color: var(--white);
}

.iti--separate-dial-code .iti__selected-flag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  color: var(--white);
  padding: 10px 14px;
  font-size: 14px;
}

.iti__country-list {
  background: var(--bg-2);
  color: var(--white);
}

.iti {
  display: block;
  width: 100%;
}

.iti input {
  width: 100%;
}

/* Select Design */
.ts-wrapper {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid var(--stroke);
  border-radius: 12px;
}

.ts-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  color: var(--white);
  padding: 10px 14px;
  font-size: 14px;
}

.full .ts-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  color: var(--white);
  padding: 10px 14px;
  font-size: 14px;
}

.ts-wrapper.single.input-active .ts-control {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(247, 37, 133, 0.25);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.ts-dropdown {
  background-color: rgba(18, 18, 34, 0.95);
  color: var(--white);
  border-radius: 12px;
}

.ts-dropdown .active {
  background-color: var(--accent);
  color: white;
}



/* Wizard Buttons */
.text-danger {
  color: #ff6b6b !important;
}

.form-group.text-end,
.form-group.d-flex {
  margin-top: 20px;
}

/* Voting Page */
.fts-voting-card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.fts-voting-card:hover {
  transform: translateY(-4px);
}

.fts-voting-thumb {
  position: relative;
}

.fts-voting-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.fts-voting-votes {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 12px;
  color: var(--accent);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fts-voting-share {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
}

.fts-voting-meta {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fts-voting-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.fts-voting-desc {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.fts-voting-flag img {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}

/* Sponsor Group Styled */
.fts-sponser-group-section {
  min-height: calc(100vh - 180px);
}

.fts-sponser-group {
  border: 2px solid var(--stroke);
  background: var(--bg-2);
  height: 180px;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.fts-sponser-group:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

/* Voting Position */
.fts-voting-position {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* === Share Modal Styling === */
.fts-share-modal {
  background: radial-gradient(1200px 600px at 70% -10%, #2a0a74 0%, #14052f 42%, #0b0420 100%);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), 0 0 12px var(--accent);
  color: var(--white);
}

.fts-share-modal .modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fts-share-modal a {
  text-decoration: none;
}

.fts-share-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--white);
  transition: all 0.2s ease;
}

.fts-share-icon:hover {
  background: var(--accent);
  color: #fff;
}

.fts-embed-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  color: var(--white);
  padding: 10px 14px;
  font-size: 14px;
}

/* === Profile Page Styling === */
.fts-profile-card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

@media (min-width: 1200px) {
  .fts-profile-card {
    min-height: 50vh;
  }
}

.fts-avatar-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  position: relative;
  cursor: pointer;
}

.fts-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: 0.3s ease-in-out;
}

.fts-avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 6, 32, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fts-avatar-wrapper:hover .fts-avatar-overlay {
  opacity: 1;
}

.fts-camera-icon {
  font-size: 24px;
  color: var(--white);
}

.fts-section-divider {
  border-color: var(--stroke);
}

/* Academies */
.fts-text-muted {
  color: var(--muted);
}

.fts-acd-hero {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}

.fts-filter-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

@media (max-width: 992px) {
  .fts-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .fts-filter-grid {
    grid-template-columns: 1fr;
  }
}

.fts-acd-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 992px) {
  .fts-acd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .fts-acd-grid {
    grid-template-columns: 1fr;
  }
}

.fts-acd-card {
  display: grid;
  gap: 10px;
}

.fts-acd-card__head {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 12px 12px 0 12px;
}

.fts-acd-card__body {
  padding: 0 12px 10px 12px;
}

.fts-acd-card__foot {
  padding: 10px 12px 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.fts-acd-logo {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.fts-acd-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fts-acd-logo__fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 26px;
  color: var(--white);
  background: linear-gradient(180deg, #24164f 0%, #140b33 100%);
}

.fts-chip,
.fts-chip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 12px;
  text-decoration: none;
}

.fts-chip-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.fts-acd-socials {
  display: flex;
  gap: 8px;
}

.fts-social-btn {
  text-decoration: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: transform .15s ease, background .15s ease;
}

.fts-social-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.fts-acd-desc {
  margin-bottom: 12px;
}

/* === Video Details Page Styling === */
/* Main video container */
.video-container {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg, 1rem);
  padding: 1rem;
  box-shadow: var(--shadow);
}

/* Video player box */
.video-box {
  background: var(--glass);
  border-radius: var(--radius-lg, 1rem);
  overflow: hidden;
  border: 1px solid var(--stroke);
  padding: 1rem;
}

/* Video player */
.video-player-container video {
  width: 100%;
  border-radius: var(--radius-lg, 1rem);
  border: 1px solid var(--stroke);
}

/* Avatar beside video info */
.fts-avatar-video {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.fts-video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.fts-video-img:hover {
  transform: scale(1.05);
}

/* Video title */
.video-title {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .25rem;
  line-height: 1.3;
}

/* Metadata (views + time) */
.video-metadata {
  font-size: .85rem;
  color: var(--muted);
  display: flex;
  gap: 1rem;
}

/* Action buttons */
.video-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.video-actions .active {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.fts-icon-btn--video {
  background: transparent;
  border: 1px solid var(--stroke);
  padding: .4rem .75rem;
  border-radius: .75rem;
  color: var(--white);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  transition: all .2s ease;
}

.fts-icon-btn--video:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--accent);
  color: var(--accent);
}

.fts-icon-btn--video.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.col-lg-4 h6 {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--stroke);
  padding-bottom: .5rem;
}

@media (max-width: 767px) {
  .video-container {
    padding: .75rem;
  }

  .video-box {
    padding: .75rem;
  }

  .fts-avatar-video {
    width: 48px;
    height: 48px;
  }
}

/* --- Mobile offcanvas --- */
.fts-offcanvas {
  background: var(--bg-2);
  color: var(--white);
  border-right: 1px solid var(--stroke);
  width: 280px;
}

.fts-offcanvas .offcanvas-header {
  border-bottom: 1px solid var(--stroke);
}

.btn-close-white {
  filter: invert(1) grayscale(100%);
}

.fts-mobile-rail .fts-rail-btn {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  border-radius: 14px;
  padding: 0 1rem;
  background: var(--glass);
  border: 1px solid var(--stroke);
  color: var(--white);
  text-decoration: none;
  margin-bottom: 8px;
}

.fts-mobile-rail .fts-rail-btn.active {
  outline: 2px solid var(--blue);
}
