:root {
  color-scheme: dark;

  --bg: #0c0d12;
  --bg-2: #11131a;
  --panel: #151821;
  --panel-2: #1b1f2a;
  --panel-3: #252a36;

  --text: #f6f7fb;
  --muted: #9ea7b7;

  --accent: #6e73ff;
  --accent-2: #9d5cff;

  --danger: #ff536d;
  --success: #2dd399;
  --warning: #f5b942;

  --border: #2a3040;

  --sidebar-width: 240px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 85% 0%, rgba(110, 115, 255, 0.12), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

body {
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.muted {
  color: var(--muted);
}


/* TOPBAR */

.topbar {
  height: 66px;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  display: grid;
  grid-template-columns: auto minmax(280px, 700px) auto;

  align-items: center;
  gap: 20px;

  padding: 0 18px;

  background: rgba(12, 13, 18, 0.94);
  backdrop-filter: blur(16px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-right {
  justify-content: flex-end;
}

.iconButton {
  width: 42px;
  height: 42px;

  border: 0;
  border-radius: 12px;

  background: transparent;
  color: white;

  font-size: 20px;
}

.iconButton:hover {
  background: var(--panel-2);
}

.logoButton {
  display: flex;
  align-items: center;
  gap: 8px;

  border: 0;

  background: transparent;
  color: white;

  font-size: 21px;
  font-weight: 900;
}

.logoMark {
  width: 36px;
  height: 28px;

  display: grid;
  place-items: center;

  border-radius: 9px;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent-2)
    );

  font-size: 12px;
}

.logoText {
  font-weight: 900;
}

.betaText {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.searchArea {
  width: 100%;

  display: flex;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: #101218;
}

.searchArea:focus-within {
  border-color: var(--accent);

  box-shadow:
    0 0 0 3px
    rgba(110, 115, 255, 0.12);
}

.searchArea input {
  flex: 1;

  min-width: 0;

  padding: 11px 16px;

  border: 0;
  outline: 0;

  background: transparent;
  color: white;
}

.searchArea button {
  width: 58px;

  border: 0;
  border-left: 1px solid var(--border);

  background: var(--panel-2);
  color: white;
}

.topButton {
  border: 1px solid var(--border);

  border-radius: 12px;

  padding: 10px 14px;

  background: var(--panel-2);
  color: white;

  font-weight: 750;
}

.topButton:hover {
  background: var(--panel-3);
}

.avatar {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent-2)
    );

  color: white;
  font-weight: 900;
}


/* SIDEBAR */

.sidebar {
  width: var(--sidebar-width);

  position: fixed;

  top: 66px;
  left: 0;
  bottom: 0;

  z-index: 850;

  display: flex;
  flex-direction: column;

  padding: 14px 10px;

  overflow-y: auto;

  background: rgba(12, 13, 18, 0.94);

  border-right: 1px solid rgba(255, 255, 255, 0.05);

  transition:
    width 0.2s,
    transform 0.2s;
}

.sidebar.compact {
  width: 76px;
}

.sideItem {
  width: 100%;

  display: flex;
  align-items: center;
  gap: 15px;

  padding: 12px 14px;

  border: 0;
  border-radius: 12px;

  background: transparent;
  color: white;

  text-align: left;
  white-space: nowrap;
}

.sideItem:hover,
.sideItem.active {
  background: var(--panel-2);
}

.sideIcon {
  width: 24px;

  flex: 0 0 auto;

  text-align: center;
  font-size: 18px;
}

.sideText {
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar.compact .sideText {
  display: none;
}

.sideDivider {
  height: 1px;

  margin: 10px 6px;

  background: var(--border);
}

.plusItem {
  margin-top: auto;

  background:
    linear-gradient(
      135deg,
      rgba(110, 115, 255, 0.18),
      rgba(157, 92, 255, 0.1)
    );

  border: 1px solid rgba(110, 115, 255, 0.28);
}

.plusItem:hover {
  background:
    linear-gradient(
      135deg,
      rgba(110, 115, 255, 0.28),
      rgba(157, 92, 255, 0.18)
    );
}


/* MAIN */

.main {
  margin-left: var(--sidebar-width);

  padding:
    88px
    24px
    60px;

  transition:
    margin-left 0.2s;
}

.main.compact {
  margin-left: 76px;
}

.view {
  width: min(1400px, 100%);
  margin: 0 auto;
}


/* HERO */

.hero {
  min-height: 290px;

  display: flex;
  align-items: end;

  padding: 35px;

  border: 1px solid var(--border);
  border-radius: 28px;

  background:
    radial-gradient(
      circle at 78% 20%,
      #4348b8,
      transparent 30%
    ),
    radial-gradient(
      circle at 55% 120%,
      #6b2ca7,
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #171923,
      #0f1015
    );

  box-shadow:
    0 24px 60px
    rgba(0, 0, 0, 0.28);
}

.heroContent {
  max-width: 720px;
}

.hero h1 {
  margin: 12px 0;

  max-width: 620px;

  font-size:
    clamp(
      42px,
      7vw,
      78px
    );

  line-height: 0.98;
}

.hero p {
  color: #d6d9e1;
  font-size: 18px;
}

.versionBadge,
.adminBadge {
  display: inline-block;

  padding: 7px 11px;

  border-radius: 999px;

  background: rgba(110, 115, 255, 0.18);

  color: #c9cbff;

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 0.05em;
}


/* BUTTONS */

.primaryButton {
  border: 0;

  border-radius: 12px;

  padding: 11px 16px;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent-2)
    );

  color: white;

  font-weight: 800;
}

.primaryButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.secondaryButton {
  border: 1px solid var(--border);

  border-radius: 12px;

  padding: 10px 14px;

  background: var(--panel-2);
  color: white;

  font-weight: 750;
}


/* CATEGORY BAR */

.categoryBar {
  position: sticky;
  top: 66px;

  z-index: 400;

  display: flex;
  gap: 9px;

  padding: 15px 0;

  overflow-x: auto;

  background:
    linear-gradient(
      var(--bg) 70%,
      transparent
    );
}

.category {
  flex: 0 0 auto;

  padding: 9px 13px;

  border: 1px solid var(--border);
  border-radius: 11px;

  background: var(--panel-2);
  color: white;

  font-weight: 700;
}

.category.active {
  border-color: white;
  background: white;
  color: #111;
}


/* SECTION TITLES */

.sectionTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  margin: 12px 0;
}

.sectionTitle h2 {
  margin-bottom: 3px;
}


/* VIDEO GRID */

.videoGrid {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 28px 18px;
}

.videoCard {
  cursor: pointer;
}

.videoThumbnail {
  position: relative;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      #282d54,
      #171922
    );
}

.videoThumbnail video,
.videoThumbnail img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.videoPlaceholder {
  height: 100%;

  display: grid;
  place-items: center;

  font-size: 24px;
  font-weight: 900;
}

.videoBadge {
  position: absolute;
  left: 8px;
  bottom: 8px;

  padding: 4px 7px;

  border-radius: 6px;

  background: rgba(0, 0, 0, 0.86);

  font-size: 11px;
  font-weight: 900;
}

.videoCardBody {
  display: grid;

  grid-template-columns: 42px 1fr;

  gap: 10px;

  padding-top: 11px;
}

.videoCardBody h3 {
  margin: 0 0 5px;

  font-size: 15px;
  line-height: 1.4;
}

.smallAvatar {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--panel-3);

  font-weight: 900;
}

.videoMeta {
  color: var(--muted);

  font-size: 13px;
  line-height: 1.5;
}


/* GENERIC PANELS */

.panel,
.authCard {
  width: min(740px, 100%);

  margin: 0 auto;

  padding: 24px;

  border: 1px solid var(--border);
  border-radius: 20px;

  background: var(--panel);
}

.authCard {
  margin-top: 20px;
}

.authTabs {
  display: flex;
  gap: 8px;

  margin-bottom: 20px;
}

.authTab {
  flex: 1;

  padding: 11px;

  border: 1px solid var(--border);
  border-radius: 11px;

  background: var(--panel-2);
  color: white;

  font-weight: 800;
}

.authTab.active {
  background: white;
  color: #111;
}


/* FORMS */

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 7px;

  font-weight: 700;
}

.form input,
.form textarea,
.form select {
  width: 100%;

  padding: 12px 13px;

  border: 1px solid var(--border);
  border-radius: 11px;

  outline: 0;

  background: #101218;
  color: white;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--accent);
}

.formMessage {
  min-height: 20px;

  color: #ff9ca9;
}


/* CHANNEL */

.channelBanner {
  height: 210px;

  border-radius: 24px;

  background:
    radial-gradient(
      circle at 75% 30%,
      #ab59ff,
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #3137a2,
      #141520
    );
}

.channelHeader {
  display: flex;
  align-items: center;
  gap: 20px;

  margin-top: -40px;

  padding:
    0
    22px
    22px;
}

.bigAvatar {
  width: 110px;
  height: 110px;

  flex: 0 0 auto;

  display: grid;
  place-items: center;

  border: 6px solid var(--bg);
  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent-2)
    );

  font-size: 36px;
  font-weight: 900;
}

.channelInfo {
  flex: 1;
}

.channelInfo h1 {
  margin-bottom: 5px;
}

.channelStats {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      1fr
    );

  gap: 12px;

  margin: 15px 0;
}

.miniStat {
  padding: 16px;

  border: 1px solid var(--border);
  border-radius: 15px;

  background: var(--panel);
}

.miniStat strong {
  display: block;

  font-size: 27px;
}

.miniStat span {
  color: var(--muted);
}


/* UPLOAD */

.progressBar {
  height: 10px;

  overflow: hidden;

  border-radius: 999px;

  background: var(--panel-3);
}

.progressValue {
  width: 0%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      var(--accent),
      var(--accent-2)
    );
}


/* SUBSCRIPTIONS */

.pageHeader {
  margin-bottom: 20px;
}

.pageHeader h1 {
  margin-bottom: 6px;
}


/* STUDIO */

.studioHeader {
  margin-bottom: 18px;
}

.studioHeader h1 {
  margin: 8px 0 4px;

  font-size: 42px;
}

.studioTabs {
  display: flex;
  gap: 8px;

  margin-bottom: 20px;

  overflow-x: auto;
}

.studioTab {
  flex: 0 0 auto;

  padding: 10px 14px;

  border: 1px solid var(--border);
  border-radius: 11px;

  background: var(--panel-2);
  color: white;

  font-weight: 750;
}

.studioTab.active {
  background: white;
  color: #111;
}

.studioCards {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 14px;

  margin-bottom: 18px;
}

.studioCard {
  padding: 20px;

  border: 1px solid var(--border);
  border-radius: 17px;

  background:
    linear-gradient(
      145deg,
      var(--panel),
      var(--panel-2)
    );
}

.studioCard span {
  display: block;

  color: var(--muted);
}

.studioCard strong {
  display: block;

  margin-top: 8px;

  font-size: 30px;
}

.studioPanel {
  width: 100%;
}

.studioPanelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;
}

.revenueFeature {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  padding: 18px 0;

  border-bottom: 1px solid var(--border);
}

.revenueFeature:last-child {
  border-bottom: 0;
}

.statusBadge {
  display: inline-block;

  padding: 7px 10px;

  border-radius: 999px;

  background: var(--panel-2);

  color: var(--muted);

  white-space: nowrap;
}


/* PLAYER */

.watchLayout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    340px;

  gap: 22px;
}

#videoPlayer {
  width: 100%;

  aspect-ratio: 16 / 9;

  border-radius: 18px;

  background: black;
}

.watchTitle {
  margin: 15px 0 10px;
}

.videoMetaRow {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;

  flex-wrap: wrap;
}

.watchChannel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.watchActions {
  display: flex;
  gap: 8px;

  flex-wrap: wrap;
}

.actionButton {
  padding: 10px 13px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: var(--panel-2);
  color: white;

  font-weight: 700;
}

.descriptionBox {
  margin-top: 15px;

  padding: 16px;

  border-radius: 14px;

  background: var(--panel-2);
}

.licenseText {
  margin-top: 10px;

  color: var(--muted);

  font-size: 13px;
}

.comments {
  margin-top: 30px;
}

.commentForm {
  display: flex;
  gap: 10px;
}

.commentForm input {
  flex: 1;

  min-width: 0;

  padding: 11px 13px;

  border: 1px solid var(--border);
  border-radius: 11px;

  background: #101218;
  color: white;
}

.commentItem {
  display: grid;

  grid-template-columns:
    40px
    1fr;

  gap: 10px;

  padding: 15px 0;

  border-bottom: 1px solid var(--border);
}

.commentItem p {
  margin: 4px 0;
}

.recommendations {
  min-width: 0;
}

.recommendationCard {
  display: grid;

  grid-template-columns:
    130px
    1fr;

  gap: 10px;

  margin-bottom: 12px;

  cursor: pointer;
}

.recommendationThumb {
  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: 10px;

  background: var(--panel-2);
}

.recommendationThumb video {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.recommendationCard h4 {
  margin: 0;

  font-size: 13px;
}


/* SEARCH */

.searchResults {
  display: grid;
  gap: 15px;
}

.searchResultCard {
  display: grid;

  grid-template-columns:
    minmax(250px, 360px)
    1fr;

  gap: 18px;

  cursor: pointer;
}

.searchResultThumb {
  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: 14px;

  background: var(--panel-2);
}

.searchResultThumb video {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.sponsoredCard {
  margin-bottom: 20px;

  padding: 18px;

  border: 1px solid #4a4e7e;
  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      rgba(110, 115, 255, 0.12),
      var(--panel)
    );
}

.sponsoredLabel {
  display: inline-block;

  margin-bottom: 8px;

  color: #bfc1ff;

  font-size: 12px;
  font-weight: 900;
}

.adActions {
  display: flex;
  gap: 8px;

  margin-top: 12px;
}

.adActions button {
  padding: 8px 10px;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: var(--panel-2);
  color: white;
}


/* PLUS */

.plusHero {
  padding: 34px;

  border: 1px solid var(--border);
  border-radius: 26px;

  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(157, 92, 255, 0.5),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #242963,
      #161725
    );
}

.plusHero h1 {
  margin: 10px 0;

  font-size: 56px;
}

.plusHero p {
  max-width: 700px;

  color: #dddfff;

  font-size: 18px;
}

.plusGrid {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 14px;

  margin-top: 18px;
}

.plusCard {
  padding: 20px;

  border: 1px solid var(--border);
  border-radius: 17px;

  background: var(--panel);
}

.plusCard h2 {
  margin-top: 0;

  font-size: 30px;
}


/* SETTINGS */

.settingRow {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 18px 0;

  border-bottom: 1px solid var(--border);
}

.settingRow:last-child {
  border-bottom: 0;
}

.settingRow input {
  width: 80px;

  padding: 10px;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: #101218;
  color: white;
}


/* ADMIN */

.adminHeader {
  margin-bottom: 18px;
}

.adminHeader h1 {
  margin: 8px 0 4px;

  font-size: 42px;
}

.adminStats {
  display: grid;

  grid-template-columns:
    repeat(
      5,
      minmax(0, 1fr)
    );

  gap: 12px;

  margin: 20px 0;
}

.adminStat {
  padding: 18px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background: var(--panel);
}

.adminStat span {
  color: var(--muted);
}

.adminStat strong {
  display: block;

  margin-top: 7px;

  font-size: 32px;
}

.adminTabs {
  display: flex;
  gap: 8px;

  margin-bottom: 15px;

  overflow-x: auto;
}

.adminTab {
  flex: 0 0 auto;

  padding: 10px 13px;

  border: 1px solid var(--border);
  border-radius: 11px;

  background: var(--panel-2);
  color: white;
}

.adminTab.active {
  background: white;
  color: #111;
}

.adminContent {
  overflow-x: auto;

  padding: 15px;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: var(--panel);
}

.adminTable {
  width: 100%;

  border-collapse: collapse;
}

.adminTable th,
.adminTable td {
  padding: 11px;

  border-bottom: 1px solid var(--border);

  text-align: left;
  white-space: nowrap;
}

.adminTable th {
  color: var(--muted);
}

.adminMiniButton {
  padding: 7px 9px;

  border: 1px solid var(--border);
  border-radius: 8px;

  background: var(--panel-2);
  color: white;
}

.dangerButton {
  border-color: #62323a;

  background: rgba(255, 83, 109, 0.15);

  color: #ff8797;
}


/* LANGUAGE MENU */

.languageMenu {
  position: fixed;

  top: 72px;
  right: 210px;

  z-index: 2200;

  width: 180px;

  display: grid;
  gap: 6px;

  padding: 10px;

  border: 1px solid var(--border);
  border-radius: 14px;

  background: var(--panel);

  box-shadow:
    0 20px 60px
    rgba(0, 0, 0, 0.4);
}

.languageMenu button {
  padding: 10px 12px;

  border: 0;
  border-radius: 9px;

  background: transparent;
  color: white;

  text-align: left;
}

.languageMenu button:hover {
  background: var(--panel-2);
}


/* PROFILE MENU */

.profileMenu {
  position: fixed;

  top: 72px;
  right: 18px;

  z-index: 2200;

  width: 260px;

  display: grid;
  gap: 8px;

  padding: 15px;

  border: 1px solid var(--border);
  border-radius: 15px;

  background: var(--panel);

  box-shadow:
    0 22px 60px
    rgba(0, 0, 0, 0.4);
}

.profileMenu button {
  padding: 10px;

  border: 0;
  border-radius: 9px;

  background: var(--panel-2);
  color: white;

  text-align: left;
}


/* TOAST */

.toast {
  position: fixed;

  left: 50%;
  bottom: 25px;

  z-index: 3000;

  opacity: 0;

  pointer-events: none;

  transform:
    translate(
      -50%,
      20px
    );

  padding: 12px 16px;

  border-radius: 11px;

  background: white;
  color: #111;

  font-weight: 800;

  transition: 0.2s;
}

.toast.show {
  opacity: 1;

  transform:
    translate(
      -50%,
      0
    );
}


/* EMPTY */

.emptyState {
  padding: 60px;

  text-align: center;

  color: var(--muted);
}


/* RESPONSIVE */

@media (max-width: 1200px) {

  .videoGrid {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }

  .studioCards {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .plusGrid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .adminStats {
    grid-template-columns:
      repeat(
        3,
        1fr
      );
  }

}


@media (max-width: 950px) {

  .sidebar {
    transform:
      translateX(-100%);
  }

  .sidebar.mobileOpen {
    transform:
      translateX(0);
  }

  .main,
  .main.compact {
    margin-left: 0;
  }

  .videoGrid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .watchLayout {
    grid-template-columns: 1fr;
  }

  .recommendations {
    display: none;
  }

  .topbar {
    grid-template-columns:
      auto
      1fr
      auto;
  }

  #createButton {
    display: none;
  }

  .languageMenu {
    right: 90px;
  }

}


@media (max-width: 700px) {

  .topbar {
    gap: 7px;

    padding: 0 8px;
  }

  .logoText,
  .betaText {
    display: none;
  }

  #loginTopButton {
    display: none;
  }

  #languageButton {
    padding: 9px 10px;
  }

  .main {
    padding:
      82px
      10px
      50px;
  }

  .hero {
    min-height: 240px;

    padding: 23px;
  }

  .videoGrid {
    grid-template-columns: 1fr;
  }

  .channelHeader {
    align-items: flex-start;

    padding-left: 8px;
    padding-right: 8px;

    flex-wrap: wrap;
  }

  .channelStats {
    grid-template-columns: 1fr;
  }

  .studioCards {
    grid-template-columns: 1fr;
  }

  .plusGrid {
    grid-template-columns: 1fr;
  }

  .adminStats {
    grid-template-columns:
      repeat(
        2,
        1fr
      );
  }

  .searchResultCard {
    grid-template-columns: 1fr;
  }

  .settingRow,
  .revenueFeature {
    align-items: flex-start;

    flex-direction: column;
  }

  .languageMenu {
    right: 10px;
  }

}
/* Video yükleme formu düzeltmesi */
#uploadForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#uploadForm label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

#uploadForm input,
#uploadForm select,
#uploadForm textarea {
  width: 100%;
  box-sizing: border-box;
}

#uploadForm textarea {
  min-height: 110px;
  resize: vertical;
}

#uploadForm button[type="submit"] {
  align-self: flex-start;
}


/* ======================================
   VYDIO+ 2 STEP PAGE
   ====================================== */

.plusNewPage {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 30px 20px 60px;
  box-sizing: border-box;
}


.plusNewHero {
  text-align: center;
  margin-bottom: 34px;
}


.plusNewHero h1 {
  margin: 10px 0 6px;
  font-size: clamp(36px, 6vw, 58px);
}


.plusNewHero p {
  margin: 0;
  opacity: .65;
}


.plusBadge {
  display: inline-flex;
  padding: 7px 13px;

  border: 1px solid
    rgba(255,255,255,.15);

  border-radius: 999px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}


.plusSteps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.plusStepCard {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;

  padding: 25px;

  border-radius: 20px;

  border:
    1px solid
    rgba(255,255,255,.1);

  background:
    rgba(255,255,255,.035);

  box-shadow:
    0 16px 45px
    rgba(0,0,0,.18);
}


.plusStepNumber {
  display: grid;
  place-items: center;

  width: 48px;
  height: 48px;

  border-radius: 15px;

  background:
    rgba(255,255,255,.1);

  font-size: 20px;
  font-weight: 900;
}


.plusStepContent h2 {
  margin: 2px 0 6px;
}


.plusStepContent > p {
  opacity: .72;
}


.plusBenefits {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0,1fr));

  gap: 10px;

  margin: 22px 0;
}


.plusBenefits span {
  padding: 12px 14px;

  border-radius: 12px;

  background:
    rgba(255,255,255,.045);

  font-size: 14px;
}


.plusMainButton {
  min-height: 48px;
  padding-left: 22px;
  padding-right: 22px;
}


.plusTermsBeforeBuy,
.plusAcceptText {
  font-size: 13px;
  line-height: 1.6;
}


.plusTermsBeforeBuy a,
.plusAcceptText a {
  text-decoration: underline;
  font-weight: 700;
}


.plusStepConnector {
  text-align: center;

  font-size: 25px;
  opacity: .4;
}


.plusCodeRow {
  display: flex;
  gap: 10px;

  margin: 20px 0 10px;
}


#plusCodeInput {
  flex: 1;
  min-width: 0;

  height: 50px;

  box-sizing: border-box;

  text-align: center;

  font-size: 22px;
  font-weight: 800;
  letter-spacing: 8px;
}


#plusRedeemButton {
  min-width: 130px;
}


.plusRedeemMessage {
  min-height: 20px;

  margin-top: 10px;

  font-size: 14px;
  font-weight: 700;
}


.plusRedeemMessage[data-error="true"] {
  opacity: .85;
}


.plusCodeNotice {
  display: block;

  margin-top: 10px;

  opacity: .55;
}


.plusAlreadyActive {
  padding: 40px 25px;

  text-align: center;

  border:
    1px solid
    rgba(255,255,255,.1);

  border-radius: 20px;

  background:
    rgba(255,255,255,.04);
}


.plusActiveIcon {
  display: grid;
  place-items: center;

  width: 62px;
  height: 62px;

  margin: 0 auto 15px;

  border-radius: 50%;

  background:
    rgba(255,255,255,.1);

  font-size: 28px;
}


.plusActiveFeatures {
  margin-top: 16px;
  opacity: .6;
}


@media (max-width: 650px) {

  .plusStepCard {
    grid-template-columns: 1fr;
  }


  .plusBenefits {
    grid-template-columns: 1fr;
  }


  .plusCodeRow {
    flex-direction: column;
  }


  #plusRedeemButton {
    width: 100%;
  }

}


/* VYDIO+ */

.vPlusPage {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 30px 20px 70px;
  box-sizing: border-box;
}


.vPlusHeader {
  text-align: center;
  margin-bottom: 28px;
}


.vPlusHeader h1 {
  font-size: 48px;
  margin: 10px 0 5px;
}


.vPlusHeader p {
  opacity: .65;
}


.vPlusBadge {
  display: inline-block;

  padding: 6px 12px;

  border-radius: 999px;

  border:
    1px solid rgba(255,255,255,.14);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
}


.vPlusBenefits {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 10px;

  margin-bottom: 28px;
}


.vPlusBenefits div {
  padding: 14px;

  border-radius: 12px;

  border:
    1px solid rgba(255,255,255,.07);

  background:
    rgba(255,255,255,.035);
}


.vPlusStep {
  display: grid;

  grid-template-columns:
    55px 1fr;

  gap: 18px;

  padding: 25px;

  border:
    1px solid rgba(255,255,255,.1);

  border-radius: 20px;

  background:
    rgba(255,255,255,.035);
}


.vPlusNumber {
  width: 50px;
  height: 50px;

  display: grid;
  place-items: center;

  border-radius: 15px;

  background:
    rgba(255,255,255,.1);

  font-size: 20px;
  font-weight: 900;
}


.vPlusStepBody h2 {
  margin-top: 2px;
  margin-bottom: 6px;
}


.vPlusStepBody > p {
  opacity: .72;
}


.vPlusButton {
  min-height: 48px;
  margin-top: 10px;
}


.vPlusArrow {
  text-align: center;

  padding: 10px;

  font-size: 25px;
  opacity: .4;
}


.vPlusCodeRow {
  display: flex;
  gap: 10px;

  margin: 20px 0 12px;
}


#plusCodeInput {
  flex: 1;
  min-width: 0;

  height: 50px;

  text-align: center;

  font-size: 22px;
  font-weight: 800;

  letter-spacing: 8px;

  box-sizing: border-box;
}


#plusRedeemButton {
  min-width: 125px;
}


.vPlusTerms {
  font-size: 13px;
  line-height: 1.6;
}


.vPlusTerms a {
  font-weight: 700;
  text-decoration: underline;
}


.vPlusMessage {
  min-height: 22px;

  margin-top: 10px;

  font-weight: 700;
}


@media (max-width: 650px) {

  .vPlusBenefits {
    grid-template-columns: 1fr;
  }


  .vPlusStep {
    grid-template-columns: 1fr;
  }


  .vPlusCodeRow {
    flex-direction: column;
  }


  #plusRedeemButton {
    width: 100%;
  }

}

/* Vydio v0.5.3 - channel tabs */

.channelV053Tabs {
    display: flex;
    gap: 10px;
    margin: 24px 0 16px;
    border-bottom: 1px solid #2a2a2a;
    overflow-x: auto;
}

.channelV053Tab {
    border: 0;
    background: transparent;
    color: #aaa;
    padding: 12px 14px;
    cursor: pointer;
    font-weight: 700;
    border-bottom: 2px solid transparent;
}

.channelV053Tab:hover {
    color: #fff;
}

.channelV053Tab.active {
    color: #fff;
    border-bottom-color: #fff;
}

#channelTabContent {
    min-height: 120px;
}

