:root {
  --first-font: "DM Sans", "Play", sans-serif;
  --second-font: "DM Sans", sans-serif;
  --first-color: #f82581;
  --first-color-rgb: 248, 37, 129;
  --third-color: #16a085;
  --text-color: #8a8a9a;
  --light-yellow: #facc15;
  --body-text-color: #c8c8d8;
  --body-bg-color: #0a0a12;
  --dark-black: #0a0a12;
  --error-color: #f74032;
  --success-color: #35ad65;
  --price-color: #ff9139;
  --delete-price-color: #555555;
  --border-color: rgba(255, 255, 255, 0.08);
  --black: #12121e;
  --white: #ffffff;
  --grey: #707070;
  --red: #f74032;
  --card-bg: #12121e;
  --sidebar-bg: #0d0d18;
  --sidebar-hover: rgba(248, 37, 129, 0.08);
  --glass-bg: rgba(18, 18, 30, 0.6);
  --glass-border: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(248, 37, 129, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --h1: normal 600 64px/1.3 var(--first-font);
  --h2: normal 600 42px/1.3 var(--first-font);
  --h3: normal 600 30px/1.3 var(--first-font);
  --h4: normal 600 26px/1.3 var(--first-font);
  --h5: normal 500 22px/1.3 var(--first-font);
  --h6: normal 500 18px/1.3 var(--second-font);
  --common-text: normal 400 15px/1.6 var(--second-font);
  --text-muted: rgba(255, 255, 255, 0.5);
  --primary-color: #f82581;
  --font-primary: "DM Sans", sans-serif;
}

[data-theme="light"] {
  --body-bg-color: #f5f5fa;
  --dark-black: #f5f5fa;
  --card-bg: #ffffff;
  --black: #ffffff;
  --sidebar-bg: #f0f0f5;
  --body-text-color: #2d2d3a;
  --text-color: #6b6b7a;
  --border-color: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --text-muted: rgba(0, 0, 0, 0.5);
  --sidebar-hover: rgba(248, 37, 129, 0.06);
  --white: #1a1a2e;
  --first-color: #f82581;
}

[data-theme="light"] body {
  color: #2d2d3a;
}

[data-theme="light"] .sidebar-menu li a {
  color: #4a4a5a;
}

[data-theme="light"] .sidebar-menu li a.active {
  color: #f82581;
}

[data-theme="light"] .section-title,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
  color: #1a1a2e;
}

[data-theme="light"] table th {
  color: #2d2d3a;
  background: #f0f0f5;
}

[data-theme="light"] table td {
  color: #4a4a5a;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea {
  background: #f5f5fa;
  color: #2d2d3a;
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--first-color), rgba(248, 37, 129, 0.6));
}

.theme-toggle-btn {
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  color: var(--body-text-color);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition-normal);
}

.theme-toggle-btn:hover {
  background: rgba(248, 37, 129, 0.1);
  border-color: var(--first-color);
  color: var(--first-color);
}

/* ============ Top Navigation Header ============ */
.topnav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--sidebar-bg);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: visible;
}

.topnav-header-inner {
  display: flex;
  align-items: center;
  padding: 0 24px;
  height: 64px;
  gap: 16px;
  overflow: visible;
}

.topnav-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.topnav-logo img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.topnav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--body-text-color);
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
}

.topnav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow: visible;
}

.topnav-menu::-webkit-scrollbar {
  display: none;
}

.topnav-link,
.topnav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-color);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--first-font);
  white-space: nowrap;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.topnav-link i,
.topnav-dropdown-toggle i:first-child {
  font-size: 14px;
}

.topnav-chevron {
  font-size: 9px !important;
  margin-left: 2px;
  transition: var(--transition-fast);
}

.topnav-dropdown.open .topnav-chevron,
.topnav-dropdown:hover .topnav-chevron {
  transform: rotate(180deg);
}

.topnav-link:hover,
.topnav-dropdown-toggle:hover {
  background: var(--sidebar-hover);
  color: var(--first-color);
}

.topnav-link.active,
.topnav-dropdown.active > .topnav-dropdown-toggle {
  background: rgba(248, 37, 129, 0.12);
  color: var(--first-color);
}

.topnav-dropdown {
  position: relative;
}

.topnav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition-fast);
  z-index: 200;
}

.topnav-dropdown.open .topnav-dropdown-menu,
.topnav-dropdown:hover .topnav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.topnav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-color);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--first-font);
  text-decoration: none;
  transition: var(--transition-fast);
}

.topnav-dropdown-item i {
  font-size: 13px;
  width: 18px;
  text-align: center;
  color: var(--text-color);
  transition: var(--transition-fast);
}

.topnav-dropdown-item:hover {
  background: var(--sidebar-hover);
  color: var(--first-color);
}

.topnav-dropdown-item:hover i {
  color: var(--first-color);
}

.topnav-dropdown-item.active {
  background: rgba(248, 37, 129, 0.12);
  color: var(--first-color);
}

.topnav-dropdown-item.active i {
  color: var(--first-color);
}

.topnav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.topnav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  display: none;
}

.main-content.topnav-layout {
  margin-left: 0;
  width: 100%;
  padding: 88px 24px 24px;
}

/* ============ Topnav Mobile ============ */
@media screen and (max-width: 1199px) {
  .topnav-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .topnav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    bottom: 0;
    width: 280px;
    flex-direction: column;
    align-items: stretch;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    padding: 12px;
    gap: 2px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 101;
  }

  .topnav-menu.open {
    transform: translateX(0);
  }

  .topnav-overlay {
    display: block;
    z-index: 99;
  }

  .topnav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    padding: 4px 0 4px 12px;
    display: none;
  }

  .topnav-dropdown.open .topnav-dropdown-menu {
    display: block;
  }

  .topnav-link,
  .topnav-dropdown-toggle {
    width: 100%;
    padding: 10px 14px;
  }

  .topnav-right #profile_name {
    display: none;
  }

  .main-content.topnav-layout {
    padding: 80px 16px 16px;
  }
}

@media screen and (max-width: 575px) {
  .topnav-header-inner {
    padding: 0 12px;
  }

  .topnav-right .theme-toggle-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .main-content.topnav-layout {
    padding: 76px 12px 12px;
  }
}

body,
html {
  scrollbar-width: thin;
  scrollbar-color: var(--first-color) rgba(255, 255, 255, 0.05);
}

body::-webkit-scrollbar {
  width: 6px;
}

body::-moz-scrollbar {
  width: 6px;
}

svg,
img {
  max-width: 100%;
  display: block;
}

svg path {
  transition: var(--transition-normal);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
}

a,
.btn,
button {
  text-decoration: none;
  outline: none;
  color: inherit;
  display: inline-block;
  cursor: pointer;
  transition: var(--transition-normal);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
}

a,
a:hover,
a:focus,
a:active,
button,
button:hover,
button:focus,
input,
input:hover,
input:focus,
select,
select:hover,
select:focus,
textarea,
textarea:hover,
textarea:focus,
.btn,
.btn:hover,
.btn:focus,
.btn:active:focus,
.btn:active.focus,
.btn.active:focus,
.btn.active.focus {
  text-decoration: none;
  -webkit-text-decoration-skip: objects;
  outline: none;
}

.form-control:focus,
[type="text"]:focus,
[type="email"]:focus,
[type="checkbox"]:focus,
[type="password"]:focus,
[type="file"]:focus,
[type="radio"]:focus,
[type="button"]:focus,
[type="submit"]:focus,
[type="date"]:focus,
[type="time"]:focus,
[type="tel"]:focus,
[type="search"]:focus,
[type="button"]:focus,
[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 3px rgba(var(--first-color-rgb), 0.15);
  -moz-box-shadow: 0 0 0 3px rgba(var(--first-color-rgb), 0.15);
  -ms-box-shadow: 0 0 0 3px rgba(var(--first-color-rgb), 0.15);
  -o-box-shadow: 0 0 0 3px rgba(var(--first-color-rgb), 0.15);
  box-shadow: 0 0 0 3px rgba(var(--first-color-rgb), 0.15);
  border-color: rgba(var(--first-color-rgb), 0.5) !important;
}

/* ============================================= */
/* !!!!             FORM  CSS               !!!! */
/* ============================================= */
.form-control,
input:not([type="submit"]),
input:not([type="checkbox"]),
input:not([type="button"]),
input:not([type="radio"]),
select,
textarea {
  position: relative;
  border: 1px solid var(--border-color);
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  font-weight: 400;
  border-radius: var(--radius-sm) !important;
  line-height: 1.5;
  color: var(--white);
  -webkit-border-radius: var(--radius-sm) !important;
  -moz-border-radius: var(--radius-sm) !important;
  -ms-border-radius: var(--radius-sm) !important;
  -o-border-radius: var(--radius-sm) !important;
  transition: var(--transition-fast);
}

textarea.form-control {
  resize: none;
}

form .row {
  margin: 0 -8px;
}

form .row [class*="col-"] {
  padding: 0 8px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--body-text-color);
  text-transform: capitalize;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

input::-webkit-autofill {
  color: var(--white) !important;
}

/* Firefox */
input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

::-webkit-input-placeholder {
  color: var(--text-color) !important;
}

:-ms-input-placeholder {
  color: var(--text-color) !important;
}

::placeholder {
  color: var(--text-color) !important;
}

::selection {
  background: rgba(var(--first-color-rgb), 0.3);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000000s ease-in-out 0s;
  -webkit-transition: background-color 5000000s ease-in-out 0s;
  -moz-transition: background-color 5000000s ease-in-out 0s;
  -ms-transition: background-color 5000000s ease-in-out 0s;
  -o-transition: background-color 5000000s ease-in-out 0s;
  -webkit-text-fill-color: var(--white) !important;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

* {
  margin: 0;
  padding: 0;
  font-size: 100%;
  list-style: none;
  vertical-align: baseline;
  box-sizing: border-box;
}

body {
  font: var(--common-text);
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  background-color: var(--body-bg-color);
  color: var(--body-text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.section-title {
  margin: 0 0 28px;
}

.section-title p {
  margin-top: 15px;
}

/* ============================================= */
/* !!!!         SITE TYPOGRAPHY CSS         !!!! */
/* ============================================= */
p,
li,
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
  font: var(--common-text);
}

h1,
.h1 {
  font: var(--h1);
}

h2,
.h2 {
  font: var(--h2);
}

h3,
.h3 {
  font: var(--h3);
}

h4,
.h4 {
  font: var(--h4);
}

h5,
.h5 {
  font: var(--h5);
}

h6,
.h6 {
  font: var(--h6);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--white);
  letter-spacing: -0.01em;
}

body.active-menu,
body.no_scroll {
  overflow: hidden;
  position: relative;
}

.container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 15px;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--first-color), rgba(var(--first-color-rgb), 0.6));
  cursor: pointer;
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.img-wrapper,
.img-ratio {
  position: relative;
  width: 100%;
  display: block;
}

.img-wrapper img,
.img-wrapper video,
.img-wrapper iframe,
.img-ratio img,
.img-ratio video,
.img-ratio iframe {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* ============================================= */
/* !!!!          COMMON BUTTON              !!!! */
/* ============================================= */
.btn {
  position: relative;
  padding: 10px 18px;
  font: 500 14px/1 var(--second-font);
  color: var(--white);
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
  box-shadow: 0 2px 10px rgba(var(--first-color-rgb), 0.3);
  appearance: none;
  outline: none;
  line-height: 1;
  text-transform: capitalize;
  gap: 8px;
  border: transparent;
  display: inline-flex;
  align-items: center;
  text-align: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: var(--radius-sm);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
  overflow: hidden;
  z-index: 1;
  font-weight: 500;
  letter-spacing: 0.3px;
}

button[disabled],
.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

button[disabled]:hover::before,
.btn[disabled]:hover::before,
.btn-secondary[disabled]:hover::before {
  display: none;
}

.btn::before {
  background: linear-gradient(135deg, #d91e6a 0%, var(--first-color) 50%, #ff0592 100%);
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  transition: var(--transition-normal);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
  z-index: -1;
}

.btn:hover::before {
  height: 100%;
}

.btn:hover {
  box-shadow: 0 4px 20px rgba(var(--first-color-rgb), 0.4);
  transform: translateY(-1px);
}

:not(.btn-check)+.btn:active,
.btn:hover,
.btn:active {
  color: var(--white);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-secondary:before {
  background: var(--price-color);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  color: var(--white);
  border-color: var(--first-color);
}

.btn-secondary:hover svg path,
.btn-secondary:focus svg path,
.btn-secondary:active svg path {
  stroke: var(--white);
}

.btn-white {
  background: transparent;
  border: 1px solid rgba(var(--first-color-rgb), 0.4);
  color: var(--first-color);
}

.btn-white:hover,
.btn-white:focus,
.btn-white:active {
  border-color: var(--first-color);
  background: rgba(var(--first-color-rgb), 0.1);
}

.btn-white:hover svg path,
.btn-white:focus svg path,
.btn-white:active svg path {
  fill: var(--first-color);
}

.btn-transparent {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--body-text-color);
}

.btn-transparent:hover,
.btn-transparent:focus,
.btn-transparent:active {
  border-color: var(--first-color);
  background: rgba(var(--first-color-rgb), 0.05);
}

.btn-transparent svg path {
  stroke: var(--first-color);
}

.btn-transparent:hover svg path,
.btn-transparent:focus svg path,
.btn-transparent:active svg path {
  stroke: var(--first-color);
}

.btn-transparent svg {
  height: 20px;
  width: 20px;
}

/**** swiper slider ****/
.flex-slider {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.flex-slider .swiper-slide {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  height: auto;
}

.flex-slider .flex-card-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.flex-slider .flex-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
}

.swiper-button-prev,
.swiper-button-next {
  height: 40px;
  width: 40px;
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
  z-index: 2;
  outline: none;
  border-radius: var(--radius-sm);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  display: flex;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  box-shadow: 0 4px 15px rgba(var(--first-color-rgb), 0.3);
}

.swiper-button-next {
  right: 2px;
  left: auto;
  transform: translate3d(100%, 0, 0);
  -webkit-transform: translate3d(100%, 0, 0);
  -moz-transform: translate3d(100%, 0, 0);
  -ms-transform: translate3d(100%, 0, 0);
  -o-transform: translate3d(100%, 0, 0);
}

.swiper-button-prev {
  left: 2px;
  right: auto;
  transform: translate3d(-100%, 0, 0);
  -webkit-transform: translate3d(-100%, 0, 0);
  -moz-transform: translate3d(-100%, 0, 0);
  -ms-transform: translate3d(-100%, 0, 0);
  -o-transform: translate3d(-100%, 0, 0);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

.swiper:hover .swiper-button-prev,
.swiper:hover .swiper-button-next {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
}

.swiper-button-next svg {
  transform: rotate(-180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}

.swiper-button-next svg path,
.swiper-button-prev svg path {
  fill: var(--white);
  transition: var(--transition-normal);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.swiper-button-next:hover svg path,
.swiper-button-prev:hover svg path {
  fill: var(--body-bg-color);
}

.swiper-button-prev svg,
.swiper-button-next svg {
  height: 22px;
  width: 22px;
}

/* ========overlay======= */
.overlay {
  content: " ";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 4;
  transition: var(--transition-normal);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
}

.overlay.active,
.overlay.qv_active {
  opacity: 1;
  visibility: visible;
}

.pt {
  padding-top: 70px;
}

.pb {
  padding-bottom: 70px;
}

.price {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  line-height: 1;
  gap: 10px;
}

.price ins {
  font-size: 20px;
  color: var(--price-color);
  font-weight: 600;
  text-decoration: none;
}

del {
  color: var(--delete-price-color);
  opacity: 0.7;
  text-decoration: line-through;
  font-weight: 500;
}

/* ============================================= */
/* !!!!          NICE SELECT CSS           !!!! */
/* ============================================= */
.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  outline: none;
  position: relative;
  text-align: left !important;
  -webkit-transition: var(--transition-normal);
  transition: var(--transition-normal);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 10px 30px 10px 15px;
  min-width: 135px;
  border-radius: var(--radius-sm);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.nice-select:after {
  content: "";
  display: block;
  height: 10px;
  width: 11px;
  pointer-events: none;
  position: absolute;
  right: 10px;
  top: 50%;
  background: url(../images/down.svg);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 16px;
  -webkit-transition: transform 300ms ease;
  transition: transform 300ms ease;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -moz-transition: transform 300ms ease;
  -ms-transition: transform 300ms ease;
  opacity: 0.6;
}

.nice-select.open:after {
  transform: translateY(-50%) rotate(180deg);
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
}

.nice-select.open .list {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: scale(1) translateY(0);
  -ms-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0);
  -moz-transform: scale(1) translateY(0);
  -o-transform: scale(1) translateY(0);
}

.nice-select.disabled {
  border-color: var(--border-color);
  color: var(--border-color);
  pointer-events: none;
}

.nice-select.disabled:after {
  border-color: #cccccc;
}

.nice-select.wide {
  width: 100%;
}

.nice-select.wide .list {
  left: 0 !important;
  right: 0 !important;
}

.nice-select.right .list {
  left: auto;
  right: 0;
}

.nice-select.small {
  font-size: 12px;
  height: 36px;
  line-height: 34px;
}

.nice-select.small:after {
  height: 4px;
  width: 4px;
}

.nice-select.small .option {
  line-height: 34px;
  min-height: 34px;
}

.nice-select .list {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
  margin-top: 4px;
  opacity: 0;
  overflow: hidden;
  padding: 4px;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: auto;
  right: 0;
  width: 100%;
  border-radius: var(--radius-sm);
  min-width: 100px;
  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transform: scale(0.95) translateY(-8px);
  -ms-transform: scale(0.95) translateY(-8px);
  transform: scale(0.95) translateY(-8px);
  -webkit-transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  -moz-transform: scale(0.95) translateY(-8px);
  -o-transform: scale(0.95) translateY(-8px);
  -moz-transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-height: 250px;
  overflow-y: auto;
}

.nice-select .list:hover .option:not(:hover) {
  background-color: transparent !important;
  color: var(--body-text-color) !important;
}

.nice-select .option {
  color: var(--body-text-color);
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  outline: none;
  text-align: left;
  -webkit-transition: var(--transition-fast);
  transition: var(--transition-fast);
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 8px 12px;
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  margin: 0 !important;
  border-radius: 6px;
}

.select__option {
  color: var(--body-text-color) !important;
  -webkit-transition: var(--transition-fast);
  transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
}

.select__option:first-child {
  background-color: transparent !important;
}

.select__option:hover,
.select__option.focus,
.select__option.selected.focus {
  background-color: var(--first-color) !important;
  color: var(--white) !important;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
  background-color: rgba(var(--first-color-rgb), 0.15);
  color: var(--white);
}

.nice-select .option.selected {
  font-weight: bold;
  color: var(--first-color);
}

.no-csspointerevents .nice-select .list {
  display: none;
}

.no-csspointerevents .nice-select.open .list {
  display: block;
}

.user-profile img {
  height: 32px;
  width: 32px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(var(--first-color-rgb), 0.3);
}

.user-profile-details img {
  height: 36px;
  width: 36px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(var(--first-color-rgb), 0.3);
}

.upgrade-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.upgrade-popup .popup-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 0;
}

.upgrade-popup .popup-content {
  position: relative;
  background: var(--card-bg);
  color: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 800px;
  z-index: 1;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  animation: popupFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 90vh;
  overflow-y: auto;
  -webkit-animation: popupFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--glass-border);
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.upgrade-popup .popup-content h2 {
  text-align: center;
  margin-bottom: 24px;
}

.upgrade-popup .plans {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.upgrade-popup .plan {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 24px;
  flex: 1 1 200px;
  min-width: 230px;
  max-width: 250px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
}

.upgrade-popup .plan:hover {
  border-color: var(--first-color);
}

.upgrade-popup .plan h3 {
  margin-bottom: 10px;
  font-size: var(--h4);
}

.upgrade-popup .plan .price {
  font-size: 24px;
  margin-bottom: 15px;
  justify-content: center;
  color: var(--price-color);
}

.upgrade-popup .plan ul {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
}

.upgrade-popup .plan ul li {
  margin: 8px 0;
  color: var(--body-text-color);
}

.upgrade-popup .select-btn {
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
}

.upgrade-popup .select-btn:hover {
  box-shadow: 0 4px 15px rgba(var(--first-color-rgb), 0.4);
}

.upgrade-popup .plan:hover {
  background: linear-gradient(180deg, rgba(var(--first-color-rgb), 0.08), rgba(var(--first-color-rgb), 0.02));
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.upgrade-popup .plan:hover .select-btn {
  background: linear-gradient(135deg, #d91e6a, var(--first-color));
  color: var(--white);
}

.upgrade-popup .close-btn {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.upgrade-popup .close-btn:hover {
  background: rgba(var(--first-color-rgb), 0.15);
}

/* ============================================= */
/* !!!!         back to top button        !!!! */
/* ============================================= */
.progress-wrap {
  position: fixed;
  right: 30px;
  bottom: 55px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  opacity: 0;
  -moz-opacity: 0;
  -khtml-opacity: 0;
  -webkit-opacity: 0;
  visibility: hidden;
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
  -webkit-box-shadow: 0 4px 15px rgba(var(--first-color-rgb), 0.3);
  box-shadow: 0 4px 15px rgba(var(--first-color-rgb), 0.3);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transform: translateY(15px);
  -webkit-transform: translateY(15px);
  -moz-transform: translateY(15px);
  -ms-transform: translateY(15px);
  -o-transform: translateY(15px);
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  animation: bounceUpDown 2s infinite ease-in-out;
  z-index: 5;
}

@keyframes bounceUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.progress-wrap svg.progress-circle path {
  stroke: var(--white);
  stroke-width: 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.progress-wrap svg path {
  fill: none;
}

.progress-wrap.active-progress:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  margin: auto;
  background: url(../images/top-gif.gif);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

body.product .progress-wrap {
  bottom: 95px;
}

.progress-wrap.active-progress {
  opacity: 1;
  -moz-opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  -moz-transform: translateY(0);
  -o-transform: translateY(0);
}

/* Sidebar Styles */

.sidebar-menu {
  list-style: none;
  padding: 0 12px;
  max-height: 100vh;
  overflow-y: auto;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  width: 34px;
  padding: 6px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(var(--first-color-rgb), 0.3);
}

.mobile-menu-btn {
  display: none;
}

.mobile-menu-btn svg path {
  fill: var(--white);
}

.mobile-menu-btn svg {
  height: 15px;
  width: 15px;
}

.sidebar-menu li {
  margin-bottom: 2px;
}

.sidebar-menu li {
  border-left: 3px solid transparent;
  transition: var(--transition-fast);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.logo-col {
  gap: 12px;
  margin: 0 15px;
  font-size: 20px;
  font-weight: bold;
  display: inline-block;
}

.sidebar-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 8px;
}

.sidebar-menu li a {
  gap: 12px;
  display: flex;
  align-items: center;
  padding: 11px 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: var(--transition-fast);
  position: relative;
  perspective: 1000px;
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-color);
  letter-spacing: 0.2px;
}

.sidebar-menu li a i {
  font-size: 16px;
  transition: var(--transition-fast);
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  width: 20px;
  text-align: center;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
  color: var(--white);
  border-left: 3px solid var(--first-color);
  background: var(--sidebar-hover);
}

.sidebar-menu li a:hover i,
.sidebar-menu li a.active i {
  transform: scale(1.1);
  color: var(--first-color);
}

.sidebar-menu li a:hover::after,
.sidebar-menu li a.active::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 50%;
  border-left: none;
  transition: var(--transition-fast);
  transform: translateY(-50%);
  height: 60%;
  width: 3px;
  background: var(--first-color);
  border-radius: 0 2px 2px 0;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
}

.sidebar-menu li a span {
  transition: var(--transition-fast);
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
}

.sidebar-menu li a:hover span,
.sidebar-menu li a.active span {
  text-shadow: none;
  color: var(--white);
}

/* Main Content Styles */
.main-content {
  position: relative;
  margin-left: 280px;
  padding: 24px;
  width: calc(100% - 280px);
  z-index: 1;
  min-height: 100vh;
}

.hidden {
  display: none;
}

/* Table Styles */
table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin-top: 20px;
}

.table-responsive {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
}

table th,
table td {
  padding: 12px 16px !important;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--border-color);
}

table th {
  background-color: rgba(var(--first-color-rgb), 0.1) !important;
  font-family: var(--first-font);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table > :not(caption) > * > * {
  background-color: var(--card-bg);
  color: var(--body-text-color);
}

.table-striped > tbody > tr:nth-of-type(even) > * {
  background-color: rgba(255, 255, 255, 0.02);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: var(--card-bg);
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.02);
}

.table-striped > tbody > tr:hover > * {
  background-color: rgba(var(--first-color-rgb), 0.04);
}

.user-table th,
.user-table td {
  border: none !important;
}

.tbl_img {
  max-width: 50px;
  max-height: 50px;
  object-fit: cover;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border: 2px solid var(--border-color);
}

table.dataTable th,
table.dataTable td {
  padding: 12px 20px !important;
  vertical-align: middle !important;
  white-space: nowrap;
}

.user-table td.user-data {
  max-width: 400px;
  width: 100%;
  white-space: normal;
}

.dataTables_length label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
  margin-bottom: 16px;
  gap: 10px;
  color: var(--body-text-color);
}

div.dataTables_wrapper div.dataTables_filter input {
  border-radius: var(--radius-sm) !important;
  background: rgba(255, 255, 255, 0.03);
  color: white;
  border: 1px solid var(--border-color);
  -webkit-border-radius: var(--radius-sm) !important;
  -moz-border-radius: var(--radius-sm) !important;
  -ms-border-radius: var(--radius-sm) !important;
  -o-border-radius: var(--radius-sm) !important;
  padding: 8px 14px;
  transition: var(--transition-fast);
}
div.dataTables_wrapper div.dataTables_filter input:focus {
  border: 1px solid rgba(var(--first-color-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--first-color-rgb), 0.1);
}
table.dataTable td {
  width: auto;
}
.user-table td.sorting_1 {
  width: auto;
}

.dataTables_length label select {
  padding: 6px 20px !important;
  border: 1px solid var(--border-color);
  color: var(--white);
  background-color: var(--card-bg);
  background-image: none;
  border-radius: var(--radius-sm);
}

.dataTables_length label select option {
  color: var(--white);
  background-color: var(--card-bg) !important;
}

.dataTables_length label select option:focus {
  color: #ffffff;
  background-color: var(--first-color) !important;
}
.table .form-select {
  width: auto;
}

/* table card css  */
.card {
  border: 1px solid var(--border-color);
  position: relative;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm) !important;
  border-radius: var(--radius-md);
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  background: var(--card-bg);
  color: var(--body-text-color) !important;
  overflow: hidden;
}

.card .card-header {
  border-bottom-color: var(--border-color);
  line-height: 30px;
  -ms-grid-row-align: center;
  align-self: center;
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  position: relative;
  background: transparent;
}

.card .card-header::before {
  content: "";
  position: absolute;
  left: 0px;
  height: 24px;
  width: 3px;
  background: linear-gradient(180deg, var(--first-color), #d91e6a);
  top: 50%;
  bottom: 0;
  transform: translateY(-50%);
  border-radius: 0 4px 4px 0;
}

/* Sidebar Styling for Dark Mode */
.sidebar {
  width: 280px;
  height: 100%;
  padding: 20px 0px 0px;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--border-color);
  background: var(--sidebar-bg);
  z-index: 3;
}

.sidebar a img {
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 70px;
}

/* Navbar Styling for Dark Mode */
.navbar {
  background-color: var(--card-bg);
  color: var(--body-text-color);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.navbar h1 {
  font-size: 28px;
  color: var(--first-color);
}

.navbar button {
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.navbar button:hover {
  box-shadow: 0 4px 15px rgba(var(--first-color-rgb), 0.4);
}

.site-header {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.site-header .about-profile-left .input-wrapper {
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.site-header .about-profile-left .input-wrapper input {
  padding: 0px;
  border: none;
  background: transparent;
}

.site-header .about-profile-left .input-wrapper:hover,
.site-header .about-profile-left .input-wrapper:focus-within {
  border-color: rgba(var(--first-color-rgb), 0.4);
  box-shadow: 0 0 0 3px rgba(var(--first-color-rgb), 0.1);
}

ul.tabs {
  list-style: none;
  padding: 0;
  display: inline-flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

ul.tabs li {
  font-family: var(--first-font);
  padding: 10px 20px;
  cursor: pointer;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  transition: var(--transition-fast);
}

ul.tabs li:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

ul.tabs li.active {
  font-weight: 600;
  background: rgba(var(--first-color-rgb), 0.12);
  color: var(--first-color);
  border-bottom: 2px solid var(--first-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/**** Interactive Dashboard ****/

.db-interactive {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.db-welcome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.db-welcome-left h3 {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
}

.db-welcome-left p {
  color: var(--text-color);
  font-size: 14px;
  margin: 0;
}

.db-welcome-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.db-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  color: #10b981;
  font-size: 12px;
  font-weight: 600;
}

.db-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: dbPulse 1.5s infinite;
}

@keyframes dbPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.db-date-display {
  color: var(--text-color);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.db-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.db-kpi-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: dbCardIn 0.5s ease-out both;
}

@keyframes dbCardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.db-kpi-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.db-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.db-kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform 0.3s ease;
}

.db-kpi-card:hover .db-kpi-icon {
  transform: scale(1.1);
}

.db-kpi-change {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
}

.db-kpi-change.positive {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.db-kpi-change.negative {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.db-kpi-change i {
  font-size: 9px;
}

.db-kpi-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.db-kpi-data {
  flex: 1;
}

.db-kpi-label {
  display: block;
  font-size: 12px;
  color: var(--text-color);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.db-kpi-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.db-kpi-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-color);
  text-decoration: none;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  transition: color 0.2s;
}

.db-kpi-link:hover {
  color: var(--first-color);
}

.db-kpi-link i {
  font-size: 10px;
  transition: transform 0.2s;
}

.db-kpi-link:hover i {
  transform: translateX(3px);
}

.db-section-label {
  color: var(--text-color);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.db-section-label i {
  color: var(--first-color);
  font-size: 11px;
}

.db-quick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.db-quick-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--body-text-color);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.db-quick-btn:hover {
  border-color: var(--qa-color);
  color: var(--qa-color);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.db-quick-btn i {
  font-size: 14px;
  color: var(--qa-color);
}

.db-charts-row {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  align-items: start;
}

.db-chart-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color 0.3s;
}

.db-chart-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.db-chart-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.db-chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.db-chart-header h6 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.db-chart-sub {
  font-size: 12px;
  color: var(--text-color);
  margin: 4px 0 0;
}

.db-chart-legend {
  display: flex;
  gap: 14px;
}

.db-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-color);
}

.db-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.db-chart-body {
  position: relative;
}

.db-chart-footer {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.db-revenue-stat span {
  font-size: 11px;
  color: var(--text-color);
  display: block;
  margin-bottom: 2px;
}

.db-revenue-stat strong {
  font-size: 16px;
  color: var(--white);
  font-weight: 700;
}

.db-chart-badge {
  font-size: 11px;
  color: var(--first-color);
  background: rgba(248, 37, 129, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.db-growth-total {
  text-align: center;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--border-color);
}

.db-growth-total strong {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.db-growth-total span {
  color: var(--text-color);
  font-size: 12px;
  margin-left: 4px;
}

.db-doughnut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.db-doughnut-center {
  position: absolute;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.db-doughnut-center strong {
  font-size: 22px;
  color: var(--white);
  font-weight: 700;
  line-height: 1;
}

.db-doughnut-center span {
  font-size: 10px;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.db-platform-labels {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--border-color);
}

.db-platform-labels span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-color);
}

.db-chart-tabs {
  display: flex;
  gap: 3px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 3px;
}

.db-chart-tab {
  background: none;
  border: none;
  color: var(--text-color);
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
  font-weight: 500;
}

.db-chart-tab.active {
  background: var(--first-color);
  color: white;
}

.db-chart-tab:hover:not(.active) {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.db-metrics-chart-card {
  margin-top: 0;
}

.db-bottom-row {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 20px;
  align-items: start;
}

.db-top-content-card,
.db-activity-card,
.db-health-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.db-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 10px;
}

.db-card-header h6 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.db-card-header h6 i {
  color: var(--first-color);
  font-size: 13px;
}

.db-view-all {
  color: var(--text-color);
  font-size: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.db-view-all:hover {
  color: var(--first-color);
}

.db-view-all i {
  font-size: 10px;
}

.db-top-table-wrap {
  overflow-x: auto;
}

.db-top-table {
  width: 100%;
  border-collapse: collapse;
}

.db-top-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
}

.db-top-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--body-text-color);
  border-bottom: 1px solid var(--border-color);
}

.db-top-table tr:last-child td {
  border-bottom: none;
}

.db-top-table tr {
  transition: background 0.2s;
}

.db-top-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.db-rank-badge {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 37, 129, 0.1);
  color: var(--first-color);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.db-content-title {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.db-genre-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
  font-weight: 500;
}

.db-views-cell {
  color: var(--white) !important;
  font-weight: 600;
}

.db-revenue-cell {
  color: #10b981 !important;
  font-weight: 600;
}

.db-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #f59e0b;
  font-weight: 600;
}

.db-rating i {
  font-size: 11px;
}

.db-trend {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 11px;
}

.db-trend.up {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.db-trend.down {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.db-sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.db-activity-filters {
  display: flex;
  gap: 3px;
}

.db-af-btn {
  background: none;
  border: none;
  color: var(--text-color);
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.db-af-btn.active {
  background: rgba(248, 37, 129, 0.12);
  color: var(--first-color);
}

.db-af-btn:hover:not(.active) {
  color: var(--white);
}

.db-activity-list {
  max-height: 340px;
  overflow-y: auto;
  padding: 8px 0;
}

.db-activity-list::-webkit-scrollbar {
  width: 4px;
}

.db-activity-list::-webkit-scrollbar-track {
  background: transparent;
}

.db-activity-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.db-activity-item {
  display: flex;
  gap: 12px;
  padding: 10px 18px;
  transition: background 0.2s;
  animation: dbSlideIn 0.3s ease-out both;
}

@keyframes dbSlideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.db-activity-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.db-activity-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.db-activity-info {
  flex: 1;
  min-width: 0;
}

.db-activity-info p {
  color: var(--body-text-color);
  font-size: 13px;
  margin: 0 0 3px;
  line-height: 1.4;
}

.db-activity-time {
  font-size: 11px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 4px;
}

.db-activity-time i {
  font-size: 10px;
}

.db-activity-viewall {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  color: var(--text-color);
  font-size: 12px;
  text-decoration: none;
  border-top: 1px solid var(--border-color);
  transition: color 0.2s;
}

.db-activity-viewall:hover {
  color: var(--first-color);
}

.db-health-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  font-weight: 500;
}

.db-health-list {
  padding: 4px 0;
}

.db-health-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s;
}

.db-health-item:last-child {
  border-bottom: none;
}

.db-health-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.db-health-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--body-text-color);
  font-size: 13px;
}

.db-health-left i {
  color: var(--text-color);
  font-size: 14px;
  width: 18px;
  text-align: center;
}

.db-health-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.db-health-uptime {
  font-size: 12px;
  color: var(--text-color);
  font-weight: 500;
}

.db-health-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
}

.db-health-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.db-health-status.healthy {
  color: #10b981;
}

.db-health-status.healthy .db-health-dot {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

.db-health-status.warning {
  color: #f59e0b;
}

.db-health-status.warning .db-health-dot {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
  animation: dbPulse 2s infinite;
}

@media screen and (max-width: 1200px) {
  .db-charts-row {
    grid-template-columns: 1fr;
  }
  .db-chart-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .db-bottom-row {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .db-kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .db-chart-sidebar {
    grid-template-columns: 1fr;
  }
  .db-quick-grid {
    gap: 8px;
  }
  .db-quick-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
  .db-welcome-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .db-chart-footer {
    flex-direction: column;
    gap: 12px;
  }
}

@media screen and (max-width: 575px) {
  .db-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .db-activity-filters {
    display: none;
  }
  .db-platform-labels {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    padding-left: 16px;
  }
}

/**** Legacy Dashboard Utility Classes (used by AdsSettingUpdate etc.) ****/
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
}

.dashboard-blog {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.card-icon {
  background: linear-gradient(135deg, rgba(var(--first-color-rgb), 0.15), rgba(var(--first-color-rgb), 0.05));
  border: 1px solid rgba(var(--first-color-rgb), 0.1);
  width: 64px;
  height: 64px;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.card-icon svg {
  stroke: var(--first-color);
  max-width: 24px;
  height: 24px;
}

/**** Content ( Movies & Tv Shows ) Section ****/
.table-layout-fixed {
  table-layout: fixed !important;
  width: 100% !important;
}

.table-layout-fixed td,
.table-layout-fixed th {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-layout-fixed td:last-child {
  overflow: visible;
  white-space: nowrap;
  text-align: right;
  width: 120px;
}
.report-column-name {
  white-space: wrap !important;
}
.movie-table td .img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.movie-table td .img-wrapper img {
  max-width: 60px;
  border-radius: var(--radius-sm);
}

.movie-table td .img-wrapper img,
.top-contents-table td .img-wrapper img {
  object-position: top;
}

.top-contents-table td .img-wrapper {
  width: 60px;
  overflow: hidden;
  height: 60px;
  border-radius: var(--radius-sm);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
}

.top-contents-table td.content-img .content-img-wrp {
  align-items: center;
  gap: 15px;
}

/* edit popup  */
.edit-heading {
  margin: 15px 0px;
  padding: 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.common-popup .edit-close-btn {
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
  border-radius: 50%;
  padding: 5px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  border: none;
  z-index: 1;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: var(--transition-fast);
}

.common-popup .edit-close-btn:hover {
  transform: rotate(90deg);
  box-shadow: 0 2px 10px rgba(var(--first-color-rgb), 0.4);
}

.common-popup .edit-close-btn svg {
  height: 12px;
  width: 12px;
}

.common-popup {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  max-height: 90vh;
  max-width: 600px;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  margin: 0 auto;
  color: var(--body-text-color);
  background: var(--card-bg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  -webkit-border-radius: var(--radius-lg);
  -moz-border-radius: var(--radius-lg);
  -ms-border-radius: var(--radius-lg);
  -o-border-radius: var(--radius-lg);
  transform: translateY(-50%) scale(0.9);
  -webkit-transform: translateY(-50%) scale(0.9);
  -moz-transform: translateY(-50%) scale(0.9);
  -ms-transform: translateY(-50%) scale(0.9);
  -o-transform: translateY(-50%) scale(0.9);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.common-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
  -webkit-transform: translateY(-50%) scale(1);
  -moz-transform: translateY(-50%) scale(1);
  -ms-transform: translateY(-50%) scale(1);
  -o-transform: translateY(-50%) scale(1);
}

.edit-inner {
  max-height: 70vh;
  overflow-y: auto;
  padding: 0 24px 24px;
}

.edit-inner .nice-select {
  padding: 12px 20px;
}
.edit-inner .nice-select:focus,
.settings-form .nice-select:focus {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-color: rgba(var(--first-color-rgb), 0.4);
}

/* Featured Content Slider */
.featured-content {
  margin: 0 15px 24px;
}

.featured-content h6 {
  margin-bottom: 15px;
}

.featured-item {
  padding-top: 25%;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
}

.featured-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.featured-slider .swiper-wrapper,
.series-slider .swiper-wrapper {
  padding-bottom: 40px;
}

.movie-name {
  padding: 12px 10px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    transparent
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
  position: absolute;
  bottom: 0px;
  right: 0px;
  left: 0px;
  z-index: 1;
  -webkit-border-radius: 0 0 var(--radius-md) var(--radius-md);
  -moz-border-radius: 0 0 var(--radius-md) var(--radius-md);
  -ms-border-radius: 0 0 var(--radius-md) var(--radius-md);
  -o-border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.movie-name p {
  font-size: 14px;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  color: var(--white);
  font-weight: 500;
}

.movie-name span {
  font-size: 12px;
  color: var(--text-color);
}

.content-popup {
  max-width: 95%;
}

.actors-table td .img-wrapper,
.live-tv-table td .img-wrapper {
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
}

.close-sidebar-btn {
  display: none;
  position: absolute;
  right: 15px;
  top: 15px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  z-index: 99;
}

.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.page-title h4 {
  font: var(--h4);
}

#dashboard-section {
  padding: 0 0px 20px;
}

.column-name {
  width: 250px !important;
  white-space: normal !important;
}

.notification-toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: var(--radius-md);
  max-width: 200px;
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.stat-box:hover {
  border-color: rgba(var(--first-color-rgb), 0.2);
}

.stat-bar-bg {
  width: 100%;
  height: 6px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.form-img-upload {
  position: relative;
}

.form-img-upload .upload-options {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
}

.form-img-upload .upload-options label {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
}

.form-img-upload .upload-options input {
  opacity: 0;
  z-index: 0;
  height: 100%;
}

.form-img-upload .upload-box {
  position: relative;
  cursor: pointer;
}

.form-img-upload .upload-label {
  display: block;
  position: relative;
}

.form-img-upload .upload-label img {
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.form-img-upload .custom_img {
  height: 150px;
  max-height: 150px;
  min-height: 150px;
  width: 170px;
  max-width: 170px;
  min-width: 170px;
  position: relative;
  overflow: hidden;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition-fast);
}

.form-img-upload .custom_img:hover {
  border-color: rgba(var(--first-color-rgb), 0.3);
}

/**** genres section  ****/

.genres-table td.sorting_1,
.live-tv-table td.sorting_1 {
  width: 100%;
}

/**** live-tv section  ****/

.live-tv-img .img-wrapper {
  height: 60px;
  width: 60px;
  background-color: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  border-radius: var(--radius-sm);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
}
.live-tv-img .img-wrapper img {
  padding: 5px;
}
.live-tv-channels-table .live-tv-img .img-wrapper img {
  padding: 0px;
}
.live-tv-channels-edit-popup .edit-inner .nice-select {
  padding: 14px 20px;
}

.swiper-pagination-bullet,
.swiper-pagination-bullet {
  width: 25px;
  height: 3px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.3);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  transition: var(--transition-fast);
}

.swiper-pagination-bullet-active {
  background-color: var(--first-color) !important;
  width: 35px;
}

/* Preloader Styling */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--body-bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.bar-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.bar {
  width: 6px;
  height: 40px;
  background: linear-gradient(180deg, var(--first-color), #d91e6a);
  border-radius: 4px;
  animation: bounce 1.2s infinite ease-in-out;
}

.bar:nth-child(1) {
  animation-delay: 0s;
}

.bar:nth-child(2) {
  animation-delay: 0.2s;
}

.bar:nth-child(3) {
  animation-delay: 0.4s;
}

.bar:nth-child(4) {
  animation-delay: 0.6s;
}

.bar:nth-child(5) {
  animation-delay: 0.8s;
}

#preloader h1 {
  color: var(--white);
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: fadeIn 1s ease-in-out infinite;
  font-weight: 300;
}
/* Hide Content Initially */
#content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Animations */
@keyframes bounce {
  0%,
  100% {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.5);
    -webkit-transform: scaleY(1.5);
    -moz-transform: scaleY(1.5);
    -ms-transform: scaleY(1.5);
    -o-transform: scaleY(1.5);
  }
}

@keyframes fadeIn {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 18, 0.95), transparent);
}

.badges {
  margin-bottom: 15px;
}

.badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.rating-value {
  color: var(--light-yellow);
}

.admin-actions .btn {
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
}

.admin-actions .btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/**** movie management table css  ****/
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.trending-table {
  margin-bottom: 15px;
  min-width: 600px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.trending-table thead {
  background: rgba(var(--first-color-rgb), 0.08);
}

.trending-table th,
.trending-table td {
  white-space: nowrap;
  border: none;
}

.trending-table tbody tr {
  transition: var(--transition-fast);
  border-bottom: 1px solid var(--border-color);
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
}

.trending-table tbody tr:hover {
  background: rgba(var(--first-color-rgb), 0.04);
}

.badge-up {
  background-color: var(--success-color);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 11px;
}

.badge-down {
  background-color: var(--error-color);
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 11px;
}

/**** Public Interest Chart  ****/
.fancy-card {
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

.fancy-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  border-color: rgba(var(--first-color-rgb), 0.15);
}

.fancy-card .header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.fancy-card h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}

.chart-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: 16px;
  width: 100%;
  height: 300px;
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.blur-overlay {
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background: rgba(10, 10, 18, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

/**** public-reviews-section  */
.public-reviews-section {
  margin-top: 40px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 24px;
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.public-reviews-section h2 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 16px;
}

.public-reviews-section .header {
  margin-bottom: 20px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.review-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition-normal);
  box-shadow: none;
  border: 1px solid var(--border-color);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--first-color-rgb), 0.15);
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-header h4 {
  font-size: 14px;
  color: var(--first-color);
}

.review-user {
  font-size: 12px;
  color: var(--text-color);
  margin-left: 6px;
}

.stars {
  color: var(--light-yellow);
  font-size: 12px;
}

/***** Tv Show Review Section  *****/
.tvshow-reviews-section {
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius-lg);
  margin-top: 30px;
  -webkit-border-radius: var(--radius-lg);
  -moz-border-radius: var(--radius-lg);
  -ms-border-radius: var(--radius-lg);
  -o-border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.tvshow-header h2 {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--white);
}

.tvshow-subtext {
  margin-bottom: 15px;
  display: block;
  color: var(--text-color);
}

.tvshow-reviews-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tvshow-review-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 16px;
  flex: 1 1 calc(33.333% - 16px);
  box-shadow: none;
  transition: var(--transition-normal);
  border: 1px solid var(--border-color);
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
}

.tvshow-review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--first-color-rgb), 0.15);
}

.tvshow-review-header {
  display: flex;
  gap: 5px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tvshow-review-header h4 {
  font-size: 16px;
}

.tvshow-review-user {
  font-size: 12px;
  margin-left: 8px;
  color: var(--text-color);
}

.tvshow-review-comment {
  font-size: 14px;
  color: var(--body-text-color);
}

/**** User overview section  ****/
.overview-user-section {
  padding-bottom: 40px;
}

.overview-user-section h2 {
  margin-bottom: 20px;
}

.user-overview-section {
  display: grid;
  border-radius: var(--radius-lg);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--second-font);
  -webkit-border-radius: var(--radius-lg);
  -moz-border-radius: var(--radius-lg);
  -ms-border-radius: var(--radius-lg);
  -o-border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.user-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-normal);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
}

.user-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--first-color-rgb), 0.15);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-profile-details {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: rgba(var(--first-color-rgb), 0.12);
  color: var(--white);
}

.dropdown-menu {
  top: 8px !important;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dropdown-item {
  color: var(--body-text-color);
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(var(--first-color-rgb), 0.3);
  object-fit: cover;
}

.user-info {
  color: var(--white);
}

.username {
  font: var(--h5);
  margin: 0;
  color: var(--first-color);
}

.user-card .email {
  font-size: 14px;
  margin: 5px 0;
  color: var(--text-color);
}

.user-card .role {
  color: var(--light-yellow);
  font-size: 13px;
  font-weight: 500;
}

.user-card .label {
  color: var(--text-color);
  font-weight: 500;
  font-size: 13px;
}

.user-card .user-details {
  display: grid;
  gap: 6px;
  font: var(--common-text);
  color: var(--body-text-color);
}

.user-card .status.success {
  color: var(--success-color);
  font-weight: 600;
}

.user-card .user-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.user-card .btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition-fast);
  background: rgba(var(--first-color-rgb), 0.12);
  color: var(--first-color);
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  font-weight: 500;
}

.user-card .btn:hover {
  background: var(--first-color);
  color: var(--white);
}

.user-card .btn.edit:hover {
  background: var(--light-yellow);
  color: var(--body-bg-color);
}

.user-car .btn.suspend:hover {
  background: var(--error-color);
}

.user-card .btn.delete:hover {
  background: var(--red);
}

/**** user-activity-analytics section  ****/
.user-activity-analytics {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 28px;
  font-family: var(--second-font);
  color: var(--white);
  box-shadow: none;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
}

.analytics-header h2 {
  font: var(--h4);
  color: var(--white);
  margin-bottom: 8px;
}

.analytics-subtext {
  margin-bottom: 20px;
  color: var(--text-color);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.analytics-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: left;
  transition: var(--transition-normal);
  box-shadow: none;
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
}

.analytics-box:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--first-color-rgb), 0.2);
  box-shadow: var(--shadow-glow);
}

.analytics-box h4 {
  color: var(--white);
  margin-bottom: 8px;
  font: var(--h6);
  font-size: 15px;
}

.analytics-box p {
  font: var(--common-text);
  color: var(--text-color);
}

/***** subscription user plan section  *****/
.subscription-section {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 28px;
  border-radius: var(--radius-lg);
  font-family: var(--second-font);
  color: var(--body-text-color);
  -webkit-border-radius: var(--radius-lg);
  -moz-border-radius: var(--radius-lg);
  -ms-border-radius: var(--radius-lg);
  -o-border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.subscription-section .section-title {
  font: var(--h4);
  color: var(--white);
}

.subscription-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(335px, 1fr));
  gap: 16px;
}

.subscription-card,
.billing-history-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition-normal);
}

.subscription-card:hover,
.billing-history-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--first-color-rgb), 0.15);
}

.plan-type {
  font-size: 18px;
  color: var(--success-color);
  font-weight: 600;
}

.subscription-card p {
  margin: 10px 0;
}

.subscription-card p > span {
  margin-right: 5px;
  color: var(--text-color);
}

.plan-type.premium {
  color: var(--price-color);
}

.plan-typ .label {
  color: var(--grey);
}

.plan-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.billing-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.billing-history-card h4 {
  margin-bottom: 10px;
}

.invoice-link {
  color: var(--first-color);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.invoice-link:hover {
  text-decoration: underline;
}

/* Dashboard Container */
.dashboard-container {
  padding: 24px;
  padding-top: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
}

/* KPI Cards */

.kpi-cards {
  display: grid;
  grid: 1fr / auto auto auto auto;
  gap: 16px;
  margin-bottom: 30px;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: var(--radius-md);
  min-width: 140px;
  text-align: center;
  transition: var(--transition-normal);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.kpi-card h3 {
  font-family: var(--first-font);
  font: var(--h5);
  font-size: 14px;
  color: var(--text-color);
}

.kpi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--first-color-rgb), 0.2);
  box-shadow: var(--shadow-glow);
}

.kpi-card .counter {
  font-size: 28px;
  color: var(--white);
  margin: 10px 0;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.progress-bar {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  height: 4px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 12px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--first-color), var(--success-color));
  width: 0%;
  transition: width 1s ease-in-out;
  border-radius: 10px;
}

.charts-section {
  height: 400px;
}

.charts-section canvas {
  width: 100% !important;
}

/****** log in page css *******/
.log-in-page {
  background: none;
  background-color: var(--body-bg-color);
}

.log-in-page::before {
  display: none;
}

.log-in-page .container {
  display: flex;
  max-width: 100%;
  padding: 0px;
  height: 100vh;
}

.log-in-page .image-section {
  flex: 1;
  background: url("../images/signin_new.png") no-repeat center center/cover;
}

.log-in-page .form-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--body-bg-color);
}

.log-in-page .form-container {
  width: 100%;
  max-width: 500px;
  padding: 36px;
  margin: 25px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  -webkit-border-radius: var(--radius-lg);
  -moz-border-radius: var(--radius-lg);
  -ms-border-radius: var(--radius-lg);
  -o-border-radius: var(--radius-lg);
  animation: none;
  -webkit-animation: none;
}

.log-in-page .form-container h2 {
  margin-bottom: 10px;
  font-size: 28px;
  color: var(--white);
  font-weight: 700;
}

.log-in-page .form-container p,
.log-in-page .input-group {
  margin-bottom: 16px;
}

.log-in-page .input-group label {
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-color);
}

.log-in-page .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.log-in-page .forgot-password {
  text-decoration: none;
  font-size: 13px;
  color: var(--first-color);
  font-weight: 500;
  transition: var(--transition-fast);
}

.log-in-page .forgot-password:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.log-in-page .signup-link {
  font-size: 14px;
  margin-top: 16px;
  color: var(--text-color);
}

.log-in-page .signup-link a {
  color: var(--first-color);
  text-decoration: none;
  font-weight: 500;
}

.signup-link a:hover {
  text-decoration: underline;
}

/*** log out page ***/
.log-out-wrp {
  text-align: center;
}

.log-out-wrp img {
  margin: 0 auto 20px;
  width: 40px;
  animation: zoomInOut 2s ease-in-out infinite;
  -webkit-animation: zoomInOut 2s ease-in-out infinite;
}

@keyframes zoomInOut {
  0%,
  100% {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
  }
}

/* Fade-in Animation */
@keyframes shadowPulse {
  0% {
    box-shadow: 0 0 0px rgba(var(--first-color-rgb), 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(var(--first-color-rgb), 0.15);
  }
  100% {
    box-shadow: 0 0 0px rgba(var(--first-color-rgb), 0.3);
  }
}

/***** report-builder-section  *****/
.report-builder-section {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px;
  margin-top: 30px;
  border-radius: var(--radius-md);
  box-shadow: none;
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.report-builder-section h2 {
  font: var(--h3);
  margin-bottom: 12px;
  text-shadow: none;
  font-size: 22px;
}

.report-builder-section > p {
  margin-bottom: 20px;
  color: var(--text-color);
}

.report-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  transform-style: preserve-3d;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition-normal);
  box-shadow: none;
  transform: none;
  animation: none;
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
  -webkit-animation: none;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
}

.feature-card svg {
  width: 25px;
  height: 25px;
}

.feature-card svg path {
  stroke: var(--first-color);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(var(--first-color-rgb), 0.2);
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  -o-transform: translateY(-4px);
}

.feature-icon {
  margin: 0 auto;
  height: 48px;
  width: 48px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(var(--first-color-rgb), 0.15), rgba(var(--first-color-rgb), 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font: var(--h5);
  color: var(--white);
  margin-bottom: 8px;
  font-size: 16px;
}

.feature-description {
  font-size: 13px;
  color: var(--text-color);
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}

.builder-footer {
  margin-top: 16px;
  text-align: center;
}

.builder-footer span {
  color: var(--success-color);
}

/**** communication-logs  ****/
.communication-logs {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px;
  border-radius: var(--radius-lg);
  margin-top: 40px;
  box-shadow: none;
  overflow: hidden;
  -webkit-border-radius: var(--radius-lg);
  -moz-border-radius: var(--radius-lg);
  -ms-border-radius: var(--radius-lg);
  -o-border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.communication-logs h2 {
  font: var(--h3);
  font-size: 22px;
}

.communication-logs > p {
  margin-bottom: 20px;
  color: var(--text-color);
}

.communication-logs .swiper {
  padding-bottom: 30px;
}

.communication-logs .swiper-slide {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--first-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: none;
  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: center;
  animation: fadeInSlide 0.5s ease;
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
  -webkit-animation: fadeInSlide 0.5s ease;
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.communication-logs .log-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-weight: 600;
  color: var(--white);
}

.communication-logs .log-desc {
  font-size: 13px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--text-color);
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.communication-logs .swiper-pagination-bullets {
  bottom: 0 !important;
}

.communication-logs .swiper-pagination-bullet-active {
  background-color: var(--first-color) !important;
}

/***** flowgrid-section *****/

.flowgrid-section {
  position: relative;
  margin-top: 40px;
  padding: 24px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  overflow: hidden;
  z-index: 1;
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.flowgrid-section::before,
.flowgrid-section::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--first-color-rgb), 0.08), transparent);
  filter: blur(80px);
  z-index: 0;
}

.flowgrid-section::before {
  top: -80px;
  left: -80px;
}

.flowgrid-section::after {
  bottom: -100px;
  right: -100px;
}

.flowgrid-title {
  font: var(--h3);
  margin-bottom: 20px;
  font-size: 22px;
}

.flow-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  isolation: isolate;
  cursor: pointer;
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
}

.flow-card:hover {
  transition: var(--transition-normal);
  border-color: rgba(var(--first-color-rgb), 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
}

.flow-icon {
  font-size: 32px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flow-card h3 {
  font: var(--h5);
  color: var(--white);
  margin-bottom: 12px;
  font-size: 16px;
}

.flow-desc {
  font-size: 13px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--text-color);
}

.flow-line.left {
  left: calc(50% - 190px);
}

.flow-line.right {
  right: calc(50% - 190px);
}

.flow-swiper {
  padding: 0 0px 40px;
}

/**** security-reports-section  ****/

.security-reports-section {
  margin-top: 40px;
  padding: 30px 36px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  z-index: 1;
  -webkit-border-radius: var(--radius-lg);
  -moz-border-radius: var(--radius-lg);
  -ms-border-radius: var(--radius-lg);
  -o-border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.security-title {
  font: var(--h3);
  margin-bottom: 12px;
  font-size: 22px;
}

.security-purpose {
  margin-bottom: 20px;
  color: var(--text-color);
}

.security-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  border-left: 2px solid rgba(var(--first-color-rgb), 0.3);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
}

.timeline-block {
  position: relative;
  margin: 20px 0;
  padding-left: 60px;
}

.timeline-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: -20px;
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 14px;
  box-shadow: 0 0 20px rgba(var(--first-color-rgb), 0.3);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: none;
  transition: var(--transition-normal);
}

.timeline-content:hover {
  transform: translateX(8px);
  border-color: rgba(var(--first-color-rgb), 0.2);
  box-shadow: var(--shadow-glow);
}

.timeline-content h4 {
  font: var(--h5);
  color: var(--white);
  margin-bottom: 8px;
  font-size: 16px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-color);
}

/** security-reports-section  **/
.general-settings-section {
  margin-bottom: 40px;
}

.settings-form .nice-select,
.setting-group .form-group .nice-select {
  border-radius: var(--radius-sm);
  padding: 14px 20px 14px 14px;
  width: 100%;
  border: 1px solid var(--border-color);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
}

.setting-section h2 {
  font: var(--h3);
  margin-bottom: 24px;
  font-size: 22px;
}

.settings-form input::placeholder,
.settings-form textarea::placeholder {
  color: var(--text-color) !important;
}

.setting-section .switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.setting-section .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.setting-section .slider {
  position: absolute;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  transition: var(--transition-fast);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.setting-section .slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: var(--white);
  transition: var(--transition-fast);
  border-radius: 50%;
}

.setting-section input:checked + .slider {
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
}

.setting-section input:checked + .slider::before {
  transform: translateX(24px);
}

.setting-btn {
  margin: 0 auto;
}

/* Root Section */
.subscription-plans-section {
  margin-top: 40px;
  border-radius: var(--radius-md);
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
}

.setting-group {
  margin-bottom: 24px;
}

.group-header h3 {
  font: var(--h4);
  margin-bottom: 8px;
  font-size: 20px;
}

.group-header p {
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--text-color);
}

/* Plan Cards */
.plan-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.plan-card {
  flex: 1 1 220px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition-normal);
  -webkit-transition: var(--transition-normal);
  -moz-transition: var(--transition-normal);
  -ms-transition: var(--transition-normal);
  -o-transition: var(--transition-normal);
  -webkit-border-radius: var(--radius-md);
  -moz-border-radius: var(--radius-md);
  -ms-border-radius: var(--radius-md);
  -o-border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}

.plan-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: rgba(var(--first-color-rgb), 0.3);
  transform: translateY(-3px);
}

.plan-card h5 {
  color: var(--white);
  margin-bottom: 10px;
}

.plan-card .price {
  margin-bottom: 10px;
  justify-content: center;
}

.plan-card .features li:not(:last-child) {
  margin-bottom: 10px;
}

/* Currency/Tax */

.tax-rate-field .input-wrapper {
  position: relative;
}

.tax-rate-field input::placeholder {
  color: var(--text-color) !important;
}

.tax-rate-field .suffix {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  color: var(--text-color);
}

.tax-rate-field .note {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--first-color);
}

/* Payment Gateways */
.payment-gateways {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.gateway-option {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
}

.gateway-option:hover {
  border-color: var(--first-color);
  box-shadow: 0 0 10px rgba(var(--first-color-rgb), 0.15);
}

.gateway-option img {
  width: 32px;
  height: auto;
}

/* Save Button */
.action-footer {
  margin-top: 16px;
}

.profile-pic-upload p {
  font-size: 11px;
  color: var(--text-color);
}

.profile-pic-upload img {
  width: 60px;
  height: 60px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(var(--first-color-rgb), 0.3);
}

.profile-section h2 {
  font: var(--h3);
  margin-bottom: 20px;
  font-size: 22px;
}

.personal-info-section {
  margin-top: 40px;
}

/* Media Gallery Section */
.video-prv-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
}

.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: calc(100% - 25px * 2);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
  justify-content: center;
  align-items: center;
}

.popup-content {
  position: relative;
  background: var(--card-bg);
  padding: 24px;
  margin: 50px auto;
  border-radius: var(--radius-lg);
  max-width: 500px;
  border: 1px solid var(--glass-border);
}

.popup-content video {
  width: 100%;
  height: 600px;
  border-radius: var(--radius-sm);
}

.close-popup {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
  background: var(--first-color);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Notification Settings Section */
.notification-settings {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  padding: 28px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: none;
  border: 1px solid var(--border-color);
}

.notification-settings h2 {
  margin-bottom: 0px;
}

/* Notification Option */

.option-label {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 500;
}

.option-description {
  font-size: 13px;
  margin-bottom: 15px;
  color: var(--text-color);
}

/* Checkbox Container */
.checkbox-container {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-color);
  gap: 12px;
}

.preference-item input {
  width: 16px;
  accent-color: var(--first-color);
}

.preference-item,
.preferences-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Toggle Switch Style */
.toggle-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--body-text-color);
}

.notification-option .switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.notification-option .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.notification-option .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
  border-radius: 34px;
}

.notification-option .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  border-radius: 50%;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition-fast);
}

.notification-option input:checked + .slider {
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
}

.notification-option input:checked + .slider:before {
  transform: translateX(24px);
}

.notification-option .toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

/**** activity-logs  ****/
.activity-logs {
  margin-top: 40px;
  background: var(--card-bg);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: none;
  border: 1px solid var(--border-color);
}

.log-section:not(:last-child) {
  margin-bottom: 20px;
}

.log-section h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 8px;
}

/* Login History Table */
.log-table th,
.log-table td {
  border: 1px solid var(--border-color);
}

/* Admin Actions */
.action-log {
  padding-top: 15px;
}

.action-log li {
  margin-bottom: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--first-color);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: var(--transition-fast);
}

.action-log li:hover {
  background: rgba(var(--first-color-rgb), 0.05);
}

.action-log li span {
  margin-right: 8px;
  color: var(--first-color);
  font-weight: 500;
}

.dataTables_filter {
  margin-bottom: 12px !important;
}

.dataTables_paginate,
.dataTables_info {
  margin-top: 15px !important;
  color: var(--text-color) !important;
}

.paginate_button.active a {
  border: none;
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
}

.paginate_button a {
  color: var(--body-text-color);
  transition: var(--transition-fast);
}

.paginate_button a:hover {
  color: var(--first-color) !important;
}

.pagination {
  gap: 6px !important;
}

.paginate_button {
  overflow: hidden !important;
  border-radius: var(--radius-sm) !important;
  -webkit-border-radius: var(--radius-sm) !important;
  -moz-border-radius: var(--radius-sm) !important;
  -ms-border-radius: var(--radius-sm) !important;
  -o-border-radius: var(--radius-sm) !important;
}

/**** Check Box Slider ****/
.checkbox-slider input:checked ~ span {
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
}

.checkbox-slider input:checked ~ span:after {
  left: 26px;
  background: whitesmoke;
}

.checkbox-slider input:checked ~ span:active::after {
  background: whitesmoke;
}

.checkbox-slider input:not(:checked) ~ span:active {
  background: rgba(255, 255, 255, 0.15);
}

.checkbox-slider input:not(:checked) ~ span:active::after {
  background: rgb(248, 248, 248);
}

.checkbox-slider .toggle_background {
  display: flex;
  align-items: center;
  width: 54px;
  height: 28px;
  position: relative;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2em;
  border: 2px transparent solid;
  transition: var(--transition-fast);
}

.checkbox-slider .toggle_background::after {
  content: "";
  display: flex;
  position: absolute;
  width: 22px;
  height: 22px;
  left: 2px;
  top: 1px;
  border-radius: 50px;
  background: var(--white);
  transition: var(--transition-fast);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.checkbox-slider .circle-icon {
  position: absolute;
  right: 15%;
  border: solid 1px rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 5px;
  height: 5px;
  top: 53%;
  transform: translateY(-50%);
}

.checkbox-slider .vertical_line {
  position: absolute;
  left: 22%;
  background: var(--white);
  width: 2px;
  height: 8px;
}

.flatpickr-current-month {
  display: flex;
}

.breadcrumb-item.active {
  color: var(--first-color);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-color);
}

table.dataTable thead {
  visibility: collapse;
}

div.dataTables_scrollHead table thead {
  visibility: visible;
}

.tbl-layout-fixed {
  table-layout: fixed !important;
}

.ck.ck-editor__main > .ck-editor__editable {
  background-color: rgba(255, 255, 255, 0.03) !important;
  color: var(--body-text-color) !important;
}

.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable) {
  border: 1px solid rgba(var(--first-color-rgb), 0.3) !important;
}

.ck.ck-editor__main > .ck-editor__editable:not(.ck-focused) {
  border-color: var(--border-color) !important;
}

.select__control {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
}

.select__control--is-focused {
  box-shadow: 0 0 0 3px rgba(var(--first-color-rgb), 0.1) !important;
  border-color: rgba(var(--first-color-rgb), 0.4) !important;
}

.select__input-container {
  color: var(--white) !important;
}

.select__menu {
  z-index: 10 !important;
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-lg) !important;
}

.select__multi-value,
.select__multi-value__label,
.select__multi-value__remove {
  background-color: rgba(var(--first-color-rgb), 0.15) !important;
  color: var(--first-color) !important;
  border-radius: 6px !important;
}

.select__multi-value__remove:hover {
  background-color: var(--first-color) !important;
  color: var(--white) !important;
}

div.dataTables_processing > div:last-child > div {
  background: var(--first-color);
}

textarea.cke_source {
  color: var(--white);
  background: var(--card-bg);
}
.ads_block_card {
  background-color: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
}
.ads_logo_item {
  width: 210px;
  height: 58px;
  padding: 10px;
  margin-bottom: 15px;
  box-shadow: none;
  text-align: center;
}
.ads_logo_item img {
  width: 100%;
  height: 34px;
  object-fit: contain;
  box-shadow: none;
  border: 0;
  text-align: center;
  margin: 0 auto;
  max-width: 100%;
}

.ads_block_card h4 {
  font-weight: 700;
  font-size: 18px;
}

.btn-success {
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  background: var(--success-color);
  border: none;
}

.padding-checkbox {
  padding-left: 20px !important;
}
.form-select:focus {
  border-color: rgba(var(--first-color-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--first-color-rgb), 0.1);
}
table.dataTable td {
  border-right: none !important;
  border-bottom: 1px solid var(--border-color) !important;
}
table.dataTable {
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}
table.table-bordered.dataTable thead tr:first-child th {
  text-align: center;
}
table.dataTable thead th {
  text-align: center;
  border-bottom: 1px solid var(--border-color) !important;
}
table.movie-table tbody td {
  text-align: center !important;
}

.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0px;
}

.tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--text-color);
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.tab:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.tab.active {
  background: transparent;
  color: var(--first-color);
  font-weight: 600;
  border-bottom: 2px solid var(--first-color);
}

.tab-content-data {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 24px;
  border-top: none;
}
.coin-title-login {
  background-color: rgba(var(--first-color-rgb), 0.1);
  color: var(--first-color);
  border-radius: 20px;
  padding: 6px 14px;
  border: none;
  font-size: 13px;
  font-weight: 500;
}
.coin-watch-ads {
  background-color: rgba(255, 145, 57, 0.1);
  color: var(--price-color);
  border-radius: 20px;
  padding: 6px 14px;
  border: none;
  font-size: 13px;
  font-weight: 500;
}
.daily-check-in {
  background-color: rgba(53, 173, 101, 0.1);
  color: var(--success-color);
  border-radius: 20px;
  padding: 6px 14px;
  border: none;
  font-size: 13px;
  font-weight: 500;
}

.movie-table th,
.movie-table td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.firebase-json {
  color: var(--body-text-color) !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
  border-color: var(--border-color) !important;
}

.firebase-json:focus {
  border-color: rgba(var(--first-color-rgb), 0.4) !important;
}

.reports-section {
  padding-top: 30px;
}

.chart-select {
  position: absolute;
  top: 10px;
  right: 36px;
  width: 150px;
  z-index: 10;
}

/* series cards css  */
.series-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.series-cards .cards {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  padding: 16px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: none;
  color: var(--body-text-color);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.series-cards .cards:hover {
  border-color: rgba(var(--first-color-rgb), 0.15);
  transform: translateY(-2px);
}

.series-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  grid-row: span 2;
}

.series-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.series-card-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.series-card-date {
  font-size: 12px;
  opacity: 0.6;
  margin-bottom: 4px;
}

.series-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.series-card-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.series-card-footer .card-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.series-card-footer .card-info .info-item {
  display: flex;
  gap: 4px;
  font-size: 12px;
  align-items: center;
}

.series-card-footer .card-info .label {
  opacity: 0.6;
}

.series-card-footer .card-info strong {
  color: var(--first-color);
}

.series-card-footer .card-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.series-card-footer .card-actions {
  display: flex;
  gap: 8px;
}

.series-card-footer .btn {
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--white);
  cursor: pointer;
}

.service-search .input-wrapper {
  display: inline-flex;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  -webkit-border-radius: var(--radius-sm);
  -moz-border-radius: var(--radius-sm);
  -ms-border-radius: var(--radius-sm);
  -o-border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.service-search .input-wrapper input {
  padding: 0px;
  border: none;
  background: transparent;
}

.service-search .input-wrapper:hover,
.service-search .input-wrapper:focus-within {
  border-color: rgba(var(--first-color-rgb), 0.4);
  box-shadow: 0 0 0 3px rgba(var(--first-color-rgb), 0.1);
}

/* color checkbox  */
.custom-checkbox,
.colors-checkbox label {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-box-align: center;
  box-align: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -ms-flex-align: center;
  position: relative;
}

.custom-checkbox input[type="checkbox"] {
  cursor: pointer;
  position: absolute;
  opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  -moz-opacity: 0;
  -webkit-opacity: 0;
  left: 0;
}

.color,
.custom-checkbox input[type="checkbox"] + span.color {
  display: inline-block;
  margin-right: 8px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  background-size: contain;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  transition: var(--transition-fast);
}

.custom-checkbox input[type="checkbox"]:checked + span.color {
  border-color: var(--first-color);
  background-color: var(--first-color);
}

.colors-checkbox .color-name {
  font-weight: 400;
  font-size: 13px;
  color: var(--body-text-color);
}

.custom-checkbox input[type="checkbox"]:checked + span.color:after {
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: 1px solid var(--white);
  border-width: 0px 2px 2px 0;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

.colors-checkbox .color-count {
  font-size: 12px;
  min-width: 30px;
}

.dataTables_scroll + .dataTables_processing {
  display: none !important;
}

.dataTables_processing {
  position: unset !important;
  margin-left: 0;
  margin-top: 0;
  margin-bottom: 0;
  color: var(--text-color);
}

/* maintenance page */

.under-maintenance .container {
  height: 100dvh;
}

.maintenance-title {
  margin-bottom: 1rem;
  font-size: 3rem;
}

.container .what-is-up {
  width: 100%;
  display: block;
  vertical-align: middle;
  text-align: center;
  box-sizing: border-box;
}

.container .what-is-up .spinny-cogs {
  display: block;
  margin-bottom: 2rem;
  color: var(--first-color);
}

@-webkit-keyframes fa-spin-one {
  0% {
    transform: translateY(-2rem) rotate(0deg);
  }
  100% {
    transform: translateY(-2rem) rotate(-359deg);
  }
}

@keyframes fa-spin-one {
  0% {
    transform: translateY(-2rem) rotate(0deg);
  }
  100% {
    transform: translateY(-2rem) rotate(-359deg);
  }
}

.fa-spin-one,
.container .what-is-up .spinny-cogs .fa:nth-of-type(1) {
  -webkit-animation: fa-spin-one 1s infinite linear;
  animation: fa-spin-one 1s infinite linear;
}

@-webkit-keyframes fa-spin-two {
  0% {
    transform: translateY(-0.5rem) translateY(1rem) rotate(0deg);
  }
  100% {
    transform: translateY(-0.5rem) translateY(1rem) rotate(-359deg);
  }
}

@keyframes fa-spin-two {
  0% {
    transform: translateY(-0.5rem) translateY(1rem) rotate(0deg);
  }
  100% {
    transform: translateY(-0.5rem) translateY(1rem) rotate(-359deg);
  }
}

.fa-spin-two,
.container .what-is-up .spinny-cogs .fa:nth-of-type(3) {
  -webkit-animation: fa-spin-two 2s infinite linear;
  animation: fa-spin-two 2s infinite linear;
}

/* Page loading animation */
@keyframes pageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-content > * {
  animation: pageSlideIn 0.3s ease-out;
}

/* ==========================================
   RBAC - Role Management
   ========================================== */
.rbac-section {
  padding: 0;
}

.rbac-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.rbac-header h4 {
  font: var(--h4);
  color: var(--white);
  margin-bottom: 4px;
}

.rbac-subtitle {
  color: var(--text-color);
  font-size: 14px;
}

.rbac-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: start;
}

.rbac-roles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rbac-role-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.rbac-role-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.rbac-role-card.active {
  border-color: var(--first-color);
  box-shadow: 0 0 0 1px var(--first-color), var(--shadow-glow);
}

.rbac-role-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.rbac-role-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.rbac-role-icon-lg {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.rbac-role-info {
  flex: 1;
}

.rbac-role-info h6 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 15px;
}

.rbac-role-users {
  font-size: 12px;
  color: var(--text-color);
}

.rbac-delete-btn {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  font-size: 13px;
}

.rbac-delete-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.rbac-role-desc {
  font-size: 13px;
  color: var(--text-color);
  margin-bottom: 12px;
  line-height: 1.5;
}

.rbac-perm-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  margin-bottom: 6px;
  overflow: hidden;
}

.rbac-perm-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}

.rbac-perm-count {
  font-size: 11px;
  color: var(--text-color);
}

.rbac-permissions-panel {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 500px;
}

.rbac-panel-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.rbac-panel-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rbac-panel-title h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}

.rbac-panel-title p {
  color: var(--text-color);
  font-size: 13px;
}

.rbac-permissions-grid {
  display: grid;
  gap: 16px;
}

.rbac-perm-module {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.rbac-module-name {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: capitalize;
}

.rbac-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.rbac-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.rbac-action-name {
  font-size: 13px;
  color: var(--body-text-color);
  text-transform: capitalize;
  min-width: 60px;
}

.rbac-toggle {
  width: 38px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: var(--transition-fast);
}

.rbac-toggle.active {
  background: var(--first-color);
}

.rbac-toggle-knob {
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.rbac-toggle.active .rbac-toggle-knob {
  left: 20px;
}

.rbac-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  text-align: center;
  color: var(--text-color);
}

.rbac-empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.rbac-empty-state h5 {
  color: var(--white);
  margin-bottom: 8px;
}

/* ==========================================
   Admin Users / Team Management
   ========================================== */
.admin-users-section {
  padding: 0;
}

.admin-users-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.admin-stat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 13px;
  color: var(--body-text-color);
}

.admin-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.admin-stat-chip strong {
  color: var(--white);
}

.admin-users-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  flex: 1;
  min-width: 220px;
}

.admin-search-box i {
  color: var(--text-color);
  font-size: 14px;
}

.admin-search-box input {
  background: none;
  border: none;
  color: var(--white);
  padding: 10px 0;
  width: 100%;
  font-size: 14px;
  outline: none;
}

.admin-search-box input::placeholder {
  color: var(--text-color);
}

.admin-filter-select {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--body-text-color);
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  cursor: pointer;
}

.admin-filter-select option {
  background: var(--card-bg);
}

.admin-status-tabs {
  display: flex;
  gap: 4px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.admin-status-tab {
  background: none;
  border: none;
  color: var(--text-color);
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-status-tab.active {
  background: var(--first-color);
  color: white;
}

.admin-status-count {
  font-size: 11px;
  opacity: 0.8;
}

.admin-users-table-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.admin-users-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-users-table thead {
  background: rgba(255, 255, 255, 0.03);
}

.admin-users-table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.admin-users-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--body-text-color);
}

.admin-users-table tr:last-child td {
  border-bottom: none;
}

.admin-users-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.admin-user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.admin-user-cell strong {
  color: var(--white);
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.admin-email {
  font-size: 12px;
  color: var(--text-color);
}

.admin-role-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.admin-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  text-transform: capitalize;
}

.admin-status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.admin-status-badge.active {
  color: #10b981;
}

.admin-status-badge.active .admin-status-indicator {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

.admin-status-badge.inactive {
  color: var(--text-color);
}

.admin-status-badge.inactive .admin-status-indicator {
  background: var(--text-color);
}

.admin-meta {
  font-size: 13px;
  color: var(--text-color);
  white-space: nowrap;
}

.admin-actions {
  display: flex;
  gap: 6px;
}

.admin-action-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 13px;
}

.admin-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.admin-action-btn.danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.admin-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-color);
}

.admin-empty i {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.3;
}

/* ==========================================
   Analytics Dashboard
   ========================================== */
.analytics-section {
  padding: 0;
}

.analytics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.analytics-header h4 {
  font: var(--h4);
  color: var(--white);
  margin-bottom: 4px;
}

.analytics-subtitle {
  color: var(--text-color);
  font-size: 14px;
}

.analytics-period-tabs {
  display: flex;
  gap: 4px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.analytics-period-tab {
  background: none;
  border: none;
  color: var(--text-color);
  padding: 7px 16px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.analytics-period-tab.active {
  background: var(--first-color);
  color: white;
}

.analytics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.analytics-kpi-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.analytics-kpi-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.analytics-kpi-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.analytics-kpi-info {
  flex: 1;
}

.analytics-kpi-label {
  font-size: 12px;
  color: var(--text-color);
  display: block;
  margin-bottom: 4px;
}

.analytics-kpi-value {
  font-size: 20px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.analytics-kpi-change {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.analytics-kpi-change.positive {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.analytics-kpi-change.negative {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.analytics-charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.analytics-chart-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.analytics-chart-card.wide {
  grid-column: auto;
}

.analytics-chart-card h6 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.analytics-chart-wrap {
  height: 280px;
  position: relative;
}

.analytics-chart-wrap.doughnut {
  height: 220px;
}

.analytics-revenue-total {
  text-align: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.analytics-revenue-total span {
  font-size: 12px;
  color: var(--text-color);
  display: block;
}

.analytics-revenue-total strong {
  font-size: 24px;
  color: var(--white);
  font-weight: 700;
}

.analytics-section-title {
  margin: 28px 0 16px;
}

.analytics-section-title h5 {
  color: var(--white);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.analytics-content-table-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.analytics-content-table {
  width: 100%;
  border-collapse: collapse;
}

.analytics-content-table thead {
  background: rgba(255, 255, 255, 0.03);
}

.analytics-content-table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.analytics-content-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--body-text-color);
}

.analytics-content-table tr:last-child td {
  border-bottom: none;
}

.analytics-content-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.analytics-rank {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 37, 129, 0.1);
  color: var(--first-color);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.analytics-progress-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.analytics-progress-bar > div {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.analytics-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--first-color), #6366f1);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.analytics-progress-bar span {
  font-size: 12px;
  color: var(--text-color);
  white-space: nowrap;
}

.analytics-revenue {
  color: #10b981 !important;
  font-weight: 600;
}

.analytics-trending-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--first-color);
  background: rgba(248, 37, 129, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.analytics-coin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.analytics-coin-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  transition: var(--transition-normal);
}

.analytics-coin-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.analytics-coin-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin: 0 auto 10px;
}

.analytics-coin-label {
  display: block;
  font-size: 12px;
  color: var(--text-color);
  margin-bottom: 6px;
}

.analytics-coin-value {
  font-size: 22px;
  color: var(--white);
  font-weight: 700;
}

/* ==========================================
   Content Moderation
   ========================================== */
.moderation-section {
  padding: 0;
}

.moderation-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.moderation-header h4 {
  font: var(--h4);
  color: var(--white);
  margin-bottom: 4px;
}

.moderation-subtitle {
  color: var(--text-color);
  font-size: 14px;
}

.moderation-stats-row {
  display: flex;
  gap: 20px;
}

.moderation-stat {
  text-align: center;
}

.moderation-stat-value {
  font-size: 24px;
  font-weight: 700;
  display: block;
}

.moderation-stat-label {
  font-size: 12px;
  color: var(--text-color);
}

.moderation-tabs {
  display: flex;
  gap: 4px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 3px;
  margin-bottom: 20px;
  width: fit-content;
}

.moderation-tab {
  background: none;
  border: none;
  color: var(--text-color);
  padding: 8px 18px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.moderation-tab.active {
  background: var(--first-color);
  color: white;
}

.moderation-tab-count {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
}

.moderation-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.moderation-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  transition: var(--transition-normal);
}

.moderation-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.moderation-card.rejected {
  border-left: 3px solid #ef4444;
}

.moderation-card.approved {
  border-left: 3px solid #10b981;
}

.moderation-card-left {
  display: flex;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.moderation-thumb {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius-sm);
  background: rgba(248, 37, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--first-color);
  font-size: 20px;
}

.moderation-card-info {
  flex: 1;
  min-width: 0;
}

.moderation-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.moderation-card-top h6 {
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  margin: 0;
}

.moderation-type-badge {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 500;
  text-transform: capitalize;
}

.moderation-type-badge.series {
  background: rgba(99, 102, 241, 0.15);
  color: #6366f1;
}

.moderation-type-badge.episode {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.moderation-priority {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  text-transform: capitalize;
  font-weight: 500;
}

.moderation-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.moderation-desc {
  font-size: 13px;
  color: var(--text-color);
  margin-bottom: 10px;
  line-height: 1.5;
}

.moderation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-color);
}

.moderation-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.moderation-meta i {
  font-size: 11px;
  opacity: 0.6;
}

.moderation-reject-reason {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.08);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.moderation-reject-reason i {
  color: #ef4444;
  margin-right: 4px;
}

.moderation-reviewed {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-color);
}

.moderation-reviewed i {
  color: #10b981;
  margin-right: 4px;
}

.moderation-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 120px;
}

.moderation-approve-btn,
.moderation-reject-btn {
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.moderation-approve-btn {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.moderation-approve-btn:hover {
  background: #10b981;
  color: white;
}

.moderation-reject-btn {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.moderation-reject-btn:hover {
  background: #ef4444;
  color: white;
}

.moderation-status-badge-wrap {
  min-width: 100px;
  display: flex;
  justify-content: flex-end;
}

.moderation-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
}

.moderation-status-badge.approved {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.moderation-status-badge.rejected {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.moderation-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-color);
}

.moderation-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.moderation-empty h5 {
  color: var(--white);
  margin-bottom: 8px;
}

/* ==========================================
   Activity Feed
   ========================================== */
.activity-section {
  padding: 0;
}

.activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.activity-header h4 {
  font: var(--h4);
  color: var(--white);
  margin-bottom: 4px;
}

.activity-subtitle {
  color: var(--text-color);
  font-size: 14px;
}

.activity-header-stats {
  display: flex;
  gap: 10px;
}

.activity-stat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 13px;
  color: var(--body-text-color);
}

.activity-controls {
  margin-bottom: 20px;
}

.activity-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  margin-bottom: 14px;
}

.activity-search i {
  color: var(--text-color);
  font-size: 14px;
}

.activity-search input {
  background: none;
  border: none;
  color: var(--white);
  padding: 10px 0;
  width: 100%;
  font-size: 14px;
  outline: none;
}

.activity-search input::placeholder {
  color: var(--text-color);
}

.activity-type-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.activity-type-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-color);
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.activity-type-btn:hover {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--body-text-color);
}

.activity-type-btn.active {
  background: rgba(248, 37, 129, 0.12);
  border-color: rgba(248, 37, 129, 0.3);
  color: var(--first-color);
}

.activity-type-btn i {
  font-size: 11px;
}

.activity-timeline {
  position: relative;
}

.activity-item {
  display: flex;
  gap: 16px;
  animation: fadeSlideIn 0.3s ease-out both;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.activity-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 20px;
  padding-top: 18px;
}

.activity-dot {
  width: 10px;
  height: 10px;
  min-height: 10px;
  border-radius: 50%;
  z-index: 1;
}

.activity-line {
  width: 2px;
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  margin-top: 4px;
}

.activity-card {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 10px;
  transition: var(--transition-normal);
}

.activity-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.activity-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.activity-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.activity-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.activity-user-info strong {
  color: var(--white);
  font-size: 14px;
  display: block;
  margin-bottom: 1px;
}

.activity-role {
  font-size: 11px;
  color: var(--text-color);
}

.activity-time {
  font-size: 12px;
  color: var(--text-color);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.activity-time i {
  font-size: 10px;
  opacity: 0.6;
}

.activity-card-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.activity-action-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.activity-card-body p {
  font-size: 13px;
  color: var(--body-text-color);
  line-height: 1.5;
  margin: 0;
}

.activity-action-word {
  font-weight: 600;
  color: var(--white);
  text-transform: capitalize;
}

.activity-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-color);
}

.activity-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.activity-empty h5 {
  color: var(--white);
  margin-bottom: 8px;
}

/* ==========================================
   Real-Time Analytics
   ========================================== */
.rta-container { padding: 0; }
.rta-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.rta-header-left h4 { color: var(--white); font-size: 1.5rem; font-weight: 700; margin: 0 0 4px; }
.rta-subtitle { color: var(--text-muted); font-size: 0.875rem; margin: 0; }
.rta-header-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rta-live-badge { display: flex; align-items: center; gap: 8px; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; color: #10b981; }
.rta-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: rtaPulse 1.5s infinite; }
@keyframes rtaPulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.6); } 50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16,185,129,0); } }
.rta-online-count { color: rgba(255,255,255,0.5); font-weight: 400; margin-left: 4px; }
.rta-time-range { display: flex; gap: 4px; background: var(--card-bg); border-radius: 8px; padding: 3px; }
.rta-range-btn { background: transparent; border: none; color: var(--text-muted); padding: 5px 12px; border-radius: 6px; font-size: 0.75rem; cursor: pointer; transition: all 0.2s; font-family: var(--font-primary); font-weight: 500; }
.rta-range-btn.active { background: var(--primary-color); color: #fff; }
.rta-range-btn:hover:not(.active) { color: var(--white); }

.rta-tabs { display: flex; gap: 4px; margin-bottom: 24px; background: var(--card-bg); border-radius: 10px; padding: 4px; overflow-x: auto; }
.rta-tab { display: flex; align-items: center; gap: 8px; background: transparent; border: none; color: var(--text-muted); padding: 10px 18px; border-radius: 8px; font-size: 0.825rem; cursor: pointer; transition: all 0.2s; font-family: var(--font-primary); font-weight: 500; white-space: nowrap; }
.rta-tab.active { background: rgba(248,37,129,0.12); color: var(--primary-color); }
.rta-tab:hover:not(.active) { color: var(--white); background: rgba(255,255,255,0.04); }
.rta-tab i { font-size: 0.8rem; }

.rta-section { display: flex; flex-direction: column; gap: 20px; }
.rta-metrics-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.rta-metrics-4col { grid-template-columns: repeat(4, 1fr); }
.rta-metric-card { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 18px; animation: rtaFadeUp 0.4s ease forwards; opacity: 0; transform: translateY(12px); transition: border-color 0.2s; }
.rta-metric-card:hover { border-color: rgba(248,37,129,0.2); }
@keyframes rtaFadeUp { to { opacity: 1; transform: translateY(0); } }
.rta-metric-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rta-metric-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.rta-metric-icon-center { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; margin: 0 auto 12px; }
.rta-metric-change { font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 10px; }
.rta-metric-change.up { color: #10b981; background: rgba(16,185,129,0.1); }
.rta-metric-change.down { color: #ef4444; background: rgba(239,68,68,0.1); }
.rta-metric-value { font-size: 1.35rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.rta-metric-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.rta-metric-desc { color: rgba(255,255,255,0.3); }

.rta-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rta-row-3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.rta-chart-card { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; }
.rta-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.rta-chart-head h6 { color: var(--white); font-size: 0.9rem; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 8px; }
.rta-chart-head h6 i { color: var(--text-muted); font-size: 0.8rem; }
.rta-chart-body { position: relative; width: 100%; }
.rta-chart-legend-inline { display: flex; gap: 14px; font-size: 0.75rem; color: var(--text-muted); }
.rta-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: middle; }

.rta-badge-sm { font-size: 0.7rem; padding: 3px 10px; border-radius: 12px; background: rgba(99,102,241,0.12); color: #6366f1; font-weight: 600; }
.rta-badge-warning { background: rgba(245,158,11,0.12); color: #f59e0b; }

.rta-chart-footer-note { margin-top: 12px; font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

/* Geo distribution */
.rta-geo-list { display: flex; flex-direction: column; gap: 10px; }
.rta-geo-item { display: flex; align-items: center; gap: 10px; font-size: 0.825rem; }
.rta-geo-flag { font-size: 1.1rem; }
.rta-geo-name { width: 100px; color: var(--white); font-weight: 500; }
.rta-geo-bar-wrap { flex: 1; height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; }
.rta-geo-bar { height: 100%; background: linear-gradient(90deg, var(--primary-color), #6366f1); border-radius: 3px; transition: width 0.6s ease; }
.rta-geo-users { width: 52px; text-align: right; color: var(--white); font-weight: 600; font-size: 0.78rem; }
.rta-geo-pct { width: 32px; text-align: right; color: var(--text-muted); font-size: 0.75rem; }

/* Funnel */
.rta-funnel { display: flex; flex-direction: column; gap: 8px; }
.rta-funnel-step { animation: rtaFadeUp 0.4s ease forwards; opacity: 0; }
.rta-funnel-bar-wrap { height: 28px; background: rgba(255,255,255,0.03); border-radius: 6px; overflow: hidden; }
.rta-funnel-bar { height: 100%; border-radius: 6px; transition: width 0.8s ease; }
.rta-funnel-info { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 0 2px; }
.rta-funnel-stage { color: var(--white); font-size: 0.8rem; font-weight: 500; }
.rta-funnel-users { color: var(--text-muted); font-size: 0.75rem; }
.rta-funnel-pct { color: var(--white); font-size: 0.8rem; font-weight: 700; }
.rta-funnel-drop { text-align: center; color: var(--text-muted); font-size: 0.7rem; padding: 4px 0; }
.rta-funnel-drop i { margin-right: 4px; color: rgba(239,68,68,0.7); }

/* Search terms */
.rta-search-list { display: flex; flex-direction: column; gap: 8px; }
.rta-search-item { display: flex; align-items: center; gap: 10px; font-size: 0.825rem; }
.rta-search-rank { width: 26px; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; }
.rta-search-term { width: 110px; color: var(--white); font-weight: 500; }
.rta-search-bar-wrap { flex: 1; height: 6px; background: rgba(255,255,255,0.04); border-radius: 3px; overflow: hidden; }
.rta-search-bar { height: 100%; background: linear-gradient(90deg, #6366f1, var(--primary-color)); border-radius: 3px; }
.rta-search-count { width: 55px; text-align: right; color: var(--text-muted); font-size: 0.75rem; }
.rta-search-trend { width: 20px; text-align: center; font-size: 0.7rem; }
.rta-search-trend.up { color: #10b981; }
.rta-search-trend.down { color: #ef4444; }
.rta-search-trend.stable { color: #f59e0b; }

/* Dropoff analysis */
.rta-dropoff-list { display: flex; flex-direction: column; gap: 14px; }
.rta-dropoff-item { }
.rta-dropoff-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.rta-dropoff-ep { color: var(--white); font-size: 0.825rem; font-weight: 500; }
.rta-dropoff-pct { font-size: 0.85rem; font-weight: 700; }
.rta-dropoff-bar-wrap { height: 6px; background: rgba(255,255,255,0.04); border-radius: 3px; overflow: hidden; margin-bottom: 4px; }
.rta-dropoff-bar { height: 100%; border-radius: 3px; transition: width 0.6s ease; }
.rta-dropoff-reason { font-size: 0.72rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.rta-dropoff-reason i { color: #f59e0b; }

/* Conversion funnel */
.rta-conversion-funnel { display: flex; flex-direction: column; gap: 12px; }
.rta-conv-step { }
.rta-conv-bar-outer { height: 32px; background: rgba(255,255,255,0.03); border-radius: 8px; overflow: hidden; }
.rta-conv-bar-inner { height: 100%; border-radius: 8px; animation: rtaGrow 0.8s ease forwards; transform-origin: left; }
@keyframes rtaGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rta-conv-label { display: flex; justify-content: space-between; margin-top: 4px; font-size: 0.8rem; }
.rta-conv-label strong { color: var(--white); }
.rta-conv-label span { color: var(--text-muted); }
.rta-conv-arrow { text-align: center; font-size: 0.7rem; color: var(--text-muted); padding: 4px 0; }

/* Crash table */
.rta-crash-table-wrap { overflow-x: auto; }
.rta-crash-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.rta-crash-table thead th { color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.5px; padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); white-space: nowrap; }
.rta-crash-table tbody td { padding: 12px 12px; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.03); vertical-align: middle; }
.rta-crash-id { background: rgba(99,102,241,0.1); color: #6366f1; padding: 2px 8px; border-radius: 4px; font-size: 0.72rem; }
.rta-crash-title { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rta-endpoint { background: rgba(255,255,255,0.06); color: #10b981; padding: 3px 8px; border-radius: 4px; font-size: 0.72rem; }
.rta-platform-badge { padding: 3px 10px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; }
.rta-platform-badge.android { background: rgba(16,185,129,0.12); color: #10b981; }
.rta-platform-badge.ios { background: rgba(99,102,241,0.12); color: #6366f1; }
.rta-platform-badge.web { background: rgba(245,158,11,0.12); color: #f59e0b; }
.rta-severity { padding: 3px 10px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; text-transform: capitalize; }
.rta-severity.critical { background: rgba(239,68,68,0.15); color: #ef4444; }
.rta-severity.high { background: rgba(245,158,11,0.15); color: #f59e0b; }
.rta-severity.medium { background: rgba(99,102,241,0.15); color: #6366f1; }
.rta-severity.low { background: rgba(16,185,129,0.15); color: #10b981; }
.rta-cr-status { padding: 3px 10px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; text-transform: capitalize; }
.rta-cr-status.investigating { background: rgba(245,158,11,0.12); color: #f59e0b; }
.rta-cr-status.fixing { background: rgba(248,37,129,0.12); color: #f82581; }
.rta-cr-status.monitoring { background: rgba(99,102,241,0.12); color: #6366f1; }
.rta-cr-status.resolved { background: rgba(16,185,129,0.12); color: #10b981; }

/* Heatmap */
.rta-heatmap { overflow-x: auto; }
.rta-heatmap-header { display: flex; align-items: center; padding-left: 50px; margin-bottom: 4px; }
.rta-heatmap-hour { width: 28px; text-align: center; font-size: 0.65rem; color: var(--text-muted); }
.rta-heatmap-row { display: flex; align-items: center; gap: 0; margin-bottom: 3px; }
.rta-heatmap-day { width: 46px; font-size: 0.75rem; color: var(--text-muted); font-weight: 500; flex-shrink: 0; }
.rta-heatmap-cell { width: 28px; height: 22px; border-radius: 3px; margin: 0 1px; transition: transform 0.15s; cursor: pointer; }
.rta-heatmap-cell:hover { transform: scale(1.3); z-index: 2; }
.rta-heatmap-legend { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--text-muted); }
.rta-heatmap-gradient { width: 80px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(99,102,241,0.2), rgba(248,37,129,0.85)); }

/* Effectiveness list */
.rta-effectiveness-list { display: flex; flex-direction: column; gap: 14px; }
.rta-eff-item { }
.rta-eff-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.rta-eff-source { color: var(--white); font-size: 0.825rem; font-weight: 500; }
.rta-eff-ctr { color: #6366f1; font-size: 0.78rem; font-weight: 600; }
.rta-eff-bar-wrap { height: 6px; background: rgba(255,255,255,0.04); border-radius: 3px; overflow: hidden; margin-bottom: 4px; }
.rta-eff-bar { height: 100%; background: linear-gradient(90deg, #6366f1, var(--primary-color)); border-radius: 3px; transition: width 0.6s ease; }
.rta-eff-footer { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--text-muted); }
.rta-eff-score { color: #10b981; font-weight: 600; }

/* Share & plan labels */
.rta-doughnut-wrap { display: flex; align-items: center; justify-content: center; }
.rta-share-labels, .rta-plan-labels { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; font-size: 0.72rem; color: var(--text-muted); }

/* ============================================= */
/* Video Pipeline & CDN Monitor (vp-* prefix) */
/* ============================================= */
.vp-container { display: flex; flex-direction: column; gap: 24px; padding: 20px; }

.vp-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.vp-header-left h4 { color: var(--white); font-size: 1.5rem; font-weight: 700; margin: 0 0 4px; }
.vp-subtitle { color: var(--text-muted); font-size: 0.875rem; margin: 0; }
.vp-header-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.vp-time-range { display: flex; gap: 4px; background: var(--card-bg); border-radius: 8px; padding: 3px; }
.vp-range-btn { background: transparent; border: none; color: var(--text-muted); padding: 5px 12px; border-radius: 6px; font-size: 0.75rem; cursor: pointer; transition: all 0.2s; font-family: var(--font-primary); font-weight: 500; }
.vp-range-btn.active { background: var(--primary-color); color: #fff; }
.vp-range-btn:hover:not(.active) { color: var(--white); }

.vp-metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vp-metric-card { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 18px; animation: vpFadeUp 0.4s ease forwards; opacity: 0; transform: translateY(12px); transition: border-color 0.2s; }
.vp-metric-card:hover { border-color: rgba(248,37,129,0.2); }
@keyframes vpFadeUp { to { opacity: 1; transform: translateY(0); } }
.vp-metric-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.vp-metric-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.vp-metric-change { font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 10px; }
.vp-metric-change.up { color: #10b981; background: rgba(16,185,129,0.1); }
.vp-metric-change.down { color: #ef4444; background: rgba(239,68,68,0.1); }
.vp-metric-value { font-size: 1.35rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.vp-metric-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

.vp-chart-card { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; }
.vp-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.vp-chart-head h6 { color: var(--white); font-size: 0.9rem; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 8px; }
.vp-chart-head h6 i { color: var(--text-muted); font-size: 0.8rem; }
.vp-chart-body { position: relative; width: 100%; }
.vp-chart-legend-inline { display: flex; gap: 14px; font-size: 0.75rem; color: var(--text-muted); }
.vp-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: middle; }
.vp-badge-sm { font-size: 0.7rem; padding: 3px 10px; border-radius: 12px; background: rgba(99,102,241,0.12); color: #6366f1; font-weight: 600; }

/* Tables */
.vp-table-wrap { overflow-x: auto; }
.vp-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.vp-table thead th { color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.5px; padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); white-space: nowrap; }
.vp-table tbody td { padding: 12px 12px; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.03); vertical-align: middle; }

.vp-job-id { background: rgba(99,102,241,0.1); color: #6366f1; padding: 2px 8px; border-radius: 4px; font-size: 0.72rem; }
.vp-series-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-resolution-badge { background: rgba(248,37,129,0.12); color: #f82581; padding: 3px 10px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; }

.vp-progress-wrap { display: flex; align-items: center; gap: 8px; }
.vp-progress-bar { height: 6px; background: linear-gradient(90deg, #6366f1, var(--primary-color)); border-radius: 3px; min-width: 60px; }
.vp-progress-text { color: var(--text-muted); font-size: 0.72rem; min-width: 28px; }

.vp-status-badge { padding: 3px 10px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; text-transform: capitalize; }
.vp-status-badge.queued { background: rgba(99,102,241,0.12); color: #6366f1; }
.vp-status-badge.processing { background: rgba(248,37,129,0.12); color: #f82581; }
.vp-status-badge.complete { background: rgba(16,185,129,0.12); color: #10b981; }
.vp-status-badge.failed { background: rgba(239,68,68,0.12); color: #ef4444; }

.vp-eta { color: var(--text-muted); font-size: 0.78rem; font-weight: 500; }

.vp-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.vp-region-name { font-weight: 500; color: var(--white); }
.vp-hit-rate { color: #10b981; font-weight: 600; }
.vp-region-status { padding: 3px 10px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; text-transform: capitalize; }
.vp-region-status.healthy { background: rgba(16,185,129,0.12); color: #10b981; }
.vp-region-status.warning { background: rgba(245,158,11,0.12); color: #f59e0b; }

/* Doughnut & Protocol Labels */
.vp-doughnut-wrap { display: flex; align-items: center; justify-content: center; }
.vp-protocol-labels { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; font-size: 0.72rem; color: var(--text-muted); }

/* DRM & Security */
.vp-drm-list { display: flex; flex-direction: column; gap: 12px; }
.vp-drm-item { }
.vp-drm-header { display: flex; align-items: center; gap: 12px; padding: 12px; background: rgba(255,255,255,0.02); border-radius: 10px; }
.vp-drm-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; }
.vp-drm-info { flex: 1; }
.vp-drm-label { display: block; color: var(--white); font-size: 0.825rem; font-weight: 600; margin-bottom: 2px; }
.vp-drm-version { display: block; color: var(--text-muted); font-size: 0.72rem; }
.vp-drm-status { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.vp-drm-status-badge { padding: 3px 10px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; text-transform: capitalize; }
.vp-drm-success { color: var(--text-muted); font-size: 0.72rem; font-weight: 600; }

/* ============================================= */
/* System Health Dashboard Styles (sh-* prefix) */
/* ============================================= */

.sh-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
}

.sh-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.sh-header-left h4 {
  font: var(--h4);
  color: var(--white);
  margin-bottom: 6px;
}

.sh-subtitle {
  font: var(--common-text);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.sh-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sh-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  color: #10b981;
  font-size: 13px;
  font-weight: 500;
}

.sh-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: sh-pulse 2s infinite;
}

@keyframes sh-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

.sh-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 12px;
}

.sh-metric-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  animation: sh-slideUp 0.5s ease-out forwards;
  opacity: 0;
}

@keyframes sh-slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sh-metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sh-metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.sh-metric-live {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #f82581;
  font-weight: 600;
  animation: sh-blink 1.5s infinite;
}

@keyframes sh-blink {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0.6;
  }
}

.sh-metric-value {
  font: var(--h5);
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 600;
}

.sh-metric-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.sh-row-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

.sh-chart-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  animation: sh-slideUp 0.5s ease-out forwards;
  opacity: 0;
}

.sh-chart-card:nth-child(2) {
  animation-delay: 0.12s;
}

.sh-chart-card:nth-child(3) {
  animation-delay: 0.24s;
}

.sh-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.sh-chart-head h6 {
  font: var(--h6);
  color: var(--white);
  margin: 0;
}

.sh-badge-sm {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  font-size: 12px;
  color: #6366f1;
  font-weight: 500;
}

.sh-chart-legend-inline {
  display: flex;
  gap: 12px;
}

.sh-chart-legend-inline span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.sh-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.sh-chart-body {
  position: relative;
}

.sh-table-wrap {
  overflow-x: auto;
}

.sh-status-table,
.sh-resource-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sh-status-table thead,
.sh-resource-table thead {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sh-status-table th,
.sh-resource-table th {
  padding: 12px;
  text-align: left;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.sh-table-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.2s;
}

.sh-table-row:hover {
  background: rgba(248, 37, 129, 0.03);
}

.sh-status-table td,
.sh-resource-table td {
  padding: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.sh-table-instance,
.sh-table-hostname {
  font-weight: 500;
  color: var(--white);
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 12px;
}

.sh-table-role {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 6px;
  font-size: 12px;
  color: #6366f1;
  font-weight: 500;
}

.sh-status-badge-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.sh-status-badge-small.healthy {
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
}

.sh-status-badge-small.warning {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
}

.sh-status-badge-small.critical {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

.sh-table-connections,
.sh-table-size,
.sh-table-lag,
.sh-table-network {
  text-align: right;
}

.sh-metric-bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.sh-metric-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  min-width: 60px;
}

.sh-metric-bar-wrap span {
  min-width: 35px;
  text-align: right;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.sh-table-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.sh-scaling-cards {
  margin-top: 20px;
}

.sh-scaling-header {
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.sh-scaling-header h6 {
  font: var(--h6);
  color: var(--white);
  margin: 0;
}

.sh-scaling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.sh-scaling-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  animation: sh-slideUp 0.5s ease-out forwards;
  opacity: 0;
  text-align: center;
}

.sh-scaling-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.sh-scaling-name {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.sh-scaling-current {
  font: var(--h5);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 12px;
}

.sh-scaling-range {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.sh-scaling-min,
.sh-scaling-max {
  font-weight: 600;
}

.sh-scaling-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.sh-scaling-fill {
  height: 100%;
  background: linear-gradient(90deg, #f82581, #6366f1);
  transition: width 0.3s ease;
}


/* ============================================= */
/* Revenue & Monetization Styles (rm-* prefix) */
/* ============================================= */

.rm-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
}

.rm-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.rm-header-left h4 {
  font: var(--h4);
  color: var(--white);
  margin-bottom: 6px;
}

.rm-subtitle {
  font: var(--common-text);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.rm-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rm-time-range {
  display: flex;
  gap: 8px;
}

.rm-range-btn {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rm-range-btn:hover {
  background: rgba(248, 37, 129, 0.1);
  border-color: rgba(248, 37, 129, 0.3);
  color: #f82581;
}

.rm-range-btn.active {
  background: rgba(248, 37, 129, 0.2);
  border-color: #f82581;
  color: #f82581;
}

.rm-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 12px;
}

.rm-metric-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  animation: rm-slideUp 0.5s ease-out forwards;
  opacity: 0;
}

@keyframes rm-slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rm-metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.rm-metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.rm-metric-change {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}

.rm-metric-change.up {
  color: #10b981;
}

.rm-metric-change.down {
  color: #ef4444;
}

.rm-metric-value {
  font: var(--h5);
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 600;
}

.rm-metric-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.rm-chart-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  animation: rm-slideUp 0.5s ease-out forwards;
  opacity: 0;
  margin-bottom: 12px;
}

.rm-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.rm-chart-head h6 {
  font: var(--h6);
  color: var(--white);
  margin: 0;
}

.rm-badge-sm {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  font-size: 12px;
  color: #6366f1;
  font-weight: 500;
}

.rm-chart-legend-inline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rm-chart-legend-inline span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.rm-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.rm-chart-body {
  position: relative;
}

.rm-table-wrap {
  overflow-x: auto;
}

.rm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.rm-table thead {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rm-table th {
  padding: 12px 16px;
  text-align: left;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
}

.rm-table td {
  padding: 14px 16px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rm-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.rm-code {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #6366f1;
}

.rm-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.rm-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.rm-time {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.rm-section {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  animation: rm-slideUp 0.5s ease-out forwards;
  opacity: 0;
  margin-bottom: 12px;
}

.rm-section-title {
  font: var(--h6);
  color: var(--white);
  margin: 0 0 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.rm-flow-container {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 12px 0;
}

.rm-flow-card {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  min-width: 140px;
  animation: rm-slideUp 0.5s ease-out forwards;
  opacity: 0;
}

.rm-flow-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px auto;
}

.rm-flow-value {
  font: var(--h6);
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 600;
}

.rm-flow-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}

.rm-flow-subtext {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}

.rm-flow-arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 16px;
  display: flex;
  align-items: center;
}

.rm-sync-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.rm-sync-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  animation: rm-slideUp 0.5s ease-out forwards;
  opacity: 0;
}

.rm-sync-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.rm-sync-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.rm-sync-change {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
}

.rm-sync-change.up {
  color: #10b981;
}

.rm-sync-change.down {
  color: #ef4444;
}

.rm-sync-value {
  font: var(--h6);
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 600;
}

.rm-sync-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.rm-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.rm-alert-count {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-weight: 600;
}

.rm-leakage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.rm-leakage-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid;
  border-radius: 10px;
  padding: 16px;
  animation: rm-slideUp 0.5s ease-out forwards;
  opacity: 0;
}

.rm-leakage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.rm-leakage-icon {
  font-size: 20px;
}

.rm-leakage-severity {
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  color: rgba(255, 255, 255, 0.5);
}

.rm-leakage-value {
  font: var(--h6);
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 600;
}

.rm-leakage-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}


/* ============================================= */
/* Security & Compliance Styles (sc-* prefix)   */
/* ============================================= */

.sc-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
}

.sc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.sc-header-left h4 {
  font: var(--h4);
  color: var(--white);
  margin-bottom: 6px;
}

.sc-subtitle {
  font: var(--common-text);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.sc-security-badge {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  min-width: 200px;
}

.sc-badge-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sc-badge-value {
  display: block;
  font: var(--h5);
  color: #10b981;
  font-weight: 700;
}

.sc-badge-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.sc-badge-fill {
  height: 100%;
  background: #10b981;
  transition: width 0.6s ease;
}

.sc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.sc-kpi-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  animation: sc-slideUp 0.5s ease-out forwards;
  opacity: 0;
}

@keyframes sc-slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sc-kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}

.sc-kpi-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sc-kpi-value {
  font: var(--h5);
  color: var(--white);
  font-weight: 600;
}

.sc-kpi-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.sc-kpi-unit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.sc-chart-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  animation: sc-slideUp 0.5s ease-out forwards;
  opacity: 0;
  margin-bottom: 0;
}

.sc-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.sc-chart-head h6 {
  font: var(--h6);
  color: var(--white);
  margin: 0;
}

.sc-badge-sm {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  font-size: 12px;
  color: #6366f1;
  font-weight: 500;
}

.sc-chart-legend-inline {
  display: flex;
  gap: 12px;
}

.sc-chart-legend-inline span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.sc-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.sc-chart-body {
  position: relative;
}

.sc-table-wrapper {
  overflow-x: auto;
}

.sc-threat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sc-threat-table thead {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sc-threat-table th {
  padding: 12px;
  text-align: left;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.sc-threat-table td {
  padding: 14px 12px;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.sc-threat-table tr:hover {
  background: rgba(248, 37, 129, 0.03);
}

.sc-threat-id {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 6px;
  font-size: 11px;
  color: #6366f1;
  font-weight: 600;
  font-family: 'Monaco', 'Courier New', monospace;
}

.sc-threat-type {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.sc-ip-badge {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Monaco', 'Courier New', monospace;
}

.sc-severity-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
  min-width: 70px;
  text-align: center;
}

.sc-action-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
  min-width: 90px;
  text-align: center;
}

.sc-timestamp {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.sc-auth-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.sc-auth-metric {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  animation: sc-slideUp 0.5s ease-out forwards;
  opacity: 0;
}

.sc-auth-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.sc-auth-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sc-auth-value {
  font: var(--h6);
  color: var(--white);
  font-weight: 600;
}

.sc-auth-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}

.sc-bucket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.sc-bucket-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 16px;
  animation: sc-slideUp 0.5s ease-out forwards;
  opacity: 0;
}

.sc-bucket-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 8px;
}

.sc-bucket-name {
  font: var(--h6);
  color: var(--white);
  margin: 0;
  flex: 1;
}

.sc-bucket-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.sc-bucket-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-bucket-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.sc-bucket-label {
  color: rgba(255, 255, 255, 0.5);
}

.sc-bucket-value {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.sc-compliance-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.sc-compliance-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-compliance-title {
  font: var(--h6);
  color: var(--white);
  margin: 0 0 8px 0;
}

.sc-compliance-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-compliance-item {
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.sc-compliance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.sc-compliance-name {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
}

.sc-compliance-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.sc-policies-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-policy-item {
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc-policy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sc-policy-name {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
}

.sc-policy-detail {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sc-container {
    padding: 16px;
    gap: 16px;
  }

  .sc-header {
    flex-direction: column;
    gap: 12px;
  }

  .sc-security-badge {
    width: 100%;
  }

  .sc-kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }

  .sc-kpi-card {
    padding: 16px;
  }

  .sc-auth-metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }

  .sc-bucket-grid {
    grid-template-columns: 1fr;
  }

  .sc-compliance-wrapper {
    grid-template-columns: 1fr;
  }

  .sc-threat-table {
    font-size: 11px;
  }

  .sc-threat-table th,
  .sc-threat-table td {
    padding: 8px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .rm-container {
    padding: 16px;
    gap: 16px;
  }

  .rm-header {
    flex-direction: column;
    gap: 12px;
  }

  .rm-metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }

  .rm-metric-card {
    padding: 16px;
  }

  .rm-flow-container {
    flex-direction: column;
  }

  .rm-flow-arrow {
    transform: rotate(90deg);
  }

  .rm-time-range {
    flex-wrap: wrap;
  }

  .rm-table {
    font-size: 11px;
  }

  .rm-table th,
  .rm-table td {
    padding: 10px 12px;
  }
}


/* Infrastructure Cost Styles */
.ic-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
}

.ic-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.ic-header-left h4 {
  font: var(--h4);
  color: var(--white);
  margin-bottom: 6px;
}

.ic-subtitle {
  font: var(--common-text);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.ic-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
  margin-bottom: 12px;
}

.ic-tab {
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.ic-tab:hover {
  color: rgba(255, 255, 255, 0.8);
}

.ic-tab.active {
  color: #f82581;
  border-bottom-color: #f82581;
}

.ic-tab i {
  margin-right: 6px;
}

.ic-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ic-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.ic-metrics-4col {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.ic-metric-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  animation: ic-slideUp 0.5s ease-out forwards;
  opacity: 0;
}

@keyframes ic-slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ic-metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ic-metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ic-metric-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.ic-metric-change.up {
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
}

.ic-metric-change.down {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

.ic-metric-value {
  font: var(--h5);
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 600;
}

.ic-metric-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.ic-row-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

.ic-chart-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  animation: ic-slideUp 0.5s ease-out forwards;
  opacity: 0;
}

.ic-chart-card:nth-child(2) {
  animation-delay: 0.12s;
}

.ic-chart-card:nth-child(3) {
  animation-delay: 0.24s;
}

.ic-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.ic-chart-head h6 {
  font: var(--h6);
  color: var(--white);
  margin: 0;
}

.ic-badge-sm {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  font-size: 12px;
  color: #6366f1;
  font-weight: 500;
}

.ic-chart-legend-inline {
  display: flex;
  gap: 12px;
}

.ic-chart-legend-inline span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.ic-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.ic-chart-body {
  position: relative;
}

.ic-doughnut-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ic-breakdown-labels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ic-breakdown-labels span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.ic-chart-footer-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ic-table-card {
  overflow-x: auto;
}

.ic-table-wrap {
  overflow-x: auto;
}

.ic-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.ic-data-table thead {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ic-data-table th {
  padding: 12px;
  text-align: left;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  white-space: nowrap;
}

.ic-data-table td {
  padding: 12px;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ic-region {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.ic-cost {
  color: #f82581;
  font-weight: 600;
}

.ic-efficiency {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 6px;
  color: #10b981;
  font-weight: 600;
}

.ic-month {
  color: rgba(255, 255, 255, 0.8);
}

.ic-total {
  color: #f82581;
}

.ic-comparison-table .ic-change {
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.ic-comparison-table .ic-change.increase {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
}

.ic-comparison-table .ic-change.stable {
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
}

.ic-backup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.ic-backup-item {
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ic-backup-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ic-backup-top i {
  font-size: 18px;
}

.ic-backup-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.ic-backup-value {
  font: var(--h6);
  color: var(--white);
  font-weight: 600;
}

.ic-dr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.ic-dr-item {
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.ic-dr-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.ic-dr-value {
  font: var(--h6);
  font-weight: 600;
  margin-bottom: 4px;
}

.ic-dr-substatus {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.ic-dr-summary {
  padding: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  margin-top: 12px;
}

.ic-dr-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #10b981;
  font-size: 12px;
}

.ic-dr-check i {
  font-size: 16px;
}

@media (max-width: 768px) {
  .ic-container {
    padding: 16px;
    gap: 16px;
  }

  .ic-metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
  }

  .ic-row-2col {
    grid-template-columns: 1fr;
  }

  .ic-metric-card {
    padding: 16px;
  }

  .ic-data-table {
    font-size: 11px;
  }

  .ic-data-table th,
  .ic-data-table td {
    padding: 10px;
  }

  .ic-backup-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .ic-dr-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}


/* CODEBASE & DEVOPS STYLES */
.cd-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
}

.cd-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.cd-header-left h4 {
  font: var(--h4);
  color: var(--white);
  margin-bottom: 6px;
}

.cd-subtitle {
  font: var(--common-text);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.cd-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
  margin-bottom: 12px;
}

.cd-tab {
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cd-tab:hover {
  color: rgba(255, 255, 255, 0.8);
}

.cd-tab.active {
  color: #f82581;
  border-bottom-color: #f82581;
}

.cd-tab i {
  margin-right: 6px;
}

.cd-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cd-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.cd-metric-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.cd-metric-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.cd-metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.cd-metric-change {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cd-metric-change.up {
  color: #10b981;
}

.cd-metric-change.down {
  color: #ef4444;
}

.cd-metric-value {
  font: var(--h5);
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 600;
}

.cd-metric-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.cd-row-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.cd-chart-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
}

.cd-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.cd-chart-head h6 {
  font: var(--h6);
  color: var(--white);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cd-chart-head i {
  font-size: 14px;
}

.cd-badge-sm {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cd-chart-body {
  position: relative;
}

.cd-doughnut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-coverage-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  font-size: 12px;
}

.cd-coverage-labels span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
}

.cd-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.cd-module-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cd-module-item {
  display: grid;
  grid-template-columns: 100px 1fr 50px;
  gap: 12px;
  align-items: center;
}

.cd-module-name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.cd-module-bar-wrap {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.cd-module-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.cd-module-pct {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  text-align: right;
}

.cd-table-wrap {
  overflow-x: auto;
}

.cd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.cd-table thead {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cd-table th {
  padding: 12px 8px;
  text-align: left;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cd-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.2s;
}

.cd-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cd-table td {
  padding: 12px 8px;
  color: rgba(255, 255, 255, 0.7);
}

.cd-table code {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
}

.cd-sdk-name {
  color: var(--white);
  font-weight: 500;
}

.cd-branch {
  background: rgba(99, 102, 241, 0.2);
  color: #6366f1;
  padding: 2px 6px !important;
  border-radius: 4px;
}

.cd-license {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.cd-vuln {
  font-weight: 600;
  color: #10b981;
  padding: 2px 6px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 4px;
}

.cd-vuln.has-vulns {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.cd-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid;
  white-space: nowrap;
}

.cd-status-current {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.cd-status-update-available {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
}

.cd-status-security-alert {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.cd-status-success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.cd-status-failed {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.cd-status-running {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.cd-id {
  color: var(--white);
  font-weight: 500;
  font-size: 11px;
}

.cd-message {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-deployer {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.cd-time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.cd-debt-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cd-debt-item {
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.2s;
}

.cd-debt-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.cd-debt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.cd-debt-header h6 {
  font-size: 13px;
  color: var(--white);
  margin: 0;
  font-weight: 500;
}

.cd-debt-info {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
}

.cd-category {
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
}

.cd-effort {
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
}

.cd-status {
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.cd-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.cd-knowledge-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.cd-knowledge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.cd-knowledge-content {
  width: 100%;
}

.cd-knowledge-value {
  font: var(--h6);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.cd-knowledge-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cd-knowledge-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}

.cd-knowledge-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .cd-container {
    padding: 16px;
    gap: 16px;
  }

  .cd-metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
  }

  .cd-row-2col {
    grid-template-columns: 1fr;
  }

  .cd-metric-card {
    padding: 16px;
  }

  .cd-table {
    font-size: 11px;
  }

  .cd-table th,
  .cd-table td {
    padding: 10px;
  }

  .cd-module-item {
    grid-template-columns: 80px 1fr 40px;
  }

  .cd-knowledge-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

/* ==========================================
   Player Analytics Styles (pa-* prefix)
   ========================================== */
.pa-container { padding: 0; }
.pa-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.pa-header-left h4 { color: var(--white); font-size: 1.5rem; font-weight: 700; margin: 0 0 4px; }
.pa-subtitle { color: var(--text-muted); font-size: 0.875rem; margin: 0; }
.pa-header-right { display: flex; align-items: center; gap: 12px; }
.pa-section { display: flex; flex-direction: column; gap: 20px; }
.pa-metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pa-metric-card { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 18px; animation: rtaFadeUp 0.4s ease forwards; opacity: 0; transform: translateY(12px); }
.pa-metric-card:hover { border-color: rgba(248,37,129,0.2); }
.pa-metric-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pa-metric-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.pa-metric-value { font-size: 1.35rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.pa-metric-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.pa-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pa-chart-card { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; }
.pa-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pa-chart-head h6 { color: var(--white); font-size: 0.9rem; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 8px; }
.pa-chart-head h6 i { color: var(--text-muted); font-size: 0.8rem; }
.pa-chart-body { position: relative; width: 100%; }
.pa-chart-legend-inline { display: flex; gap: 14px; font-size: 0.75rem; color: var(--text-muted); }
.pa-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: middle; }
.pa-badge-sm { font-size: 0.7rem; padding: 3px 10px; border-radius: 12px; background: rgba(99,102,241,0.12); color: #6366f1; font-weight: 600; }
.pa-badge { padding: 3px 10px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; text-transform: capitalize; }
.pa-badge-blue { background: rgba(99,102,241,0.12); color: #6366f1; }
.pa-doughnut-wrap { display: flex; align-items: center; justify-content: center; }
.pa-platform-wrap { display: flex; flex-direction: column; gap: 12px; }
.pa-platform-legend { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; font-size: 0.72rem; color: var(--text-muted); }
.pa-platform-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(255,255,255,0.02); border-radius: 8px; }
.pa-platform-info { font-size: 0.78rem; color: var(--text-muted); }
.pa-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.pa-table thead th { color: var(--text-muted); font-weight: 600; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.5px; padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); white-space: nowrap; }
.pa-table tbody td { padding: 12px; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.03); vertical-align: middle; }
.pa-table-wrap { overflow-x: auto; }


/* ==========================================
   Responsive overrides for new components
   ========================================== */
@media screen and (max-width: 991px) {
  .rbac-layout {
    grid-template-columns: 1fr;
  }
  .analytics-charts-row {
    grid-template-columns: 1fr;
  }
  .analytics-kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .moderation-card {
    flex-direction: column;
  }
  .moderation-actions {
    flex-direction: row;
    min-width: auto;
  }
  .moderation-status-badge-wrap {
    justify-content: flex-start;
  }
  .rta-metrics-grid { grid-template-columns: repeat(3, 1fr); }
  .rta-metrics-4col { grid-template-columns: repeat(2, 1fr); }
  .rta-row-2col, .rta-row-3col { grid-template-columns: 1fr; }
  .vp-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .vp-row-2col { grid-template-columns: 1fr; }
  .sh-row-2col { grid-template-columns: 1fr; }
  .sh-scaling-grid { grid-template-columns: repeat(2, 1fr); }
  .pa-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .pa-row-2col { grid-template-columns: 1fr; }
  .rm-metrics-grid { grid-template-columns: repeat(3, 1fr); }
  .rm-row-2col { grid-template-columns: 1fr; }
  .sc-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-row-2col { grid-template-columns: 1fr; }
  .ic-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .ic-row-2col, .ic-row-3col { grid-template-columns: 1fr; }
  .cd-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-row-2col { grid-template-columns: 1fr; }
}

@media screen and (max-width: 575px) {
  .analytics-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .analytics-coin-stats {
    grid-template-columns: 1fr 1fr;
  }
  .admin-users-filters {
    flex-direction: column;
  }
  .admin-search-box {
    min-width: 100%;
  }
  .activity-header-stats {
    flex-wrap: wrap;
  }
  .activity-type-filters {
    gap: 4px;
  }
  .moderation-stats-row {
    gap: 12px;
  }
  .rbac-header,
  .analytics-header,
  .moderation-header,
  .activity-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-users-table-wrap {
    overflow-x: auto;
  }
  .rta-metrics-grid { grid-template-columns: 1fr 1fr; }
  .rta-metrics-4col { grid-template-columns: 1fr 1fr; }
  .rta-header { flex-direction: column; }
  .rta-tabs { gap: 2px; }
  .rta-tab { padding: 8px 12px; font-size: 0.75rem; }
  .vp-metrics-grid { grid-template-columns: 1fr 1fr; }
  .vp-header { flex-direction: column; gap: 12px; }
  .vp-table { font-size: 0.75rem; }
  .vp-table tbody td, .vp-table thead th { padding: 8px; }
  .sh-header { flex-direction: column; }
  .sh-metrics-grid { grid-template-columns: 1fr 1fr; }
  .pa-header { flex-direction: column; }
  .pa-metrics-grid { grid-template-columns: 1fr 1fr; }
  .rm-metrics-grid { grid-template-columns: 1fr 1fr; }
  .sc-header { flex-direction: column; }
  .ic-header { flex-direction: column; }
  .cd-header { flex-direction: column; }
}

/* ============================================= */
/* !!!!     SEND NOTIFICATION (sn-) CSS     !!!! */
/* ============================================= */
.sn-container {
  padding: 0;
}

.sn-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sn-header h4 {
  font: var(--h4);
  color: var(--white);
  margin-bottom: 4px;
}

.sn-subtitle {
  color: var(--text-color);
  font-size: 13px;
  margin-top: 2px;
}

.sn-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-color);
  margin-bottom: 28px;
}

.sn-breadcrumb i {
  font-size: 9px;
  opacity: 0.5;
}

.sn-breadcrumb-active {
  color: var(--first-color);
}

.sn-btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--body-text-color);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.sn-btn-outline:hover {
  border-color: var(--first-color);
  color: var(--first-color);
  background: rgba(var(--first-color-rgb), 0.05);
}

.sn-section-label {
  font: var(--h6);
  color: var(--white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sn-section-label i {
  color: var(--first-color);
  font-size: 14px;
}

.sn-templates-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.sn-template-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.sn-template-card:hover {
  border-color: rgba(var(--first-color-rgb), 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.sn-template-active {
  border-color: var(--first-color) !important;
  background: rgba(var(--first-color-rgb), 0.06);
  box-shadow: 0 0 20px rgba(var(--first-color-rgb), 0.12);
}

.sn-template-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 18px;
}

.sn-template-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--body-text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sn-template-check {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--first-color);
  font-size: 14px;
}

.sn-main-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  margin-bottom: 32px;
}

.sn-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}

.sn-card-title {
  font: var(--h6);
  color: var(--white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.sn-card-title i {
  color: var(--first-color);
  font-size: 14px;
}

.sn-form-group {
  margin-bottom: 18px;
}

.sn-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--body-text-color);
  margin-bottom: 8px;
}

.sn-input,
.sn-textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition-fast);
}

.sn-input:focus,
.sn-textarea:focus {
  outline: none;
  border-color: rgba(var(--first-color-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--first-color-rgb), 0.1);
}

.sn-textarea {
  resize: vertical;
  min-height: 80px;
}

.sn-char-count {
  text-align: right;
  font-size: 11px;
  color: var(--text-color);
  margin-top: 4px;
}

.sn-audience-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.sn-audience-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.sn-audience-card:hover {
  border-color: rgba(var(--first-color-rgb), 0.3);
  background: rgba(var(--first-color-rgb), 0.03);
}

.sn-audience-active {
  border-color: var(--first-color) !important;
  background: rgba(var(--first-color-rgb), 0.06) !important;
}

.sn-audience-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(var(--first-color-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--first-color);
  font-size: 14px;
  flex-shrink: 0;
}

.sn-audience-info {
  flex: 1;
  min-width: 0;
}

.sn-audience-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.sn-audience-desc {
  font-size: 11px;
  color: var(--text-color);
  margin-top: 1px;
}

.sn-audience-check {
  color: var(--first-color);
  font-size: 13px;
}

.sn-reach-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(var(--first-color-rgb), 0.06);
  border: 1px solid rgba(var(--first-color-rgb), 0.15);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--body-text-color);
}

.sn-reach-box i {
  color: var(--first-color);
}

.sn-reach-box strong {
  color: var(--white);
  margin-left: auto;
}

.sn-schedule-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.sn-toggle-btn {
  flex: 1;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-color);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.sn-toggle-btn:hover {
  border-color: rgba(var(--first-color-rgb), 0.3);
}

.sn-toggle-active {
  background: rgba(var(--first-color-rgb), 0.1) !important;
  border-color: var(--first-color) !important;
  color: var(--first-color) !important;
}

.sn-schedule-fields {
  animation: snFadeIn 0.25s ease;
}

.sn-schedule-row {
  display: flex;
  gap: 12px;
}

.sn-half {
  flex: 1;
}

.sn-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.sn-btn-primary {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--first-color), #d91e6a);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-normal);
  box-shadow: 0 2px 10px rgba(var(--first-color-rgb), 0.3);
}

.sn-btn-primary:hover:not(:disabled) {
  box-shadow: 0 4px 20px rgba(var(--first-color-rgb), 0.4);
  transform: translateY(-1px);
}

.sn-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sn-btn-secondary {
  padding: 12px 20px;
  background: var(--card-bg);
  color: var(--body-text-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.sn-btn-secondary:hover {
  border-color: var(--first-color);
  color: var(--white);
}

.sn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: snSpin 0.6s linear infinite;
}

@keyframes snSpin {
  to { transform: rotate(360deg); }
}

@keyframes snFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sn-preview-card {
  position: sticky;
  top: 20px;
}

.sn-phone-mockup {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}

.sn-phone-frame {
  width: 260px;
  height: 520px;
  background: #1a1a2e;
  border-radius: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.sn-phone-notch {
  width: 120px;
  height: 28px;
  background: #0a0a12;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.sn-phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  margin-top: -18px;
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
}

.sn-phone-status-icons {
  display: flex;
  gap: 5px;
  font-size: 10px;
}

.sn-phone-content {
  padding: 20px 12px;
}

.sn-phone-notification {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 16px;
  animation: snSlideDown 0.3s ease;
}

@keyframes snSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.sn-notif-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.sn-notif-app-icon {
  width: 22px;
  height: 22px;
  background: var(--first-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--white);
}

.sn-notif-app-info {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.sn-notif-app-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.sn-notif-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.sn-notif-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sn-notif-message {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sn-phone-wallpaper {
  text-align: center;
  padding-top: 60px;
}

.sn-wallpaper-time {
  font-size: 56px;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  letter-spacing: -2px;
}

.sn-wallpaper-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

.sn-phone-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.sn-summary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sn-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.sn-summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sn-summary-label {
  font-size: 13px;
  color: var(--text-color);
}

.sn-summary-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.sn-history-section {
  margin-top: 12px;
}

.sn-history-header {
  margin-bottom: 16px;
}

.sn-history-chart-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  margin-bottom: 20px;
}

.sn-history-chart-card .sn-chart-body {
  height: 200px;
}

.sn-chart-body {
  position: relative;
}

.sn-history-stats-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 !important;
}

.sn-history-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.sn-history-stat:last-child {
  border-bottom: none;
}

.sn-history-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.sn-history-stat-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

.sn-history-stat-label {
  font-size: 12px;
  color: var(--text-color);
  margin-top: 1px;
}

.sn-table-wrap {
  overflow-x: auto;
}

.sn-history-table {
  width: 100%;
  border-collapse: collapse;
}

.sn-history-table thead th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.sn-history-table tbody td {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--body-text-color);
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.sn-table-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.sn-table-row:last-child td {
  border-bottom: none;
}

.sn-table-title {
  font-weight: 500;
  color: var(--white) !important;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sn-table-audience {
  color: var(--text-color) !important;
  white-space: nowrap;
}

.sn-table-date {
  white-space: nowrap;
  color: var(--text-color) !important;
  font-size: 12px !important;
}

.sn-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.sn-status-sent {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.sn-status-scheduled {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}

.sn-status-draft {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.sn-table-rate {
  white-space: nowrap;
}

.sn-rate-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sn-rate-bar-wrap {
  width: 60px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.sn-rate-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

@media (max-width: 1200px) {
  .sn-main-grid {
    grid-template-columns: 1fr;
  }
  .sn-preview-card {
    position: static;
  }
  .sn-history-chart-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .sn-templates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .sn-header {
    flex-direction: column;
    gap: 12px;
  }
  .sn-templates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sn-schedule-row {
    flex-direction: column;
    gap: 0;
  }
  .sn-actions {
    flex-direction: column;
  }
  .sn-phone-frame {
    width: 220px;
    height: 440px;
  }
}

/* ==========================================
   Export Buttons
   ========================================== */
.export-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(248, 37, 129, 0.12);
  color: var(--first-color);
  border: 1px solid rgba(248, 37, 129, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--first-font);
}
.export-trigger-btn:hover {
  background: rgba(248, 37, 129, 0.2);
  border-color: var(--first-color);
}
.export-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  min-width: 170px;
  overflow: hidden;
}
.export-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--body-text-color);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--first-font);
  text-align: left;
}
.export-dropdown button:hover {
  background: rgba(248, 37, 129, 0.08);
  color: var(--first-color);
}
.export-dropdown button i {
  width: 16px;
  text-align: center;
}
.export-dropdown button .fa-file-csv { color: #35ad65; }
.export-dropdown button .fa-file-pdf { color: #f74032; }
