/* ============================================================
   Cherry Community Grid — Full Mobile + Centering Fix Stylesheet
   Save as: home_mobile_fix.css
   (Load AFTER your main CSS file)
   ============================================================ */

/* ---------------------------------------------
   0) Reset for safety
--------------------------------------------- */
.post-list,
.post-list * {
    box-sizing: border-box;
}

/* ---------------------------------------------
   1) Center ALL posts (including first)
--------------------------------------------- */
.post-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 1.75rem !important;
}

.post-item,
.post-list .post-item {
    width: 100% !important;
    max-width: 820px !important;
    margin-inline: auto !important;
}

/* First post offset */
.post-item.first-post {
    margin-top: 1.6rem !important;
}

/* ---------------------------------------------
   2) Drop content lower under navbar (mobile)
--------------------------------------------- */
@media (max-width: 600px) {
    .content-container {
        padding-top: 1.75rem !important;
    }

    .home-container {
        margin-top: 1.2rem !important;
        padding-inline: 1rem !important;
        border-radius: 14px !important;
    }
}

/* ---------------------------------------------
   3) Navbar Fix — center everything cleanly
--------------------------------------------- */

/* Force navbar into proper flex alignment */
.navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    padding-inline: 0.75rem !important;
}

/* BRAND (logo + Cherry Community Grid Title) */
.navbar-brand {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Logo sizing fix on small screens */
.navbar-brand img {
    max-width: 55px !important;
    height: auto !important;
}

/* TITLE */
.navbar-brand span,
.navbar-brand h1,
.navbar-brand h2 {
    font-size: 1rem !important;
    margin-top: 0.25rem !important;
    font-weight: 700 !important;
}

/* INBOX icon right aligned & centered vertically */
#inbox-link,
.navbar .inbox-block {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* HAMBURGER */
.navbar-toggler {
    margin-left: 0.3rem !important;
}

/* ---------------------------------------------
   4) Search bar mobile fix (100% width)
--------------------------------------------- */
.search-bar,
.nav-search,
input[type="search"] {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px !important;
}

/* ---------------------------------------------
   5) Home feed spacing improvement
--------------------------------------------- */
/* ===============================
   1) GLOBAL PAGE BACKGROUND
   =============================== */

   body {
    background:
        radial-gradient(circle at top left, rgba(255, 99, 132, 0.18), transparent 60%),
        radial-gradient(circle at bottom right, rgba(54, 162, 235, 0.18), transparent 60%),
        #05060a;
    color: #f5f5f5;
}

/* main content wrapper */
.content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 0.75rem 2.5rem;
}

/* tighten on small phones */
@media (max-width: 480px) {
    .content-container {
        padding-top: 1.25rem;
    }
}

/* ===============================
   2) NAVBAR + SEARCH BAR
   =============================== */

.ccg-navbar {
    background: rgba(7, 10, 18, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 4px 0;
    min-height: 54px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.75);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.ccg-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

/* BRAND (logo + title) */
.ccg-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #fff;
}

/* 🔥 Logo a little bigger but still compact */
.ccg-logo,
img.ccglogo {
    height: 22px !important;
    max-height: 22px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block;
    margin: 0;
    padding: 0;
}

/* brand text */
.ccg-brand-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

.ccg-brand-sub {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    opacity: 0.85;
}

/* RIGHT SIDE: inbox + hamburger */
.ccg-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Inbox pill button */
.ccg-inbox-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    text-decoration: none;
    background: linear-gradient(120deg, #ff6161, #ffc163);
    color: #111 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.55);
}

.ccg-inbox-btn i {
    font-size: 0.82rem;
}

/* hamburger centered vertically */
.ccg-toggler {
    padding: 4px 7px !important;
    margin: 0 !important;
    align-self: center;
}

/* ===============================
   3) SEARCH INSIDE NAVBAR LOOK
   =============================== */

/* wrapper already in your HTML: .ccg-search-bar under nav */
.ccg-search-bar {
    width: 100%;
    background: transparent;
    padding: 0.35rem 0.75rem 0.5rem;
}

/* container inside so it lines up with nav width */
.ccg-search-bar .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

/* actual input */
.ccg-search-input {
    width: 100%;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(8, 10, 18, 0.95);
    color: #f5f5f5;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.65);
}

.ccg-search-input::placeholder {
    color: #8b92b0;
}

/* suggestions dropdown */
.ccg-suggestions {
    position: absolute;
    margin-top: 4px;
    width: calc(100% - 16px);
    max-height: 260px;
    overflow-y: auto;
    background: #0a0d15;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 12px 25px rgba(0,0,0,0.8);
    color: #fff;
    z-index: 10000;
}

/* offset page content so nav + search don’t overlap */
body {
    padding-top: 108px; /* nav + search combined */
}

/* tweak for tiny screens */
@media (max-width: 360px) {
    .ccg-logo,
    img.ccglogo {
        height: 20px !important;
        max-height: 20px !important;
    }
    .ccg-brand-text {
        font-size: 0.85rem;
        letter-spacing: 0.14em;
    }
    body {
        padding-top: 104px;
    }
}

/* ===============================
   4) CENTER HAMBURGER DROPDOWN
   =============================== */

.navbar-collapse {
    background: #05060b;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.navbar-nav {
    width: 100%;
    align-items: center;       /* center vertically/horizontally */
    text-align: center;
    padding: 0.5rem 0;
}

.navbar-nav .nav-item {
    width: 100%;
}

.navbar-nav .nav-link {
    width: 100%;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: #e1e4f0 !important;
}

.navbar-nav .nav-link:hover {
    background: radial-gradient(circle, #ff6161 0, transparent 60%);
    color: #ffffff !important;
}

/* ===============================
   5) HOME PAGE – FEED LAYOUT
   =============================== */

.home-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0.75rem 2rem;
    background: radial-gradient(circle at top, rgba(255,255,255,0.03), transparent 55%);
    border-radius: 20px;
}

/* Headings */
.home-container h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.16em;
    text-align: center;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.home-container h3 {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

/* top nav links (Following / Explore / etc) */
.centered-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.centered-link a {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10, 13, 20, 0.9);
    border: 1px solid rgba(255,255,255,0.06);
    color: #e0e4ff;
    font-size: 0.8rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.centered-link a:hover {
    background: linear-gradient(120deg, #ff6161, #ffc163);
    color: #111;
}

/* account info line */
.account-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.8rem;
}

/* ===============================
   6) POST CARDS / MEDIA CONSISTENCY
   =============================== */

/* UL reset + layout */
.post-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* each post card */
.post-item {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.04), rgba(0,0,0,0.9));
    border-radius: 18px;
    padding: 0.85rem 0.9rem 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.75);
    border: 1px solid rgba(255,255,255,0.04);
}

/* titles/meta */
.post-title a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.post-title a:hover {
    text-decoration: underline;
}

.post-meta {
    font-size: 0.78rem;
    color: #aab0c7;
}

/* description + stats */
.post-description-text {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #e4e7f5;
}

.post-date,
.post-views {
    font-size: 0.75rem;
    color: #8f94aa;
}

/* likes / dislikes text line */
.likes-dislikes-container {
    margin-top: 0.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.78rem;
}

/* ===============================
   7) MEDIA: IMAGES & VIDEO SIZES
   =============================== */

.home-img-container,
.home-video-thumbnail-container,
.home-fallback-video-container,
.home-media-container {
    width: 100%;
    max-width: 760px;
    margin: 0.55rem auto 0.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img-container img,
.home-video-thumbnail,
.home-video-element {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 14px;
}

/* vertical videos narrower and taller, but consistent */
.home-media-container.home-vertical-video .home-video-thumbnail,
.home-media-container.home-vertical-video .home-video-element {
    max-width: 420px;
    max-height: 620px;
}

/* ===============================
   8) ACTION BUTTONS
   =============================== */

.post-actions {
    margin-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.like-dislike-buttons,
.save-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.btn-like,
.btn-dislike,
.btn-savebtn,
.btn-share,
.comment-like-btn,
.comment-dislike-btn {
    border-radius: 999px !important;
    font-size: 0.78rem !important;
    padding: 0.35rem 0.9rem !important;
    border: none;
}

/* ===============================
   9) COMMENTS
   =============================== */

.comment-box {
    margin-top: 0.55rem;
    padding: 0.6rem 0.65rem;
    border-radius: 12px;
    background: rgba(8, 10, 20, 0.85);
    border: 1px solid rgba(255,255,255,0.04);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
}

.comment-text {
    margin-top: 0.25rem;
    font-size: 0.85rem;
}

/* ===============================
   10) PAGINATION CENTERING
   =============================== */

.main-bottom-pagination {
    text-align: center;
    margin-top: 2rem;
}

.pagination-prev,
.pagination-next,
.pagination-page {
    display: inline-block;
    margin: 0 0.4rem;
    font-size: 0.85rem;
}


/* 
11/01/2025

*/

/* ===============================
   NAVBAR – Cherry Grid Mobile
   =============================== */

/* =========================================
   Cherry Grid NAVBAR + SEARCH (mobile-first)
   ========================================= */

/* ===========================
   CLEAN NAVBAR RESET + BASE
   =========================== */

   .ccg-navbar {
    background: #1c1f27;
    padding: 4px 0;
    min-height: 48px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
}

.ccg-nav-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =================================
   BRAND AREA (LOGO + TEXT)
   ================================= */

.ccg-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #fff;
}

.ccg-logo {
    height: 26px !important;
    width: auto !important;
    object-fit: contain;
    border-radius: 6px;
}

/* Title beside logo */
.ccg-brand-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.65);
}

/* =================================
   RIGHT SIDE (INBOX + HAMBURGER)
   ================================= */

.ccg-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Inbox pill */
.ccg-inbox-btn {
    padding: 3px 8px;
    font-size: 0.65rem;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(120deg, #ff5d5d, #ffc463);
    color: #111 !important;
    box-shadow: 0 3px 7px rgba(0,0,0,0.45);
    text-decoration: none;
}

/* Hamburger Button Centered */
.ccg-toggler {
    padding: 4px 7px !important;
    margin: 0 !important;
    align-self: center;
}

/* =================================
   SEARCH BAR FIXED UNDER NAVBAR
   ================================= */

.ccg-search-bar {
    position: fixed;
    top: 48px;  /* exactly under navbar */
    left: 0;
    width: 100%;
    background: #14171e;
    padding: 5px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.55);
    z-index: 9990;
}

.ccg-search-input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 10px;
    background: #05060a;
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    font-size: 0.85rem;
}

.ccg-search-input::placeholder {
    color: #889;
}

/* Offset page content */
body {
    padding-top: 95px;
}

/* ===========================
   BREAKPOINTS (360 → up)
   =========================== */

/* ---- 360px: Tiny screens ---- */
@media (max-width: 360px) {

    .ccg-logo {
        height: 22px !important;
    }

    .ccg-brand-text {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
    }

    .ccg-inbox-btn {
        font-size: 0.58rem;
        padding: 2px 6px;
    }

    .ccg-search-bar {
        top: 45px;
    }

    body {
        padding-top: 90px;
    }
}

/* ---- 361–430px (normal phones) ---- */
@media (min-width: 361px) and (max-width: 430px) {

    .ccg-logo {
        height: 26px !important;
    }

    .ccg-brand-text {
        font-size: 0.85rem;
    }

    .ccg-search-bar {
        top: 48px;
    }
}

/* ---- Tablets ---- */
@media (min-width: 431px) and (max-width: 768px) {

    .ccg-logo {
        height: 32px !important;
    }

    .ccg-brand-text {
        font-size: 1rem;
    }

    .ccg-search-bar {
        top: 55px;
    }

    body {
        padding-top: 110px;
    }
}

/* ---- Desktop ---- */
@media (min-width: 769px) {

    .ccg-logo {
        height: 38px !important;
    }

    .ccg-brand-text {
        font-size: 1.2rem;
    }

    .ccg-search-bar {
        top: 60px;
    }

    body {
        padding-top: 120px;
    }
}


/* FINAL OVERRIDE — Forces the navbar logo to shrink on ALL devices */


/* FINAL OVERRIDE – make navbar logo small on all screens */





/* Keep global behavior for all other images, but not the logo */
img:not(.ccg-logo),
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}


/* FORCE SMALL NAVBAR LOGO – overrides global img rule */


img.ccg-logo {
  height: 12px !important;        /* make logo tiny */
  max-height: 12px !important;
  width: auto !important;         /* preserve proportions */
  max-width: none !important;

  object-fit: contain !important;
  display: inline-block !important;

  padding: 0 !important;
  margin: 0 !important;
}

/* ULTIMATE OVERRIDE — THIS CANNOT BE IGNORED */
nav.navbar img {
  height: 10px !important;
  max-height: 10px !important;
  width: auto !important;
  object-fit: contain !important;

  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;

  border: none !important;
}




/* ============================================================
   CHERRY GRID — NAVBAR + SEARCH INSIDE NAVBAR
   ============================================================ */

/* ---------------------------------
   NAVBAR BASE
----------------------------------- */
.ccg-navbar {
  background: rgba(7, 10, 18, 0.96);
  backdrop-filter: blur(10px);
  padding: 4px 8px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

/* Brand area */
.ccg-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
}

/* 🔥 MAIN LOGO */
.ccg-logo,
img.ccglogo {
  height: 28px !important;      /* NORMAL SIZE */
  max-height: 28px !important;
  width: auto !important;
  object-fit: contain;
}

/* Title text */
.ccg-brand-text {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
}

/* ---------------------------------
 SEARCH BAR INSIDE NAVBAR
----------------------------------- */
.ccg-nav-search {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 10px;
}

.ccg-search-input {
  width: 100%;
  max-width: 330px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(12,14,22,0.90);
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.45);
}

.ccg-search-input::placeholder {
  color: #b7bed6;
}

/* ---------------------------------
 Inbox button
----------------------------------- */
.ccg-inbox-btn {
  padding: 4px 10px;
  font-size: 0.69rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff6161, #ffc163);
  color: #111 !important;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0,0,0,0.55);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------------------------------
 Hamburger
----------------------------------- */
.ccg-toggler {
  padding: 4px 8px !important;
  margin-left: 4px;
}

/* ---------------------------------
 Dropdown Menu Centered
----------------------------------- */
.navbar-collapse {
  background: #05060a;
  padding: 8px 0;
  text-align: center;
}

.navbar-nav {
  width: 100%;
  align-items: center;
}

.navbar-nav .nav-link {
  width: 100%;
  padding: 8px 0;
  color: #e4e8ff !important;
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* ---------------------------------
 360px — LOGO BIGGER + Search Tightening
----------------------------------- */
@media (max-width: 360px) {

  .ccg-logo,
  img.ccglogo {
      height: 34px !important;   /* 🔥 Bigger for tiny screens */
      max-height: 34px !important;
  }

  .ccg-brand-text {
      font-size: 0.92rem;
  }

  .ccg-search-input {
      max-width: 260px;
      padding: 6px 12px;
  }
}

/* ---------------------------------
 Small phones (361–430px)
----------------------------------- */
@media (min-width: 361px) and (max-width: 430px) {
  .ccg-logo {
      height: 30px !important;
  }
}


/* FORCE LOGO SIZE GLOBALLY */
nav.navbar .ccg-logo {
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* 360px: MAKE LOGO BIGGER */
@media (max-width: 360px) {
  nav.navbar .ccg-logo {
      height: 38px !important;
      max-height: 38px !important;
  }
}



/* ==========================================================
   🔍 SEARCH BAR — MOVED LOWER (NO NAVBAR OVERLAP)
   ========================================================== */

   #ccg-search-wrapper {
    position: fixed !important;
    top: 90px !important;   /* moved MUCH lower */
    left: 50% !important;
    transform: translateX(-50%) !important;

    width: 92% !important;
    max-width: 480px !important;

    padding: 10px 14px !important;
    background: rgba(18, 20, 28, 0.92) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.55) !important;
    z-index: 999999 !important;
}

/* Input box */
#ccg-search-input {
    width: 100% !important;
    padding: 12px 16px !important;
    border-radius: 14px !important;
    background: #05060a !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    color: #fff !important;
    font-size: 0.92rem !important;
}

#ccg-search-suggestions {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0;
    width: 100% !important;
    background: #10131c !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 12px !important;
    max-height: 240px !important;
    overflow-y: auto !important;
    z-index: 999999 !important;
}

/* Push content down so search bar doesn't overlap */
body {
    padding-top: 180px !important;
}

/* ==========================================================
   📱 360px BREAKPOINT — TINY PHONES
   ========================================================== */
@media (max-width: 360px) {

    #ccg-search-wrapper {
        top: 110px !important;    /* moved even LOWER for 360px */
        width: 94% !important;
        padding: 9px 12px !important;
    }

    #ccg-search-input {
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
    }

    body {
        padding-top: 160px !important;
    }
}

/* ==========================================================
   📱 361–430 px (Normal Phones)
   ========================================================== */
@media (min-width: 361px) and (max-width: 430px) {

    #ccg-search-wrapper {
        top: 85px !important;
    }

    body {
        padding-top: 170px !important;
    }
}

/* ==========================================================
   📱 Tablets (431–768px)
   ========================================================== */
@media (min-width: 431px) and (max-width: 768px) {

    #ccg-search-wrapper {
        top: 80px !important;
        max-width: 520px !important;
    }

    body {
        padding-top: 165px !important;
    }
}

/* ==========================================================
   🖥 Desktop
   ========================================================== */
@media (min-width: 769px) {

    #ccg-search-wrapper {
        top: 75px !important;
        max-width: 600px !important;
    }

    body {
        padding-top: 160px !important;
    }
}

/* ===============================================
   FINAL FIX — Dropdown ALWAYS above search bar
   =============================================== */

/* Navbar always on top */
.ccg-navbar {
  z-index: 10000 !important;
}

/* Search bar under navbar */
#ccg-search-wrapper {
  position: fixed;
  top: 56px;
  left: 0;
  width: 100%;
  z-index: 9000 !important;  /* BELOW dropdown */
}



/* ===============================================
   RESPONSIVE DROPDOWN OFFSET (percentage-based)
   =============================================== */

   .navbar-collapse,
   .collapsing {
       position: fixed !important;
       top: 13.5vh !important;   /* ⬅ 12% of full screen height */
       left: 0;
       right: 0;
       width: 100%;
       z-index: 11000 !important;
   }
   
   
   /* ==========================================================
   GLOBAL PAGE OFFSET — makes all pages start lower
   so titles like "Home" never get covered by navbar or search
   ========================================================== */

:root {
  --ccg-header-offset: 18vh;  
  /* You can adjust this (16–22vh) depending on your design */
}

body {
  padding-top: var(--ccg-header-offset) !important;
}



/* ============================================
   CHERRY COMMUNITY GRID — GLOBAL LINK STYLE
   ============================================ */

/* Base link style (normal state) */



/* ============================================
   CHERRY COMMUNITY GRID — FORCE LINK COLORS
   Put this at the very bottom of your CSS
   ============================================ */

/* Global default for ALL links */
a,
a:link,
a:visited {
    color: #19f120 !important;          /* soft off-white */
    text-decoration: none !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.15s ease, text-shadow 0.15s ease;
}

/* Hover / focus glow */
a:hover,
a:focus {
    color: #ff6e6e !important;          /* cherry red accent */
    text-shadow: 0 0 6px rgba(255, 110, 110, 0.6);
    outline: none !important;
}

/* Active (pressed) */
a:active {
    color: #ff4040 !important;
}

/* ---- NAVBAR LINKS (override Bootstrap dark nav) ---- */
.navbar-dark .navbar-nav .nav-link,
.navbar .nav-link,
.navbar a {
    color: #e8e8ee !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar .nav-link:hover {
    color: #ff6e6e !important;
}

/* ---- CENTER TABS (Following / Explore / Spotlight / Trending / Flash) ---- */
.centered-link a,
.centered-link a:link,
.centered-link a:visited {
    color: #e8e8ee !important;
    background: rgba(255,255,255,0.03);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    margin: 0 3px;
    font-size: 0.85rem;
}

.centered-link a:hover {
    background: rgba(255,90,90,0.16);
    border-color: rgba(255,90,90,0.55);
    color: #ff8080 !important;
}

/* ---- POST TITLE LINKS ---- */
.post-title a,
.post-title a:link,
.post-title a:visited {
    color: #ba3a3a !important;
    text-decoration: none !important;
}

.post-title a:hover {
    color: #ff6e6e !important;
}

/* ---- USERNAME / PROFILE LINKS ---- */
.username-link,
.username-link:link,
.username-link:visited,
.comment-box a.user-link {
    color: #c9ddff !important;          /* soft blue-gray, not browser blue */
}

.username-link:hover,
.comment-box a.user-link:hover {
    color: #ff6e6e !important;
}

/* ---- Respond / small action links ---- */
.respond-link,
.respond-link:link,
.respond-link:visited {
    color: #ffb36b !important;
}

.respond-link:hover {
    color: #ff8a3c !important;
}

/* ---- Footer or misc links (safety net) ---- */
.footer a,
.footer a:link,
.footer a:visited {
    color: #e8e8ee !important;
}

.footer a:hover {
    color: #ff6e6e !important;
}



/* ==========================================================
   CHERRY GRID – BUTTONS, COUNTS, PAGINATION
   (Place at the VERY BOTTOM of registration.css)
   ========================================================== */

/* ------------------------------
   LIKE button (green)
   ------------------------------ */

/* normal Like + Unlike buttons */
.post-actions .like-dislike-buttons button[id^="like-btn-"],
.post-actions .like-dislike-buttons button[id^="unlike-btn-"] {
    background: linear-gradient(135deg, #32d96a, #0fae49) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 3px 8px rgba(16, 216, 96, 0.4) !important;
}

/* hover */
.post-actions .like-dislike-buttons button[id^="like-btn-"]:hover,
.post-actions .like-dislike-buttons button[id^="unlike-btn-"]:hover {
    background: linear-gradient(135deg, #0fae49, #32d96a) !important;
    box-shadow: 0 4px 10px rgba(16, 216, 96, 0.6) !important;
}

/* ------------------------------
   DISLIKE button (red)
   ------------------------------ */

.post-actions .like-dislike-buttons button[id^="dislike-btn-"],
.post-actions .like-dislike-buttons button[id^="undislike-btn-"] {
    background: linear-gradient(135deg, #ff4d4d, #cc0000) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 3px 8px rgba(255, 65, 65, 0.45) !important;
}

.post-actions .like-dislike-buttons button[id^="dislike-btn-"]:hover,
.post-actions .like-dislike-buttons button[id^="undislike-btn-"]:hover {
    background: linear-gradient(135deg, #cc0000, #ff4d4d) !important;
    box-shadow: 0 4px 12px rgba(255, 65, 65, 0.65) !important;
}

/* ------------------------------
   SAVE button (gray)
   ------------------------------ */

.post-actions .save-buttons .save-btn,
.post-actions .save-buttons #save-btn,
.post-actions .save-buttons .btn-savebtn {
    background: linear-gradient(135deg, #bcbcbc, #8c8c8c) !important;
    color: #111 !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 6px 16px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 7px rgba(0,0,0,0.4) !important;
}

.post-actions .save-buttons .save-btn:hover {
    background: linear-gradient(135deg, #8c8c8c, #bcbcbc) !important;
}

/* ------------------------------
   SHARE button (blue)
   ------------------------------ */

.post-actions .save-buttons .btn-share,
#share-container .btn-share,
.share-container .btn-share {
    background: linear-gradient(135deg, #3a8bff, #005dff) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    border: none !important;
    padding: 6px 16px !important;
    font-weight: 600 !important;
    box-shadow: 0 3px 10px rgba(0, 92, 255, 0.4) !important;
}

.post-actions .save-buttons .btn-share:hover,
.share-container .btn-share:hover {
    background: linear-gradient(135deg, #005dff, #3a8bff) !important;
    box-shadow: 0 4px 12px rgba(0, 92, 255, 0.55) !important;
}

/* ==========================================================
   LIKE / DISLIKE COUNTS – gradient text
   ========================================================== */

/* "Likes: 10" number */
.likes-count {
    background: linear-gradient(90deg, #0fae49, #a5ffbc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* "Dislikes: 3" number */
.dislikes-count {
    background: linear-gradient(90deg, #ff7676, #ffb3b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* The "Likes:" / "Dislikes:" label */
.likes-count-display,
.dislikes-count-display {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.03em;
    color: #e5e5e5 !important;
}

/* ==========================================================
   PAGINATION – brown buttons
   ========================================================== */

.main-bottom-pagination .pagination-prev,
.main-bottom-pagination .pagination-next {
    display: inline-block !important;
    background: linear-gradient(135deg, #8a5a2f, #5d3b1a) !important;
    padding: 8px 18px !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(92, 53, 14, 0.45) !important;
}

.main-bottom-pagination .pagination-prev:hover,
.main-bottom-pagination .pagination-next:hover {
    background: linear-gradient(135deg, #5d3b1a, #8a5a2f) !important;
}

.main-bottom-pagination .pagination-page {
    color: #f0e0d2 !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
}


/* =========================================
   HOME FEED – make ALL posts line up
   ========================================= */

/* Make the list itself centered and consistent */
.post-list {
  list-style: none !important;
  margin: 0 auto !important;
  padding: 0 !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  gap: 1.5rem !important;
}

/* Every post card same width + centered */
.post-list > .post-card {
  width: 100% !important;
  max-width: 820px !important;
  margin: 0 !important;
}

/* Kill any weird special rules on the first post
 coming from old CSS */
.post-list > .post-card:first-child,
.post-list > *:first-child {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
}



/* Utility: anything with .hidden is not shown */
.hidden {
  display: none !important;
}



/* =========================================
   FINAL ALIGNMENT NUKE FOR HOME FEED POSTS
   ========================================= */

/* Make sure the list itself is centered flex */
body .content-container .home-container .post-list {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;

  list-style: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

/* ALL direct children (first, second, etc.) */
body .content-container .home-container .post-list > article.post-card,
body .content-container .home-container .post-list > li.post-item,
body .content-container .home-container .post-list > * {
  box-sizing: border-box !important;
  display: block !important;

  width: 100% !important;
  max-width: 820px !important;

  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;

  float: none !important;
  position: static !important;
  transform: none !important;
}

/* Extra safety just for the very first one */
body .content-container .home-container .post-list > article.post-card:first-child,
body .content-container .home-container .post-list > li.post-item:first-child,
body .content-container .home-container .post-list > *:first-child {
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Make sure media inside the card stays within the same width */
body .content-container .home-container .post-list > article.post-card img,
body .content-container .home-container .post-list > article.post-card video,
body .content-container .home-container .post-list > li.post-item img,
body .content-container .home-container .post-list > li.post-item video {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* =========================================
   FINAL HARD FIX – center ALL posts evenly
   ========================================= */

/* Center the list itself */
body .content-container .home-container .post-list {
  list-style: none !important;

  /* kill any weird spacing */
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;

  /* consistent layout */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 860px !important;
  gap: 1.5rem !important;
}

/* Every post card – including the first one */
body .content-container .home-container .post-list > article.post-card {
  box-sizing: border-box !important;
  display: block !important;

  width: 100% !important;
  max-width: 820px !important;

  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;

  padding-left: 1rem !important;
  padding-right: 1rem !important;

  /* optional card feel */
  background: rgba(5, 6, 10, 0.85);
  border-radius: 16px;
}

/* EXTRA: just to be sure first one matches the others */
body .content-container .home-container .post-list > article.post-card:first-child {
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

/* Make sure media inside the post is not pulling left */
body .content-container .home-container .post-list > article.post-card .home-img-container,
body .content-container .home-container .post-list > article.post-card .home-media-container {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Images/videos fill the card evenly */
body .content-container .home-container .post-list > article.post-card img,
body .content-container .home-container .post-list > article.post-card video {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}



/* =========================================
   HARD CENTER FIX FOR FIRST HOME POST ONLY
   ========================================= */

/* Base: all post cards centered via max-width */
.content-container .home-container .post-list > article.post-card {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 1.5rem auto;
}

/* 🔥 Force the FIRST post card dead-center */
.content-container .home-container .post-list > article.post-card:first-of-type {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Make sure inner media doesn’t shift it */
.content-container .home-container .post-list > article.post-card:first-of-type .home-img-container,
.content-container .home-container .post-list > article.post-card:first-of-type .home-media-container,
.content-container .home-container .post-list > article.post-card:first-of-type .home-video-thumbnail-container,
.content-container .home-container .post-list > article.post-card:first-of-type .home-fallback-video-container {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}



/* Wrapper so suggestions align with the input */
#ccg-search-wrapper {
  position: relative;
}

/* Search input already styled as .ccg-search-input; keep that */

/* Suggestions dropdown box */
.ccg-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  max-height: 260px;
  overflow-y: auto;
  background: #05060a;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 25px rgba(0,0,0,0.7);
  display: none; /* hidden by default */
  z-index: 12000; /* above page content */
}

/* Each suggestion row */
.ccg-suggestion-item {
  padding: 8px 10px;
  font-size: 0.8rem;
  color: #e5e7ff;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
}

.ccg-suggestion-item:last-child {
  border-bottom: none;
}

.ccg-suggestion-item strong {
  color: #fff;
}

.ccg-suggestion-item:hover {
  background: radial-gradient(circle at left, rgba(99, 179, 237, 0.35), transparent 55%);
}


/* 11/17/2025 */



/* ================================
   GLOBAL FORM CARD FOR ALL FORMS
   ================================ */

   .content-container form {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem 1.6rem;
    background:
        radial-gradient(circle at top left, rgba(255, 99, 132, 0.12), transparent 60%),
        radial-gradient(circle at bottom right, rgba(54, 162, 235, 0.14), transparent 60%),
        #090b13;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.75);
}

/* Title */
.content-container h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #f7f8ff;
}

/* Form paragraphs (Django form.as_p output) */
.content-container form p {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Labels */
.content-container form label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #d4d7f5;
    letter-spacing: 0.13em;
}

/* Inputs, selects, textareas */
.content-container form input[type="text"],
.content-container form input[type="email"],
.content-container form input[type="password"],
.content-container form input[type="number"],
.content-container form input[type="file"],
.content-container form textarea,
.content-container form select {
    width: 100%;
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    background: #05060a;
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.15s ease;
}

/* Input focus */
.content-container form input:focus,
.content-container form select:focus,
.content-container form textarea:focus {
    border-color: #4f9dff;
    box-shadow: 0 0 0 1px rgba(79,157,255,0.45);
    background: #070814;
}

/* Help text */
.content-container form .helptext {
    font-size: 0.75rem;
    color: #9ea4c7;
}

/* Django error list */
.content-container form .errorlist {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #ff8b94;
    font-size: 0.8rem;
}

.content-container form .errorlist li::before {
    content: "⚠ ";
}

/* Submit button */
.content-container form button[type="submit"] {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #ff6161, #ffc163);
    color: #05060a;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(0,0,0,0.7);
    transition: filter 0.15s ease, transform 0.15s ease;
}

.content-container form button[type="submit"]:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.content-container form button[type="submit"]:active {
    transform: translateY(0);
}






/* 11/17/2025 */



/* =========================================
   ARTICLE DETAIL PAGE WRAPPER
   ========================================= */

   .content-container > .home-container {
    max-width: 960px;
    margin: 0 auto 3rem auto;
    padding: 1.5rem 1.25rem 2.5rem;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(255, 99, 132, 0.12), transparent 60%),
        radial-gradient(circle at bottom right, rgba(54, 162, 235, 0.14), transparent 60%),
        rgba(5, 6, 12, 0.94);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.85),
        0 0 0 1px rgba(255,255,255,0.03);
}

/* Page padding so title isn’t hidden under header / search */
.content-container {
    padding-top: 1.5rem;
}

/* =========================================
   TITLE + META
   ========================================= */

.details-post-title {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #f8f7ff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.post-meta {
    font-size: 0.85rem;
    color: #a8afd9;
    margin-bottom: 0.25rem;
}

.post-meta .author-text {
    font-weight: 600;
    color: #ffc163;
}

.post-meta .username-link {
    color: #7fb3ff;
    text-decoration: none;
}

.post-meta .username-link:hover {
    text-decoration: underline;
}

/* Date + Views */
.post-date {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.78rem;
    color: #9ea4c7;
}

.details-views-container {
    margin-top: 0.25rem;
}

.details-views-count {
    font-size: 0.8rem;
    color: #c9d0ff;
}

/* =========================================
   MEDIA AREA — IMAGE + VIDEO
   ========================================= */

.details-media-container {
    margin-top: 1.1rem;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.details-img-container,
.details-video-container {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #05060a;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 16px 32px rgba(0,0,0,0.8);
}

/* Image + video consistent sizing */
.details-img-element,
.details-video-element,
.video-thumbnail {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

/* Vertical video tweak */
.details-media-container.vertical-video .details-video-container .details-video-element,
.details-media-container.vertical-video .video-thumbnail {
    max-height: 540px;
    object-fit: contain;
    background: radial-gradient(circle, rgba(0,0,0,0.75), #020308);
}

/* Thumbnail play overlay */
.video-thumbnail-container {
    position: relative;
    cursor: pointer;
}

.play-button-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1),
        rgba(0,0,0,0.72)
    );
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-thumbnail-container:hover .play-button-overlay {
    opacity: 1;
}

.play-button-overlay i {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.85);
}

/* Larger screens: media & text side-by-side */
@media (min-width: 900px) {
    .details-media-container {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: start;
    }
}

/* =========================================
   DESCRIPTION BLOCK
   ========================================= */

.post-description {
    margin-top: 0.75rem;
    padding: 1.1rem 1.0rem 1.0rem;
    border-radius: 16px;
    background: linear-gradient(
        145deg,
        rgba(12, 14, 25, 0.96),
        rgba(8, 10, 22, 0.96)
    );
    border: 1px solid rgba(255,255,255,0.06);
}

.post-description-text {
    margin: 0 0 0.75rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #e3e6ff;
}

/* =========================================
   LIKE / DISLIKE CLUSTER
   ========================================= */

.article-like-dislike-wrapper {
    margin-top: 1.25rem;
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    background: radial-gradient(circle at top, rgba(79, 157, 255, 0.12), transparent 70%);
    border: 1px solid rgba(79, 157, 255, 0.28);
}

.details-like-dislike-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* Like / Dislike “columns” */
.like-container,
.dislike-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

/* Button group */
.button-container {
    display: flex;
    gap: 0.35rem;
}

/* Count pill next to buttons */
.count-container span {
    display: inline-block;
    font-size: 0.78rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: linear-gradient(
        135deg,
        rgba(8, 12, 25, 0.9),
        rgba(7, 9, 18, 0.96)
    );
}

/* Like / Dislike count gradients */
.details-likes-count-display {
    background: linear-gradient(135deg, rgba(56, 249, 163, 0.14), rgba(23, 192, 122, 0.05));
    border-color: rgba(56, 249, 163, 0.4);
    color: #b9ffe1;
}

.details-dislikes-count-display {
    background: linear-gradient(135deg, rgba(255, 99, 132, 0.18), rgba(191, 30, 30, 0.05));
    border-color: rgba(255, 99, 132, 0.45);
    color: #ffd1db;
}

/* Like / Dislike buttons (reuse global colors, but reinforce here) */
.post-actions .btn-like {
    background: linear-gradient(135deg, #1dd162, #28f28c);
    border: none;
    color: #04110b;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.65);
}

.post-actions .btn-dislike {
    background: linear-gradient(135deg, #ff4d4d, #ff7a7a);
    border: none;
    color: #360909;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.65);
}

.post-actions .btn-like:hover,
.post-actions .btn-dislike:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.post-actions .btn-like:active,
.post-actions .btn-dislike:active {
    transform: translateY(0);
}

/* =========================================
   SAVE / SHARE / REPORT ROW
   ========================================= */

.details-save-share-container {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

/* Save */
.details-save-buttons .btn-save-post {
    background: linear-gradient(135deg, #4b4f60, #84879c);
    border: none;
    color: #05060a;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 14px rgba(0,0,0,0.65);
}

/* Share */
.details-share-buttons .btn-share-post,
.btn-share-modal-submit {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border: none;
    color: #04101f;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 14px rgba(0,0,0,0.65);
}

/* Report */
.details-report-button-container .btn-report-post-link,
.details-login-to-report .btn-login-report {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.0rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 72, 95, 0.7);
    color: #ffe2e6;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, rgba(255,72,95,0.18), rgba(120,10,28,0.1));
    text-decoration: none;
}

/* Shared button hover */
.details-save-buttons .btn-save-post:hover,
.details-share-buttons .btn-share-post:hover,
.btn-share-modal-submit:hover,
.details-report-button-container .btn-report-post-link:hover,
.details-login-to-report .btn-login-report:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* =========================================
   DONATION FORM
   ========================================= */

.donation-form-details-container {
    margin-top: 1.8rem;
}

.donation-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: radial-gradient(circle at right, rgba(255,193,99,0.16), transparent 60%);
    border: 1px solid rgba(255,193,99,0.5);
}

.donation-label {
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #ffe3b6;
}

.donation-input-wrapper {
    flex: 1 1 120px;
}

.donation-input-wrapper input[type="number"] {
    width: 100%;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.22);
    background: #05060a;
    color: #f7f7ff;
}

#donate-button {
    border-radius: 999px;
    padding: 0.5rem 1.4rem;
    border: none;
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: #041009;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* =========================================
   MESSAGES
   ========================================= */

.messages-container {
    margin-top: 1.2rem;
}

.messages-container .alert {
    border-radius: 12px;
    padding: 0.65rem 0.9rem;
    font-size: 0.86rem;
}

/* =========================================
   COMMENTS SECTION
   ========================================= */

.article-details-comments-wrapper {
    margin-top: 2.1rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.article-details h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #f5f5ff;
    margin-bottom: 0.8rem;
}

/* Comment cards */
.comment-box {
    padding: 0.9rem 0.9rem 0.8rem;
    border-radius: 14px;
    margin-bottom: 0.9rem;
    background: linear-gradient(
        135deg,
        rgba(13,16,32,0.95),
        rgba(7,9,20,0.98)
    );
    border: 1px solid rgba(255,255,255,0.08);
}

/* Comment header */
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.35rem;
}

.comment-username .user-link {
    color: #7fb3ff;
    font-weight: 600;
    text-decoration: none;
}

.comment-username .user-link:hover {
    text-decoration: underline;
}

.comment-date {
    font-size: 0.75rem;
    color: #9ea4c7;
}

/* Comment text */
.comment-text {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #e6e8ff;
    margin-bottom: 0.55rem;
}

/* Comment like/dislike row */
.comment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.comment-like-btn.like {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border: none;
    color: #04100a;
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    border-radius: 999px;
}

.comment-dislike-btn.dislike {
    background: linear-gradient(135deg, #ef4444, #f97373);
    border: none;
    color: #360909;
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    border-radius: 999px;
}

/* Count line */
.comment-likes-dislikes {
    display: flex;
    gap: 1.2rem;
    font-size: 0.78rem;
    color: #cfd4ff;
}

/* Respond link */
.respond-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: #7fb3ff;
    text-decoration: none;
}

.respond-link i {
    font-size: 0.85rem;
}

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

/* =========================================
   COMMENT FORM
   ========================================= */

.article-details-comments-wrapper form#comment-form {
    margin-top: 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

#comment-input {
    width: 100%;
    min-height: 90px;
    border-radius: 14px;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
    background: #05060a;
    color: #f9f9ff;
    resize: vertical;
}

#comment-form .btn.btn-primary {
    align-self: flex-end;
    border-radius: 999px;
    padding: 0.5rem 1.4rem;
    border: none;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #04101f;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* =========================================
   COMMENTS PAGINATION
   ========================================= */

.details-comment-pagination {
    margin-top: 1.1rem;
    text-align: center;
    font-size: 0.82rem;
    color: #cfd4ff;
}

.details-comment-pagination .pagination-prev,
.details-comment-pagination .pagination-next {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b5a2b, #b98b5d);
    color: #140a03;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.details-comment-pagination .pagination-prev:hover,
.details-comment-pagination .pagination-next:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.pagination-numbers {
    display: inline-block;
    margin: 0 0.3rem;
}


}

/* Form “card” */
#postForm {
    max-width: 720px;
    margin: 0 auto 3rem auto;
    padding: 1.4rem 1.2rem 1.6rem;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(255, 99, 132, 0.18), transparent 60%),
        radial-gradient(circle at bottom right, rgba(54, 162, 235, 0.18), transparent 60%),
        rgba(4, 5, 12, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.9),
        0 0 0 1px rgba(255,255,255,0.02);
}

/* Keep spacing on small screens */
@media (max-width: 480px) {
    #postForm {
        padding: 1.1rem 0.85rem 1.4rem;
        margin-bottom: 2.2rem;
    }
}

/* Each field from {{ form.as_p }} */
#postForm p {
    margin-bottom: 0.9rem;
}

/* Labels */
#postForm label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    color: #cfd4ff;
    font-weight: 600;
}

/* Help text (if any) */
#postForm .helptext {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #9da5d1;
}

/* =========================================
   FORM CONTROLS – INPUTS / TEXTAREAS / SELECT
   ========================================= */

#postForm input[type="text"],
#postForm input[type="number"],
#postForm input[type="url"],
#postForm input[type="email"],
#postForm input[type="file"],
#postForm textarea,
#postForm select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(4,6,18,0.96);
    color: #f7f7ff;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    outline: none;
    transition: border 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.08s ease;
}

/* Textarea height */
#postForm textarea {
    min-height: 110px;
    resize: vertical;
}

/* Hover / focus effects */
#postForm input[type="text"]:focus,
#postForm input[type="number"]:focus,
#postForm input[type="url"]:focus,
#postForm input[type="email"]:focus,
#postForm input[type="file"]:focus,
#postForm textarea:focus,
#postForm select:focus {
    border-color: rgba(80, 200, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(80, 200, 255, 0.7), 0 0 18px rgba(80, 200, 255, 0.55);
    background: radial-gradient(circle at top, rgba(18,28,60,0.96), rgba(5,7,18,0.98));
    transform: translateY(-1px);
}

/* Placeholder color */
#postForm ::placeholder {
    color: #73789e;
}

/* =========================================
   SPOTLIGHT AREA – MAKE IT FEEL “PREMIUM”
   uses your id_spotlight + id_spotlight_days fields
   ========================================= */

/* Wrap the P that contains the spotlight checkbox + label in a glowing block */
#postForm p:has(#id_spotlight),
#postForm p:has(#id_spotlight_days) {
    padding: 0.6rem 0.65rem;
    border-radius: 14px;
    background: radial-gradient(circle at right, rgba(255, 215, 128,0.14), transparent 65%);
    border: 1px solid rgba(255, 193, 99, 0.8);
    box-shadow: 0 0 25px rgba(255, 193, 99, 0.35);
}

/* Checkbox row nicer */
#id_spotlight {
    margin-right: 0.35rem;
    transform: scale(1.1);
    accent-color: #f59e0b; /* modern browsers */
}

/* Spotlight days input slightly narrower on larger screens */
@media (min-width: 480px) {
    #id_spotlight_days {
        max-width: 140px;
        display: inline-block;
    }
}

/* =========================================
   PRIMARY BUTTON – “Create Post”
   ========================================= */

#postForm button[type="button"],
#postForm button.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.4rem;
    
    background: linear-gradient(135deg, #4f46e5, #6366f1, #22c55e);
    border: none;
    color: #050816;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;

    padding: 0.6rem 1.8rem;
    border-radius: 999px;

    box-shadow:
        0 12px 30px rgba(0,0,0,0.85),
        0 0 24px rgba(79,70,229,0.8);
    
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
}

/* Hover / active */
#postForm button[type="button"]:hover,
#postForm button.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

#postForm button[type="button"]:active,
#postForm button.btn-primary:active {
    transform: translateY(0);
    box-shadow:
        0 8px 18px rgba(0,0,0,0.9),
        0 0 18px rgba(79,70,229,0.9);
}

/* Center the button on small screens */
@media (max-width: 480px) {
    #postForm button[type="button"],
    #postForm button.btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   SMALL SCREEN TWEAKS
   ========================================= */

@media (max-width: 360px) {
    .container h1 {
        font-size: 1.4rem;
        letter-spacing: 0.12em;
    }

    #postForm label {
        font-size: 0.78rem;
    }

    #postForm input[type="text"],
    #postForm textarea,
    #postForm select {
        font-size: 0.86rem;
    }
}







/* 11/21/2025 */


/* =========================================
   EDIT PROFILE PAGE – WRAPPER
   ========================================= */

   .edit-profile-container {
    max-width: 720px;
    margin: 2.5rem auto 3.5rem auto;  /* centered, with breathing room */
    padding: 1.6rem 1.3rem 1.9rem;
    border-radius: 24px;

    background:
        radial-gradient(circle at top left, rgba(255, 99, 132, 0.18), transparent 60%),
        radial-gradient(circle at bottom right, rgba(54, 162, 235, 0.18), transparent 60%),
        rgba(5, 6, 16, 0.97);

    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 45px rgba(0,0,0,0.9),
        0 0 0 1px rgba(255,255,255,0.03);
}

/* Smaller padding on tiny phones */
@media (max-width: 420px) {
    .edit-profile-container {
        margin-top: 1.6rem;
        padding: 1.3rem 0.9rem 1.6rem;
    }
}

/* =========================================
   TITLE
   ========================================= */

.edit-profile-container h1 {
    margin-top: 0.2rem;
    margin-bottom: 1.1rem;
    text-align: center;
    font-size: 1.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;

    background: linear-gradient(120deg, #ff9f43, #ff6b81, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    text-shadow: 0 2px 18px rgba(0,0,0,0.85);
}

@media (max-width: 360px) {
    .edit-profile-container h1 {
        font-size: 1.45rem;
        letter-spacing: 0.12em;
    }
}

/* =========================================
   FORM LAYOUT
   ========================================= */

.edit-profile-container form {
    margin-bottom: 1.4rem;
}

/* Each field from {{ form.as_p }} */
.edit-profile-container form p {
    margin-bottom: 0.9rem;
}

/* Labels */
.edit-profile-container form label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-bottom: 0.32rem;
    color: #cfd4ff;
    font-weight: 600;
}

/* helptext if Django renders it */
.edit-profile-container .helptext {
    display: block;
    margin-top: 0.18rem;
    font-size: 0.75rem;
    color: #9ea5d8;
}

/* =========================================
   INPUTS / TEXTAREA / SELECT
   ========================================= */

.edit-profile-container form input[type="text"],
.edit-profile-container form input[type="email"],
.edit-profile-container form input[type="url"],
.edit-profile-container form input[type="file"],
.edit-profile-container form input[type="number"],
.edit-profile-container form input[type="password"],
.edit-profile-container form textarea,
.edit-profile-container form select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(7, 10, 22, 0.98);
    color: #f7f7ff;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    outline: none;
    transition:
        border 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease,
        transform 0.08s ease;
}

/* Textarea a bit taller */
.edit-profile-container form textarea {
    min-height: 110px;
    resize: vertical;
}

/* Focus state – neon-ish */
.edit-profile-container form input:focus,
.edit-profile-container form textarea:focus,
.edit-profile-container form select:focus {
    border-color: rgba(80,200,255,0.9);
    box-shadow: 0 0 0 1px rgba(80,200,255,0.8), 0 0 20px rgba(80,200,255,0.55);
    background: radial-gradient(circle at top, rgba(18,28,60,0.98), rgba(5,7,18,1));
    transform: translateY(-1px);
}

/* Placeholder color */
.edit-profile-container ::placeholder {
    color: #747aa4;
}

/* =========================================
   PROFILE IMAGE PREVIEW
   ========================================= */

.edit-profile-container form img {
    display: block;
    margin: 0.5rem auto 1.1rem auto;

    width: 120px;
    height: 120px;
    border-radius: 999px;

    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.65);
    box-shadow:
        0 10px 24px rgba(0,0,0,0.85),
        0 0 16px rgba(79,70,229,0.75);
}

/* Slightly larger avatar on bigger screens */
@media (min-width: 768px) {
    .edit-profile-container form img {
        width: 140px;
        height: 140px;
    }
}

/* =========================================
   PRIMARY & SECONDARY BUTTONS
   ========================================= */

/* Update button (already has .btn.btn-primary) */
.edit-profile-container .btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 0.4rem;
    padding: 0.55rem 1.6rem;

    border-radius: 999px;
    border: none;
    cursor: pointer;

    background: linear-gradient(135deg, #22c55e, #4ade80, #a855f7);
    color: #050816;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    box-shadow:
        0 12px 30px rgba(0,0,0,0.85),
        0 0 22px rgba(34,197,94,0.8);

    transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
}

/* Hover / active */
.edit-profile-container .btn.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}
.edit-profile-container .btn.btn-primary:active {
    transform: translateY(0);
    box-shadow:
        0 8px 18px rgba(0,0,0,0.9),
        0 0 16px rgba(34,197,94,0.9);
}

/* Back to profile – secondary button style */
.edit-profile-container .btn.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.5rem 1.4rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;

    border: 1px solid rgba(148,163,184,0.6);
    color: #e5e7eb;
    background: transparent;

    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
    transition: background 0.15s ease, color 0.15s ease, transform 0.08s ease;
}

/* Secondary hover */
.edit-profile-container .btn.btn-secondary:hover {
    background: radial-gradient(circle at top, rgba(30,64,175,0.9), rgba(15,23,42,0.98));
    color: #f9fafb;
    transform: translateY(-1px);
}

/* Stack buttons on tiny screens */
@media (max-width: 480px) {
    .edit-profile-container .btn.btn-primary,
    .edit-profile-container .btn.btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .edit-profile-container .btn.btn-secondary {
        margin-top: 0.35rem;
    }
}


/* ==========================================================
   CREATE CHAT PAGE — RED CHERRY GRID THEME
   ========================================================== */

   .create-chat-container {
    max-width: 720px;
    margin: 2.5rem auto;
    padding: 1.8rem 1.3rem;

    background:
        radial-gradient(circle at top left, rgba(255, 50, 50, 0.18), transparent 60%),
        radial-gradient(circle at bottom right, rgba(255, 80, 80, 0.2), transparent 60%),
        #0a0b10;

    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 22px 45px rgba(0,0,0,0.88);
}

@media (max-width: 420px) {
    .create-chat-container {
        padding: 1.4rem 1rem;
        margin-top: 1.6rem;
    }
}

/* Title */
.create-chat-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.7rem;

    background: linear-gradient(120deg, #ff3b3b, #ff7676, #ff9f43);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(0,0,0,0.9);
}

/* Form Groups */
.create-chat-form-group {
    margin-bottom: 1.3rem;
}

/* Labels */
.create-chat-label {
    display: block;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: #ff5d5d;
    font-weight: 700;
}

/* Inputs */
.create-chat-form-input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    background: #090b14;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1rem;
    transition: 0.15s ease;
    outline: none;
}

.create-chat-form-input:focus {
    border-color: #ff4d4d;
    box-shadow: 0 0 0 1px rgba(255,70,70,0.7);
    background: #0f111d;
}

/* Suggestions Dropdown */
.create-chat-suggestions-list {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: #11131e;
    list-style: none;
    margin: 0;
    padding: 0.4rem 0;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    max-height: 210px;
    overflow-y: auto;
    z-index: 10000;
    box-shadow: 0 12px 25px rgba(0,0,0,0.8);
}

.create-chat-suggestion-item {
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    color: #eee;
    font-size: 0.95rem;
}

.create-chat-suggestion-item:hover {
    background: rgba(255,50,50,0.2);
}

/* Add User Button */
.add-user-btn {
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.45rem 0.85rem;
    background: linear-gradient(135deg, #ff3b3b, #ff9f43);
    color: #050505;
    border: none;
    border-radius: 999px;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 700;
    z-index: 50;
    box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}

.add-user-btn:hover {
    filter: brightness(1.05);
}

/* Selected Users Box */
.create-chat-subtitle {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    color: #ff7f7f;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.create-chat-selected-usernames {
    list-style: none;
    padding: 0;
    margin: 0;
}

.create-chat-selected-username-item {
    padding: 0.55rem 0.85rem;
    background: rgba(255, 60, 60, 0.18);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    color: #ffdede;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Remove user button */
.remove-username-btn {
    background: transparent;
    border: 1px solid rgba(255,70,70,0.7);
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    color: #ff4d4d;
    cursor: pointer;
    font-size: 0.75rem;
    transition: 0.15s ease;
}

.remove-username-btn:hover {
    background: rgba(255,70,70,0.25);
}

/* Submit Button */
.create-chat-submit-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    margin-top: 1rem;

    background: linear-gradient(135deg, #ff3a3a, #ff7b7b, #ffb86c);
    color: #050505;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.16em;

    box-shadow:
        0 20px 45px rgba(0,0,0,0.9),
        0 0 18px rgba(255,70,70,0.7);

    transition: transform 0.08s ease, filter 0.08s ease;
}

.create-chat-submit-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.create-chat-submit-btn:active {
    transform: translateY(0);
}


/* ============================================
   CHERRY GRID EXCHANGE – TRANSFER PAGE
   ============================================ */

   .transfer-form {
    max-width: 680px;
    margin: 2.5rem auto;
    padding: 2rem 1.5rem;
    border-radius: 20px;

    background:
        radial-gradient(circle at top left, rgba(255, 70, 70, 0.22), transparent 60%),
        radial-gradient(circle at bottom right, rgba(255, 120, 80, 0.18), transparent 60%),
        #05060a;

    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 50px rgba(0,0,0,0.92);
}

/* Titles – red, futuristic */
.exchange-title {
    text-align: center;
    font-size: 1.9rem;
    margin-bottom: 0.4rem;

    background: linear-gradient(120deg, #ff3b3b, #ff8a65, #ffc163);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-shadow: 0 2px 16px rgba(0,0,0,0.9);
}

.exchange-subtitle {
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 1.6rem;
    color: rgba(255, 225, 225, 0.9);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Circulation counter */
.circulation-glow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;

    margin-bottom: 1.8rem;
    padding: 0.8rem 1rem;

    border-radius: 14px;
    background: radial-gradient(circle, rgba(255,80,80,0.16), rgba(10,10,20,0.9));

    border: 1px solid rgba(255,120,120,0.35);
    box-shadow: 0 0 18px rgba(255,60,60,0.35);
}

.circulation-glow .label {
    font-size: 0.78rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255,210,210,0.85);
}

.circulation-glow .token-count {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

/* Form layout */
.exchange-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.exchange-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Labels */
.exchange-label {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff5a5a;
}

/* Inputs – style your form fields */
.transfer-form input[type="text"],
.transfer-form input[type="number"],
.transfer-form input[type="email"],
.transfer-form select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: #080a12;
    color: #f5f5f5;
    font-size: 0.98rem;
    outline: none;
    transition: 0.18s ease;
}

.transfer-form input[type="text"]:focus,
.transfer-form input[type="number"]:focus,
.transfer-form input[type="email"]:focus,
.transfer-form select:focus {
    border-color: #ff4d4d;
    box-shadow: 0 0 0 1px rgba(255,80,80,0.7);
    background: #0d101c;
}

/* Helper text */
.exchange-help {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(230, 220, 220, 0.85);
}

.exchange-help span {
    color: #ff7e7e;
    font-weight: 600;
}

/* Submit button */
.exchange-submit-btn {
    margin-top: 0.4rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;

    background: linear-gradient(135deg, #ff3a3a, #ff7b7b, #ffb86c);
    color: #050505;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    box-shadow:
        0 18px 40px rgba(0,0,0,0.95),
        0 0 18px rgba(255,70,70,0.7);

    transition: transform 0.08s ease, filter 0.08s ease;
}

.exchange-submit-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.07);
}

.exchange-submit-btn:active {
    transform: translateY(0);
}

/* Back to store link */
.btn-back-store {
    display: inline-block;
    margin-top: 1.4rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    color: #f1f1f1;
    text-decoration: none;
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.03);
    transition: 0.15s ease;
}

.btn-back-store:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
}



/* 11/21/2025 */


/* ============================================
   COMMUNITY GRID MARKET – STORE PAGE
   ============================================ */

   .store-content {
    max-width: 980px;
    margin: 2.5rem auto;
    padding: 1.5rem 1rem;
}

/* Main title */
.store-content h1 {
    text-align: center;
    margin-bottom: 1.4rem;
    font-size: 1.8rem;

    background: linear-gradient(120deg, #ff3b3b, #ff8a65, #ffc163);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Section title (Items Available) */
.store-content h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.9rem;
    color: #f8f8f8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

/* Top links row */
.store-top-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin-bottom: 1.4rem;
}

/* Buttons for Transfer, Sell, Dashboard */
.transfer-credits-btn,
.sell-item-btn,
.seller-dashboard-btn {
    padding: 0.6rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid transparent;
    transition: 0.15s ease;
}

/* Individual button themes */
.transfer-credits-btn {
    background: linear-gradient(135deg, #ff3a3a, #ff7b7b);
    color: #050505;
    box-shadow: 0 10px 24px rgba(0,0,0,0.9);
}

.sell-item-btn {
    background: transparent;
    color: #ffb86c;
    border-color: rgba(255,184,108,0.7);
}

.seller-dashboard-btn {
    background: transparent;
    color: #7ed8ff;
    border-color: rgba(126,216,255,0.7);
}

.transfer-credits-btn:hover,
.sell-item-btn:hover,
.seller-dashboard-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* Store item card */
.store-item {
    margin-bottom: 1.8rem;
    padding: 1.2rem 1rem;
    border-radius: 18px;

    background:
        radial-gradient(circle at top left, rgba(255, 70, 70, 0.15), transparent 55%),
        radial-gradient(circle at bottom right, rgba(80, 100, 255, 0.14), transparent 55%),
        rgba(5,6,12,0.96);

    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 16px 35px rgba(0,0,0,0.85);
}

/* Item title */
.store-item-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.store-item-title a {
    color: #ffdddd;
    text-decoration: none;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.store-item-title a:hover {
    color: #ffffff;
}

/* Image slider */
.image-slider {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    margin-top: 0.5rem;
}

.image-slider .slide {
    display: none;
}

.image-slider .slide.show {
    display: block;
}

.item-image {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

/* Slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 1.4rem;
    padding: 0.2rem 0.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.15s ease;
}

.slider-arrow.left {
    left: 8px;
}

.slider-arrow.right {
    right: 8px;
}

.slider-arrow:hover {
    background: rgba(0,0,0,0.8);
}

/* Info block */
.store-item-info {
    margin-top: 0.9rem;
    font-size: 0.9rem;
    color: #f0f0f0;
}

/* Seller link */
.store-item-seller-link {
    color: #ff7676;
    text-decoration: none;
    font-weight: 600;
}

.store-item-seller-link:hover {
    color: #ffb6b6;
}

/* Price block */
.store-item-price {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    font-weight: 700;
}

.price-label {
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.82rem;
    color: rgba(255,220,220,0.9);
}

.price-symbol {
    font-size: 1.4rem;
}

.price-text {
    color: #ffdd72;
}

/* Condition / location row */
.store-item-condition-location {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 0.5rem;
    gap: 0.3rem;
    font-size: 0.87rem;
    color: rgba(240,240,240,0.9);
}

.store-item-condition-delivery p {
    margin: 0;
}

.store-item-location {
    margin: 0;
}

/* Sold label */
.sold-label {
    display: inline-block;
    margin-top: 0.7rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,60,60,0.22);
    border: 1px solid rgba(255,90,90,0.75);
    color: #ffbcbc;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Pagination */
.store-home-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.store-home-pagination .pagination-left,
.store-home-pagination .pagination-center,
.store-home-pagination .pagination-right {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.pagination-link {
    text-decoration: none;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    color: #f5f5f5;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: 0.15s ease;
    background: rgba(20,20,20,0.75);
}

.pagination-link:hover {
    background: rgba(255,255,255,0.08);
}

.pagination-info {
    color: rgba(235,235,235,0.85);
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .store-home-pagination {
        flex-direction: column;
        gap: 0.6rem;
        align-items: center;
    }

    .store-item {
        padding: 1rem 0.9rem;
    }
}






/* ============================================================
   CHERRY GRID — TOURNAMENTS PAGE STYLING
   Red, modern, glowing, advanced, grid-themed
   ============================================================ */

/* Page Wrapper */
.custom-container {
  max-width: 900px;
  margin: 2.2rem auto;
  padding: 1.8rem 1.4rem;

  background:
      radial-gradient(circle at top left, rgba(255,60,60,0.18), transparent 55%),
      radial-gradient(circle at bottom right, rgba(255,120,90,0.18), transparent 55%),
      #05060a;

  border-radius: 20px;
  box-shadow: 0 25px 55px rgba(0,0,0,0.93);
  border: 1px solid rgba(255,255,255,0.05);
}

/* Title */
.custom-container h1 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  background: linear-gradient(135deg, #ff3c3c, #ff7a6b, #ffc163);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
}

/* Buttons Row */
.button-section {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
}

/* Shared Button Base */
.button-section a,
.new-tournament-link {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;

  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 700;

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

  transition: 0.18s ease;
}

/* My Tournaments Button */
.my-tournaments-btn {
  background: linear-gradient(135deg, #ff3a3a, #ff7878);
  color: #050505;
  box-shadow: 0 12px 25px rgba(0,0,0,0.85);
}

.my-tournaments-btn:hover {
  filter: brightness(1.08);
}

/* Team Dashboard Button */
.team-dashboard-btn {
  color: #ffb166;
  border-color: rgba(255,177,102,0.7);
  background: rgba(255,255,255,0.03);
}

.team-dashboard-btn:hover {
  background: rgba(255,255,255,0.10);
}

/* Tournament Rules Button */
.btn-tournament-rules {
  color: #82d0ff;
  border-color: rgba(130,208,255,0.65);
}

.btn-tournament-rules:hover {
  background: rgba(130,208,255,0.12);
}

/* Create New Tournament Link */
.new-tournament-link {
  margin-top: 0.6rem;
  background: transparent;
  color: #ff6e6e;
  border-color: rgba(255,110,110,0.65);
}

.new-tournament-link:hover {
  background: rgba(255,110,110,0.10);
}

/* Tournament List */
.tournament-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0 auto;

  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Individual Tournament Card */
.tournament-item {
  padding: 0.85rem 1.1rem;
  border-radius: 14px;

  display: flex;
  align-items: center;
  gap: 0.75rem;

  font-size: 1rem;

  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);

  transition: 0.15s ease;
}

/* Active Tournament Glow */
.active-tournament {
  box-shadow: 0 0 16px rgba(255,60,60,0.25);
  border-left: 3px solid #ff4d4d;
}

/* Expired/Completed Tournament */
.expired-tournament {
  opacity: 0.55;
  border-left: 3px solid rgba(255,255,255,0.25);
}

/* Trophy Icon */
.tournament-icon {
  font-size: 1.25rem;
  color: #ff6161;
}

/* Tournament Title Link */
.tournament-link {
  color: #ffecec;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.tournament-link:hover {
  color: #ffffff;
}

/* Pagination */
.pagination {
  margin-top: 1.4rem;
  text-align: center;
}

.pagination a {
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  margin: 0 0.25rem;

  border-radius: 999px;
  font-size: 0.85rem;
  color: #f0f0f0;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);

  transition: 0.15s ease;
}

.pagination a:hover {
  background: rgba(255,255,255,0.12);
}

.pagination .current {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;

  font-size: 0.85rem;
  background: rgba(255,255,255,0.10);
  color: #ffcccc;

  border: 1px solid rgba(255,255,255,0.22);
}



.ccg-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 0, 0, 0.75);
  z-index: 13000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Modal box */
.ccg-modal-content {
  background: #0e0e11;
  padding: 1.5rem;
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.85);

  border: 1px solid rgba(255, 50, 50, 0.35);
  color: #f1f1f1;
  position: relative;
}

/* Close Button (X) */
.ccg-modal-close {
  position: absolute;
  right: 14px;
  top: 8px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #fff;
  transition: 0.2s;
}

.ccg-modal-close:hover {
  color: #ff4040;
}

/* Title */
.ccg-modal-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: #ff3a3a;
  text-transform: uppercase;
}

/* Labels */
.ccg-modal-label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #ff6666;
}

/* Input */
.ccg-modal-input {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 1rem;
  background: #15161c;
  border: 1px solid rgba(255, 60, 60, 0.3);
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  transition: border 0.2s;
}

.ccg-modal-input:focus {
  border-color: #ff4747;
  outline: none;
}

/* Submit Button */
.ccg-modal-submit {
  width: 100%;
  padding: 10px 12px;
  background: linear-gradient(90deg, #ff3030, #d90000);
  border: none;
  color: #fff;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(255, 40, 40, 0.45);
  transition: 0.2s ease;
}

.ccg-modal-submit:hover {
  background: linear-gradient(90deg, #ff4747, #ff0000);
  transform: translateY(-2px);
}

/* Success & error messages */
.ccg-modal-success {
  display: none;
  margin-top: 0.75rem;
  text-align: center;
  color: #44ff44;
  font-weight: 600;
}

.ccg-modal-error {
  display: none;
  margin-top: 0.75rem;
  text-align: center;
  color: #ff5a5a;
  font-weight: 600;
}

/* Prevent background scroll when modal opens */
body.modal-open {
  overflow: hidden;
}

/* =========================================================
   FIX BUTTON SHIFT WHEN MODAL OPENS
   Prevent layout jumping when scrollbar disappears
   ========================================================= */
   html {
    scrollbar-gutter: stable;
}

/* Ensure ALL modals overlay the page and never push layout */

/* Modal content always centered */
.ccg-modal-content,
.modal-content {
    position: relative !important;
}

/* Prevent modal HTML inside posts from affecting layout */
.post-card .modal,
.post-card .ccg-modal {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}


/* === ABSOLUTE FIX: Modal must NOT affect layout === */
.modal,
.ccg-modal {
    position: fixed !important;
    inset: 0 !important; /* shorthand: top/left/right/bottom = 0 */
    width: 100vw !important;
    height: 100vh !important;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999 !important;

    /* prevent modal from taking space in the post card */
    margin: 0 !important;
    padding: 0 !important;
}



html {
  scrollbar-gutter: stable !important;
}

body.modal-open {
  overflow: hidden !important;
  padding-right: 0 !important;  /* Removes Chrome auto-shift */
}

/* Comment like/dislike buttons — FIX HIDING COMMENTS */
.comment-like-btn,
.comment-dislike-btn {
    display: inline-flex !important;   /* keeps layout stable */
    align-items: center;
    justify-content: center;

    background: #000 !important;
    color: #fff !important;

    border: 1px solid #444 !important;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin: 4px 6px;  /* ensures spacing so they don’t collide */
}

.comment-like-btn:hover,
.comment-dislike-btn:hover {
    background: #222 !important;
}



/* Move modal down from the very top */
.ccg-modal {
  align-items: flex-start !important; /* instead of centered */
  padding-top: 12vh !important;       /* move modal down */
}


/* ============================
   FORCE COMMENTS TO SHOW
   ============================ */

/* Container must be visible and allowed to grow */
.comments-container {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  padding-top: 0.5rem;
}

/* Each comment box: visible, card-style */
.comment-box {
  display: block !important;
  background: rgba(8, 8, 12, 0.95);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 64, 64, 0.3);
  color: #f5f5f5 !important;
}

/* Header line: username + date */
.comment-header {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

/* Username link */
.comment-username .user-link {
  color: #ff4c4c !important;
  font-weight: 600;
  text-decoration: none;
}
.comment-username .user-link:hover {
  text-decoration: underline;
}

/* Date text */
.comment-date {
  font-size: 0.75rem;
  color: #bbbbc7;
}

/* Comment body text */
.comment-text {
  display: block !important;
  margin: 0.25rem 0 0.4rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #f1f1f1 !important;
}

/* Like/dislike counts row */
.comment-likes-dislikes {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #d0d0d0;
  margin-bottom: 0.4rem;
}

/* Respond link */
.respond-link {
  font-size: 0.8rem;
  color: #ff5a5a !important;
  text-decoration: none;
}
.respond-link:hover {
  text-decoration: underline;
}

/* ============================
 COMMENT LIKE/DISLIKE BUTTONS
 ============================ */

/* =====================================
   CHERRY GRID – COMMENT VISIBILITY FIX
   (Put this at the BOTTOM of your CSS)
   ===================================== */

/* =====================================
   FIX COMMENT VISIBILITY ON REFRESH
   ===================================== */

/* ==============================================
   SUPER VISIBLE COMMENT LIKE / DISLIKE BUTTONS
   GREEN = LIKE   |   RED = DISLIKE
   ============================================== */

 /* ===========================================
   COMMENT LIKE / DISLIKE BUTTONS (HOME PAGE)
   Green = Like, Red = Dislike
   =========================================== */

/* Layout for the comment actions row */
.comments-container .comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.4rem;
}

/* Wrap the JS-generated like/dislike group */
.comments-container .comment-actions .like-dislike-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* LIKE (green) – only affect buttons inside comments */
.comments-container .comment-actions .btn-like {
  background: linear-gradient(135deg, #0f4d0f, #1c7a1c) !important;
  color: #b6ffb6 !important;
  border: 1px solid #2aff2a !important;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-shadow: 0 0 4px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: 0.2s ease;
}

/* LIKE hover */
.comments-container .comment-actions .btn-like:hover {
  background: linear-gradient(135deg, #1d7a1d, #36ff36) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(40, 255, 40, 0.4);
}

/* DISLIKE (red) – only affect buttons inside comments */
.comments-container .comment-actions .btn-dislike {
  background: linear-gradient(135deg, #4d0f0f, #7a1c1c) !important;
  color: #ffb6b6 !important;
  border: 1px solid #ff2a2a !important;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-shadow: 0 0 4px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: 0.2s ease;
}

/* DISLIKE hover */
.comments-container .comment-actions .btn-dislike:hover {
  background: linear-gradient(135deg, #7a1c1c, #ff3232) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(255, 60, 60, 0.4);
}

/* Make sure "hidden" still actually hides them */
.comments-container .comment-actions .hidden {
  display: none !important;
}




/* ============================
   CHAT PAGE – LAYOUT + STYLE
   ============================ */

/* Outer container */
.chat-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  color: #f5f5f5;
}

/* Two-column grid: sidebar + chat */
.chat-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: flex-start;
}

/* Stack on smaller screens */
@media (max-width: 900px) {
  .chat-grid {
      grid-template-columns: 1fr;
  }
}

/* ============================
 SIDEBAR
 ============================ */

.chat-sidebar {
  background: radial-gradient(circle at top left,
              rgba(255, 80, 80, 0.25),
              transparent 60%)
              , #08090d;
  border-radius: 16px;
  padding: 1rem 1.2rem 1.4rem;
  border: 1px solid rgba(255, 70, 70, 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

/* Chat (group) title */
.chat-header {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
  color: #ff4c4c;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 60, 60, 0.7);
}

/* Section title inside sidebar */
.sidebar-header,
.add-users-header {
  font-size: 0.95rem;
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff8a8a;
}

/* User list */
.user-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
  max-height: 260px;
  overflow-y: auto;
}

.user-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.3rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.1s;
}

.user-item:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(1px);
}

.user-icon {
  color: #ff4c4c;
  font-size: 0.85rem;
}

/* Username link */
.user-link {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 0.88rem;
}
.user-link:hover {
  color: #ff8080;
  text-decoration: underline;
}

/* Add Users box */
.add-users {
  margin-top: 1rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 70, 70, 0.35);
}

/* Add-users input + button */
.usernames-input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 70, 70, 0.5);
  background: #0b0c11;
  color: #f5f5f5;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.usernames-input:focus {
  outline: none;
  border-color: #ff4545;
  box-shadow: 0 0 0 1px rgba(255, 69, 69, 0.6);
}

/* Use your existing .btn, just tweak primary here */
.chat-sidebar .btn.btn-primary {
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff4141, #c50000);
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================
 MAIN CHAT SECTION
 ============================ */

.chat-section {
  background: radial-gradient(circle at top right,
              rgba(255, 99, 132, 0.2),
              transparent 65%)
              , #05060a;
  border-radius: 16px;
  padding: 1rem 1.2rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Messages area */
.chat-messages {
  max-height: 65vh;
  overflow-y: auto;
  padding-right: 0.35rem;
}

/* Individual message bubble */
.message-item {
  background: linear-gradient(135deg, #12131b, #181b24);
  border-radius: 14px;
  padding: 0.6rem 0.75rem 0.55rem;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

/* Username line */
.message-header {
  margin: 0 0 0.2rem;
  font-size: 0.83rem;
}

/* Sender name when current user */
.user-self {
  color: #ff6565;
  font-weight: 700;
}

/* Other users */
.user-other {
  color: #f1f1f1;
  font-weight: 600;
}

/* Message content */
.message-content {
  margin: 0.15rem 0 0.25rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #f7f7f7;
}

/* Timestamp */
.message-timestamp {
  margin: 0;
  font-size: 0.72rem;
  color: #a0a3b3;
  text-align: right;
}

/* Slight highlight for messages from current user */
.message-item .user-self {
  text-shadow: 0 0 6px rgba(255, 50, 50, 0.7);
}

/* ============================
 SHARED POST CARD
 ============================ */

.shared-post {
  margin-top: 0.35rem;
  padding: 0.55rem 0.6rem 0.6rem;
  border-radius: 10px;
  background: rgba(12, 11, 16, 0.95);
  border: 1px solid rgba(255, 80, 80, 0.55);
  box-shadow: 0 0 12px rgba(255, 60, 60, 0.35);
}

.shared-post-link h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: #ff8080;
}

.shared-post-link {
  text-decoration: none;
}
.shared-post-link:hover h3 {
  color: #ffffff;
}

/* Shared image + video */
.shared-post-image-wrapper,
.shared-post-video-wrapper {
  margin-top: 0.25rem;
  border-radius: 10px;
  overflow: hidden;
}

.shared-post-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.shared-post-video {
  width: 100%;
  border-radius: 10px;
}

/* ============================
 PAGINATION
 ============================ */

.chat-pagination {
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.pagination-buttons-left,
.pagination-buttons-right {
  display: flex;
  gap: 0.35rem;
}

.pagination-link {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5f5f5;
  text-decoration: none;
  background: rgba(10, 10, 16, 0.9);
  transition: background 0.15s, border 0.15s, transform 0.1s;
}

.pagination-link:hover {
  background: #ff3b3b;
  border-color: #ff3b3b;
  transform: translateY(-1px);
}

.pagination-info {
  color: #b0b3c0;
}

/* ============================
 SEND MESSAGE FORM
 ============================ */

.send-message-container {
  margin-top: 0.4rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.message-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.message-input {
  width: 100%;
  min-height: 80px;
  max-height: 180px;
  resize: vertical;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 70, 70, 0.45);
  background: #080910;
  color: #f7f7f7;
  font-size: 0.92rem;
}
.message-input:focus {
  outline: none;
  border-color: #ff4747;
  box-shadow: 0 0 0 1px rgba(255, 71, 71, 0.6);
}

/* Send button (red theme) */
.btn.btn-send {
  align-self: flex-end;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff3b3b, #d40000);
  border: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(255, 60, 60, 0.4);
  cursor: pointer;
  transition: 0.15s ease;
}
.btn.btn-send:hover {
  background: linear-gradient(120deg, #ff5454, #ff0000);
  transform: translateY(-1px);
}

/* Back button at bottom */
.chat-container .btn.btn-secondary {
  margin-top: 1rem;
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #f5f5f5;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.chat-container .btn.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}


/* ============================
   INBOX PAGE – WRAPPER
   ============================ */

   .content-container .messages-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1rem 0.5rem;
}

/* Main page wrapper for chat list */
.group-messages-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1rem 2.5rem;
    background: radial-gradient(circle at top left,
                rgba(255, 70, 70, 0.25),
                transparent 55%)
                , rgba(5, 6, 10, 0.98);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
}

/* ============================
   TITLES / HEADERS
   ============================ */

.inbox-title {
    font-size: 1.7rem;
    margin: 0 0 0.4rem;
    color: #ff4a4a;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-shadow: 0 0 10px rgba(255, 60, 60, 0.8);
    text-align: center;
}

.chats-title {
    font-size: 1.1rem;
    margin: 0 0 0.9rem;
    color: #ff8f8f;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    text-align: center;
}

/* Little breathing room between "Start New Chat" and list */
.spacer {
    height: 0.75rem;
}

/* ============================
   "START A NEW CHAT" BUTTON
   ============================ */

.new-chat {
    display: flex;
    justify-content: center;
    margin-top: 0.4rem;
}

.new-chat-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #050608;
    background: linear-gradient(120deg, #ff4a4a, #ffb347);
    box-shadow: 0 8px 20px rgba(255, 64, 64, 0.5);
    border: none;
    transition: 0.18s ease;
}

.new-chat-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(255, 50, 50, 0.7);
}

/* ============================
   CHAT CARDS
   ============================ */

.group-message {
    background: linear-gradient(135deg, #11121a, #161925);
    border-radius: 14px;
    padding: 0.85rem 0.95rem 0.9rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.8);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border 0.12s ease;
}

.group-message:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 80, 80, 0.6);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.95);
}

/* Header row inside each chat card */
.group-message .message-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

/* Chat name link */
.group-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ff6868;
    text-decoration: none;
    letter-spacing: 0.06em;
}
.group-name:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255, 90, 90, 0.8);
}

/* Leave chat link – pill button */
.leave-chat-link {
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(40, 6, 6, 0.98);
    border: 1px solid rgba(255, 90, 90, 0.7);
    color: #ffbcbc;
    transition: 0.18s ease;
    white-space: nowrap;
}

.leave-chat-link:hover {
    background: #ff3d3d;
    color: #050506;
    border-color: #ff3d3d;
}

/* ============================
   LAST MESSAGE BODY
   ============================ */

.message-body {
    margin-top: 0.25rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
    color: #d6d7e0;
}

.message-content {
    margin: 0.1rem 0;
}

.message-content strong {
    color: #ff8585;
    font-weight: 600;
}

/* "No active chats" text */
.group-messages-container > p {
    text-align: center;
    font-size: 0.9rem;
    color: #c3c5d0;
    margin-top: 1rem;
}

/* ============================
   PAGINATION
   ============================ */

.inbox-list-pagination {
    max-width: 1100px;
    margin: 0.75rem auto 2rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

/* Left / right links just use the same button style */
.inbox-list-pagination-link {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(12, 13, 18, 0.98);
    color: #f5f5f5;
    text-decoration: none;
    transition: 0.15s ease;
}

.inbox-list-pagination-link:hover {
    background: #ff3d3d;
    border-color: #ff3d3d;
    color: #050608;
}

/* Center page info */
.inbox-list-pagination-info {
    flex: 1;
    text-align: center;
    color: #b7bac6;
}

/* Stack pagination better on small screens */
@media (max-width: 600px) {
    .inbox-list-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .inbox-list-pagination-link {
        text-align: center;
    }
}




/* 11/22/2025 */


/* ================================
   SECURITY CIRCLE – WRAPPER
   ================================ */

   .security-circle-container {
    max-width: 1100px;
    margin: 0 auto 2.5rem;
    padding: 1.5rem 1.2rem 2rem;
    background:
        radial-gradient(circle at top left,
            rgba(255, 70, 70, 0.25),
            transparent 55%),
        rgba(5, 6, 10, 0.96);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.95);
    color: #f5f5f5;
}

/* Header block */
.security-circle-header h1,
.security-circle-header h2 {
    text-align: center;
    margin: 0;
}

.security-circle-header h1 {
    font-size: 1.7rem;
    margin-bottom: 0.3rem;
    color: #ff3b3b;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-shadow: 0 0 10px rgba(255, 50, 50, 0.75);
}

.security-circle-header h2 {
    font-size: 1rem;
    color: #ff9a9a;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

/* Icon spacing */
.security-circle-header i {
    margin-right: 0.4rem;
}

/* ================================
   SEARCH BAR / INVITE FORM
   ================================ */

.security-circle-form-inline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.security-circle-form-inline .form-control {
    background: #0c0d13;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f5f5f5;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
}

.security-circle-form-inline .form-control:focus {
    outline: none;
    border-color: #ff4c4c;
    box-shadow: 0 0 0 1px rgba(255, 80, 80, 0.7);
}

/* On really small screens, stack search */
@media (max-width: 520px) {
    .security-circle-form-inline {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ================================
   BUTTONS (THEMED)
   ================================ */

.security-circle-btn-primary,
.security-circle-btn-success,
.security-circle-btn-danger {
    border-radius: 999px;
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: none;
    cursor: pointer;
    transition: 0.15s ease;
}

/* Red primary */
.security-circle-btn-primary {
    background: linear-gradient(120deg, #ff4040, #d60000);
    color: #050506;
    box-shadow: 0 6px 18px rgba(255, 60, 60, 0.6);
}

.security-circle-btn-primary:hover {
    background: linear-gradient(120deg, #ff6363, #ff0000);
}

/* Green success */
.security-circle-btn-success {
    background: linear-gradient(120deg, #48d86b, #0fa33c);
    color: #050506;
    box-shadow: 0 6px 18px rgba(72, 216, 107, 0.6);
}

.security-circle-btn-success:hover {
    background: linear-gradient(120deg, #5ff087, #13bf4a);
}

/* Dark red danger */
.security-circle-btn-danger {
    background: linear-gradient(120deg, #ff4c4c, #800000);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 70, 70, 0.7);
}

.security-circle-btn-danger:hover {
    background: linear-gradient(120deg, #ff6f6f, #b30000);
}

/* ================================
   SEARCH RESULTS LIST
   ================================ */

.security-circle-container .list-group {
    margin-bottom: 1.4rem;
    border-radius: 14px;
    background: transparent;
}

/* Individual “user to invite” row */
.security-circle-list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.5rem;

    background: linear-gradient(135deg, #11121a, #171a24);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.85);
}

.security-circle-list-group-item p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ================================
   RECEIVED INVITATIONS
   ================================ */

.security-circle-container h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #ff8a8a;
}

.security-circle-container h2 i {
    margin-right: 0.35rem;
}

/* Make Bootstrap alert look like Cherry Grid glass card */
.security-circle-container .alert {
    background: rgba(17, 18, 26, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f5f5f5;
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.7rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.9);
}

.security-circle-container .alert p {
    margin: 0 0 0.5rem;
}

/* The d-flex row with Accept / Decline */
.security-circle-container .alert .d-flex {
    display: flex;
    gap: 0.4rem;
}

/* On small screens, stack buttons */
@media (max-width: 480px) {
    .security-circle-container .alert .d-flex {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ================================
   METRICS – CIRCLE RATING / KYC
   ================================ */

.security-circle-metric {
    margin-top: 1.1rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: radial-gradient(circle at top right,
                rgba(255, 50, 50, 0.2),
                transparent 60%),
                #10121a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9);
}

/* Big glowing numbers */
.security-circle-rating,
.security-circle-kyc {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0.3rem 0 0;
    text-align: center;
    color: #ff4a4a;
    text-shadow: 0 0 14px rgba(255, 70, 70, 0.85);
}

/* ================================
   MEMBERS LIST
   ================================ */

.security-circle-container ul.list-group {
    margin-top: 0.8rem;
    padding-left: 0;
}

/* Member row */
.security-circle-members-list,
.security-circle-container ul.list-group > li.security-circle-list-group-item {
    list-style: none;
}

/* Override member li style (re-uses same class) */
.security-circle-container ul.list-group > li.security-circle-list-group-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.5rem;

    background: linear-gradient(135deg, #101119, #161925);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Username link */
.security-circle-username {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ff6a6a;
    text-decoration: none;
}

.security-circle-username:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255, 90, 90, 0.8);
}

/* Trust score block */
.security-circle-trust-score {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: #d6d7e2;
}

.trust-score-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: #ffb5b5;
}

.trust-score-value {
    font-weight: 700;
    color: #7bffb4;
}

/* Remove button (align to right) */
.security-circle-container ul.list-group > li.security-circle-list-group-item form {
    margin-left: auto;
}

/* Stack items nicer on small screens */
@media (max-width: 520px) {
    .security-circle-container ul.list-group > li.security-circle-list-group-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .security-circle-container ul.list-group > li.security-circle-list-group-item form {
        margin-left: 0;
        align-self: stretch;
    }

    .security-circle-container ul.list-group > li.security-circle-list-group-item .security-circle-btn-danger {
        width: 100%;
        text-align: center;
    }
}



/* ============================
   COMMUNITY GRID PROPOSAL PAGE
   ============================ */

/* Push title down from navbar + search bar */
.proposal-container {
  margin-top: 6.5rem; /* adjust higher/lower as needed */
  padding: 1.5rem;
}

/* Title styling */
.proposal-container h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: #ff3b3b;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-shadow: 0 0 8px rgba(255, 50, 50, 0.6);
}

/* Style the form fields */
.proposal-container form p {
  margin-bottom: 1rem;
}

.proposal-container input,
.proposal-container textarea,
.proposal-container select {
  width: 100%;
  background: #0c0d13;
  border: 1px solid rgba(255, 80, 80, 0.25);
  color: #f5f5f5;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.95rem;
}

.proposal-container input:focus,
.proposal-container textarea:focus,
.proposal-container select:focus {
  outline: none;
  border-color: #ff4a4a;
  box-shadow: 0 0 5px rgba(255, 60, 60, 0.6);
}

/* Submit button */
.proposal-container .btn-primary {
  background: linear-gradient(90deg, #ff3030, #d90000);
  border: none;
  padding: 10px 14px;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(255, 40, 40, 0.4);
}

.proposal-container .btn-primary:hover {
  background: linear-gradient(90deg, #ff5050, #ff0000);
}

/* Back button */
.proposal-container .btn-secondary {
  margin-top: 1rem;
  border-radius: 10px;
  padding: 8px 14px;
}




/* ================================
   MODERATOR APPLICATION PAGE STYLE
   ================================ */

   .mod-apply-container {
    margin-top: 4.5rem; /* Slight drop (proposal page used ~6.5rem) */
    padding: 1.5rem;
}

/* Title */
.mod-apply-container h2 {
    text-align: center;
    margin-bottom: 1.2rem;
    font-size: 1.55rem;
    color: #ff3b3b;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-shadow: 0 0 6px rgba(255, 50, 50, 0.6);
}

/* Inputs / fields */
.mod-apply-container input,
.mod-apply-container textarea,
.mod-apply-container select {
    width: 100%;
    background: #0d0e12;
    border: 1px solid rgba(255, 70, 70, 0.28);
    color: #f5f5f5;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.95rem;
}

.mod-apply-container input:focus,
.mod-apply-container textarea:focus,
.mod-apply-container select:focus {
    outline: none;
    border-color: #ff4545;
    box-shadow: 0 0 6px rgba(255, 70, 70, 0.6);
}

/* Submit Button */
.mod-apply-container .btn-primary {
    background: linear-gradient(90deg, #ff3030, #d90000);
    border: none;
    padding: 10px 14px;
    font-weight: bold;
    border-radius: 10px;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(255, 40, 40, 0.45);
}

.mod-apply-container .btn-primary:hover {
    background: linear-gradient(90deg, #ff4d4d, #ff0000);
}

/* Back Button */
.mod-apply-container .btn-secondary {
    margin-top: 1rem;
    border-radius: 10px;
    padding: 8px 14px;
}



/* ================================
   REPORT USER PAGE – Cherry Theme
   ================================ */

   .report-user-container {
    margin-top: 5.2rem;              /* below navbar/search */
    max-width: 780px;
    margin-inline: auto;
    padding: 1.8rem 1.4rem;

    background: radial-gradient(circle at top left, rgba(255, 60, 60, 0.2), transparent 60%),
                radial-gradient(circle at bottom right, rgba(255, 120, 80, 0.18), transparent 60%),
                rgba(5, 6, 12, 0.96);
    border-radius: 18px;
    border: 1px solid rgba(255, 80, 80, 0.45);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75);
}

/* Main title */
.report-user-container h1 {
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #ff3b3b;
    text-shadow: 0 0 8px rgba(255, 60, 60, 0.9);
}

/* Form base */
.report-user-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* Default labels */
.report-user-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ff8a8a;
    margin-bottom: 0.25rem;
}

/* Default fields */
.report-user-form input[type="text"],
.report-user-form input[type="email"],
.report-user-form input[type="file"],
.report-user-form select,
.report-user-form textarea {
    width: 100%;
    background: #0f1016;
    border-radius: 10px;
    border: 1px solid rgba(255, 70, 70, 0.35);
    padding: 10px 12px;
    font-size: 0.95rem;
    color: #f5f5f5;
}

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

/* Focus state */
.report-user-form input:focus,
.report-user-form select:focus,
.report-user-form textarea:focus {
    outline: none;
    border-color: #ff4a4a;
    box-shadow: 0 0 10px rgba(255, 70, 70, 0.7);
}

/* Subtitle */
.report-subtitle {
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Image formset wrapper */
.report-image-formset {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

/* Each image upload card */
.image-upload-form {
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: rgba(8, 8, 13, 0.96);
    border: 1px dashed rgba(255, 80, 80, 0.45);
}

/* Inputs inside image card */
.image-upload-form input[type="file"],
.image-upload-form input[type="text"],
.image-upload-form textarea {
    background: #090a0f;
}

/* "Add More Images" button */
.btn-add-image {
    display: inline-block;
    margin-top: 0.3rem;
    margin-bottom: 0.9rem;
    padding: 8px 14px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 999px;
    border: 1px dashed rgba(255, 120, 90, 0.8);

    background: transparent;
    color: #ff9f7a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: 0.18s ease;
}

.btn-add-image:hover {
    background: rgba(255, 90, 60, 0.14);
    border-style: solid;
    color: #ffd0b9;
}

/* Submit Report button – big red */
.report-submit-btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 12px;
    border: none;

    background: linear-gradient(90deg, #ff3030, #d60000);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    box-shadow: 0 5px 16px rgba(255, 50, 50, 0.65);
    margin-top: 0.4rem;
}

.report-submit-btn:hover {
    background: linear-gradient(90deg, #ff4b4b, #ff0000);
    transform: translateY(-1px);
}

/* Mobile tweaks */
@media (max-width: 480px) {
    .report-user-container {
        padding: 1.3rem 1rem;
        margin-top: 4.5rem;
    }

    .report-user-container h1 {
        font-size: 1.4rem;
        letter-spacing: 0.1em;
    }

    .btn-add-image,
    .report-submit-btn {
        width: 100%;
        text-align: center;
    }
}



/* ================================
   MODERATOR DASHBOARD – LAYOUT
   ================================ */

   .moderator-dashboard {
    max-width: 1100px;
    margin: var(--ccg-header-offset, 18vh) auto 3rem auto;
    padding: 1.75rem 1.25rem 2.5rem;
    background: radial-gradient(circle at top left, rgba(255, 0, 80, 0.2), transparent 55%),
                radial-gradient(circle at bottom right, rgba(255, 140, 0, 0.18), transparent 55%),
                rgba(5, 5, 10, 0.96);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 60, 60, 0.35);
    color: #f5f5f5;
  }
  
  /* Title */
  
  .moderator-dashboard .dashboard-title {
    margin: 0 0 1.25rem;
    text-align: center;
    font-size: 1.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff4a4a;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    justify-content: center;
  }
  
  .moderator-dashboard .dashboard-title i {
    color: #ff7575;
    font-size: 1.8rem;
  }
  
  /* Thin glowing line under title */
  .moderator-dashboard .dashboard-title::after {
    content: "";
    display: block;
    width: 110px;
    height: 3px;
    margin: 0.65rem auto 0;
    background: linear-gradient(90deg, transparent, #ff4a4a, transparent);
    border-radius: 999px;
  }
  
  /* ================================
     TOP STATS
     ================================ */
  
  .moderator-dashboard .moderator-info,
  .moderator-dashboard .top-user-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }
  
  /* Reuse the same card style for all small stats boxes */
  .moderator-dashboard .moderator-info p,
  .moderator-dashboard .total-users,
  .moderator-dashboard .active-users {
    margin: 0;
    padding: 0.55rem 0.75rem;
    background: rgba(10, 10, 18, 0.95);
    border-radius: 10px;
    border: 1px solid rgba(255, 80, 80, 0.25);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }
  
  .moderator-dashboard .moderator-info p i,
  .moderator-dashboard .total-users i,
  .moderator-dashboard .active-users i {
    color: #ff6969;
  }
  
  /* Emphasize total moderators & total accounts */
  .moderator-dashboard .total-moderators,
  .moderator-dashboard .total-users {
    background: radial-gradient(circle at top left, rgba(255, 40, 40, 0.42), rgba(10, 10, 18, 0.96));
    border-color: rgba(255, 120, 120, 0.7);
    font-weight: 600;
  }
  
  /* ================================
     SECTION HEADERS / LINKS
     ================================ */
  
  .moderator-dashboard .reports > h3,
  .moderator-dashboard #reported-users > h3,
  .moderator-dashboard #reported-tournaments > h3,
  .moderator-dashboard .moderator-applications-title {
    margin: 1.8rem 0 0.85rem;
    font-size: 1.1rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #ff5f5f;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  
  /* Clickable section headings */
  .moderator-dashboard .report-link {
    color: #ffdad6;
    text-decoration: none;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 80, 80, 0.2), rgba(120, 20, 20, 0.5));
    border: 1px solid rgba(255, 140, 140, 0.7);
    font-size: 0.85rem;
  }
  
  .moderator-dashboard .report-link:hover {
    background: linear-gradient(90deg, rgba(255, 120, 120, 0.35), rgba(160, 30, 30, 0.8));
    color: #fff;
  }
  
  /* ================================
     REPORT CARDS (generic)
     ================================ */
  
  .moderator-dashboard .reports {
    margin-bottom: 1.25rem;
  }
  
  .moderator-dashboard .report {
    background: rgba(8, 8, 14, 0.98);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.9rem;
    border: 1px solid rgba(180, 180, 200, 0.28);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
    position: relative;
    overflow: hidden;
  }
  
  /* Soft highlight bar on left */
  .moderator-dashboard .report::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ff4b4b, #ffb347);
  }
  
  /* Text inside report card */
  .moderator-dashboard .report p,
  .moderator-dashboard .report strong {
    font-size: 0.9rem;
  }
  
  /* Highlight status text */
  .moderator-dashboard .report p strong {
    color: #ffecec;
  }
  
  /* Type-specific accent colors */
  .moderator-dashboard #reported-posts .report::before {
    background: linear-gradient(to bottom, #ff4b4b, #ff8c42);
  }
  .moderator-dashboard #reported-items .report::before {
    background: linear-gradient(to bottom, #ffb347, #ffd452);
  }
  .moderator-dashboard #reported-users .report::before {
    background: linear-gradient(to bottom, #ff4b8a, #ffb3d9);
  }
  .moderator-dashboard #reported-tournaments .report::before {
    background: linear-gradient(to bottom, #ff4b4b, #ff3a89);
  }
  
  /* Spacing between paragraphs inside report */
  .moderator-dashboard .report p {
    margin: 0.2rem 0;
  }
  
  /* ================================
     BUTTON STYLING (within dashboard)
     ================================ */
  
  .moderator-dashboard .btn {
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border-width: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  /* Neutral gray */
  .moderator-dashboard .btn-gray {
    background: #30303a;
    color: #f1f1f1;
  }
  .moderator-dashboard .btn-gray:hover {
    background: #3d3d48;
  }
  
  /* Danger & success override */
  .moderator-dashboard .btn-danger {
    background: linear-gradient(90deg, #ff3b3b, #d60000);
    color: #fff;
  }
  .moderator-dashboard .btn-danger:hover {
    background: linear-gradient(90deg, #ff5c5c, #ff0000);
  }
  
  .moderator-dashboard .btn-success {
    background: linear-gradient(90deg, #1cd96a, #0da34f);
    color: #fff;
  }
  .moderator-dashboard .btn-success:hover {
    background: linear-gradient(90deg, #35f084, #0fbe5e);
  }
  
  /* “Textured black” moderator links at bottom */
  .moderator-dashboard .btn-textured-black {
    background: radial-gradient(circle at top left, rgba(255, 70, 70, 0.28), rgba(6, 6, 10, 1));
    color: #ffecec;
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    border: 1px solid rgba(255, 100, 100, 0.6);
    font-size: 0.86rem;
  }
  .moderator-dashboard .btn-textured-black:hover {
    background: radial-gradient(circle at top left, rgba(255, 100, 100, 0.4), rgba(10, 10, 15, 1));
  }
  
  /* Ensure small buttons in lists look tidy */
  .moderator-dashboard .report .btn {
    margin-top: 0.35rem;
    margin-right: 0.3rem;
  }
  
  /* ================================
     MODERATOR APPLICATIONS
     ================================ */
  
  .moderator-dashboard .moderator-applications {
    margin-top: 2rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 80, 80, 0.25);
  }
  
  .moderator-dashboard .moderator-applications ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
  }
  
  .moderator-dashboard .moderator-applications li {
    background: rgba(9, 9, 15, 0.98);
    padding: 0.8rem 0.9rem;
    margin-bottom: 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(180, 180, 210, 0.25);
  }
  
  /* ================================
     PAGINATION WITHIN DASHBOARD
     ================================ */
  
  .moderator-dashboard .pagination {
    margin: 0.9rem 0 1.3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.85rem;
  }
  
  .moderator-dashboard .pagination a {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: #22232b;
    color: #f1f1f1;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .moderator-dashboard .pagination a:hover {
    background: #343542;
  }
  
  .moderator-dashboard .pagination span {
    color: #d0d0e0;
  }
  
  /* ================================
     BOTTOM LINKS / BACK BUTTON
     ================================ */
  
  .moderator-dashboard .moderator-links {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
  }
  
  .moderator-dashboard .back-button {
    margin-top: 1.5rem;
    text-align: center;
  }
  
  /* ================================
     RESPONSIVE TWEAKS
     ================================ */
  
  @media (max-width: 600px) {
    .moderator-dashboard {
      padding: 1.25rem 0.9rem 2rem;
      margin-top: calc(var(--ccg-header-offset, 18vh) + 0.4rem);
    }
  
    .moderator-dashboard .dashboard-title {
      font-size: 1.5rem;
    }
  
    .moderator-dashboard .report {
      padding: 0.8rem 0.8rem;
    }
  }

  


  /* ======================================
   MODERATOR APPLICATIONS LIST PAGE
   ====================================== */

.moderator-applications-container {
  max-width: 1000px;
  margin: calc(var(--ccg-header-offset, 18vh) + 0.6rem) auto 3rem auto;
  padding: 1.7rem 1.25rem 2.2rem;
  background: radial-gradient(circle at top left, rgba(255, 40, 40, 0.25), transparent 55%),
              radial-gradient(circle at bottom right, rgba(255, 120, 60, 0.22), transparent 55%),
              rgba(5, 5, 10, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(255, 80, 80, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
  color: #f5f5f5;
}

/* Page title */
.moderator-applications-title {
  margin: 0 0 1.4rem;
  text-align: center;
  font-size: 1.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4a4a;
}

.moderator-applications-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin: 0.6rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ff4a4a, transparent);
}

/* List + cards */

.moderator-applications-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.moderator-application-card {
  position: relative;
  background: rgba(8, 8, 14, 0.98);
  border-radius: 14px;
  padding: 0.9rem 1.05rem 0.95rem;
  border: 1px solid rgba(185, 185, 210, 0.28);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

/* Accent strip on left */
.moderator-application-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #ff4b4b, #ffb347);
}

/* Text inside card */
.moderator-application-card p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
}

.moderator-application-card strong {
  color: #ffeaea;
}

/* Highlight username + counts */
.moderator-application-username {
  color: #ff9494;
  font-weight: 600;
}

.moderator-application-list-date {
  color: #c9c9e5;
}

.moderator-application-list-approve-count {
  color: #34f27a;
  font-weight: 600;
}

.moderator-application-list-reject-count {
  color: #ff6a6a;
  font-weight: 600;
}

/* Status text */
.application-status {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.application-status.resolved {
  color: #7dffa8;
}

.application-result {
  font-size: 0.86rem;
  margin-top: 0.1rem;
}

.application-result.approved {
  color: #4dff93;
}

.application-result.rejected {
  color: #ff6666;
}

/* Action buttons row */
.moderator-application-actions {
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Buttons in this page */

.moderator-applications-container .btn {
  font-size: 0.82rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
}

/* View details button */
.application-details-btn {
  display: inline-block;
  margin-top: 0.4rem;
  background: #30303a;
  color: #f1f1f1;
  text-decoration: none;
}

.application-details-btn:hover {
  background: #3e3e4a;
}

/* Approve / reject buttons */
.approve-btn {
  background: linear-gradient(90deg, #1cd96a, #0da34f);
  color: #fff;
  text-decoration: none;
}

.approve-btn:hover {
  background: linear-gradient(90deg, #35f084, #0fbe5e);
}

.reject-btn {
  background: linear-gradient(90deg, #ff3b3b, #d60000);
  color: #fff;
  text-decoration: none;
}

.reject-btn:hover {
  background: linear-gradient(90deg, #ff5c5c, #ff0000);
}

/* No applications message */

.no-applications-message {
  margin-top: 0.5rem;
  text-align: center;
  color: #d0d0e8;
  font-size: 0.95rem;
}

/* Pagination */

.moderator-application-list-pagination {
  margin: 1.3rem 0 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
}

.moderator-application-list-pagination-link {
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: #22232b;
  color: #f1f1f1;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.moderator-application-list-pagination-link:hover {
  background: #343542;
}

.moderator-application-list-pagination-info {
  color: #d0d0e0;
}

/* Back button */

.back-button-container {
  text-align: center;
  margin-top: 0.4rem;
}

.back-to-dashboard-btn {
  background: radial-gradient(circle at top left, rgba(255, 70, 70, 0.28), rgba(6, 6, 10, 1));
  color: #ffecec;
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  border: 1px solid rgba(255, 100, 100, 0.7);
  font-size: 0.86rem;
  text-decoration: none;
}

.back-to-dashboard-btn:hover {
  background: radial-gradient(circle at top left, rgba(255, 100, 100, 0.4), rgba(10, 10, 15, 1));
}

/* Responsive tweaks */

@media (max-width: 600px) {
  .moderator-applications-container {
    padding: 1.3rem 0.9rem 2rem;
  }

  .moderator-application-card {
    padding: 0.8rem 0.85rem;
  }

  .moderator-applications-title {
    font-size: 1.5rem;
  }
}






/* ===========================================
   SPOTLIGHT APPROVAL LIST PAGE
   =========================================== */

   .spotlight-approval-container {
    max-width: 1100px;
    margin: calc(var(--ccg-header-offset, 18vh) + 0.7rem) auto 3rem auto;
    padding: 1.8rem 1.3rem 2.2rem;
    background: radial-gradient(circle at top left, rgba(255, 40, 40, 0.28), transparent 55%),
                radial-gradient(circle at bottom right, rgba(255, 110, 70, 0.26), transparent 55%),
                rgba(5, 5, 10, 0.96);
    border-radius: 18px;
    border: 1px solid rgba(255, 80, 80, 0.5);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
    color: #f5f5f5;
  }
  
  /* Title */
  .spotlight-approval-title {
    margin: 0 0 1.4rem;
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff4b4b;
  }
  
  .spotlight-approval-title::after {
    content: "";
    display: block;
    width: 140px;
    height: 3px;
    margin: 0.6rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #ff4b4b, transparent);
  }
  
  /* TABLE ===================================== */
  
  .spotlight-approval-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.6rem;
    font-size: 0.9rem;
    background: rgba(8, 8, 14, 0.98);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.8);
  }
  
  /* Header row */
  .spotlight-approval-table thead {
    background: linear-gradient(90deg, #ff3737, #ff7a4a);
  }
  
  .spotlight-approval-table thead th {
    padding: 0.7rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #fff5f5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
    white-space: nowrap;
  }
  
  /* Body rows */
  .spotlight-approval-table tbody tr {
    background: rgba(10, 10, 18, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .spotlight-approval-table tbody tr:nth-child(even) {
    background: rgba(12, 12, 22, 0.96);
  }
  
  .spotlight-approval-table tbody tr:hover {
    background: radial-gradient(circle at left, rgba(255, 70, 70, 0.18), rgba(8, 8, 15, 0.98));
  }
  
  /* Cells */
  .spotlight-approval-table td {
    padding: 0.65rem 0.75rem;
    vertical-align: middle;
  }
  
  /* Title / Author links */
  .spotlight-title-link,
  .spotlight-author-link {
    color: #ffb3b3;
    text-decoration: none;
    font-weight: 600;
  }
  
  .spotlight-title-link:hover,
  .spotlight-author-link:hover {
    color: #ffffff;
    text-decoration: underline;
  }
  
  /* Numeric columns (centered) */
  .spotlight-approval-table td:nth-child(3),
  .spotlight-approval-table td:nth-child(4),
  .spotlight-approval-table td:nth-child(5) {
    text-align: center;
  }
  
  /* ACTIONS COLUMN ============================ */
  
  .spotlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
  }
  
  /* Details button */
  .spotlight-details-btn {
    background: #30313b;
    color: #f2f2f2;
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
  
  .spotlight-details-btn:hover {
    background: #404252;
  }
  
  /* Approve / Reject buttons */
  .spotlight-approve-btn,
  .spotlight-reject-btn {
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: none;
    cursor: pointer;
    color: #fff;
  }
  
  /* Approve = green */
  .spotlight-approve-btn {
    background: linear-gradient(90deg, #19d968, #0a9f44);
    box-shadow: 0 4px 12px rgba(25, 217, 104, 0.35);
  }
  
  .spotlight-approve-btn:hover {
    background: linear-gradient(90deg, #32f581, #0ab953);
  }
  
  /* Reject = red */
  .spotlight-reject-btn {
    background: linear-gradient(90deg, #ff3b3b, #cf0000);
    box-shadow: 0 4px 12px rgba(255, 59, 59, 0.4);
  }
  
  .spotlight-reject-btn:hover {
    background: linear-gradient(90deg, #ff5f5f, #ff0000);
  }
  
  /* STATUS TAGS =============================== */
  
  .spotlight-status-approved,
  .spotlight-status-rejected {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    text-align: center;
  }
  
  .spotlight-status-approved {
    background: rgba(25, 217, 104, 0.12);
    border: 1px solid rgba(25, 217, 104, 0.6);
    color: #55ff9a;
  }
  
  .spotlight-status-rejected {
    background: rgba(255, 80, 80, 0.12);
    border: 1px solid rgba(255, 80, 80, 0.65);
    color: #ff7878;
  }
  
  /* PAGINATION ================================ */
  
  .spotlight-pagination {
    margin: 1.2rem 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    justify-content: center;
    font-size: 0.86rem;
  }
  
  .spotlight-pagination-link {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: #22232b;
    color: #f1f1f1;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.09);
  }
  
  .spotlight-pagination-link:hover {
    background: #343545;
  }
  
  .spotlight-pagination-info {
    color: #d0d0e0;
  }
  
  /* Empty state message */
  .spotlight-no-posts-message {
    margin-top: 1rem;
    text-align: center;
    color: #e6caca;
  }
  
  /* BACK TO DASHBOARD BUTTON ================== */
  
  .back-to-dashboard-container {
    text-align: center;
    margin-top: 0.6rem;
  }
  
  /* If you already defined this earlier, you can keep that one.
     Otherwise this gives a red-themed pill button. */
  .back-to-dashboard-btn {
    background: radial-gradient(circle at top left, rgba(255, 70, 70, 0.32), rgba(8, 8, 14, 1));
    color: #ffecec;
    border-radius: 999px;
    padding: 0.45rem 1.2rem;
    border: 1px solid rgba(255, 100, 100, 0.75);
    font-size: 0.86rem;
    text-decoration: none;
  }
  
  .back-to-dashboard-btn:hover {
    background: radial-gradient(circle at top left, rgba(255, 100, 100, 0.45), rgba(12, 12, 18, 1));
  }
  
  /* RESPONSIVE ================================= */
  
  @media (max-width: 768px) {
    .spotlight-approval-container {
      padding: 1.45rem 0.9rem 2rem;
    }
  
    .spotlight-approval-title {
      font-size: 1.5rem;
    }
  
    .spotlight-approval-table thead {
      display: none;
    }
  
    .spotlight-approval-table,
    .spotlight-approval-table tbody,
    .spotlight-approval-table tr,
    .spotlight-approval-table td {
      display: block;
      width: 100%;
    }
  
    .spotlight-approval-table tr {
      margin-bottom: 0.8rem;
      border-radius: 12px;
      overflow: hidden;
    }
  
    .spotlight-approval-table td {
      padding: 0.4rem 0.8rem;
      position: relative;
    }
  
    .spotlight-approval-table td::before {
      content: attr(data-label);
      display: block;
      font-size: 0.74rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #ff9c9c;
      margin-bottom: 0.1rem;
    }
  }


  /* ============================================================
   PROPOSAL LIST PAGE — CHERRY GRID PREMIUM STYLE
   ============================================================ */

.proposal-list-container {
  max-width: 1100px;
  margin: calc(var(--ccg-header-offset, 16vh) + 0.5rem) auto 3.5rem auto;
  padding: 1.7rem 1.2rem 2.4rem;
  background: radial-gradient(circle at top left, rgba(255, 45, 45, 0.25), transparent 55%),
              radial-gradient(circle at bottom right, rgba(255, 100, 70, 0.22), transparent 55%),
              rgba(8, 8, 14, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(255, 80, 80, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
  color: #f5f5f5;
}

/* =====================
 PAGE TITLE
 ===================== */
.proposal-list-title {
  text-align: center;
  margin-bottom: 1.4rem;
  font-size: 1.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff4b4b;
}

.proposal-list-title::after {
  content: "";
  display: block;
  width: 130px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ff4b4b, transparent);
  margin: 0.5rem auto 0;
}

/* ==========================
 “View Proposals To Enact”
 ========================== */

.view-enact-link {
  display: inline-block;
  padding: 0.45rem 1.2rem;
  background: rgba(255, 75, 75, 0.15);
  border: 1px solid rgba(255, 75, 75, 0.55);
  color: #ffbbbb;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.9rem;
}

.view-enact-link:hover {
  background: rgba(255, 95, 95, 0.3);
  color: #ffffff;
}

/* =====================
 PROPOSAL CARD
 ===================== */

.proposal-card {
  background: rgba(12, 12, 20, 0.95);
  border: 1px solid rgba(255, 90, 90, 0.3);
  border-radius: 14px;
  padding: 1.1rem 1rem 1.35rem;
  margin-bottom: 1.3rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.proposal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(255, 50, 50, 0.25);
}

/* Title Link */
.proposal-title a {
  color: #ffb2b2;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
}

.proposal-title a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Description text */
.proposal-description {
  margin: 0.8rem 0;
  color: #e7e7e7;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Metadata text */
.proposal-metadata {
  margin: 0.2rem 0;
  color: #c7c7d2;
  font-size: 0.85rem;
}

/* Vote counts */
.proposal-votes {
  font-size: 0.87rem;
  margin-top: 0.35rem;
  color: #ffdbdb;
  font-weight: 500;
}

/* =======================
 ACTION BUTTONS
 ======================= */

.proposal-card-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.btn-approve,
.btn-reject,
.btn-remove-approval,
.btn-remove-rejection {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #fff;
  display: inline-block;
  cursor: pointer;
}

/* Approve = green */
.btn-approve {
  background: linear-gradient(90deg, #19d968, #0a9f44);
  border: none;
  box-shadow: 0 4px 10px rgba(25, 217, 104, 0.35);
}

.btn-approve:hover {
  background: linear-gradient(90deg, #32f581, #0ab953);
}

/* Reject = red */
.btn-reject {
  background: linear-gradient(90deg, #ff3b3b, #d10000);
  border: none;
  box-shadow: 0 4px 10px rgba(255, 59, 59, 0.35);
}

.btn-reject:hover {
  background: linear-gradient(90deg, #ff6868, #ff0000);
}

/* Remove Approval (yellow) */
.btn-remove-approval {
  background: #ffb300;
  color: #1a1a1a;
}

.btn-remove-approval:hover {
  background: #ffcc33;
}

/* Remove Rejection (orange) */
.btn-remove-rejection {
  background: #ff6a00;
}

.btn-remove-rejection:hover {
  background: #ff8124;
}

/* ==========================
 PAGINATION
 ========================== */

.proposal-list-pagination {
  margin: 1.2rem 0 1.5rem;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.proposal-list-pagination-link {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #26272f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #e6e6e6;
  font-size: 0.85rem;
}

.proposal-list-pagination-link:hover {
  background: #373844;
}

.proposal-list-pagination-info {
  color: #e0e0ea;
  font-size: 0.88rem;
}

/* ==========================
 NO PROPOSAL MESSAGE
 ========================== */
.no-proposals-message {
  margin-top: 1rem;
  text-align: center;
  font-size: 1rem;
  color: #ffbcbc;
}

/* ==========================
 BACK BUTTON
 ========================== */
.back-button-container {
  text-align: center;
  margin-top: 1.3rem;
}

.back-to-dashboard-btn {
  background: radial-gradient(circle at top left, rgba(255, 70, 70, 0.32), rgba(8, 8, 14, 1));
  color: #ffecec;
  border-radius: 999px;
  padding: 0.5rem 1.3rem;
  border: 1px solid rgba(255, 100, 100, 0.75);
  font-size: 0.9rem;
  text-decoration: none;
}

.back-to-dashboard-btn:hover {
  background: radial-gradient(circle at top left, rgba(255, 95, 95, 0.45), rgba(12, 12, 18, 1));
}

/* ==========================
 MOBILE RESPONSIVE
 ========================== */
@media (max-width: 768px) {
  .proposal-list-container {
      padding: 1.3rem 0.9rem 2.2rem;
  }

  .proposal-title a {
      font-size: 1.1rem;
  }

  .proposal-card {
      padding: 1rem;
  }
}



/* ============================================================
   PROPOSALS TO ENACT — CHERRY GRID PREMIUM STYLE
   ============================================================ */

   .proposals-enact-container {
    max-width: 1000px;
    margin: calc(var(--ccg-header-offset, 14vh) + 0.4rem) auto 3rem auto;
    padding: 1.8rem 1.2rem 2.3rem;
    background: radial-gradient(circle at top left, rgba(255, 60, 60, 0.28), transparent 60%),
                radial-gradient(circle at bottom right, rgba(255, 90, 70, 0.25), transparent 60%),
                rgba(10, 10, 17, 0.95);
    border-radius: 18px;
    border: 1px solid rgba(255, 80, 80, 0.45);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
    color: #efefef;
}

/* ============================================================
   TITLE
   ============================================================ */

.proposals-enact-title {
    text-align: center;
    font-size: 1.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff4d4d;
    margin-bottom: 1.4rem;
}

.proposals-enact-title::after {
    content: "";
    width: 140px;
    height: 3px;
    border-radius: 999px;
    display: block;
    margin: 0.6rem auto 0;
    background: linear-gradient(90deg, transparent, #ff4d4d, transparent);
}

/* ============================================================
   PROPOSAL LIST
   ============================================================ */

.proposals-enact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.proposals-enact-item {
    background: rgba(14, 14, 22, 0.95);
    padding: 1rem 1.1rem 1.3rem;
    margin-bottom: 1.2rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 80, 80, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    transition: 0.25s ease;
}

.proposals-enact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(255, 55, 55, 0.25);
}

/* Title link */
.proposals-enact-item a {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffbcbc;
    text-decoration: none;
}

.proposals-enact-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Description */
.proposal-enact-description {
    margin: 0.6rem 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #e8e8e8;
}

/* Vote counts */
.proposal-enact-votes {
    margin: 0.25rem 0;
    font-size: 0.87rem;
    color: #ffdada;
}

/* ============================================================
   NO PROPOSALS MESSAGE
   ============================================================ */

.proposals-enact-empty {
    text-align: center;
    padding: 1rem 0;
    color: #ffb8b8;
    font-size: 1rem;
}

/* ============================================================
   BACK BUTTON
   ============================================================ */

.proposals-enact-back {
    display: inline-block;
    margin-top: 1.4rem;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;

    background: radial-gradient(circle at top left,
                rgba(255, 70, 70, 0.3),
                rgba(10, 10, 17, 1));
    color: #ffecec !important;
    border: 1px solid rgba(255, 80, 80, 0.6);

    text-decoration: none;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.proposals-enact-back:hover {
    background: radial-gradient(circle at top left,
                rgba(255, 95, 95, 0.45),
                rgba(14, 14, 20, 1));
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .proposals-enact-container {
        padding: 1.4rem 1rem 2rem;
    }

    .proposals-enact-title {
        font-size: 1.55rem;
    }

    .proposals-enact-item a {
        font-size: 1.1rem;
    }
}





/* ---------- Header / Title ---------- */

.tournament-title-container {
  text-align: center;
  margin-bottom: 16px;
}

.tournament-title {
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff3b3b;
  text-shadow: 0 0 10px rgba(255, 59, 59, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tournament-title i {
  color: #ff6161;
  font-size: 1.6rem;
}

/* Description box under title */
.tournamentdetail-description-box {
  margin: 0 auto;
  margin-top: 10px;
  max-width: 820px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(12, 12, 18, 0.95);
  border: 1px solid rgba(255, 80, 80, 0.4);
  color: #eaeaea;
  line-height: 1.55;
  font-size: 0.96rem;
}

/* ================================
 INFO / STATUS / TEAMS / MATCHES
 ================================ */

.info-section,
.status-section,
.teams-section,
.matches-section,
.participants-section {
  max-width: 980px;
  margin: 0 auto 26px auto;
  padding: 18px 20px;
  border-radius: 12px;
  background: radial-gradient(circle at top left, #1e1416 0, #07080d 45%, #050509 100%);
  border: 1px solid rgba(255, 60, 60, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
}

/* override the inline light backgrounds */
.info-section,
.status-section,
.teams-section,
.matches-section {
  background: radial-gradient(circle at top left, #201016 0, #07080c 45%, #050408 100%) !important;
}

/* Section headings inside these cards */
.info-section h4,
.status-section h4,
.teams-section h4,
.matches-section h3,
.participants-section h3 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #ff5454;
}

/* General info text */
.info-section p,
.status-section p,
.teams-section p,
.matches-section p,
.participants-section p {
  color: #e5e5e5;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Labels in info section */
.info-section p strong {
  color: #ff8080;
}

/* Link to game rules */
.info-section a {
  color: #ff5252;
  text-decoration: none;
  font-weight: 600;
}

.info-section a:hover {
  text-decoration: underline;
}

/* Civ 6 sub-box */
.civ6-fields {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 70, 70, 0.4);
}

.civ6-fields h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff6464;
  margin-bottom: 6px;
}

/* ================================
 STATUS BOXES
 ================================ */

.ongoing-tournament-box {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(15, 15, 22, 0.95);
  border: 1px solid rgba(255, 90, 90, 0.5);
  text-align: center;
}

.ongoing-tournament-box h4 {
  margin: 0;
  color: #ffce63;
}

/* Winner / no winner headers already inline green/red; just polish */
.status-section h4 {
  font-size: 1rem;
  font-weight: 600;
}

/* ================================
 ACTION BUTTONS
 ================================ */

.btn-action,
.btn-review,
.btn-leave-tournament,
.btn-invite-team {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Black review / special buttons */
.btn-review {
  background: #0c0c0f;
  border: 1px solid rgba(255, 60, 60, 0.6);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8);
}

.btn-review:hover {
  background: #16161b;
  color: #ff6666;
}

/* Leave tournament */
.btn-leave-tournament {
  background: linear-gradient(135deg, #ff4747, #b30000);
  border: none;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 45, 45, 0.55);
}

.btn-leave-tournament:hover {
  background: linear-gradient(135deg, #ff6161, #ff0000);
}

/* Invite team button */
.btn-invite-team {
  background: #101218;
  border: 1px solid rgba(255, 90, 90, 0.6);
  color: #ff9191;
}

.btn-invite-team:hover {
  background: #181a22;
  color: #ffffff;
}

/* Signed up info pill */
.signed-up-box {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(22, 40, 22, 0.95);
  border: 1px solid rgba(92, 255, 92, 0.6);
  color: #d1ffd1;
  font-size: 0.88rem;
}

/* ================================
 TEAMS SECTION
 ================================ */

.teams-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.teams-section li {
  background: rgba(14, 15, 22, 0.96);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 64, 64, 0.4);
}

.teams-section h5 {
  margin-bottom: 6px;
  font-size: 1rem;
  color: #ff6b6b;
}

.teams-section li i {
  color: #ff4a4a;
}

/* ================================
 MATCHES SECTION
 ================================ */

.matches-section .match-entry {
  background: rgba(11, 11, 16, 0.98);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 60, 60, 0.45);
}

.matches-section .match-entry h5 {
  margin-bottom: 8px;
  font-size: 0.98rem;
  color: #ff7070;
}

.matches-section .match-entry p {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.match-winner {
  margin-top: 8px;
  font-weight: 600;
  color: #ffd070;
}

/* View Details gradient button already inline; just shapes */
.matches-section .btn-info.btn-sm {
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.8rem;
}

/* ================================
 PARTICIPANTS SECTION
 ================================ */

.participants-section .list-group {
  list-style: none;
  padding: 0;
  margin: 0;
}

.participants-section .list-group-item {
  background: rgba(11, 11, 17, 0.98);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 60, 60, 0.35);
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #eaeaea;
  font-size: 0.9rem;
}

.participants-section .list-group-item span {
  margin-right: 10px;
}

/* Game stats row */
.participants-section .game-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 4px;
}

.participants-section .game-stats span {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(20, 20, 28, 0.95);
  border: 1px solid rgba(255, 80, 80, 0.4);
  font-size: 0.78rem;
}

/* ================================
 DEBUGGING BLOCK
 ================================ */

.debugging-info {
  max-width: 980px;
  margin: 0 auto 24px auto;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(20, 16, 16, 0.9);
  border: 1px dashed rgba(255, 80, 80, 0.5);
  color: #f0f0f0;
  font-size: 0.8rem;
}

.debugging-info h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: #ff8585;
}

/* The inline debug boxes under each match – just shape them */
.match-entry > div[style*="ffe9e9"] {
  border-radius: 8px;
  font-size: 0.78rem;
  margin-top: 6px;
}

/* ================================
 BOTTOM BUTTONS
 ================================ */

.btn.btn-danger.btn-lg {
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn.btn-light[style*="Back to Tournament"] {
  border-radius: 999px;
  background: #101018;
  border: 1px solid rgba(255, 80, 80, 0.6);
}




/* =====================================
   TOURNAMENT REVIEW MATCHES PAGE
   ===================================== */

   .tournament-review-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 26px 18px 40px;
}

/* Page title */
.review-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    color: #ff3b3b;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 60, 60, 0.7);
}

/* Each match card */
.individual-match-container {
    background: radial-gradient(circle at top left, #211218 0, #080910 45%, #040308 100%);
    border-radius: 14px;
    border: 1px solid rgba(255, 60, 60, 0.4);
    padding: 18px 20px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75);
}

/* Match header */
.match-header {
    font-size: 1.2rem;
    color: #ff6666;
    text-align: center;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Block that wraps reports */
.reported-round-winners {
    margin-top: 10px;
}

/* Sub-title inside match */
.reported-round-winners > h4 {
    font-size: 1rem;
    text-align: center;
    color: #ff8080;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

/* Individual report box */
.report-section {
    background: rgba(10, 10, 16, 0.96) !important;
    border-radius: 10px;
    border: 1px solid rgba(255, 70, 70, 0.45);
    padding: 12px 14px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
}

/* "Report by..." header */
.report-section > h4 {
    font-size: 0.98rem;
    margin-bottom: 8px;
    color: #ff9999;
}

/* Round winners and text */
.report-section h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 10px 0 6px;
    color: #ff6666;
}

.report-section p {
    font-size: 0.88rem;
    color: #e3e3e9;
    margin-bottom: 4px;
}

/* Muted metadata (reported by / date) */
.report-section .text-muted {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.78rem;
    color: #aaaacc !important;
}

/* Confirm winner button inside report */
.report-section .btn.btn-primary {
    background: linear-gradient(135deg, #ff3a3a, #b80000);
    border: none;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(255, 50, 50, 0.6);
}

.report-section .btn.btn-primary:hover {
    background: linear-gradient(135deg, #ff5757, #ff0000);
    transform: translateY(-1px);
}

/* "No reports" text */
.tournament-review-container p {
    color: #dddddd;
    font-size: 0.9rem;
}

/* Back button row */
.tournament-review-container .row.mt-5 {
    margin-top: 34px !important;
}

/* Back to Tournament button */
.tournament-review-container .btn.btn-light {
    border-radius: 999px;
    background: #111118;
    border: 1px solid rgba(255, 60, 60, 0.65);
    color: #ff4747 !important;
    font-weight: 600;
    padding: 8px 18px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.tournament-review-container .btn.btn-light:hover {
    background: #171724;
    color: #ffffff !important;
}



/* ===== PAGE BACKGROUND & LAYOUT (SCOPED) ===== */
.tournament-entry-page {
  min-height: calc(100vh - 120px); /* adjust if header/footer big */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background:
      radial-gradient(circle at top left, rgba(255, 80, 80, 0.35), transparent 55%),
      radial-gradient(circle at bottom right, rgba(150, 0, 0, 0.55), #050507 80%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== CARD CONTAINER ===== */
.tournament-entry-page .tournament-entry-card {
  width: 100%;
  max-width: 640px;
  background: linear-gradient(145deg, #101013, #17171b);
  border-radius: 20px;
  padding: 28px 22px 24px;
  border: 1px solid rgba(255, 80, 80, 0.65);
  box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.7),
      0 0 20px rgba(255, 40, 40, 0.35);
  position: relative;
  overflow: hidden;
}

/* subtle glow strip at top */
.tournament-entry-page .tournament-entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.08),
      transparent 40%,
      transparent 60%,
      rgba(255, 255, 255, 0.04)
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ===== TITLE ===== */
.tournament-entry-page .tournament-entry-card h2 {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

/* red underline accent */
.tournament-entry-page .tournament-entry-card h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4040, #ff1a1a);
}

/* ===== FORM LAYOUT ===== */
.tournament-entry-page form {
  position: relative;
  z-index: 1;
}

/* form groups */
.tournament-entry-page .form-group {
  margin-bottom: 16px;
}

/* labels */
.tournament-entry-page .bold-label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f1f1f1;
  margin-bottom: 6px;
}

/* ===== INPUTS / SELECTS ===== */
.tournament-entry-page .form-group input,
.tournament-entry-page .form-group select,
.tournament-entry-page .form-group textarea {
  width: 100%;
  padding: 11px 12px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 12, 0.9);
  color: #f8f8f8;
  outline: none;
  transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      background 0.2s ease,
      transform 0.12s ease;
}

/* placeholder text */
.tournament-entry-page .form-group input::placeholder,
.tournament-entry-page .form-group textarea::placeholder {
  color: rgba(200, 200, 200, 0.5);
}

/* hover / focus */
.tournament-entry-page .form-group input:hover,
.tournament-entry-page .form-group select:hover,
.tournament-entry-page .form-group textarea:hover {
  border-color: rgba(255, 80, 80, 0.7);
}

.tournament-entry-page .form-group input:focus,
.tournament-entry-page .form-group select:focus,
.tournament-entry-page .form-group textarea:focus {
  border-color: #ff4040;
  background: #121218;
  box-shadow: 0 0 0 1px rgba(255, 80, 80, 0.5);
  transform: translateY(-1px);
}

/* make selects look consistent */
.tournament-entry-page .form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #ff6666 50%),
      linear-gradient(135deg, #ff6666 50%, transparent 50%);
  background-position:
      calc(100% - 14px) calc(50% - 2px),
      calc(100% - 8px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 30px;
}

/* ===== ERROR MESSAGES ===== */
.tournament-entry-page .error {
  margin-top: 5px;
  font-size: 12px;
  color: #ffb3b3;
  padding: 7px 9px;
  border-radius: 8px;
  border-left: 3px solid #ff4d4d;
  background: rgba(90, 0, 0, 0.75);
}

/* ===== SUBMIT BUTTON ===== */
.tournament-entry-page .tournament-submit-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 0;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, #ff4040, #ff0000, #b30000);
  background-size: 200% 200%;
  cursor: pointer;
  transition:
      transform 0.12s ease,
      box-shadow 0.15s ease,
      background-position 0.25s ease;
  box-shadow: 0 8px 18px rgba(255, 0, 0, 0.45);
}

.tournament-entry-page .tournament-submit-btn:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 10px 24px rgba(255, 0, 0, 0.6);
}

.tournament-entry-page .tournament-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(150, 0, 0, 0.7);
}

/* ===== DJANGO MESSAGES ===== */
.tournament-entry-page .messages {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

.tournament-entry-page .messages li {
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 8px;
}

/* success / error variants */
.tournament-entry-page .messages .alert-success {
  background: rgba(0, 90, 40, 0.8);
  color: #d2ffe0;
  border: 1px solid rgba(0, 255, 120, 0.5);
}

.tournament-entry-page .messages .alert-error,
.tournament-entry-page .messages .alert-danger {
  background: rgba(120, 0, 0, 0.85);
  color: #ffd6d6;
  border: 1px solid rgba(255, 80, 80, 0.7);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .tournament-entry-page {
      padding: 24px 10px;
  }

  .tournament-entry-page .tournament-entry-card {
      padding: 22px 16px 18px;
      border-radius: 16px;
  }

  .tournament-entry-page .tournament-entry-card h2 {
      font-size: 20px;
  }

  .tournament-entry-page .tournament-submit-btn {
      font-size: 14px;
  }
}



/* ===== SELLER DASHBOARD PAGE (SCOPED) ===== */
.content-container .seller-dashboard {
  max-width: 900px;
  margin: 40px auto;
  padding: 28px 22px;
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(255, 80, 80, 0.28), transparent 55%),
              radial-gradient(circle at bottom right, rgba(90, 0, 0, 0.95), #050507 80%);
  box-shadow:
      0 14px 40px rgba(0, 0, 0, 0.8),
      0 0 25px rgba(255, 0, 0, 0.26);
  border: 1px solid rgba(255, 80, 80, 0.55);
  position: relative;
  overflow: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* subtle light sweep overlay */
.content-container .seller-dashboard::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
      linear-gradient(115deg,
      rgba(255, 255, 255, 0.09),
      transparent 40%,
      transparent 60%,
      rgba(255, 255, 255, 0.04));
  mix-blend-mode: screen;
  opacity: 0.8;
  pointer-events: none;
}

.content-container .seller-dashboard h1 {
  margin: 0 0 14px;
  font-size: 0; /* so the link defines spacing; keeps layout tight */
}

/* ===== DASHBOARD LINKS AS ROW CARDS ===== */
.content-container .seller-dashboard .dashboard-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(15, 15, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: #f8f8f8;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  overflow: hidden;
  transition:
      transform 0.12s ease,
      box-shadow 0.18s ease,
      border-color 0.18s ease,
      background 0.18s ease;
}

/* faint divider between items */
.content-container .seller-dashboard .dashboard-link + .dashboard-link {
  margin-top: 6px;
}

/* left accent bar */
.content-container .seller-dashboard .dashboard-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff5555, #ff0000);
  opacity: 0.8;
}

/* animated shine on hover */
.content-container .seller-dashboard .dashboard-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 50%, rgba(255, 255, 255, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
  transform: translateX(-18%);
}

/* ICON STYLE */
.content-container .seller-dashboard .dashboard-link i {
  font-size: 20px;
  width: 24px;
  text-align: center;
  color: #ff6666;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.45));
}

/* TEXT STYLE */
.content-container .seller-dashboard .dashboard-link span,
.content-container .seller-dashboard .dashboard-link {
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

/* HOVER STATE */
.content-container .seller-dashboard .dashboard-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 80, 80, 0.7);
  background: radial-gradient(circle at top left, rgba(60, 0, 0, 0.95), rgba(15, 15, 18, 0.98));
  box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.9),
      0 0 18px rgba(255, 0, 0, 0.6);
}

.content-container .seller-dashboard .dashboard-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ACTIVE / FOCUS */
.content-container .seller-dashboard .dashboard-link:active {
  transform: translateY(0);
  box-shadow:
      0 5px 14px rgba(0, 0, 0, 0.9),
      0 0 10px rgba(150, 0, 0, 0.8);
}

/* ===== BOTTOM ACTION BUTTON ===== */
.content-container .seller-dashboard .dashboard-actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
}

.content-container .seller-dashboard .dashboard-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 80, 80, 0.9);
  background: linear-gradient(120deg, #ff4444, #b30000);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(255, 0, 0, 0.55);
  transition:
      transform 0.12s ease,
      box-shadow 0.16s ease,
      filter 0.16s ease;
}

.content-container .seller-dashboard .dashboard-back-btn i {
  font-size: 16px;
}

.content-container .seller-dashboard .dashboard-back-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 24px rgba(255, 0, 0, 0.7);
}

.content-container .seller-dashboard .dashboard-back-btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 14px rgba(150, 0, 0, 0.8);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .content-container .seller-dashboard {
      margin: 24px 10px;
      padding: 20px 14px;
      border-radius: 16px;
  }

  .content-container .seller-dashboard .dashboard-link {
      font-size: 14px;
      padding: 12px 14px;
  }

  .content-container .seller-dashboard .dashboard-back-btn {
      width: 100%;
      justify-content: center;
      margin-top: 6px;
  }

  .content-container .seller-dashboard .dashboard-actions {
      justify-content: center;
  }






/* ===== ITEM DETAILS PAGE WRAPPER ===== */
.content-container .item-details-container {
  max-width: 1100px;
  margin: 40px auto 50px;
  padding: 24px 22px 30px;
  border-radius: 22px;
  background: radial-gradient(circle at top left, rgba(255, 80, 80, 0.28), transparent 55%),
              radial-gradient(circle at bottom right, rgba(90, 0, 0, 0.95), #050507 80%);
  box-shadow:
      0 16px 40px rgba(0, 0, 0, 0.85),
      0 0 26px rgba(255, 0, 0, 0.35);
  border: 1px solid rgba(255, 80, 80, 0.55);
  position: relative;
  overflow: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* light sweep overlay */
.content-container .item-details-container::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.08),
      transparent 40%,
      transparent 60%,
      rgba(255, 255, 255, 0.04));
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ===== TITLE ===== */
.content-container .item-details-container > h1 {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: left;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.content-container .item-details-container > h1::after {
  content: "";
  display: block;
  width: 92px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4040, #ff0000);
}

/* ===== MAIN LAYOUT: IMAGE LEFT / INFO RIGHT ===== */
.content-container .item-details-container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  column-gap: 28px;
  row-gap: 18px;
}

/* stack on small screens */
@media (max-width: 900px) {
  .content-container .item-details-container {
      grid-template-columns: minmax(0, 1fr);
  }

  .content-container .item-details-container > h1 {
      text-align: center;
  }

  .content-container .item-details-container > h1::after {
      margin-left: auto;
      margin-right: auto;
  }
}

/* ===== IMAGE SLIDER ===== */
.content-container .item-details-container .image-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #08080b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.85);
  max-height: 480px;
}

/* slides */
.content-container .item-details-container .image-slider .slide {
  display: none;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
}

.content-container .item-details-container .image-slider .slide.show {
  display: block;
}

/* image aspect ratio handling */
.content-container .item-details-container .item-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
  background: radial-gradient(circle at center, #161620, #050507);
}

/* slider arrows */
.content-container .item-details-container .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
  z-index: 2;
}

.content-container .item-details-container .slider-arrow.left {
  left: 10px;
}

.content-container .item-details-container .slider-arrow.right {
  right: 10px;
}

.content-container .item-details-container .slider-arrow:hover {
  background: rgba(255, 64, 64, 0.9);
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.08);
}

/* ===== INFO SUMMARY (SELLER / META) ===== */
.content-container .item-details-container .item-info-details-page {
  position: relative;
  z-index: 1;
  padding: 10px 14px 12px;
  border-radius: 16px;
  background: rgba(10, 10, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

/* label + value style using data-label */
.content-container .item-details-container .item-info-details-page p {
  margin: 4px 0;
  font-size: 14px;
  color: #e7e7e7;
}

.content-container .item-details-container .item-info-details-page p[data-label] {
  position: relative;
  padding-left: 110px;
}

.content-container .item-details-container .item-info-details-page p[data-label]::before {
  content: attr(data-label);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffb3b3;
  opacity: 0.9;
}

/* seller link */
.content-container .item-details-container .seller-link {
  color: #ff6b6b;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.content-container .item-details-container .seller-link:hover {
  color: #ffffff;
  border-color: rgba(255, 107, 107, 0.9);
}

/* ===== DESCRIPTION + PRICE / ACTION COLUMN ===== */
.content-container .item-details-container .item-details-info {
  position: relative;
  z-index: 1;
  padding: 12px 14px 16px;
  border-radius: 16px;
  background: rgba(8, 8, 12, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* description box */
.content-container .item-details-container .description-details-container {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(18, 18, 24, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-height: 220px;
  overflow-y: auto;
}

.content-container .item-details-container .description-details-container p {
  margin: 0;
  font-size: 14px;
  color: #f1f1f1;
}

/* price text */
.content-container .item-details-container .price-details-text {
  font-size: 16px;
  font-weight: 700;
  color: #ffdfdf;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

.content-container .item-details-container .price-details-text p {
  margin: 0;
}

/* ===== REPORT / DISPUTE LINKS ===== */
.content-container .item-details-container .report-item-details-link,
.content-container .item-details-container a[href*="report_purchase"] {
  font-size: 13px;
  color: #ff9a9a;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 154, 154, 0.8);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.content-container .item-details-container .report-item-details-link:hover,
.content-container .item-details-container a[href*="report_purchase"]:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* rejected / sold text */
.content-container .item-details-container .rejected-label,
.content-container .item-details-container p:contains("This item is sold") {
  font-size: 13px;
  color: #ffd1d1;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(120, 0, 0, 0.85);
  border: 1px solid rgba(255, 80, 80, 0.8);
}

/* ===== MESSAGE FORM TO SELLER ===== */
.content-container .item-details-container #messageForm {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.content-container .item-details-container #messageForm label {
  font-size: 13px;
  color: #f5f5f5;
}

.content-container .item-details-container #messageForm textarea {
  min-height: 80px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 16, 22, 0.98);
  color: #ffffff;
  padding: 8px 10px;
  font-size: 13px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.content-container .item-details-container #messageForm textarea:focus {
  border-color: #ff4040;
  box-shadow: 0 0 0 1px rgba(255, 64, 64, 0.7);
}

.content-container .item-details-container #messageForm button {
  align-self: flex-start;
  margin-top: 4px;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, #ff4040, #b30000);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.6);
  transition: transform 0.12s ease, box-shadow 0.16s ease;
}

.content-container .item-details-container #messageForm button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.75);
}

.content-container .item-details-container #messageForm button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(150, 0, 0, 0.9);
}

/* ===== BUY / OFFER SECTION ===== */
.content-container .item-details-container .buy-offer-container {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* forms alignment on larger screens */
@media (min-width: 720px) {
  .content-container .item-details-container .buy-offer-container {
      flex-direction: row;
      align-items: flex-end;
      gap: 14px;
  }

  .content-container .item-details-container #offerForm > div {
      margin-bottom: 0;
  }
}

/* offer input group */
.content-container .item-details-container #offerForm > div {
  margin-bottom: 5px;
}

.content-container .item-details-container #offerForm label {
  display: block;
  font-size: 13px;
  color: #f3f3f3;
  margin-bottom: 3px;
}

.content-container .item-details-container #offer_amount {
  width: 100%;
  max-width: 180px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 14, 20, 0.98);
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.content-container .item-details-container #offer_amount:focus {
  border-color: #ff4040;
  box-shadow: 0 0 0 1px rgba(255, 64, 64, 0.7);
}

/* main action buttons (Buy / Make Offer) */
.content-container .item-details-container .form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, #ff4040, #ff0000, #b30000);
  background-size: 200% 200%;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.65);
  transition: transform 0.12s ease, box-shadow 0.16s ease, background-position 0.2s ease;
}

.content-container .item-details-container .form-button:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 0, 0, 0.8);
}

.content-container .item-details-container .form-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(150, 0, 0, 0.9);
}

/* ===== BACK TO STORE BUTTON ===== */
.content-container .item-details-container .row .btn.btn-secondary.btn-sm {
  margin-top: 16px;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(120deg, #3a3a45, #1c1c22);
  color: #f0f0f0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.7);
  transition: transform 0.12s ease, box-shadow 0.16s ease, background 0.18s ease, color 0.12s ease;
}

.content-container .item-details-container .row .btn.btn-secondary.btn-sm:hover {
  background: linear-gradient(120deg, #ff4040, #b30000);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.75);
}

.content-container .item-details-container .row .btn.btn-secondary.btn-sm:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(150, 0, 0, 0.9);
}

/* ===== SMALL SCREEN SPACING ===== */
@media (max-width: 600px) {
  .content-container .item-details-container {
      margin: 24px 10px 34px;
      padding: 18px 14px 22px;
      border-radius: 18px;
  }

  .content-container .item-details-container .image-slider {
      max-height: 360px;
  }
}
}


/* 11/22/2025 */


/* ===== REPORT ITEM PAGE WRAPPER ===== */
.report-item-page {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background:
      radial-gradient(circle at top left, rgba(255, 80, 80, 0.32), transparent 55%),
      radial-gradient(circle at bottom right, rgba(100, 0, 0, 0.95), #050507 80%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== CARD CONTAINER ===== */
.report-item-card {
  width: 100%;
  max-width: 600px;
  padding: 30px 26px;
  border-radius: 20px;
  background: linear-gradient(155deg, #111015, #1b1b21);
  border: 1px solid rgba(255, 60, 60, 0.55);
  box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.8),
      0 0 20px rgba(255, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

/* Sweep highlight overlay */
.report-item-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.06),
      transparent 40%,
      transparent 60%,
      rgba(255, 255, 255, 0.04));
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ===== TITLE ===== */
.report-item-card h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

.report-item-card h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #ff4040, #ff0000);
  margin: 10px auto 0;
  border-radius: 999px;
}

/* ===== FORM ELEMENTS ===== */
.report-item-card form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-item-card form label {
  font-size: 14px;
  color: #ffdddd;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Textarea */
.report-item-card textarea {
  width: 100%;
  min-height: 130px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 15, 20, 0.95);
  color: #ffffff;
  font-size: 14px;
  outline: none;
  resize: vertical;
  transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      background 0.2s ease;
}

.report-item-card textarea:focus {
  border-color: #ff4040;
  box-shadow: 0 0 0 1px rgba(255, 60, 60, 0.7);
  background: rgba(20, 20, 28, 0.98);
}

/* ===== SUBMIT BUTTON ===== */
.report-item-card .report-submit-btn {
  margin-top: 4px;
  padding: 12px 0;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(120deg, #ff4040, #ff0000, #b30000);
  background-size: 200% 200%;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.55);
  transition:
      transform 0.12s ease,
      box-shadow 0.18s ease,
      background-position 0.25s ease;
}

.report-item-card .report-submit-btn:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 10px 26px rgba(255, 0, 0, 0.75);
}

.report-item-card .report-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(150, 0, 0, 0.9);
}

/* ===== CANCEL LINK ===== */
.report-item-card .report-cancel-link {
  display: block;
  margin-top: 16px;
  text-align: center;
  color: #ff9a9a;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 154, 154, 0.7);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.report-item-card .report-cancel-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* ===== MOBILE ADJUSTMENTS ===== */
@media (max-width: 460px) {
  .report-item-card {
      padding: 24px 16px;
      border-radius: 16px;
  }

  .report-item-card h2 {
      font-size: 20px;
  }

  .report-item-card textarea {
      min-height: 110px;
  }
}



/* ===== EXCHANGE DASHBOARD WRAPPER ===== */
.content-container .exchange-dashboard {
  max-width: 1100px;
  margin: 40px auto 50px;
  padding: 26px 22px 28px;
  border-radius: 22px;
  background:
      radial-gradient(circle at top left, rgba(255, 80, 80, 0.25), transparent 55%),
      radial-gradient(circle at bottom right, rgba(90, 0, 0, 0.95), #050507 80%);
  box-shadow:
      0 16px 40px rgba(0, 0, 0, 0.85),
      0 0 26px rgba(255, 0, 0, 0.35);
  border: 1px solid rgba(255, 80, 80, 0.55);
  position: relative;
  overflow: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* sweep overlay */
.content-container .exchange-dashboard::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.07),
      transparent 40%,
      transparent 60%,
      rgba(255, 255, 255, 0.04));
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ===== TITLE ===== */
.content-container .exchange-dashboard .exchange-title {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 18px;
  text-align: left;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.content-container .exchange-dashboard .exchange-title::after {
  content: "";
  display: block;
  width: 150px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4040, #ff0000);
}

/* ===== PENDING SALE CARD ===== */
.content-container .exchange-dashboard .pending-sale {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 16px 16px 18px;
  border-radius: 16px;
  background: rgba(10, 10, 15, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.8);
  transition:
      transform 0.15s ease,
      box-shadow 0.18s ease,
      border-color 0.18s ease,
      background 0.18s ease;
}

/* left accent bar */
.content-container .exchange-dashboard .pending-sale::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6666, #ff0000);
  opacity: 0.85;
}

/* hover elevation */
.content-container .exchange-dashboard .pending-sale:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 80, 80, 0.7);
  background: radial-gradient(circle at top left, rgba(45, 0, 0, 0.9), rgba(8, 8, 12, 0.98));
  box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.9),
      0 0 20px rgba(255, 0, 0, 0.6);
}

/* ===== ITEM TITLE LINK ===== */
.content-container .exchange-dashboard .pending-sale h2 {
  margin: 0 0 6px 8px;
  font-size: 18px;
}

.content-container .exchange-dashboard .item-dashboard-title-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
  transition: color 0.16s ease, text-shadow 0.16s ease;
}

.content-container .exchange-dashboard .item-dashboard-title-link:hover {
  color: #ff6b6b;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.9);
}

/* ===== TEXT ROWS (Buyer / Amount / Date) ===== */
.content-container .exchange-dashboard .pending-sale p {
  margin: 4px 0;
  font-size: 14px;
  color: #f1f1f1;
}

.content-container .exchange-dashboard .pending-sale strong {
  color: #ffcccc;
  font-weight: 600;
}

/* buyer link */
.content-container .exchange-dashboard .buyer-link {
  color: #ff8585;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.content-container .exchange-dashboard .buyer-link:hover {
  color: #ffffff;
  border-color: rgba(255, 133, 133, 0.9);
}

/* amount row */
.content-container .exchange-dashboard .offer-amount-dashboard {
  margin-top: 6px;
}

.content-container .exchange-dashboard .offer-amount-dashboard .amount {
  font-weight: 700;
  color: #ffdfdf;
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
}

.content-container .exchange-dashboard .offer-amount-dashboard .currency {
  margin-left: 4px;
  font-size: 13px;
  color: #ffb3b3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* date row */
.content-container .exchange-dashboard .sale-created-date span {
  color: #e2e2e2;
}

/* ===== VIEW DETAILS LINK ===== */
.content-container .exchange-dashboard .purchase-details-link-container {
  margin-top: 8px;
}

.content-container .exchange-dashboard .purchase-details-dashboard-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(30, 30, 40, 0.98);
  transition:
      transform 0.12s ease,
      box-shadow 0.14s ease,
      border-color 0.14s ease,
      background 0.14s ease;
}

.content-container .exchange-dashboard .purchase-details-dashboard-link:hover {
  transform: translateY(-1px);
  background: linear-gradient(120deg, #ff4040, #b30000);
  border-color: rgba(255, 80, 80, 0.9);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.65);
}

/* ===== CONFIRM / REJECT BUTTONS (SCOPED OVERRIDES) ===== */
.content-container .exchange-dashboard .btn {
  margin-top: 6px;
  margin-right: 6px;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition:
      transform 0.12s ease,
      box-shadow 0.16s ease,
      filter 0.14s ease;
}

/* primary (Confirm as Seller) */
.content-container .exchange-dashboard .btn-primary {
  background: linear-gradient(120deg, #ff4040, #ff0000, #b30000);
  background-size: 200% 200%;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.6);
}

.content-container .exchange-dashboard .btn-primary:hover {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.8);
}

.content-container .exchange-dashboard .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(150, 0, 0, 0.9);
}

/* danger (Reject Sale) */
.content-container .exchange-dashboard .btn-danger {
  background: linear-gradient(120deg, #5a0000, #8b0000);
  color: #ffdddd;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.75);
}

.content-container .exchange-dashboard .btn-danger:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.9);
}

.content-container .exchange-dashboard .btn-danger:active {
  transform: translateY(0);
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.95);
}

/* ensure forms sit inline on wider screens */
@media (min-width: 720px) {
  .content-container .exchange-dashboard .pending-sale form {
      display: inline-block;
  }
}

/* ===== EMPTY STATE ===== */
.content-container .exchange-dashboard > p {
  margin-top: 18px;
  font-size: 14px;
  color: #f3b3b3;
}

/* ===== PAGINATION ===== */
.content-container .exchange-dashboard .pending-purchase-pagination {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.content-container .exchange-dashboard .pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(25, 25, 32, 0.98);
  transition:
      transform 0.12s ease,
      box-shadow 0.16s ease,
      border-color 0.16s ease,
      background 0.16s ease,
      color 0.12s ease;
}

.content-container .exchange-dashboard .pagination-link:hover:not(.disabled) {
  transform: translateY(-1px);
  background: linear-gradient(120deg, #ff4040, #b30000);
  border-color: rgba(255, 80, 80, 0.9);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.7);
}

.content-container .exchange-dashboard .pagination-link.disabled,
.content-container .exchange-dashboard .pending-purchase-link-disabled {
  cursor: default;
  opacity: 0.45;
  box-shadow: none;
}

/* page number */
.content-container .exchange-dashboard .pending-purchase-page-number {
  font-size: 13px;
  color: #ffdfdf;
}

/* ===== BACK TO DASHBOARD BUTTON ===== */
.content-container .exchange-dashboard .back-to-dashboard {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.content-container .exchange-dashboard .btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(120deg, #3a3a45, #1c1c22);
  color: #f0f0f0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8);
  transition:
      transform 0.12s ease,
      box-shadow 0.18s ease,
      background 0.18s ease,
      color 0.12s ease;
}

.content-container .exchange-dashboard .btn-back:hover {
  background: linear-gradient(120deg, #ff4040, #b30000);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 0, 0, 0.75);
}

.content-container .exchange-dashboard .btn-back:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(150, 0, 0, 0.9);
}

/* ===== MOBILE TWEAKS ===== */
@media (max-width: 600px) {
  .content-container .exchange-dashboard {
      margin: 26px 10px 34px;
      padding: 20px 14px 22px;
      border-radius: 18px;
  }

  .content-container .exchange-dashboard .exchange-title {
      font-size: 20px;
      text-align: center;
  }

  .content-container .exchange-dashboard .exchange-title::after {
      margin-left: auto;
      margin-right: auto;
  }

  .content-container .exchange-dashboard .pending-sale {
      padding: 14px 12px 16px;
  }

  .content-container .exchange-dashboard .back-to-dashboard {
      justify-content: center;
  }

  .content-container .exchange-dashboard .btn-back {
      width: 100%;
      justify-content: center;
  }
}


/* ===== COMPLETED SALES DASHBOARD WRAPPER ===== */
.content-container .exchange-dashboard {
  max-width: 1100px;
  margin: 40px auto 50px;
  padding: 26px 22px 28px;
  border-radius: 22px;
  background:
      radial-gradient(circle at top left, rgba(255, 80, 80, 0.25), transparent 55%),
      radial-gradient(circle at bottom right, rgba(90, 0, 0, 0.95), #050507 80%);
  box-shadow:
      0 16px 40px rgba(0, 0, 0, 0.85),
      0 0 26px rgba(255, 0, 0, 0.35);
  border: 1px solid rgba(255, 80, 80, 0.55);
  position: relative;
  overflow: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* sweep overlay */
.content-container .exchange-dashboard::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.07),
      transparent 40%,
      transparent 60%,
      rgba(255, 255, 255, 0.04));
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ===== TITLE ===== */
.content-container .exchange-dashboard .exchange-title {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 18px;
  text-align: left;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.content-container .exchange-dashboard .exchange-title::after {
  content: "";
  display: block;
  width: 170px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4040, #ff0000);
}

/* ===== COMPLETED SALE CARD ===== */
.content-container .exchange-dashboard .sale {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 16px 16px 18px;
  border-radius: 16px;
  background: rgba(8, 8, 12, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.8);
  transition:
      transform 0.15s ease,
      box-shadow 0.18s ease,
      border-color 0.18s ease,
      background 0.18s ease;
}

/* left accent bar */
.content-container .exchange-dashboard .sale::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6666, #ff0000);
  opacity: 0.9;
}

/* hover elevation */
.content-container .exchange-dashboard .sale:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 80, 80, 0.7);
  background: radial-gradient(circle at top left, rgba(45, 0, 0, 0.9), rgba(8, 8, 12, 0.98));
  box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.9),
      0 0 20px rgba(255, 0, 0, 0.6);
}

/* ===== ITEM TITLE LINK ===== */
.content-container .exchange-dashboard .sale h2 {
  margin: 0 0 6px 8px;
  font-size: 18px;
}

.content-container .exchange-dashboard .item-dashboard-title-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
  transition: color 0.16s ease, text-shadow 0.16s ease;
}

.content-container .exchange-dashboard .item-dashboard-title-link:hover {
  color: #ff6b6b;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.9);
}

/* ===== TEXT ROWS ===== */
.content-container .exchange-dashboard .sale p {
  margin: 4px 0;
  font-size: 14px;
  color: #f1f1f1;
}

.content-container .exchange-dashboard .sale strong {
  color: #ffcccc;
  font-weight: 600;
}

/* buyer link */
.content-container .exchange-dashboard .buyer-link {
  color: #ff8585;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.content-container .exchange-dashboard .buyer-link:hover {
  color: #ffffff;
  border-color: rgba(255, 133, 133, 0.9);
}

/* no buyer text */
.content-container .exchange-dashboard .no-buyer {
  color: #bbbbbb;
  font-style: italic;
}

/* amount row */
.content-container .exchange-dashboard .offer-amount-dashboard {
  margin-top: 6px;
}

.content-container .exchange-dashboard .offer-amount-dashboard .amount {
  font-weight: 700;
  color: #ffdfdf;
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
}

.content-container .exchange-dashboard .offer-amount-dashboard .currency {
  margin-left: 4px;
  font-size: 13px;
  color: #ffb3b3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* sold date */
.content-container .exchange-dashboard .sold-date-dashboard {
  font-size: 13px;
  color: #e4e4e4;
}

/* ===== VIEW DETAILS LINK ===== */
.content-container .exchange-dashboard .purchase-details-link-container {
  margin-top: 8px;
}

.content-container .exchange-dashboard .purchase-details-dashboard-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(30, 30, 40, 0.98);
  transition:
      transform 0.12s ease,
      box-shadow 0.14s ease,
      border-color 0.14s ease,
      background 0.14s ease;
}

.content-container .exchange-dashboard .purchase-details-dashboard-link:hover {
  transform: translateY(-1px);
  background: linear-gradient(120deg, #ff4040, #b30000);
  border-color: rgba(255, 80, 80, 0.9);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.65);
}

/* ===== EMPTY STATE ===== */
.content-container .exchange-dashboard > p {
  margin-top: 18px;
  font-size: 14px;
  color: #f3b3b3;
}

/* ===== PAGINATION ===== */
.content-container .exchange-dashboard .pending-purchase-pagination {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.content-container .exchange-dashboard .pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(25, 25, 32, 0.98);
  transition:
      transform 0.12s ease,
      box-shadow 0.16s ease,
      border-color 0.16s ease,
      background 0.16s ease,
      color 0.12s ease;
}

.content-container .exchange-dashboard .pagination-link:hover:not(.disabled) {
  transform: translateY(-1px);
  background: linear-gradient(120deg, #ff4040, #b30000);
  border-color: rgba(255, 80, 80, 0.9);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.7);
}

.content-container .exchange-dashboard .pagination-link.disabled,
.content-container .exchange-dashboard .pending-purchase-link-disabled {
  cursor: default;
  opacity: 0.45;
  box-shadow: none;
}

.content-container .exchange-dashboard .pending-purchase-page-number {
  font-size: 13px;
  color: #ffdfdf;
}

/* ===== BACK TO DASHBOARD BUTTON ===== */
.content-container .exchange-dashboard .back-to-dashboard {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.content-container .exchange-dashboard .btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(120deg, #3a3a45, #1c1c22);
  color: #f0f0f0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8);
  transition:
      transform 0.12s ease,
      box-shadow 0.18s ease,
      background 0.18s ease,
      color 0.12s ease;
}

.content-container .exchange-dashboard .btn-back:hover {
  background: linear-gradient(120deg, #ff4040, #b30000);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 0, 0, 0.75);
}

.content-container .exchange-dashboard .btn-back:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(150, 0, 0, 0.9);
}

/* ===== MOBILE TWEAKS ===== */
@media (max-width: 600px) {
  .content-container .exchange-dashboard {
      margin: 26px 10px 34px;
      padding: 20px 14px 22px;
      border-radius: 18px;
  }

  .content-container .exchange-dashboard .exchange-title {
      font-size: 20px;
      text-align: center;
  }

  .content-container .exchange-dashboard .exchange-title::after {
      margin-left: auto;
      margin-right: auto;
  }

  .content-container .exchange-dashboard .sale {
      padding: 14px 12px 16px;
  }

  .content-container .exchange-dashboard .back-to-dashboard {
      justify-content: center;
  }

  .content-container .exchange-dashboard .btn-back {
      width: 100%;
      justify-content: center;
  }
}




/* ===== PENDING PURCHASE CARD ===== */
.content-container .exchange-dashboard .pending-purchase {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding: 18px 16px 20px;
  border-radius: 16px;
  background: rgba(10, 10, 15, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 34px rgba(0,0,0,0.85);
  transition:
      transform 0.14s ease,
      background 0.18s ease,
      box-shadow 0.18s ease,
      border-color 0.18s ease;
}

/* colored left bar */
.content-container .exchange-dashboard .pending-purchase::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: linear-gradient(180deg, #ff6666, #ff0000);
  border-radius: 999px;
  opacity: 0.9;
}

/* hover animation */
.content-container .exchange-dashboard .pending-purchase:hover {
  transform: translateY(-2px);
  background: radial-gradient(circle at top left, rgba(45,0,0,0.9), rgba(12,12,18,0.98));
  border-color: rgba(255, 80, 80, 0.75);
  box-shadow:
      0 14px 36px rgba(0, 0, 0, 0.9),
      0 0 20px rgba(255, 0, 0, 0.6);
}

/* ===== ITEM TITLE ===== */
.content-container .exchange-dashboard .pending-purchase h2 {
  margin: 0 0 6px 8px;
  font-size: 18px;
}

.content-container .exchange-dashboard .item-dashboard-title-link {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0,0,0,0.9);
  transition: color 0.16s ease, text-shadow 0.16s ease;
}

.content-container .exchange-dashboard .item-dashboard-title-link:hover {
  color: #ff6666;
  text-shadow: 0 0 10px rgba(255,0,0,0.9);
}

/* ===== TEXT ROWS ===== */
.content-container .exchange-dashboard .pending-purchase p {
  margin: 4px 0;
  font-size: 14px;
  color: #e9e9e9;
}

.content-container .exchange-dashboard .pending-purchase strong {
  color: #ffcccc;
}

/* amount section */
.content-container .exchange-dashboard .offer-amount-dashboard .amount {
  font-weight: 700;
  color: #ffdfdf;
  text-shadow: 0 0 8px rgba(255,0,0,0.7);
}

.content-container .exchange-dashboard .offer-amount-dashboard .currency {
  font-size: 13px;
  color: #ffb1b1;
  margin-left: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* seller link */
.content-container .exchange-dashboard .seller-link {
  color: #ff7d7d;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.content-container .exchange-dashboard .seller-link:hover {
  color: #fff;
  border-color: rgba(255, 125, 125, 0.9);
}

/* ===== VIEW PURCHASE DETAILS LINK ===== */
.content-container .exchange-dashboard .purchase-details-link-container {
  margin-top: 8px;
}

.content-container .exchange-dashboard .purchase-details-dashboard-link {
  display: inline-flex;
  padding: 7px 14px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(30, 30, 40, 0.98);
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  transition:
      transform 0.12s ease,
      border-color 0.14s ease,
      background 0.14s ease,
      box-shadow 0.14s ease;
}

.content-container .exchange-dashboard .purchase-details-dashboard-link:hover {
  transform: translateY(-1px);
  background: linear-gradient(120deg, #ff4040, #b30000);
  border-color: rgba(255,80,80,0.9);
  box-shadow: 0 6px 16px rgba(255,0,0,0.7);
}

/* ===== CONFIRM & CANCEL BUTTONS ===== */
.content-container .exchange-dashboard .btn {
  margin-top: 6px;
  margin-right: 6px;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition:
      transform 0.12s ease,
      box-shadow 0.16s ease,
      background-position 0.25s ease;
}

/* confirm buyer (primary red) */
.content-container .exchange-dashboard .btn-primary {
  background: linear-gradient(120deg, #ff4040, #ff0000, #b30000);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 6px 16px rgba(255,0,0,0.6);
}

.content-container .exchange-dashboard .btn-primary:hover {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow: 0 8px 20px rgba(255,0,0,0.8);
}

/* danger (Cancel purchase) */
.content-container .exchange-dashboard .btn-danger {
  background: linear-gradient(120deg, #5a0000, #8b0000);
  color: #ffdddd;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.75);
}

.content-container .exchange-dashboard .btn-danger:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 8px 18px rgba(0,0,0,0.9);
}

/* ===== PAGINATION ===== */
.content-container .exchange-dashboard .pending-purchase-pagination {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.content-container .exchange-dashboard .pagination-link {
  padding: 7px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  background: rgba(25,25,32,0.98);
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  transition:
      transform 0.12s ease,
      background 0.14s ease,
      border-color 0.14s ease,
      box-shadow 0.14s ease;
}

.content-container .exchange-dashboard .pagination-link:hover:not(.disabled) {
  transform: translateY(-1px);
  background: linear-gradient(120deg, #ff4040, #b30000);
  border-color: rgba(255,80,80,0.9);
  box-shadow: 0 6px 16px rgba(255,0,0,0.7);
}

.content-container .exchange-dashboard .pagination-link.disabled {
  opacity: 0.45;
  cursor: default;
}

/* page number display */
.content-container .exchange-dashboard .pending-purchase-page-number {
  font-size: 13px;
  color: #ffdfdf;
}

/* ===== BACK BUTTON ===== */
.content-container .exchange-dashboard .back-to-dashboard {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.content-container .exchange-dashboard .btn-back {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(120deg, #3a3a45, #1c1c22);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.8);
  transition:
      transform 0.12s ease,
      background 0.14s ease,
      box-shadow 0.14s ease;
}

.content-container .exchange-dashboard .btn-back:hover {
  background: linear-gradient(120deg, #ff4040, #b30000);
  box-shadow: 0 8px 20px rgba(255,0,0,0.75);
  transform: translateY(-1px);
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 600px) {
  .content-container .exchange-dashboard {
      margin: 26px 10px 34px;
      padding: 20px 14px;
      border-radius: 18px;
  }
  .content-container .exchange-dashboard .exchange-title {
      text-align: center;
      font-size: 20px;
  }
  .content-container .exchange-dashboard .exchange-title::after {
      margin-left: auto;
      margin-right: auto;
  }
  .content-container .exchange-dashboard .pending-purchase {
      padding: 14px 12px 16px;
  }
  .content-container .exchange-dashboard .back-to-dashboard {
      justify-content: center;
  }
  .content-container .exchange-dashboard .btn-back {
      width: 100%;
      justify-content: center;
  }
}






/* ===== COMPLETED PURCHASE CARD ===== */
.content-container .exchange-dashboard .completed-purchase-container {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 16px 16px 18px;
  border-radius: 16px;
  background: rgba(8, 8, 12, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.8);
  transition:
      transform 0.15s ease,
      box-shadow 0.18s ease,
      border-color 0.18s ease,
      background 0.18s ease;
}

/* left accent bar – completed vibe */
.content-container .exchange-dashboard .completed-purchase-container::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8888, #ff0000);
  opacity: 0.95;
}

/* hover elevation */
.content-container .exchange-dashboard .completed-purchase-container:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 80, 80, 0.7);
  background: radial-gradient(circle at top left, rgba(45, 0, 0, 0.9), rgba(8, 8, 12, 0.98));
  box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.9),
      0 0 20px rgba(255, 0, 0, 0.6);
}

/* ===== ITEM TITLE LINK ===== */
.content-container .exchange-dashboard .completed-purchase-container h2 {
  margin: 0 0 6px 8px;
  font-size: 18px;
}

.content-container .exchange-dashboard .item-dashboard-title-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
  transition: color 0.16s ease, text-shadow 0.16s ease;
}

.content-container .exchange-dashboard .item-dashboard-title-link:hover {
  color: #ff6b6b;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.9);
}

/* ===== INNER INFO BLOCK ===== */
.content-container .exchange-dashboard .purchase-info {
  margin-top: 6px;
  padding: 10px 10px 8px;
  border-radius: 12px;
  background: rgba(16, 16, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* rows */
.content-container .exchange-dashboard .purchase-info p {
  margin: 4px 0;
  font-size: 14px;
  color: #f1f1f1;
}

.content-container .exchange-dashboard .purchase-info strong {
  color: #ffcccc;
  font-weight: 600;
}

/* seller link */
.content-container .exchange-dashboard .seller-link {
  color: #ff8585;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.content-container .exchange-dashboard .seller-link:hover {
  color: #ffffff;
  border-color: rgba(255, 133, 133, 0.9);
}

/* amount row */
.content-container .exchange-dashboard .offer-amount-dashboard .amount {
  font-weight: 700;
  color: #ffdfdf;
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
}

.content-container .exchange-dashboard .offer-amount-dashboard .currency {
  margin-left: 4px;
  font-size: 13px;
  color: #ffb3b3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* completed date highlight */
.content-container .exchange-dashboard .completed-date {
  font-size: 13px;
}

.content-container .exchange-dashboard .completed-date-highlight {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 110, 40, 0.25);
  border: 1px solid rgba(0, 230, 120, 0.6);
  color: #d4ffe7;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ===== VIEW DETAILS LINK ===== */
.content-container .exchange-dashboard .purchase-details-link-container {
  margin-top: 8px;
}

.content-container .exchange-dashboard .purchase-details-dashboard-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(30, 30, 40, 0.98);
  transition:
      transform 0.12s ease,
      box-shadow 0.14s ease,
      border-color 0.14s ease,
      background 0.14s ease;
}

.content-container .exchange-dashboard .purchase-details-dashboard-link:hover {
  transform: translateY(-1px);
  background: linear-gradient(120deg, #ff4040, #b30000);
  border-color: rgba(255, 80, 80, 0.9);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.65);
}

/* ===== EMPTY STATE ===== */
.content-container .exchange-dashboard .no-data-message {
  margin-top: 18px;
  font-size: 14px;
  color: #f3b3b3;
  text-align: center;
}

/* ===== PAGINATION ===== */
.content-container .exchange-dashboard .pending-purchase-pagination {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.content-container .exchange-dashboard .pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(25, 25, 32, 0.98);
  transition:
      transform 0.12s ease,
      box-shadow 0.16s ease,
      border-color 0.16s ease,
      background 0.16s ease,
      color 0.12s ease;
}

.content-container .exchange-dashboard .pagination-link:hover:not(.disabled) {
  transform: translateY(-1px);
  background: linear-gradient(120deg, #ff4040, #b30000);
  border-color: rgba(255, 80, 80, 0.9);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.7);
}

.content-container .exchange-dashboard .pagination-link.disabled,
.content-container .exchange-dashboard .pending-purchase-link-disabled {
  cursor: default;
  opacity: 0.45;
  box-shadow: none;
}

.content-container .exchange-dashboard .pending-purchase-page-number {
  font-size: 13px;
  color: #ffdfdf;
}

/* ===== BACK TO DASHBOARD BUTTON ===== */
.content-container .exchange-dashboard .back-to-dashboard {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.content-container .exchange-dashboard .btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(120deg, #3a3a45, #1c1c22);
  color: #f0f0f0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8);
  transition:
      transform 0.12s ease,
      box-shadow 0.18s ease,
      background 0.18s ease,
      color 0.12s ease;
}

.content-container .exchange-dashboard .btn-back:hover {
  background: linear-gradient(120deg, #ff4040, #b30000);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 0, 0, 0.75);
}

.content-container .exchange-dashboard .btn-back:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(150, 0, 0, 0.9);
}

/* ===== MOBILE TWEAKS ===== */
@media (max-width: 600px) {
  .content-container .exchange-dashboard {
      margin: 26px 10px 34px;
      padding: 20px 14px 22px;
      border-radius: 18px;
  }

  .content-container .exchange-dashboard .exchange-title {
      font-size: 20px;
      text-align: center;
  }

  .content-container .exchange-dashboard .exchange-title::after {
      margin-left: auto;
      margin-right: auto;
  }

  .content-container .exchange-dashboard .completed-purchase-container {
      padding: 14px 12px 16px;
  }

  .content-container .exchange-dashboard .back-to-dashboard {
      justify-content: center;
  }

  .content-container .exchange-dashboard .btn-back {
      width: 100%;
      justify-content: center;
  }
}




/*************************************************
    DASHBOARD PAGE WRAPPER
**************************************************/
.dashboard-container {
  max-width: 1150px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 18px;
  background:
      radial-gradient(circle at top left, rgba(255, 80, 80, 0.2), transparent 60%),
      radial-gradient(circle at bottom right, rgba(60, 0, 0, 0.9), #050507);
  box-shadow: 0 16px 40px rgba(0,0,0,0.85);
  border: 1px solid rgba(255, 80, 80, 0.35);
  position: relative;
  overflow: hidden;
}

/* highlight sweep overlay */
.dashboard-container::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg,
      rgba(255,255,255,0.07),
      transparent 40%,
      transparent 60%,
      rgba(255,255,255,0.04));
  mix-blend-mode: screen;
  pointer-events: none;
}

/*************************************************
  PAGE TITLE
**************************************************/
.dashboard-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 0 10px rgba(255,0,0,0.7);
}

.dashboard-title i {
  color: #ff4a4a;
  font-size: 30px;
}

/*************************************************
  TEAM CARDS
**************************************************/
.team-cards {
  display: grid;
  gap: 22px;
  margin-bottom: 40px;
}

.team-card {
  background: rgba(12,12,18,0.95);
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.75);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}

/* left red bar */
.team-card::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, #ff6666, #ff0000);
  border-radius: 999px;
}

.team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 70, 70, 0.65);
  box-shadow: 
      0 14px 30px rgba(0,0,0,0.9),
      0 0 18px rgba(255,0,0,0.45);
}

/*************************************************
  TEAM CARD HEADER
**************************************************/
.team-card .card-header {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 0 8px rgba(255,0,0,0.6);
}

.team-card .card-header i {
  color: #ff6b6b;
}

/*************************************************
  TEAM CARD BODY
**************************************************/
.team-card .card-body p {
  margin: 6px 0;
  color: #eaeaea;
  font-size: 14px;
}

.team-card .card-body strong {
  color: #ffcccc;
}

.member-list {
  padding-left: 18px;
  margin-top: 6px;
}

.member-list li {
  color: #dddddd;
  margin-bottom: 3px;
}

/*************************************************
  TEAM CARD FOOTER (buttons)
**************************************************/
.leave-btn {
  background-color: #ffca2c !important;
  color: #000;
  font-weight: 700;
}

.team-card .btn-danger {
  font-weight: 700;
}

.team-card .btn {
  margin-top: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  transition: transform .12s ease, box-shadow .15s ease;
}

.team-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.6);
}

/*************************************************
  NO DATA MESSAGE
**************************************************/
.no-data {
  font-size: 15px;
  color: #ffb3b3;
  text-align: center;
  padding: 12px 0;
  text-shadow: 0 0 6px rgba(255,0,0,0.5);
}

/*************************************************
  SECTION TITLES
**************************************************/
.section-title {
  font-size: 22px;
  color: #ffffff;
  margin: 25px 0 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 0 10px rgba(255,0,0,0.7);
}

.section-title i {
  color: #ff4a4a;
}

/*************************************************
  INVITATION CARDS (RECEIVED)
**************************************************/
.invitation-cards,
.sent-invitation-cards {
  display: grid;
  gap: 20px;
}

.invitation-card,
.sent-invitation-card {
  background: rgba(15,15,22,0.95);
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.75);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}

/* left accent for received */
.invitation-card::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, #ffadad, #ff4a4a);
  border-radius: 999px;
}

/* left accent for sent */
.sent-invitation-card::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, #ffe28c, #ffb300);
  border-radius: 999px;
}

.invitation-card:hover,
.sent-invitation-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 70, 70, 0.65);
  box-shadow:
      0 14px 30px rgba(0,0,0,0.9),
      0 0 18px rgba(255,0,0,0.45);
}

/*************************************************
  INVITATION FOOTERS & BUTTONS
**************************************************/
.invitation-card .btn,
.sent-invitation-card .btn {
  padding: 8px 14px;
  font-weight: 700;
  border-radius: 8px;
}

.invitation-card .btn-success {
  background: #28a745;
  border-color: #28a745;
}

.invitation-card .btn-danger {
  background: #dc3545;
  border-color: #dc3545;
}

.cancel-btn {
  font-weight: 700;
}

/*************************************************
  PAGINATION
**************************************************/
.team-dashboard-pagination,
.pagination {
  text-align: center;
  margin: 20px 0;
}

.pagination-btn,
.pagination a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255, 70, 70, 0.2);
  color: #fff;
  text-decoration: none;
  margin: 0 4px;
  border: 1px solid rgba(255,70,70,0.4);
  transition: transform .12s ease, background .2s ease;
}

.pagination-btn:hover,
.pagination a:hover {
  transform: translateY(-2px);
  background: rgba(255,70,70,0.35);
}

/*************************************************
  BACK BUTTON
**************************************************/
.back-btn-container {
  text-align: center;
  margin-top: 40px;
}

.btn-back {
  padding: 10px 26px;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff4040, #b30000);
  color: white;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 18px rgba(255,0,0,0.6);
  transition: transform .15s ease, box-shadow .18s ease;
}

.btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255,0,0,0.8);
}
