 /* CSS from the previous step goes here - See CSS section below */
 :root {
    --bg-dark: #0a0a0a;
    --sidebar-bg: #121212;
    --accent-purple: #9d4edd;
    --text-gray: #a0a0a0;
    --border-color: #222;
}
html {
    margin: 0px !important;
}

#wpadminbar { display: none; } /* Optional: Hide WP Admin bar for clean UI */

aside {
    width: 260px; height: 100vh; 
    border-right: 1px solid var(--border-color); display: flex;
    flex-direction: column; position: fixed; transition: 0.3s; z-index: 1000;
    background: #000000;
}
.sidebar-header { padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color);}
.logo-icon { padding: 8px; border-radius: 8px; line-height: 1; }
.sidebar-body {
    flex-grow: 1;
}
.nav-links { padding: 10px; }
.nav-links a {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    text-decoration: none; color: var(--text-gray); font-size: 14px; border-radius: 0px 8px 8px 0px;
}
.nav-links a.active { background-color: hsl(var(--secondary)); color: white; position: relative; }
.nav-links a:hover {
    background-color: hsl(var(--secondary) / 0.4);
    color: hsl(var(--sidebar-active));
}
.nav-links a.active:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    border-radius: 14px 0 0 14px;
    background: linear-gradient(180deg, #8e2de2, #ff7a18);
}
main { 
  margin-left: 260px; 
  /* width: 100%;  */
  min-height: 100vh; 
}
header {
    height: 80px; 
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    padding: 0 20px; 
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 99;
    background: #000;
}
.header-left { display: flex; align-items: center; gap: 15px; }
.header-right { display: flex; align-items: center; gap: 15px; }
.upgrade-btn {
    color: white; border: none; padding: 8px 18px; border-radius: 20px; font-weight: 600; cursor: pointer;
}
header .plan-text {
    background: #1a1a1a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid #333;
    color: #fff;
}
header .plan-text span{
    color: #4caf50;
}
.sidebar-footer{
    padding: 10px;
    border-top: 1px solid var(--border-color);
}
.top-logo {
    display: flex;
    gap: 10px;
    align-items: center;
}
.top-logo p {
    font-size: 0.75rem;
    line-height: 1rem;
    color: #fff;
    margin: 0px;
}
.sidebar-header i#close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
}
.header-left i#menu-btn {
    color: #fff;
}
button.upgrade-btn.lg-pro {
    align-items: center;
    display: flex;
    gap: 10px;
}

.sm-pro{
    display: none;
}
@media (max-width: 768px) {
    .header-right .plan-text {
        display: none;
    }
    .sidebar-header i#close-btn {
        display: block !important;
    }
    aside { transform: translateX(-100%); }
    aside.open { transform: translateX(0); }
    main { margin-left: 0; }
    .hamburger { display: block !important; cursor: pointer; font-size: 24px; }
}
@media (max-width: 580px) {
    #competitors-list-result-post .remove-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        background: rgba(255, 0, 0, 0.15);
        border: 0px solid #ff4d4d;
        color: #ff4d4d;
        padding: 10px 18px;
        border-radius: 12px;
        cursor: pointer;
        transition: 0.3s;
    }
    .lg-pro{
        display: none !important;
    }
    button.upgrade-btn.sm-pro {
        align-items: center;
        display: flex;
        gap: 10px;
    }
    .page-template-keyword-search #ins-card-box > .card > .lvc.lvc-stats button.save-to-collection-btn.upgrade-btn.gradient-button.lg-pro {
        display: flex !important;
    }

    
}

/* search keyword css */
.hero-container {
    max-width: 1050px;
    margin: 60px auto;
    text-align: center;
    padding: 20px;
}

.hero-container.align-center {
    max-width: 1050px;
    margin: 0px auto;
    text-align: center;
    align-content: center;
    height: 84vh;
}

/* Badges */
.plan-status {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

.ai-badge {
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px !important;
    color: #fff;
    width: fit-content;
    justify-content: center;
    margin: auto;
}

/* Typography */
.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

.hero-title span {
    background: linear-gradient(to right, #ff4d94, #ff8c61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* .hero-subtitle {
    color: #888;
    font-size: 18px;
    margin-bottom: 40px;
} */

/* Search Bar */
.search-wrapper {
    width: 75%;
    position: relative;
    background: #0f0f0f;
    border-radius: 14px;
    border: 1px solid transparent;
    background: linear-gradient(#0f0f0f, #0f0f0f) padding-box,
                linear-gradient(to right, #9d4edd, #ff8c61) border-box;
    display: flex;
    justify-self: center;
    align-items: center;
    /* padding: 6px 6px 6px 18px; */
    margin-bottom: 30px;
}
button.search-keyword.search-btn.gradient-button.text-white {
    margin: 10px;
    padding: 12px 24px;
    border-radius: 10px;
}

.search-icon { color: #666; font-size: 20px; }
form#search-keyword,form#user-search-keyword,form#idea-search-keyword {
    width: 100%;
    display: grid;
}
.search-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 12px;
    outline: none;
    font-size: 16px;
    border: 0px !important;
}

.search-btn {
    /* background: linear-gradient(to right, #9d4edd, #ff8c61); */
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

/* Tags */
.frequent-searches p { color: #666; font-size: 14px; margin-bottom: 12px; }
.tag-group { display: flex; gap: 10px; justify-content: center; }
.tag {
    background: #1a1a1a;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    color: #aaa;
    cursor: pointer;
    transition: 0.2s;
}
.tag:hover { background: #252525; color: white; }

/* Bottom Banner */
.upgrade-banner {
    /* margin-top: 60px; */
    width: 700px;
    background: linear-gradient(to right, rgba(157, 78, 221, 0.1), rgba(255, 140, 97, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px auto 0px;
}
.user-search-wrapper input#keywoord-tag {
    background: #121216;
    color: #fff;
    border: 1px solid #242429;
    border-radius: 0px !important;
    border-radius: 10px 0px 0px 10px !important;
    padding: 15px 0px 15px 35px !important;
    font-size: 16px;
}
input#keywoord-tag:focus-visible, input#keywoord-tag:focus {
    outline: none;
}
.user-search-wrapper {
    width: 600px;
    position: relative;
    background: #0f0f0f;
    border-radius: 14px;
    display: flex;
    justify-self: center;
    align-items: center;
    padding: 0px;
    margin-bottom: 30px;
}
.user-search-wrapper button.search-keyword.search-btn.gradient-button.text-white {
    margin: 0px;
    padding: 15px 45px;
    border: 1px solid transparent;
    border-radius: 0px 10px 10px 0px;
}

.banner-left { display: flex; align-items: center; gap: 15px; text-align: left; }
.crown-icon {
    /* background: #ff8c61; */
    width: 40px;
    height: 40px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.crown-icon svg{
    color: #ffffff;
}
.banner-text h4 { margin: 0; font-size: 16px; }
.banner-text p { margin: 0; font-size: 12px; color: #888; }

.upgrade-action {
    /* background: linear-gradient(to right, #9d4edd, #ff8c61); */
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

/* Keyword Result Css */
.search-result-wrapper {
    width: 100%;
}


/* Compact Search Bar */
.search-bar-inline {
    display: flex;
    background: #0f0f0f;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 0px;
    margin-bottom: 30px;
}
.search-bar-inline input {
    flex: 1; 
    background: transparent; 
    border: none; color: white;
    padding: 10px 15px !important; 
    outline: none; font-size: 16px;
}
.search-result-wrapper input[type="text"] {
    border: 0px solid #666 !important;
    border-radius: 3px 0px 0px 3px;
    padding: .5rem 1rem;
    transition: all .3s;
    width: 100%;
}
.search-result-wrapper .search-btn-compact {
    border: none; 
    color: white; 
    border-radius: 0px 8px 8px 0px;
    padding: 0 25px; 
    font-weight: bold; 
    cursor: pointer;
    display: flex; 
    align-items: center; 
    gap: 8px;
}
.search-result-wrapper h4, .search-result-wrapper p {
    margin: 0px;
    line-height: 1.2;
    text-align: left;
}
/* Insight Card */
.search-result-wrapper  .insight-card {
    background-color: hsl(var(240 10% 8%) / 0.5);
    border: 1px solid #2d1b3d;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 40px;
}
.search-result-wrapper .insight-header { 
  display: flex; 
  gap: 15px; 
  align-items: center; 
  /* margin-bottom: 20px;  */
}
.search-result-wrapper .insight-icon { padding: 10px; border-radius: 30px; }
.search-result-wrapper .insight-row {
    background: #1a1a1a; padding: 10px; border-radius: 10px;
    margin-bottom: 10px; color: #aaa; font-size: 14px;
    display: flex; align-items: center; gap: 10px;
}
.search-result-wrapper .insight-row.locked { 
    border: 1px dashed #333; 
    background: transparent; 
    background-color: hsl(var(--secondary) / 0.5);
}

/* Stats Grid */
.search-result-wrapper .section-title { font-size: 18px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.search-result-wrapper .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.search-result-wrapper .stat-card { background: #111; border: 1px solid #222; border-radius: 16px; padding: 15px; }
.search-result-wrapper .stat-value { 
    font-size: 24px;
    font-weight: 800;
    margin: 8px 0px 4px 0px;
    color: #fff;
    text-align: left;
}
.search-result-wrapper .stat-label { color: #666; font-size: 13px; }
.search-result-wrapper .stat-card.locked { opacity: 0.5; }

/* Content Grid */
.search-result-wrapper .grid-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    color: #666; font-size: 16px; 
    /* margin-bottom: 15px;  */
    gap:7px;
}
.insight-card .gradient-brand.grid-header.insight-icon {
    margin: 0px;
}
.search-result-wrapper .grid-header span { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    color: #666; font-size: 16px; 
    margin-bottom: 15px; 
    gap:7px;
}
.search-result-wrapper .grid-header span.key-search-tag {
    background: hsl(330 85% 60% / .2);
    color: hsl(330 85% 60%) !important;
    padding: 2px 10px;
    border-radius: 15px;
    margin: 0px !important;
}
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.content-card { background: #111; border-radius: 16px; overflow: hidden; border: 1px solid #222; }
.media-placeholder { 
    height: 350px; display: flex; align-items: center; justify-content: center; font-size: 40px; color: rgba(255,255,255,0.3);
}
.card-info { padding: 15px; }
.username { color: #888; font-size: 14px; margin-bottom: 8px; }
.metrics { display: flex; gap: 15px; font-size: 14px; }
.content-card.locked { opacity: 0.6; }

div#ins-card-box {
    font-family: Arial, sans-serif;
    color: #fff;
    column-count: 3;
    column-gap: 15px;
    padding: 0px;
    width: 100%;
}
div#ins-card-box .card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    width: 100%;
    margin-bottom: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    break-inside: avoid;
}

@media (max-width: 1024px) {
    div#ins-card-box {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    div#ins-card-box {
        column-count: 1;
    }
}
#ins-card-box > .card > .lvc .mc-stats-inline {
    display: flex;
    gap: 10px;
}
#ins-card-box > .card > .lvc {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 12px;
}
#ins-card-box > .card > .lvc p {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.page-template-keyword-search #ins-card-box > .card > .lvc.lvc-stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 12px;
}
.page-template-keyword-search #ins-card-box > .card > .lvc.lvc-stats .mc-stats-inline {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    min-width: 0;
}
.page-template-keyword-search #ins-card-box > .card > .lvc.lvc-stats .save-to-collection-btn {
    margin-left: 0 !important;
    margin-right: 6px;
    justify-self: end;
    flex-shrink: 0;
}
.page-template-keyword-search #ins-card-box > .card > .lvc.lvc-stats .save-to-collection-btn.is-saved {
    cursor: default;
    opacity: 0.95;
}

@media (max-width: 480px) {
    .page-template-keyword-search #ins-card-box > .card > .lvc.lvc-stats { gap: 8px; }
    .page-template-keyword-search #ins-card-box > .card > .lvc.lvc-stats .mc-stats-inline {
        gap: 12px;
    }
}
button#load-more, button#load-more-activity {
    border-color: hsl(var(--border));
    color: #fff;
    font-size: 16px;
    margin: 20px;
    padding: 10px 50px;
    border-radius: 15px;
}
button#load-more:hover,button#load-more-activity:hover {
    background-color: hsl(var(--secondary));
}

.search-wrapper svg {
    margin: 0px 0px 0px 20px;
    color: #878792;
}
/* user contain search */
.icon-visual {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 20px auto;
  }
  
.icon-visual .bubble {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

  
.icon-visual .bubble svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  
  /* Positions */
.icon-visual .top-left { top: 10px; left: 40px; }
.icon-visual .top-right { top: 0px; right: 25px; }
.icon-visual .bottom-left { bottom: 30px; left: 10px; }
  
.icon-visual .center {
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    background-image: linear-gradient(135deg, rgb(173, 43, 238) 0%, rgb(240, 66, 153) 50%, rgb(249, 122, 31) 100%);
  }
  
.icon-visual .center svg {
    stroke: #fff;
    width: 32px;
    height: 32px;
  }
  
  /* Sizes */
.icon-visual .purple { width: 60px; height: 60px; border: 2px solid rgba(139,92,246,.4); }
.icon-visual .pink   { width: 56px; height: 56px; border: 2px solid rgba(236,72,153,.4); }
.icon-visual .orange { width: 50px; height: 50px; border: 2px solid rgba(249,115,22,.4); }
  
  /* Icon colors */
.icon-visual .purple svg { stroke: rgba(139,92,246,.6); }
.icon-visual .pink svg   { stroke: rgba(236,72,153,.6); }
.icon-visual .orange svg { stroke: rgba(249,115,22,.6); }
  
  /* Lines */
.icon-visual .connectors {
    position: absolute;
    inset: 0;
  }
  
.icon-visual .connectors line {
    stroke: url(#lineGradient);
    stroke-width: 1;
    stroke-dasharray: 4 3;
  }

.viral-hook-icon-animation {
  background: #000;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.viral-hook-icon-animation .animation-wrapper {
  position: relative;
  width: 192px;
  height: 192px;
}

/* Center Gradient Box */
.viral-hook-icon-animation .center-box {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #a855f7, #ec4899, #f97316);
  border-radius: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.viral-hook-icon-animation .center-icon {
  width: 36px;
  height: 36px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

/* Floating Boxes */
.viral-hook-icon-animation .floating-box {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viral-hook-icon-animation .small-box {
  width: 44px;
  height: 44px;
}

/* Borders */
.viral-hook-icon-animation .box-purple { 
  border: 2px solid rgba(168,85,247,0.4); 
  top: 20px; 
  left: 20px; 
}
.viral-hook-icon-animation .box-pink { 
  border: 2px solid rgba(236,72,153,0.4); 
  top: 10px; 
  right: 20px; 
}
.viral-hook-icon-animation .box-orange { 
  border: 2px solid rgba(249,115,22,0.4); 
  bottom: 30px; 
  left: 20px; 
}
.viral-hook-icon-animation .box-light { 
  border: 2px solid rgba(168,85,247,0.3); 
  bottom: 20px; 
  right: 20px; 
}

/* Dot */
.viral-hook-icon-animation .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #f97316);
}

/* Icons */
.viral-hook-icon-animation .icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke-width: 2;
}

.viral-hook-icon-animation .purple { stroke: rgba(168,85,247,0.7); }
.viral-hook-icon-animation .pink { stroke: rgba(236,72,153,0.7); }

/* Rotations */
.viral-hook-icon-animation .rotate-12 { transform: rotate(12deg); }
.viral-hook-icon-animation .rotate--6 { transform: rotate(-6deg); }
.viral-hook-icon-animation .rotate-6 { transform: rotate(6deg); }
.viral-hook-icon-animation .rotate--12 { transform: rotate(-12deg); }

/* SVG Lines */
.viral-hook-icon-animation .connection-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.viral-ideas-icon-animation{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px 0;
}

/* Wrapper */
.viral-ideas-icon-animation .idea-wrapper{
    position:relative;
    width:220px;
    height:220px;
}

/* Center Box */
.viral-ideas-icon-animation .idea-center{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:90px;
    height:90px;
    border-radius:22px;
    background:linear-gradient(135deg,#a855f7,#ec4899,#f97316);
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Circle Icons */
.viral-ideas-icon-animation .idea-circle{
    position:absolute;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.viral-ideas-icon-animation .circle-purple{
    width:44px;
    height:44px;
    border:2px solid rgba(168,85,247,0.4);
    color:rgba(168,85,247,0.7);
}

.viral-ideas-icon-animation .circle-pink{
    width:52px;
    height:52px;
    border:2px solid rgba(236,72,153,0.4);
    color:rgba(236,72,153,0.7);
}

.viral-ideas-icon-animation .circle-orange{
    width:48px;
    height:48px;
    border:2px solid rgba(249,115,22,0.4);
    color:rgba(249,115,22,0.7);
}

.viral-ideas-icon-animation .circle-small{
    width:36px;
    height:36px;
    border:2px solid rgba(168,85,247,0.3);
}

/* Positions */
.viral-ideas-icon-animation .star{ top:10px; left:60px; }
.viral-ideas-icon-animation .spark{ top:35px; right:20px; }
.viral-ideas-icon-animation .flame{ bottom:30px; left:10px; }
.viral-ideas-icon-animation .empty{ bottom:15px; right:45px; }

/* SVG */
.viral-ideas-icon-animation .idea-circle svg{
    width:20px;
    height:20px;
    stroke:currentColor;
    fill:none;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.viral-ideas-icon-animation .idea-center svg{
    width:34px;
    height:34px;
    stroke:#fff;
    fill:none;
    stroke-width:2;
}

/* Lines */
.viral-ideas-icon-animation .idea-lines{
    position:absolute;
    inset:0;
}



  

/* Gradient Card */
.user-search-result .user-card {
    display: flex;
    justify-content: space-between;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .user-search-result .profile {
    display: flex;
    align-items: center;
    gap: 16px;
}
  
  /* Stats */
  .user-search-result .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 16px;
    margin-bottom: 20px;
  }
  
  .user-search-result .stat-card {
    padding: 18px;
    border-radius: 14px;
    /* background: linear-gradient(#0b0b12, #0b0b12) padding-box,
                linear-gradient(135deg, #7c3aed, #ec4899) border-box;
    border: 1px solid transparent; */
  }
  
  .user-search-result .stat-card span {
    font-size: 13px;
    opacity: 0.6;
  }
  
  .user-search-result .stat-card h3 {
    margin-top: 8px;
    font-size: 26px;
  }
  
  
  
  /* Posts */
  .user-search-result .posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 16px;
    margin: 20px 0;
  }
  
  .user-search-result .post {
    position: relative;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
  }
  
  .user-search-result .post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .user-search-result .post-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 13px;
  }
  
  .user-search-result .post.locked {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .user-search-result .lock {
    font-size: 32px;
  }
  
  
  


/* Responsive */
@media (max-width: 768px) {
    .user-search-result .user-card {
    display: flex;
    flex-direction: column; 
    gap: 20px;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
  }
    .stats-grid, .content-grid { grid-template-columns: 1fr; }
    .search-wrapper {
        width: 100% !important;
    }
    div#ins-card-box .card {
        width: 48% !important;
    }
    .viral-hook-icon-animation .animation-wrapper {
      width: 240px;
      height: 240px;
    }
    .viral-hook-icon-animation .center-box {
      width: 100px;
      height: 100px;
    }
}

  /* Mobile */
  @media (max-width: 600px) {
    .user-search-result .profile {
        flex-direction: column;
        text-align: center;
    }
    .user-search-result .upgrade-banner {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 580px) {
    .page-template-keyword-search #ins-card-box > .card > .lvc.lvc-stats button.save-to-collection-btn.upgrade-btn.gradient-button.lg-pro {
        display: flex !important;
    }
    .tag-group span.tag:nth-child(1), .tag-group span.tag:nth-child(2), .tag-group span.tag:nth-child(3) {
        display: block;
    }
    .tag-group span.tag {
        display: none;
    }
    .header-left h2 {
        font-size: 18px !important;
    }
    div#ins-card-box .card {
        width: 100% !important;
    }
    .woocommerce-viral-hooks-anser .upgrade-banner {
      position: absolute;
      left: 0;
      bottom: 15%;
      overflow: hidden;
      margin: auto;
      width: 100%;
      z-index: 9;
    }
    .upgrade-banner {
        /* margin-top: 60px; */
        width: 100% !important;
        background: linear-gradient(to right, rgba(157, 78, 221, 0.2), rgba(255, 140, 97, 0.2));
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 20px;
        align-items: center;
        margin: 60px auto 0px;
    }
    .user-search-wrapper {
        width: 100%;
        position: relative;
        background: #0f0f0f;
        border-radius: 14px;
        display: flex;
        justify-self: center;
        align-items: center;
        padding: 0px;
        margin-bottom: 30px;
    }
    .search-result-wrapper h4 {
        font-size: 14px;
    }
    .search-result-wrapper p {
        font-size: 12px;
    }
    .search-result-wrapper .insight-header {
        display: flex;
        gap: 15px;
        align-items: normal !important;
        /* margin-bottom: 20px; */
    }
    .search-result-wrapper .grid-header {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items:start !important;
        color: #666;
        font-size: 16px;
        margin-bottom: 15px;
        gap: 2px !important;
    }
    .md-none {
      display: none !important;
    }
    .upgrade-banner .banner-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }
    .upgrade-banner .banner-left h4 {
        text-align: center;
        line-height: 30px;
    }
    .hero-container.align-center {
        height: auto !important;
    }
    .page-template-keyword-search .hero-container.align-center {
        height: 85vh !important;
    }
    .user-search-wrapper button.search-keyword.search-btn.gradient-button.text-white {
      margin: 0px;
      padding: 15px 25px !important;
      border: 1px solid transparent;
      border-radius: 0px 10px 10px 0px;
  }
}


/* modal css */
#planModal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
    font-family: 'Segoe UI', sans-serif;
  }
  .plan-wrapper #planModal {
    position: relative;
    z-index: 0;
    display: flex !important;
  }
  .plan-wrapper #planModal .modal-content {
    overflow-y: hidden;
  }
  
  #planModal .modal-content {
    width: 100%;
    max-width: 448px;
    background: linear-gradient(to bottom, #2a1a4a, #1a1035, #0f0a1a);
    border-radius: 20px;
    padding: 40px 30px;
    color: #fff;
    position: relative;
    max-height: 788px;
    overflow-y: auto;
  }
  
  #planModal .close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.7;
  }
  
  #planModal .close-btn:hover {
    opacity: 1;
  }
  
  /* Title */
  #planModal .title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
  }
  
  #planModal .title span {
    background: linear-gradient(90deg, #ff3c83, #ff7a18);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  #planModal .subtitle {
    text-align: center;
    font-size: 16px;
    font-style: italic;
    margin-bottom: 10px;
  }
  
  /* Plan Options */
  #planModal .plan-option {
    border: 1px solid rgba(255,255,255,0.1);
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
  }
  
  #planModal .plan-option input {
    margin-right: 15px;
    accent-color: #ff7a18;
  }
  
  #planModal .plan-option.active {
    border-color: #ff7a18;
    background: rgba(255,122,24,0.08);
  }
  
  #planModal .badge {
    position: absolute;
    right: 15px;
    top: -10px;
    background: linear-gradient(90deg, #ff3c83, #ff7a18);
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 20px;
  }
  
  /* Price */
  #planModal .price {
    text-align: center;
    margin: 20px 0;
  }
  
  #planModal .currency {
    font-size: 20px;
    /* vertical-align: bottom; */
    color: #878792;
  }
  
  #planModal .amount {
    font-size: 48px;
    font-weight: 700;
  }
  
  #planModal .duration {
    font-size: 20px;
    color: #878792;
  }
  
  /* Button */
  #planModal .btn-gradient {
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: var(--gradient-brand);
    margin-bottom: 25px;
  }
  
  #planModal .btn-gradient:hover {
    opacity: 0.9;
  }
  
  /* Features */
  #planModal .features h3 {
    margin-bottom: 15px;
    font-size: 18px;
  }
  
  #planModal .features ul {
    list-style: none;
    padding: 0;
  }
  
  #planModal .features li {
    display: flex;
    margin-bottom: 0px;
    line-height: 30px;
    padding-left: 28px;
    position: relative;
    color: #878792;
    align-items: center;
  }
  
  #planModal .features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ffffff;
    background: linear-gradient(90deg, #ff3c83, #ff7a18);
    border-radius: 50px;
    font-size: 12px;
    padding: 5px;
    line-height: 10px;
  }
  #planModal .plan-option {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 18px;
  border-radius: 14px;
  margin-bottom: 15px;
  position: relative;
  transition: 0.3s ease;
}

#planModal .plan-option label {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  width: 100%;
}

/* Hide default radio */
#planModal .plan-option input {
  display: none;
}

/* Custom radio circle */
#planModal .radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #aaa;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

/* When checked */
#planModal .plan-option input:checked + .radio-custom {
  border-color: #ff7a18;
}

#planModal .plan-option input:checked + .radio-custom::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #ff7a18;
  border-radius: 50%;
}

/* IMPORTANT: change card border when selected */
#planModal .plan-option:has(input:checked) {
  border-color: #ff7a18;
  background: rgba(255,122,24,0.08);
}
  /* Responsive */
  @media (max-width: 480px) {
    #planModal .title {
      font-size: 26px;
    }
  
    #planModal .amount {
      font-size: 50px;
    }
  
    #planModal .modal-content {
      padding: 30px 20px;
    }
    .copy-btn span.tooltip-text {
        right: -20px !important;
    }
  }

  @media (max-width: 400px) {
    input#keywoord-tag {
      font-size: 12px !important;
    }
  }
  

  /* Container */
.competitors-section .cs-container {
  max-width: 900px;
  margin: auto;
}
.competitors-section .cs-header .cs-actions {
    display: flex;
    gap: 10px;
}
/* Header */
.competitors-section .cs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.competitors-section h2 {
  font-size: 28px;
  margin-bottom: 6px;
}

.competitors-section p {
  color: #9ca3af;
  font-size: 14px;
}

/* Buttons */
.competitors-section .btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.competitors-section .btn-dark {
  background: #242429;
  color: #fff;
}

.competitors-section .btn-gradient {
  background: linear-gradient(90deg, #a855f7, #ff6a3d);
  color: #fff;
}

/* List */
.competitors-section .cs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card */
.competitors-section .cs-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-radius: 16px;
  /* background: #0d111c; */
  border: 1px solid transparent;
  position: relative;
  transition: 0.3s;
}



.competitors-section .cs-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.competitors-section .cs-left img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.competitors-section .cs-left h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.competitors-section .cs-left span {
  font-size: 13px;
  color: #9ca3af;
}

/* Right side */
.competitors-section .cs-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.competitors-section .cs-menu {
  position: relative;
  cursor: pointer;
  font-size: 18px;
  color: #9ca3af;
}

.competitors-section .cs-arrow {
  font-size: 22px;
  color: #9ca3af;
}

/* Dropdown */
.competitors-section .cs-dropdown {
  position: absolute;
  right: 7px;
  top: 0px;
  background: #1f2937;
  padding: 10px 16px;
  border-radius: 12px;
  display: none;
  font-size: 14px;
  color: #ff4d4f;
  white-space: nowrap;
}

.competitors-section .cs-menu:hover .cs-dropdown {
  display: block;
}

/* ===============================
   Responsive
=================================*/

@media (max-width: 768px) {

  .competitors-section .cs-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .competitors-section .cs-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .competitors-section .btn {
    width: 100%;
    justify-content: center;
  }

  .competitors-section .cs-card {
    align-items: center;
    gap: 15px;
  }

  .competitors-section .cs-left {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 90%;
  }
  .competitors-section .cs-right {
    width: 10%;
    justify-content: space-between;
  }
}

.woocommerce-viral-hooks-anser .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Card */
.woocommerce-viral-hooks-anser .card {
    background: linear-gradient(#0b0b12, #0b0b12) padding-box,
                linear-gradient(135deg, #ff4ecd, #ff914d) border-box;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.woocommerce-viral-hooks-anser .card.blurred {
    filter: blur(7px);
    pointer-events: none;
}

.woocommerce-viral-hooks-anser .card .text-left {
    margin-bottom: 30px;
    margin-top: 30px;
}

.woocommerce-viral-hooks-anser .grid .card p {
    color: #ccc;
}

.woocommerce-viral-hooks-anser .grid .card ol {
    list-style: auto;
}

/* Header */
.woocommerce-viral-hooks-anser .card-header {
    align-content: center;
    align-items: center;
    margin-bottom: 12px;
    text-align: center;
}

.woocommerce-viral-hooks-anser .badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.woocommerce-viral-hooks-anser .trending {
    background: rgba(255, 78, 205, 0.15);
    color: #ff70d8;
}

.woocommerce-viral-hooks-anser .lock {
    background: rgba(255,255,255,0.08);
    color: #aaa;
}

.woocommerce-viral-hooks-anser .views {
    font-size: 12px;
    color: #aaa;
}

/* Content */
.woocommerce-viral-hooks-anser h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.woocommerce-viral-hooks-anser .sub-title {
    color: #fff;
    font-size: 14px;
    margin-bottom: 8px !important;
}

.woocommerce-viral-hooks-anser ol,
.woocommerce-viral-hooks-anser ul {
    padding-left: 18px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

/* Buttons */
.woocommerce-viral-hooks-anser .card .btn {
    display: flex;
    position: relative;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    margin-top: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
}
.copy-btn span.tooltip-text {
    visibility: hidden;
    background: var(--gradient-brand);
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px 8px;
    position: absolute;
    z-index: 1;
    right: 90px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.woocommerce-viral-hooks-anser .primary {
    color: #fff;
}

.woocommerce-viral-hooks-anser .secondary {
    background: #111;
    color: #fff;
    border: 1px solid #222;
}

.woocommerce-viral-hooks-anser .upgrade {
    background: linear-gradient(135deg, #7c3aed, #f97316);
    color: #fff;
}

/* Locked Card */
.woocommerce-viral-hooks-anser .locked {
    opacity: 0.6;
}

.woocommerce-viral-hooks-anser .card button.btn:hover {
    background-color: #242429 !important;
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
    .woocommerce-viral-hooks-anser .grid {
        grid-template-columns: 1fr;
    }
}

section.billing-section .invoice-item h4,
section.billing-section .invoice-item p,
section.billing-section .payment-item h4,
section.billing-section .payment-item p {
  margin: 0px;
}

section.billing-section {
  padding: 60px 20px 0px;
}

section.billing-section .billing-container {
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

section.billing-section .card {
  background: #121216;
  border-radius: 16px;
  padding: 25px;
  border: 1px solid rgba(255,255,255,0.05);
}

section.billing-section .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

section.billing-section .card-header h3 {
  margin: 0;
  font-size: 20px;
}

section.billing-section .card-header p {
  margin: 5px 0 0;
  color: #9ca3af;
  font-size: 14px;
}

section.billing-section .btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 14px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}
.billing-section a {
    text-decoration: none !important;
}

section.billing-section .btn-outline:hover {
  border-color: #ff3c83;
  color: #ff3c83;
}

section.billing-section .payment-item,
section.billing-section .invoice-item {
  background: #000000;
  padding: 18px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

section.billing-section .left {
  display: flex;
  align-items: center;
  gap: 15px;
}

section.billing-section .card-icon,
section.billing-section .invoice-icon {
  width: 45px;
  height: 45px;
  background: #1f2937;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.billing-section .badge {
  background: #1f2937;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 10px;
  margin-left: 8px;
}

section.billing-section .address p {
  margin: 4px 0;
  color: #cbd5e1;
}

section.billing-section .right {
  display: flex;
  align-items: center;
  gap: 15px;
}

section.billing-section .price {
  font-weight: bold;
}

section.billing-section .paid {
  background: rgba(0, 255, 128, 0.15);
  color: #00ff88;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
}

section.billing-section .download,
section.billing-section .action {
  cursor: pointer;
  opacity: 0.7;
}

section.billing-section .download:hover,
section.billing-section .action:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  section.billing-section .invoice-item,
  section.billing-section .payment-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  section.billing-section .right {
    width: 100%;
    justify-content: space-between;
  }

  section.billing-section .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Wrapper */
.competitor-modal-wrapper {
    font-family: Arial, sans-serif;
}

/* Open button (optional demo button) */
.competitor-modal-wrapper .open-modal-btn {
    padding: 10px 20px;
    background: linear-gradient(90deg,#a855f7,#ff6b6b);
    border: none;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

/* Overlay */
.competitor-modal-wrapper .competitor-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 9999;
}

/* Active state */
.competitor-modal-wrapper .competitor-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Modal box */
.competitor-modal-wrapper .modal-box {
    width: 100%;
    max-width: 520px;
    background: #121216;
    padding: 35px;
    border: 2px solid #242429;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Close icon */
.competitor-modal-wrapper .close-modal {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 22px;
    color: #aaa;
    cursor: pointer;
}

.competitor-modal-wrapper .close-modal:hover {
    color: #fff;
}

/* Heading */
.competitor-modal-wrapper h2 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 26px;
}

/* Form group */
.competitor-modal-wrapper .form-group label {
    display: flex;
    gap: 2px;
    color: #ddd;
    margin-bottom: 10px;
    font-size: 16px;
}

.competitor-modal-wrapper .form-group input {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: #2a2a35;
    color: #fff;
    font-size: 16px;
}

.competitor-modal-wrapper .form-group input::placeholder {
    color: #777;
}

/* Buttons */
.competitor-modal-wrapper .modal-actions {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-top: 30px;
}

.competitor-modal-wrapper .cancel-btn {
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 16px;
    cursor: pointer;
}

.competitor-modal-wrapper .cancel-btn:hover {
    color: #fff;
}

/* Gradient Save Button */
.competitor-modal-wrapper .save-btn {
    padding: 14px 28px;
    border-radius: 14px;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    /* background: linear-gradient(90deg,#a855f7,#ff6b6b,#ff8c42); */
    transition: 0.3s ease;
}

.competitor-modal-wrapper .save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 100, 150, 0.4);
}

#competitors-list-result-post {
  padding: 40px 20px;
  /* background: #0b0b10; */
}

#competitors-list-result-post .stats-card {
  position: relative;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  border-radius: 20px;
  background: hsl(240 10% 8%);
  overflow: hidden;
  margin-bottom:30px ;
}

/* Gradient Border */
#competitors-list-result-post .stats-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 20px;
  background: linear-gradient(90deg, #a855f7, #ff7a18);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

#competitors-list-result-post .stat {
  text-align: center;
  min-width: 120px;
}

#competitors-list-result-post .stat .label {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 1px;
}

#competitors-list-result-post .stat h3 {
  font-size: 32px;
  margin: 10px 0;
  color: #fff;
}

#competitors-list-result-post .stat p {
  color: #777;
  font-size: 14px;
}

#competitors-list-result-post .divider {
  width: 1px;
  height: 80px;
  background: #333;
}
#competitors-list-result-post {
    max-width: 1200px;
    margin: 50px auto;
}
/* HEADER */
#competitors-list-result-post .profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

#competitors-list-result-post .profile-header .left {
    display: flex;
    align-items: center;
    gap: 20px;
}

#competitors-list-result-post .back-btn {
    font-size: 22px;
    cursor: pointer;
    opacity: 0.7;
}

#competitors-list-result-post .profile-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

#competitors-list-result-post .profile-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

#competitors-list-result-post .profile-info h2 {
    font-size: 22px;
}

.profile-info p {
    color: #888;
    font-size: 14px;
}

#competitors-list-result-post .remove-btn {
    background: rgba(255, 0, 0, 0.15);
    border: 0px solid #ff4d4d;
    color: #ff4d4d;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

#competitors-list-result-post .remove-btn:hover {
    background: #ff4d4d;
    color: #fff;
}




/* Responsive */
@media (max-width: 992px) {
  #competitors-list-result-post .stats-card {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  #competitors-list-result-post .divider {
    display: none;
  }
}

@media (max-width: 576px) {
  #competitors-list-result-post .stats-card {
    padding: 25px;
  }

  #competitors-list-result-post .stat h3 {
    font-size: 24px;
  }
}

.grid-header  .filters {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.grid-header .filter-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #111;
  padding: 12px 20px;
  border-radius: 16px;
  color: #fff;
  font-size: 16px;
}

.grid-header .filter-box span {
  color: #cfcfcf;
  font-weight: 500;
  margin: 0px;
}

.grid-header .filter-box select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  appearance: none;
  outline: none;
  cursor: pointer;
  padding-right: 20px;
}

.grid-header a:hover {
    color:#666
}

/* Custom dropdown arrow */
.grid-header .filter-box {
  position: relative;
}

.grid-header .filter-box select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 20 20'%3E%3Cpath d='M5 7l5 5 5-5H5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 14px;
}
button#remove-competitor,button#add-competitor {
    display: flex;
}
/* Responsive */
@media (max-width: 576px) {
  #planModal .features li {
    display: flex;
    margin-bottom: 0px;
    position: relative;
    color: #878792;
    align-items: center;
    font-size: 14px !important;
    line-height: 20px !important;
    padding: 3px 0px 0px 28px !important;
  }
  .grid-header .filters {
    flex-direction: column;
    width: 100%;
  }

  .grid-header .filter-box span {
    display: none;
  }

  .grid-header .filter-box {
    width: 100%;
  }
  #competitors-list-result-post {
    max-width: 1200px;
    margin: 0px auto !important;
  }
  button#remove-competitor {
      font-size: 14px !important;
  }
  .user-card .cs-actions {
    display: flex;
    justify-content: center;
  }
  .profile-name p {
    text-align: center;
  }
}

#posts-container #load-more .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px #811AE4 solid;
    border-top: 1px #E63562 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}
#posts-container button#load-more {
    height: 100%;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
#posts-container .loadmore {
    display: flex;
    justify-content: center;
}


/* skeleton css */ 
/* Container */
section.system-my-container {
    position: relative;
    min-height: 80vh;
}

/* Fade real content */
section.system-my-container.is-skeleton-loading > :not(.hero-skeleton) {
    opacity: 0.2;
    pointer-events: none;
}

/* Hero skeleton wrapper */
.hero-skeleton {
    position: absolute;
    inset: 0;
    z-index: 30;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 20px;
    text-align: center;
    background: #000;
}

/* Common shimmer style */
.hero-skeleton-badge,
.hero-skeleton-title,
.hero-skeleton-subtitle,
.hero-skeleton-search,
.hero-skeleton-tags span {
    border-radius: 12px;
    background: linear-gradient(
        90deg,
        #18181d 25%,
        #2b2c35 37%,
        #18181d 63%
    );
    background-size: 400% 100%;
    animation: heroSkeletonShimmer 1.4s ease-in-out infinite;
}

/* Badge */
.hero-skeleton-badge {
    width: 220px;
    height: 36px;
    border-radius: 50px;
}

/* Main Title */
.hero-skeleton-title {
    width: 600px;
    max-width: 90%;
    height: 48px;
}

/* Subtitle */
.hero-skeleton-subtitle {
    width: 400px;
    max-width: 80%;
    height: 20px;
}

/* Search bar */
.hero-skeleton-search {
    width: 700px;
    max-width: 90%;
    height: 64px;
    border-radius: 16px;
}

/* Tag pills */
.hero-skeleton-tags {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-skeleton-tags span {
    width: 80px;
    height: 32px;
    border-radius: 50px;
}

.analyze-competitors-post button.save-to-collection-btn {
    display: none !important;
}
button.save-to-collection-btn.upgrade-btn.gradient-button.lg-pro {
    display: flex !important;
}
button.remove-from-collection-btn.unsave-from-collection-btn.upgrade-btn.gradient-button.lg-pro {
    display: flex !important;
}
/* Animation */
@keyframes heroSkeletonShimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* Responsive */
@media (max-width: 768px) {
    body.woocommerce-account header {
        display: none !important;
    }
    .hero-skeleton-title {
        height: 36px;
    }

    .hero-skeleton-search {
        height: 52px;
    }
}



/* mobile bottom nav menu */
.mobile-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 95%;
    background: #000000e6;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #222;
    z-index: 999999;
    margin: 10px;
    border-radius: 50px;
    border: 2px solid #3b3b3b;
}

.mobile-tab-bar .tab-item {
    text-decoration: none;
    color: #aaa;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
body.woocommerce-account .mobile-tab-bar .tab-item {
    padding: 8px 14px;
}

.mobile-tab-bar .tab-item.active {
    color: #ff4d8d;
}

.mobile-tab-bar .highlight,.mobile-tab-bar .active {
    background: var(--gradient-brand);
    padding: 8px 14px;
    border-radius: 30px;
    color: #fff !important;
}
@media (min-width: 768px) {
    .mobile-tab-bar {
        display: none;
    }
    .mobile-header{
      display: none !important;
    }
}

/* ===============================
   Mobile Header Wrapper
=================================*/
.mobile-header {
    display: block;
    padding: 16px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.3);
    position: sticky;
    z-index: 9999;
    top: 0;
}

body.light-mode .mobile-header {

    background: rgb(0 0 0) !important;

}
body.light-mode .user-dropdown .gradiane-border {
    border: 1px solid transparent !important;
    background: linear-gradient(#121212, #121212) padding-box, linear-gradient(to right, #9d4edd, #ff8c61) border-box !important;
    color: #ffffff !important;
}
body.light-mode .mobile-tab-bar .text-foreground {
    color: #ffffff !important;
}

/* Header Content */
.mobile-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
.mobile-header .logo-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-header .logo {
    width: 32px;
    height: 32px;
    background: var(--gradient-brand);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.mobile-header .logo-text {
    font-size: 14px;
    font-weight: bold;
    display: none;
}

@media (max-width: 767px) {
    .mobile-header .logo-text {
        display: block;
    }
    header.lg-pro {
      display: none;
    }
}

/* Upgrade Button */
.mobile-header .upgrade-btn {
    padding: 8px 16px;
    background: var(--gradient-brand);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0);
}

.mobile-header .upgrade-btn:hover {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

/* ===============================
   User Dropdown
=================================*/

.mobile-header .user-dropdown {
    position: relative;
}

.mobile-header .user-btn {
    padding: 11px 12px;
    align-items: center;
    display: flex;
    background: transparent;
    border: 1px solid;
    border-radius: 25px;
    color: var(--gradient-brand);
    cursor: pointer;
    transition: all 0.3s ease;
  
}
.mobile-header .user-dropdown i.fas.fa-user {
    font-size: 12px;
}

.mobile-header .user-btn:hover {
    background: rgba(168, 85, 247, 0.2);
}
.mobile-header .item-subtitle,.mobile-header div#themeValue,.mobile-header .upgrade-subtitle {
    color: #9da3af;
}
.mobile-header .dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 12px;
    width: 224px;
    border-radius: 12px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
    animation: slideDown 0.2s ease-out;
    display: none;
    border: 1px solid transparent !important;
    background: linear-gradient(#121212, #121212) padding-box,
                linear-gradient(to right, #9d4edd, #ff8c61) border-box !important;
}

.mobile-header .dropdown-menu.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-header .dropdown-item {
    width: 100%;
    padding: 12px 0px !important;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 14px;
    text-decoration: none;
}

.mobile-header .dropdown-item:hover {
    background: rgb(58 58 58 / 25%);
}

.mobile-header .dropdown-item.logout:hover {
    background: rgb(58 58 58 / 25%);
    color: #fca5a5;
}

.mobile-header .dropdown-item:last-child {
    border-bottom: none;
}

/* ===============================
   Basic Info Section
=================================*/

.mobile-header .basic-info {
    padding: 10px 16px 0px;
}

.mobile-header .info-label {
    font-size: 11px;
    font-weight: 600;
    color: #c084fc;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.mobile-header .user-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.mobile-header .user-email {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 4px;
}

.mobile-header .plan-status {
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
}

/* ===============================
   Theme Toggle
=================================*/

.mobile-header .theme-toggle-container {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.mobile-header .theme-toggle-container:hover {
    background: rgb(58 58 58 / 25%);
}

.mobile-header .toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
    background: #7c3aed;
    border-radius: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.mobile-header .toggle-switch.light {
    background: #9ca3af;
}

.mobile-header .toggle-switch::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 4px;
    left: 4px;
    transition: all 0.3s ease;
}

.mobile-header .toggle-switch.light::after {
    left: 32px;
}

/* ===============================
   Upgrade & Logout
=================================*/

.mobile-header .upgrade-item,
.mobile-header .logout-item {
    padding: 12px 16px;
}

.mobile-header .logout-title {
    font-size: 14px;
    font-weight: 600;
    color: #f87171;
}

.mobile-header .dropdown-item .my-account {
    padding: 15px;
}
