/* ===============================
   PROMPT PRO – TABLE OF CONTENTS
   FINAL FIXED STYLES
================================ */

.ppc-toc-wrapper {
  position: relative !important;
  overflow: visible !important;
  transform: none !important;
  filter: none !important;
  contain: none !important;
}

/* Root TOC Card */
.ppc-toc {
  position: sticky;
  top: 120px;
  align-self: flex-start;
  left: 40px;
  width: 100%;
  max-height: calc(100vh - 160px);
  overflow-y: auto;

  background: linear-gradient(
    180deg,
    rgba(20, 22, 26, 0.85),
    rgba(12, 14, 18, 0.9)
  );

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;

  padding: 18px 16px;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 20px 50px rgba(0, 0, 0, 0.6);

  z-index: 20;
}

/* Scrollbar (clean dark) */
.ppc-toc::-webkit-scrollbar {
  width: 6px;
}
.ppc-toc::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

/* Header */
.ppc-toc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

/* Title */
.ppc-toc__title {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.2px;
}

/* === BUTTON (MATCH RIGHT SIDE DESIGN) === */
.ppc-toc__toggle {
  appearance: none !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: linear-gradient(
    180deg,
    rgba(28, 30, 36, 0.9),
    rgba(18, 20, 26, 0.95)
  );
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.25s ease !important;
}

/* Hover same as right card */
.ppc-toc__toggle:hover {
  background: linear-gradient(180deg, rgba(40, 42, 50, 1), rgba(22, 24, 30, 1));
  border-color: rgba(255, 255, 255, 0.35);
}

/* Chevron */
.ppc-toc__chev {
  font-size: 11px;
  opacity: 0.7;
  transition: transform 0.25s ease;
}

/* Collapsed */
.ppc-toc.is-collapsed .ppc-toc__chev {
  transform: rotate(-90deg);
}

/* List */
.ppc-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Items */
.ppc-toc__item {
  margin-bottom: 4px;
}

/* Links */
.ppc-toc__link {
  display: block;
  padding: 9px 12px;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72) !important;
  transition: all 0.2s ease;
}
/* Hover */
.ppc-toc__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* Active */
.ppc-toc__link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Indentation */
.ppc-toc__lvl-2 .ppc-toc__link {
  font-weight: 600;
}

.ppc-toc__lvl-3 .ppc-toc__link {
  padding-left: 28px;
  font-size: 13.5px;
  opacity: 0.9;
}

.ppc-toc__lvl-4 .ppc-toc__link {
  padding-left: 44px;
  font-size: 13px;
  opacity: 0.8;
}

/* Collapse list */
.ppc-toc.is-collapsed .ppc-toc__list {
  display: none;
}

/* ===============================
   RESPONSIVE (MOBILE)
================================ */
@media (max-width: 1200px) {
  .ppc-toc {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-height: none;
    margin-bottom: 20px;
  }
} /* =========================
   PPC ACCOUNT DASHBOARD
========================= */
:root {
  --bg: #0b0e13;
  --card: #131820;
  --sidebar: #0f141b;
  --primary: #36fcbf;
  --primary-soft: rgba(54, 252, 191, 0.12);
  --danger: #ff4d4d;
  --danger-soft: rgba(255, 77, 77, 0.12);
  --text: #ffffff;
  --muted: #94a3b8;
  --border: #1f2a37;
  --radius: 16px;
}

/* Reset */
.ppc-dashboard * {
  box-sizing: border-box;
}

/* Layout */
.ppc-dashboard {
  display: flex;
  min-height: 100vh;
  background: radial-gradient(circle at top, #10141b, #050607);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

/* Sidebar */
.ppc-sidebar {
  width: 260px;
  background: linear-gradient(180deg, #0f141b, #0b0e13);
  padding: 26px 22px;
  border-right: 1px solid var(--border);
  position: sticky;
  top: 0;
  height: 100vh;
}

/* User */
.ppc-user {
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}

.ppc-avatar {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--primary), #00c896);
  color: #02150f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: auto;
  font-size: 20px;
}

.ppc-user strong {
  display: block;
  margin-top: 10px;
  font-size: 15px;
}

.ppc-user small {
  color: var(--muted);
  font-size: 13px;
}

/* Menu */
.ppc-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ppc-menu li {
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  transition: all 0.25s ease;
  position: relative;
}

.ppc-menu li a {
  color: inherit;
  text-decoration: none;
  width: 100%;
  display: block;
}

.ppc-menu li:hover {
  background: var(--primary-soft);
  color: var(--text);
}

.ppc-menu li.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.ppc-menu li.active::before {
  content: "";
  position: absolute;
  left: -22px;
  width: 4px;
  height: 60%;
  background: var(--primary);
  border-radius: 6px;
}

/* Logout */
li.ppc-logout a {
  color: var(--text) !important;
}
li.ppc-logout:hover {
  background: var(--danger-soft);
}
li.ppc-logout:hover a {
  color: var(--danger) !important;
}

/* Content */
.ppc-content {
  flex: 1;
  padding: 0px 56px 48px 56px;
}

/* Sections */
.ppc-tab {
  display: none;
  animation: fade 0.25s ease;
}

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

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

/* Card */
.ppc-card {
  background: linear-gradient(180deg, #151b23, #10151c);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  margin: 28px 0 20px 0;
  color: white !important;
}

/* Headings */
.ppc-content h2 {
  font-size: 26px;
  margin-bottom: 8px;
  color: white;
}

.ppc-content h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 18px;
  color: white;
}

.ppc-content p {
  color: var(--muted);
  font-size: 14px;
}

/* Buttons */
.ppc-btn {
  background: linear-gradient(135deg, var(--primary), #00d3a3);
  color: #02150f !important;
  border: none !important;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: 0.25s !important;
  margin-top: 12px !important;
}

.ppc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(54, 252, 191, 0.25);
}

/* Inputs */
.ppc-input {
  width: 100%;
  background: #0c1117;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  margin-bottom: 14px;
  transition: 0.2s;
}

.ppc-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(54, 252, 191, 0.15);
}

/* Divider */
.ppc-card hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

/* Danger Zone */
.ppc-danger {
  border: 1px solid var(--danger);
  background: linear-gradient(180deg, #1b0f11, #12090a);
  border-radius: var(--radius);
  padding: 24px;
}

.ppc-danger h3 {
  color: var(--danger);
}

.ppc-danger .ppc-btn {
  background: linear-gradient(135deg, #ff4d4d, #ff1f1f);
  color: #fff;
  box-shadow: none;
}

/* =====================
   Responsive
===================== */
@media (max-width: 1024px) {
  .ppc-content {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .ppc-dashboard {
    flex-direction: column;
  }

  .ppc-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .ppc-menu li.active::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .ppc-content h2 {
    font-size: 22px;
  }
  .ppc-card {
    padding: 22px;
  }
}
/* Premium Upgrade Wrapper */
.ppc-premium-upgrade-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  padding: 30px 20px;
  overflow: hidden;
}

/* Blur Background Effect */
.ppc-blur-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(54, 252, 191, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

/* Premium Upgrade Button */
.ppc-premium-upgrade-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #36fcbfa1;
  color: #000;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(54, 252, 191, 0.3);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* Button Icon */
.ppc-button-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .ppc-premium-upgrade-wrapper {
    min-height: 200px;
    padding: 20px 15px;
  }

  .ppc-premium-upgrade-button {
    padding: 14px 28px;
    font-size: 16px;
    gap: 10px;
  }

  .ppc-button-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .ppc-premium-upgrade-wrapper {
    min-height: 180px;
    padding: 15px 10px;
  }

  .ppc-premium-upgrade-button {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 10px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .ppc-button-icon {
    width: 20px;
    height: 20px;
  }
}

/* Hover Effects */
.ppc-premium-upgrade-button:hover {
  transform: translateY(-3px);
  /* box-shadow: 0 12px 32px rgba(54, 252, 191, 0.4);
  background-color: #36fcbf; */
}

/* Animation for Blur Background */
@keyframes ppc-blur-pulse {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}

.ppc-blur-background {
  animation: ppc-blur-pulse 4s ease-in-out infinite;
}
/* Premium Upgrade Wrapper */
.ppc-premium-upgrade-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  padding: 30px 20px;
  overflow: hidden;
}

/* Background Image */
.ppc-background-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://thepromptwizard.io/wp-content/uploads/2026/02/zulfugar-karimov-xm6dNdRG2vw-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Blur Background Effect */
.ppc-blur-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}

/* Premium Upgrade Button */
.ppc-premium-upgrade-button {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #36fcbfa1;
  color: #000;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(54, 252, 191, 0.3);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* Button Icon */
.ppc-button-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .ppc-premium-upgrade-wrapper {
    min-height: 200px;
    padding: 20px 15px;
  }

  .ppc-premium-upgrade-button {
    padding: 14px 28px;
    font-size: 16px;
    gap: 10px;
  }

  .ppc-button-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .ppc-premium-upgrade-wrapper {
    min-height: 180px;
    padding: 15px 10px;
  }

  .ppc-premium-upgrade-button {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 10px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .ppc-button-icon {
    width: 20px;
    height: 20px;
  }
}

/* Hover Effects */
.ppc-premium-upgrade-button:hover {
  transform: translateY(-3px);
/*   box-shadow: 0 12px 32px rgba(54, 252, 191, 0.4);
  background-color: #36fcbf; */
}

/* Animation for Blur Background */
@keyframes ppc-blur-pulse {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}

.ppc-blur-background {
  animation: ppc-blur-pulse 4s ease-in-out infinite;
}
