/* ========== Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--darker);
    color: var(--light);
    transition: var(--transition-normal);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* initial loader */
.Initial_loader{
    position: fixed;
    z-index: 11;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    padding: calc(var(--header-height) - 10px) 1rem 0px 1rem;
    background-color: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader-container {
    text-align: center;
    width: 320px;
    padding: 0px 50px 0px 50px;
    background: transparent;
    border-radius: 12px;
}

.loader-logo {
    margin-bottom: 24px;
    font-size: 40px;
}
.loader-logo>div::before{
    position: absolute;
    content:"";
    border-radius: 100%;
    border: 1px solid #cab8ff;
    width: 0%;
    height: 0%;
    left: 50%;
    top: 50%;
    transform: translate(-50% , -50%);
    box-shadow: inset 0 0 20px #cab8ff;
    animation:LOADERRINGEFFECT 3s ease-out infinite alternate ;
}
.loader-logo>div::after{
    position: absolute;
    content:"";
    border-radius: 100%;
    border: 1px solid #cab8ff;
    width: 0%;
    height: 0%;
    left: 50%;
    top: 50%;
    transform: translate(-50% , -50%);
    box-shadow: inset 0 0 20px #cab8ff;
    animation:LOADERRINGEFFECT 3s ease-out infinite alternate;
    animation-delay: 1.5s;
    z-index: -1;
}
@keyframes LOADERRINGEFFECT {
    0%{
        width: 0%;
        height: 0%;
        opacity: 1;
    }
    100%{
        width: 100%;
        height: 100%;
        opacity: 0.3;
    }
}
.loader-logo>div{
    position: relative;
    min-width: 150px;
    min-height: 150px;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 100%;
    box-shadow: inset 0 0 50px #cab8ff, 0 0 2px var(--primary), 0 0 8px var(--primary);
    border: 1px solid rgba(202, 184, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.atom {
    width: 150px;
    height: 150px;
    position: relative;
  }

.nucleus {
width: 40px;
height: 40px;
background: var(--primary); /* React blue */
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
box-shadow: 0 0 10px var(--primary);
z-index: 10;
}

.orbit {
position: absolute;
border: 2px solid var(--primary-light);
border-radius: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
animation: ATOMrotate 10s linear infinite;
}

/* React-style elliptical orbits */
.orbit-1 {
width: 160px;
height: 60px;
transform: translate(-50%, -50%) rotate(0deg);
}

.orbit-2 {
width: 160px;
height: 60px;
transform: translate(-50%, -50%) rotate(60deg);
animation-delay: -3.3s;
}

.orbit-3 {
width: 160px;
height: 60px;
transform: translate(-50%, -50%) rotate(120deg);
animation-delay: -6.6s;
}

.electron {
width: 12px;
height: 12px;
background: var(--secondary);
border-radius: 50%;
position: absolute;
top: -6px;
left: 50%;
transform: translateX(-50%);
box-shadow: 0 0 10px var(--secondary);
}

@keyframes ATOMrotate {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.loader-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 8px;
    color: var(--lighter);
}

.loader-subtitle {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 10px;
}

.progress-container {
    width: 100%;
    height: 6px;
    background-color: var(--dark);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0d6efd, var(--primary));
    border-radius: 3px;
    transition: width 0.4s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: LOADERshimmer (90deg, 
                  rgba(255,255,255,0) 0%, 
                  rgba(255,255,255,0.8) 50%, 
                  rgba(255,255,255,0) 100%);
    animation: shimmer 2s infinite;
}

@keyframes LOADERshimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.percentage {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.loader-footer {
    font-size: 12px;
    color: var(--gray);
    margin-top: 16px;
}

.pagination-Loading{
    display: flex;
    padding: 1.5rem 1rem;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.pagination-Loading>div{
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 5px;
}
.pagination-Loading>div>i{
    color: var(--primary);
    width: min-content;
    height: min-content;
}
.pagination-Loading>div>strong{
    color: var(--gray);
}
#Community_Section_Footer{
    grid-column-start: 1;
    grid-column-end: -1;
}
/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    color: var(--lighter);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.75rem;
}

p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-light);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

/* ========== Header Styles ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--Nav--Background--Scrolled);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--Nav--Border);
    z-index: 1000;
    transition: var(--transition-slow);
}

.header.scrolled {
    background-color: var(--Nav--Background--Scrolled);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}
.logo{
    display: flex;
    align-items: center;
}
.logo img{
    height: var(--header-height);
}
.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--lighter);
    display: none;
}

.logo span {
    color: var(--primary);
    display: none;
}

.search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 2rem;
}

.search-form {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    background-color: var(--dark);
    color: var(--lighter);
    font-size: 1rem;
    transition: var(--transition-fast);
    padding-right: 3rem;
}

.search-input:focus {
    outline: none;
    box-shadow: var(--glow);
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 3rem;
    background: transparent;
    border: none;
    color: var(--gray);
    cursor: pointer;
    border-radius: 0 50px 50px 0;
    transition: var(--transition-fast);
}

.search-button:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle, .cart-button, .hamburger {
    background: transparent;
    border: none;
    color: var(--lighter);
    font-size: 1.25rem;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}
.hamburger{
    flex-direction: column;
}

.theme-toggle:hover, .cart-button:hover, .hamburger:hover {
    background-color: var(--darker);
    color: var(--primary-light);
}

.cart-button {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent);
    color: white;
    font-size: 0.7rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.hamburger-line {
    width: 1.5rem;
    height: 2px;
    background-color: var(--lighter);
    margin: 0.25rem 0;
    transition: var(--transition-fast);
}

/* ========== Bottom Navigation ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--Nav--Background--Scrolled);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--Nav--Border);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 999;
    display: none;
    transition: var(--transition-slow);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gray);
    font-size: 0.8rem;
    padding: 0.5rem;
    border-radius: 10px;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.nav-item.active {
    opacity: 1;
    color: var(--primary);
    position: relative;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--primary-light);
}

/* ========== Sidebar Styles ========== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background-color: var(--dark);
    border-left: 1px solid var(--Nav--Border);
    z-index: 1000;
    overflow-y: auto;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--Nav--Border);
    position: relative;
}

.close-sidebar {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-sidebar:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.user-profile {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 2px solid var(--primary);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.user-info p {
    color: var(--primary-light);
    font-size: 0.9rem;
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    color: var(--gray-light);
    transition: var(--transition-fast);
}

.sidebar-item i {
    font-size: 1.1rem;
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.sidebar-item.active, .sidebar-item:hover {
    background-color: var(--darker);
    color: var(--primary-light);
}

.sidebar-item.active {
    font-weight: 600;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--Nav--Border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.login-button,.signup-button {
    border-radius: 10px;
    column-gap: 5px;
    width: 100%;
    padding: 10px 20px;
    background-color: var(--darker);
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    
}
.login-button:active,
.signup-button:active {
  scale: 0.85;
}
.login-button{
    color: var(--primary);
}
.signup-button {
    color: var(--secondary);
}
.logout-button {
    grid-column-start: 1;
    grid-column-end: 3;
    display: flex;
    align-items: center;
    color: var(--accent);
    background: transparent;
    border: none;
    padding: 1rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
}

.logout-button i {
    margin-right: 0.75rem;
}

.logout-button:hover {
    color: #ff2d2d;
}
.logout-button span{
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

/* ========== Cart Drawer Styles ========== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background-color: var(--dark);
    border-left: 1px solid var(--Nav--Border);
    z-index: 1000;
    overflow-y: auto;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--Nav--Border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin-bottom: 0;
}

.close-cart {
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-cart:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--gray);
    text-align: center;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gray-light);
}

.cart-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--Nav--Border);
}

.cart-item-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 1rem;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--lighter);
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--accent);
    font-size: 0.8rem;
    cursor: pointer;
    margin-left: auto;
}

.cart-footer {
    display: none;
    padding: 1.5rem;
    border-top: 1px solid var(--Nav--Border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--lighter);
}

.total-amount {
    color: var(--primary-light);
}

.checkout-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.checkout-button:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--glow);
}

/* ========== Main Content Styles ========== */
.main-content {
    flex: 1;
    margin-top: var(--header-height);
}

.page-section {
    display: none;
    padding: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin-bottom: 0;
}

.view-all {
    font-size: 0.9rem;
    color: var(--primary-light);
    display: flex;
    align-items: center;
}

.view-all i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

/* ========== Banner Slider Styles ========== */
.banner-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.banner-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display:flex;
    flex-direction: column;
    padding: 2rem;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0, 0, 0, 0.85));
    color: white;
}

.banner-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    height: fit-content;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Number of lines you want to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    max-width: 600px;
    height: min-content;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* Number of lines you want to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner-content button{
    margin-top: auto;
    height: fit-content;
    width: fit-content;
    border: none;
    outline: none;
}

.banner-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.banner-button:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--glow);
}

.banner-pagination {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.banner-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* ========== Card Styles ========== */
/* Extra Small (phones, portrait) */
@media screen and (max-width: 479px) {
    .cards-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, 1fr);
        gap: 1.5rem;
    }
}
@media screen and (min-width: 480px) and (max-width: 767px) {
    /* Small (phones, landscape / larger phones) */
    /* Styles for larger phones and small devices */
    .cards-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
        gap: 1.5rem;
    }
}
@media screen and (min-width: 768px){
    /* Medium (tablets) */
    /* Styles for tablets */
    .cards-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}
.card {
    background-color: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.card-media {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    cursor: progress;
}

.card-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.card:hover .card-media img {
    transform: scale(1.05);
}

.card-media-hover {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    aspect-ratio: 16/9;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: none;
    gap: 0.5rem;
    transition: var(--transition-normal);
}

.media-thumbnail {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.media-thumbnail:hover {
    border-color: var(--primary);
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0.75rem;
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-user {
    flex: 1;
}

.card-user h4 {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.card-user p {
    font-size: 0.8rem;
    color: var(--gray);
}

.card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.card-tag {
    background-color: var(--darker);
    color: var(--gray-light);
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.card-rating {
    display: flex;
    align-items: center;
}

.card-rating i {
    color: gold;
    font-size: 0.9rem;
    margin-right: 0.25rem;
}

.card-rating span {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.card-price {
    text-align: right;
}

.card-price .current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-light);
}

.card-price .original {
    font-size: 0.8rem;
    text-decoration: line-through;
    color: var(--gray);
    margin-left: 0.5rem;
}

.card-price .discount {
    display: block;
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
}

.card-button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-button i {
    margin-right: 0.5rem;
}

.card-button:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--glow);
}

.card-button.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(123, 78, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(123, 78, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(123, 78, 255, 0); }
}

/* ========== Community Styles ========== */
#community{
    flex-direction: column;
    padding-bottom: 0px;
}
#community.active{
    display: flex;
}
.community-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.No-Community-Post{
    display: flex;
    flex-direction: column;
}

.no-community-futuristic {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 2rem;
    background: var(--dark);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    color: #E0F7FF;
    text-align: center;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.No-Community-Post .network-icon{
    max-width: 150px;
}
.No-Community-Post .futuristic-title{
    font-size: 1.2rem;
}
.No-Community-Post .futuristic-subtitle{
    font-size: 0.8rem;
    color: var(--gray);
}
.No-Community-Post .futuristic-cta{
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1;
}

.create-post-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    min-width: 150px;
    transition: var(--transition-fast);
}
#categories-header-for-mobile{
    display: none;
}

.create-post-button i {
    margin-right: 0.5rem;
}

.create-post-button:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--glow);
}

.community-feed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.post-card {
    background-color: var(--dark);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.post-card:hover {
    box-shadow: var(--shadow-md);
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-user h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.post-user p {
    font-size: 0.8rem;
    color: var(--gray);
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.post-media {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.post-media img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.post-media img:hover {
    opacity: 0.9;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.post-tag {
    background-color: rgba(123, 78, 255, 0.1);
    color: var(--primary-light);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: var(--transition-fast);
}

.post-tag:hover {
    background-color: rgba(123, 78, 255, 0.2);
}

.post-actions {
    display: flex;
    border-top: 1px solid var(--Nav--Border);
    padding-top: 1rem;
}

.post-action {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.post-action i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.post-action:hover {
    color: var(--primary-light);
}

.post-action.liked {
    color: var(--accent);
}

.comments-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--Nav--Border);
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    overflow-x: hidden;
}

.comments-section.active {
    display: flex;
}

.comment-form {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background-color: var(--darker);
    border-radius: 20px;
}

.comment-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 14px;
    background-color: transparent;
    color: var(--lighter);
}

.comment-input::placeholder {
    color: var(--gray-light);
}

.comment-submit {
    background: none;
    border: none;
    outline: none;
    color: var(--primary);
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}

.comment-submit:disabled {
    opacity: 0.4;
    cursor: default;
}

.comment-submit i {
    pointer-events: none; /* Prevent icon from blocking click */
}


.comment-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    display: flex;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-user {
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 0.5rem;
    color: var(--lighter);
}

.comment-time {
    font-size: 0.8rem;
    color: var(--gray);
}

.comment-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: var(--lighter);
}

.comment-actions {
    display: flex;
    align-items: center;
}

.comment-action {
    font-size: 0.8rem;
    color: var(--gray);
    margin-right: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.comment-action:hover {
    color: var(--primary-light);
}

.comment-action i {
    margin-right: 0.25rem;
}
.Community_User_Alert{
    padding: 0px 10px 0px 0px;
}
.no-comments,.loading-comments{
    color: var(--gray);
}
/* Responsive Css */
@media (max-width: 768px) {
    .Community_User_Alert{
        display: none;
    }
}
@media (min-width: 769px) and (max-width: 1278px) {
    .Community_System_Alert{
        display: none;
    }
    #community.active{
        display: grid;
    }
    #community{
        
        grid-template-columns: max(320px, 33.33% ) 1fr;
        gap: 1rem;
    }
    .community-header{
        grid-column-start:1 ;
        grid-column-end: 3;
    }
    .Community_User_Alert{
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        position: sticky;
        top: 0px;
    }
}
@media (min-width: 1280px) {
    #community.active{
        display: grid;
    }
    #community{
        grid-template-columns: max(320px, 30%)  1fr  ;
        gap: 1rem;
    }
    .community-header{
        grid-column-start:1 ;
        grid-column-end: 4;
    }
    .Community_User_Alert{
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        position: sticky;
        top: 0px;
    }
}

/* ========== Categories Styles ========== */
.categories-header {
    margin-bottom: 2rem;
}

.categories-search {
    position: relative;
    margin-top: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: var(--transition-normal);
}
.categories-search:hover{
    filter:drop-shadow(0 0 5px var(--primary));
}

.categories-search input {
    display: none;
    width: 100%;
    padding: 0.75rem 1.5rem;
    padding-right: 3.5rem;
    border-radius: 50px;
    border: none;
    outline: none;
    background-color: var(--dark);
    color: var(--lighter);
    font-size: 1rem;
}

.categories-search i {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: 5px solid var(--dark);
    background-color: var(--primary);
    border-radius: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: 3rem;
    cursor: pointer;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 72px;
}

.category-card {
    background-color: var(--dark);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--primary);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    color: white;
}

.category-card:hover h3, .category-card:hover p {
    color: white;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    transition: var(--transition-normal);
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.category-card p {
    font-size: 0.8rem;
    color: var(--gray);
    transition: var(--transition-fast);
}

/* ========== Profile Styles ========== */
#profile{
    background-color: var(--dark);
}
.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--Nav--Border);
}

.profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 2rem;
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edit-avatar {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.edit-avatar:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.profile-info {
    flex: 1;
}

.profile-info h2 {
    margin-bottom: 0.5rem;
}

.member-since {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-light);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.edit-profile {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.edit-profile i {
    margin-right: 0.5rem;
}

.edit-profile:hover {
    background-color: var(--primary-light);
    color: white;
}

.edit-profile:active{
    scale: 0.9;
}

.profile-content {
    background-color: var(--darker);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.profile-tabs {
    display: flex;
    border-bottom: 1px solid var(--Nav--Border);
}

.tab-button {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    color: var(--gray);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.tab-button.active {
    color: var(--primary-light);
    position: relative;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-light);
}

.tab-content {
    padding: 1.5rem;
    display: none;
    min-height: 300px;
}

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

/* ========== Create Post Modal Styles ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.create-post-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background-color: var(--darker);
    border-radius: 16px;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: var(--shadow-lg);
}

.create-post-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--Nav--Border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: var(--darker);
    z-index: 1;
}

.close-modal {
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-modal:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.post-form {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--lighter);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--Nav--Border);
    background-color: var(--dark);
    color: var(--lighter);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--glow);
}

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

.tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.tag-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    border-radius: 8px;
    background-color: var(--dark);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.tag-item:hover {
    border-color: var(--primary);
}

.tag-item.selected {
    background-color: rgba(123, 78, 255, 0.2);
    border-color: var(--primary);
}

.tag-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
}

.tag-name {
    font-size: 0.9rem;
    color: var(--lighter);
}

.media-upload {
    border: 2px dashed var(--Nav--Border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

.media-upload:hover {
    border-color: var(--primary);
}

.upload-area {
    cursor: pointer;
}

.upload-area i {
    font-size: 2rem;
    color: var(--gray);
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

.upload-area p {
    margin-bottom: 0.5rem;
    color: var(--gray-light);
}

.upload-area span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.browse-button {
    padding: 0.5rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.browse-button:hover {
    background-color: var(--primary-dark);
}

.media-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.media-thumb {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-media {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
}

.live-preview {
    background-color: var(--dark);
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 200px;
}

.preview-post {
    max-width: 600px;
    margin: 0 auto;
}

.preview-post h3 {
    margin-bottom: 1rem;
}

.preview-post p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.preview-tag {
    background-color: rgba(123, 78, 255, 0.1);
    color: var(--primary-light);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.preview-media {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.preview-media img {
    width: 100%;
    border-radius: 8px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.cancel-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--dark);
    color: var(--lighter);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cancel-button:hover {
    background-color: var(--Nav--Border);
}

.submit-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.submit-button:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--glow);
}

.submit-button:disabled {
    background-color: var(--gray);
    cursor: not-allowed;
    box-shadow: none;
}

/* ========== Pagination Styles ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.pagination button {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--darker);
    color: var(--light);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination button:hover:not(:disabled) {
    background-color: var(--primary);
    color: white;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.current-page {
    font-weight: 600;
    color: var(--primary-light);
}

/* ========== Responsive Styles ========== */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 992px) {
    .banner-slider {
        height: 350px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .search-container {
        margin: 0 1rem;
    }
    
    .banner-slider {
        height: 300px;
        margin-bottom: 2rem;
    }
    
    .banner-content h3 {
        font-size: 1.5rem;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .edit-profile {
        margin: 1.5rem auto 0;
    }
    
    .create-post-modal {
        width: 95%;
    }
}

@media (max-width: 576px) {
    .header {
        height: 70px;
    }
    .loader-container {
        padding: 0px 50px 40px 50px;
    }
    .logo a {
        font-size: 1.5rem;
    }
    
    .search-container {
        display: none;
    }
    
    .search-container.mobile-active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 0.5rem 1rem;
        background-color: var(--Nav--Background--Scrolled);
        border-bottom: 1px solid var(--Nav--Border);
    }
    
    .bottom-nav {
        display: flex;
    }
    
    .page-section {
        padding: 1rem;
    }

    #inspact {
        padding: 69px 0 72px 0 ;
    }
    .banner-slider {
        height: 250px;
        border-radius: 0;
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
    }
    
    .banner-content {
        padding: 1rem;
    }
    
    .banner-content h3 {
        font-size: 1.25rem;
    }
    
    .banner-content p {
        font-size: 0.9rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .view-all {
        margin-top: 0.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .profile-tabs {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .tab-button {
        flex: none;
        width: calc((100% / 3) - 10px);
    }
    
    .create-post-modal {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }
    
    .tags-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    .no-community-futuristic{
        margin-bottom: 82.2px;
    }
}

/* ========== Utility Classes ========== */
.hidden {
    display: none !important;
}

/* ========== Animation Styles ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer {
    background: linear-gradient(90deg, var(--dark) 25%, var(--darker) 50%, var(--dark) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    color: transparent !important;
    border-radius: 4px;
}

/* ========== Loading States ========== */
.loading-card {
    height: 350px;
    display: flex;
    flex-direction: column;
}

.loading-media {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 1rem;
}

.loading-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.loading-text.short {
    width: 70%;
}

.loading-text.medium {
    width: 85%;
}

.loading-text.long {
    width: 100%;
}
/* Toast Notification System */
.toast-container {
    position: fixed;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Positioning */
.toast-top-right {
    top: 20px;
    right: 20px;
}

.toast-top-left {
    top: 20px;
    left: 20px;
}

.toast-bottom-right {
    bottom: 20px;
    right: 20px;
}

.toast-bottom-left {
    bottom: 20px;
    left: 20px;
}

.toast-top-center {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.toast-bottom-center {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Toast Element */
.toast {
    position: relative;
    min-width: 300px;
    max-width: 400px;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem 1rem 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    color: var(--light);
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
    overflow: hidden;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.hide {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Toast Types */
.toast-success {
    background-color: var(--secondary);
}

.toast-error {
    background-color: var(--accent);
}

.toast-warning {
    background-color: #FFA726;
}

.toast-info {
    background-color: var(--primary);
}

.toast-default {
    background-color: var(--dark);
    color: var(--lighter);
}

/* Toast Icon */
.toast-icon {
    margin-right: 12px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

/* Toast Content */
.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 1rem;
}

.toast-message {
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

/* Close Button */
.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    padding: 4px;
    font-size: 1rem;
    line-height: 1;
    transition: var(--transition-fast);
}

.toast-close:hover {
    opacity: 1;
}

/* Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.3);
}

.toast-progress-bar {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    transition: width linear;
}

/* Responsive Design */
@media (max-width: 768px) {
    .toast {
        min-width: 250px;
        max-width: calc(100% - 40px);
    }
    
    .toast-top-right,
    .toast-top-left,
    .toast-bottom-right,
    .toast-bottom-left {
        right: 20px;
        left: 20px;
        transform: none;
    }
    
    .toast-top-center,
    .toast-bottom-center {
        width: calc(100% - 40px);
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .toast {
        padding: 0.75rem 1.25rem 0.75rem 0.75rem;
    }
    
    .toast-title {
        font-size: 0.9375rem;
    }
    
    .toast-message {
        font-size: 0.8125rem;
    }
    
    .toast-icon {
        font-size: 1.25rem;
        margin-right: 10px;
    }
}
/* User Posts Grid Container */
.user-post-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    width: 100%;
    padding: 20px 20px;
}

/* Individual Post Item */
.user-post-item {
    background-color: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}
.user-post-item:nth-child(4n+1) {
    border-top: 4px solid var(--primary); /* First color */
}

.user-post-item:nth-child(4n+2) {
    border-top: 4px solid var(--secondary); /* Second color */
}

.user-post-item:nth-child(4n+3) {
    border-top: 4px solid var(--accent); /* Third color */
}

.user-post-item:nth-child(4n) {
    border-top: 4px solid var(--Price-Text); /* Fourth color */
}


.user-post-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* Post Header */
.user-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--Nav--Border);
}

.user-post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: none;
}

.user-post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-post-meta {
    flex: 1;
}

.user-post-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--lighter);
    line-height: 1.3;
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.user-post-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.user-post-stat {
    font-size: 0.8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
}

.user-post-stat i {
    margin-right: 0.25rem;
    font-size: 0.7rem;
}

.user-post-controls {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
}

.user-post-edit-btn,
.user-post-delete-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-post-edit-btn:hover {
    background-color: var(--dark);
    color: var(--primary);
}

.user-post-delete-btn:hover {
    background-color: var(--dark);
    color: var(--accent);
}

/* Post Body */
.user-post-body {
    padding: 1rem;
}

.user-post-description {
    margin-bottom: 1rem;
    color: var(--gray-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

.user-post-media {
    margin: 1rem 0;
}

.user-post-main-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.user-post-main-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-position: center;
    object-fit: cover;
    object-fit: cover;
    border-radius: 8px;
}

.user-post-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.user-post-gallery-item {
    height: fit-content;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
}

.user-post-gallery-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-position: center;
    object-fit: cover;
}

/* Post Footer */
.user-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--Nav--Border);
}

.user-post-os-badge {
    background-color: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.user-post-rating {
    display: flex;
    align-items: center;
    color: gold;
    font-weight: 600;
}

.user-post-rating span {
    margin-left: 0.25rem;
    color: var(--lighter);
    font-size: 0.9rem;
}

/* Empty State */
.user-post-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray);
}

.user-post-empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.user-post-empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--lighter);
}

/* Error State */
.user-post-error-state {
    text-align: center;
    padding: 2rem;
    color: var(--accent);
}

.user-post-error-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .user-post-grid-container {
        grid-template-columns: 1fr;
    }
    
    .user-post-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .user-post-stats {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .user-post-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .user-post-avatar {
        width: 40px;
        height: 40px;
    }
    
    .user-post-title {
        font-size: 0.9rem;
    }
    
    .user-post-description {
        font-size: 0.85rem;
    }
}
/* Edit Modal Overlay */
.user-post-edit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.user-post-edit-modal-overlay.closing {
    opacity: 0;
}

/* Edit Modal Container */
.user-post-edit-modal {
    background-color: var(--darker);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.user-post-edit-modal-overlay.closing .user-post-edit-modal {
    transform: scale(0.9);
}

/* Modal Header */
.user-post-edit-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--Nav--Border);
    position: sticky;
    top: 0;
    background-color: var(--darker);
    z-index: 1;
}

.user-post-edit-modal-header h3 {
    margin: 0;
    color: var(--lighter);
}

.user-post-edit-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
    padding: 0.5rem;
}

.user-post-edit-modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* Modal Body */
.user-post-edit-modal-body {
    padding: 1.5rem;
}

/* Form Styles */
.user-post-edit-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.user-post-edit-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.user-post-edit-form-group label {
    font-weight: 600;
    color: var(--lighter);
    font-size: 0.95rem;
}

.user-post-edit-form-group input[type="text"],
.user-post-edit-form-group input[type="number"],
.user-post-edit-form-group textarea,
.user-post-edit-form-group select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--Nav--Border);
    background-color: var(--dark);
    color: var(--lighter);
    font-size: 1rem;
    transition: var(--transition-fast);
    width: 100%;
}

.user-post-edit-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.user-post-edit-form-group input:focus,
.user-post-edit-form-group textarea:focus,
.user-post-edit-form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--glow);
}

/* OS Options */
.user-post-edit-os-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.user-post-edit-os-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--dark);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.user-post-edit-os-option:hover {
    background-color: var(--primary);
    color: white;
}

.user-post-edit-os-option input {
    display: none;
}

.user-post-edit-os-option input:checked + span {
    color: var(--primary-light);
    font-weight: 600;
}

/* Price Group */
.user-post-edit-price-group {
    display: flex;
    gap: 1rem;
}

.user-post-edit-price-group input {
    flex: 1;
}

.user-post-edit-price-group select {
    width: 120px;
}

/* Current Images */
.user-post-edit-current-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-post-edit-main-image,
.user-post-edit-side-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--Nav--Border);
}

.user-post-edit-main-image img,
.user-post-edit-side-image img {
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    background-color: var(--dark);
}

.user-post-edit-main-image span,
.user-post-edit-side-image span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    text-align: center;
}

.user-post-edit-side-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

/* Upload Area */
.user-post-edit-upload-area {
    border: 2px dashed var(--Nav--Border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.user-post-edit-upload-area.highlight {
    border-color: var(--primary);
    background-color: rgba(123, 78, 255, 0.05);
}

.user-post-edit-upload-area.has-files {
    padding: 1rem;
    text-align: left;
}

.user-post-edit-upload-instructions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
}

.user-post-edit-upload-instructions i {
    font-size: 2rem;
    color: var(--primary-light);
}

.user-post-edit-upload-instructions p {
    margin: 0;
    font-weight: 500;
}

.user-post-edit-upload-instructions small {
    font-size: 0.8rem;
}

/* Image Preview */
.user-post-edit-image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.user-post-edit-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--Nav--Border);
}

.user-post-edit-preview-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.user-post-edit-preview-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem;
    font-size: 0.7rem;
    text-align: center;
}

.user-post-edit-remove-preview {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
}

/* Form Actions */
.user-post-edit-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--Nav--Border);
}

.user-post-edit-cancel-btn,
.user-post-edit-submit-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.user-post-edit-cancel-btn {
    background-color: var(--dark);
    color: var(--lighter);
    border: 1px solid var(--Nav--Border);
}

.user-post-edit-cancel-btn:hover {
    background-color: var(--Nav--Border);
}

.user-post-edit-submit-btn {
    background-color: var(--primary);
    color: white;
    border: none;
}

.user-post-edit-submit-btn:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--glow);
}

.user-post-edit-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===== Alert Component ===== */
.User-Alert-Pr-Container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    width: calc(100% - 20px);
    max-width: 640px;
    margin: 1rem auto;
}

.User-Alert-Pr-List {
    list-style: none;
    padding: 0;
    margin: 0;
}

.User-Alert-Pr-Item {
    background-color: var(--dark);
    border: 1px solid var(--dark);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.User-Alert-Pr-Item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.User-Alert-Pr-Item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.User-Alert-Pr-Item[data-type="Warning"]::before {
    background: orange;
}

.User-Alert-Pr-Item[data-type="Danger"]::before {
    background: red;
}


.User-Alert-Pr-Header {
    padding: 22px 24px 16px 28px; /* Extra left padding for the accent stripe */
    position: relative;
}

.User-Alert-Pr-Title {
    display: flex;
    align-items: center;
}
.User-Alert-Pr-Title h3{
    color: var(--lighter);
    font-size: 18px;
    font-weight: 600;
    margin: 0px 0px;
}

.User-Alert-Pr-Subtitle {
    color: var(--gray);
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

.User-Alert-Pr-Details {
    border-bottom: 1px solid var(--darker);
}

.User-Alert-Pr-Summary {
    padding: 18px 24px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-fast);
    position: relative;
}

.User-Alert-Pr-Summary::-webkit-details-marker {
    display: none;
}

.User-Alert-Pr-Summary::after {
    content: "⌄";
    font-size: 16px;
    color: var(--primary);
    transition: var(--transition-normal);
    margin-left: 8px;
}
/* ALERT TYPE */
.User-Alert-Pr-Item[data-type="Alert"] .User-Alert-Pr-Icon-Danger,
.User-Alert-Pr-Item[data-type="Alert"] .User-Alert-Pr-Icon-Warning {
    display: none;
}

/* WARNING TYPE */
.User-Alert-Pr-Item[data-type="Warning"] .User-Alert-Pr-Summary {
    color: orange;
}

.User-Alert-Pr-Item[data-type="Warning"] .User-Alert-Pr-Summary::after {
    color: orange;
}

.User-Alert-Pr-Item[data-type="Warning"] .User-Alert-Pr-Icon-Info,
.User-Alert-Pr-Item[data-type="Warning"] .User-Alert-Pr-Icon-Danger {
    display: none;
}

/* DANGER TYPE */
.User-Alert-Pr-Item[data-type="Danger"] .User-Alert-Pr-Summary {
    color: red;
}

.User-Alert-Pr-Item[data-type="Danger"] .User-Alert-Pr-Summary::after {
    color: red;
}

.User-Alert-Pr-Item[data-type="Danger"] .User-Alert-Pr-Icon-Info,
.User-Alert-Pr-Item[data-type="Danger"] .User-Alert-Pr-Icon-Warning {
    display: none;
}


.User-Alert-Pr-Details[open] .User-Alert-Pr-Summary::after {
    transform: rotate(180deg);
    color: var(--secondary);
}

.User-Alert-Pr-Message {
    padding: 0 24px 20px 28px;
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    animation: fadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.User-Alert-Pr-ImageContainer {
    overflow: hidden;
    border-radius: 0 0 12px 12px;
    position: relative;
}

.User-Alert-Pr-Image {
    display: block;
    transition: var(--transition-slow);
    width: 100%;
    height: auto;
}

.User-Alert-Pr-Item:hover .User-Alert-Pr-Image {
    transform: scale(1.03);
}

/* Status indicator dot */
.User-Alert-Pr-Status {
    position: absolute;
    right: 24px;
    top: 24px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 82, 82, 0.2);
    animation: pulse 2s infinite;
}

/* Form Sections */
.user-post-edit-form-section {
    padding: 1.5rem;
    background-color: var(--dark);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.user-post-edit-section-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--lighter);
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.user-post-edit-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

/* Features Section */
.user-post-edit-feature-item {
    background-color: var(--darker);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--Nav--Border);
}

.user-post-edit-feature-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.user-post-edit-feature-icon-preview {
    width: 36px;
    height: 36px;
    background-color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1.25rem;
    color: var(--primary-light);
}

.user-post-edit-feature-icon-preview:hover {
    background-color: var(--primary);
    color: white;
}

.user-post-edit-feature-title {
    flex: 1;
    padding: 0.5rem 0.75rem;
    min-width: 50%;
    width: auto;
    border-radius: 6px;
    border: 1px solid var(--Nav--Border);
    background-color: var(--dark);
    color: var(--lighter);
    font-size: 0.95rem;
}

.user-post-edit-feature-description {
    width: 100%;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--Nav--Border);
    background-color: var(--dark);
    color: var(--lighter);
    font-size: 0.95rem;
    min-height: 80px;
    resize: vertical;
}

.user-post-edit-feature-remove {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.25rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.user-post-edit-feature-remove:hover {
    background-color: var(--accent);
    color: white;
}

.user-post-edit-no-features,
.user-post-edit-no-faqs {
    color: var(--gray);
    text-align: center;
    padding: 1rem;
    margin: 0;
}

.user-post-edit-feature-actions,
.user-post-edit-faq-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.user-post-edit-feature-add,
.user-post-edit-faq-add {
    padding: 0.5rem 1.25rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-post-edit-feature-add:hover,
.user-post-edit-faq-add:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--glow);
}

/* FAQs Section */
.user-post-edit-faq-item {
    background-color: var(--darker);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--Nav--Border);
}

.user-post-edit-faq-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.user-post-edit-faq-question {
    flex: 1;
    padding: 0.5rem 0.75rem;
    min-width: 85%;
    width: auto;
    border-radius: 6px;
    border: 1px solid var(--Nav--Border);
    background-color: var(--dark);
    color: var(--lighter);
    font-size: 0.95rem;
}

.user-post-edit-faq-answer {
    width: 100%;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--Nav--Border);
    background-color: var(--dark);
    color: var(--lighter);
    font-size: 0.95rem;
    min-height: 80px;
    resize: vertical;
}

.user-post-edit-faq-remove {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 1.25rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.user-post-edit-faq-remove:hover {
    background-color: var(--accent);
    color: white;
}

/* Icon Picker Modal */
.user-post-edit-icon-picker-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--darker);
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
}

.user-post-edit-icon-picker-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--Nav--Border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-post-edit-icon-picker-header h4 {
    margin: 0;
    color: var(--lighter);
}

.user-post-edit-icon-picker-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
    padding: 0.5rem;
}

.user-post-edit-icon-picker-close:hover {
    color: var(--accent);
}

.user-post-edit-icon-picker-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--Nav--Border);
}

.user-post-edit-icon-search {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--Nav--Border);
    background-color: var(--dark);
    color: var(--lighter);
    font-size: 1rem;
}

.user-post-edit-icon-picker-grid {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 1rem;
    max-height: 50vh;
    overflow-y: auto;
}

.user-post-edit-icon-picker-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 8px;
    background-color: var(--dark);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1.25rem;
    color: var(--gray-light);
}

.user-post-edit-icon-picker-item:hover {
    background-color: var(--primary);
    color: white;
}

.user-post-edit-icon-picker-item.selected {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--glow);
}

.user-post-edit-icon-picker-actions {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid var(--Nav--Border);
}

.user-post-edit-icon-picker-cancel,
.user-post-edit-icon-picker-select {
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.user-post-edit-icon-picker-cancel {
    background-color: var(--dark);
    color: var(--lighter);
    border: 1px solid var(--Nav--Border);
}

.user-post-edit-icon-picker-cancel:hover {
    background-color: var(--Nav--Border);
}

.user-post-edit-icon-picker-select {
    background-color: var(--primary);
    color: white;
    border: none;
}

.user-post-edit-icon-picker-select:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--glow);
}

/* POSTDELETE CONFIRM MODEL */
.post-delete-confirm-modal{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.post-delete-confirm-modal.ACTIVE{
    display: flex;
}

.post-delete-confirm-modal-overlay{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
/* Modal Box */
.post-delete-confirm-modal-content {
    background: var(--darker);
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    padding: 24px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.3s ease-out;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Modal Message */
.post-delete-confirm-modal-message h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--lighter);
    margin-bottom: 8px;
}

.post-delete-confirm-modal-message p {
    font-size: 14px;
    color: var(--gray);
}

/* Modal Actions */
.post-delete-confirm-modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.post-delete-confirm-modal-actions .btn {
    flex: 1;
    padding: 12px 0;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

/* Cancel Button */
.cancel-btn {
    background-color: var(--dark);
    color: var(--gray);
}

.cancel-btn:hover {
    color: var(--lighter);
}
.cancel-btn:active{
    scale: 0.9;
}

/* Delete Button */
.delete-btn {
    background-color: #e11d48;
    color: #fff;
}

.delete-btn:hover {
    background-color: #be123c;
}
.delete-btn:active{
    scale: 0.9;
}

/* Animation */
@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Show modal when active */
.post-delete-confirm-modal.active {
    display: flex;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(255, 82, 82, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .user-post-edit-modal {
        width: 95%;
    }
    
    .user-post-edit-side-images,
    .user-post-edit-image-preview {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .user-post-edit-price-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .user-post-edit-price-group select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .user-post-edit-modal-header {
        padding: 1rem;
    }
    
    .user-post-edit-modal-body {
        padding: 1rem;
    }
    
    .user-post-edit-form-actions {
        flex-direction: column;
    }
    
    .user-post-edit-cancel-btn,
    .user-post-edit-submit-btn {
        width: 100%;
    }
}

/* ========== Enhanced Inspact Section ========== */
#inspact {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--darker);
    overflow-x: hidden;
    overflow-y: hidden;
    display: none;
    padding: 75px 0 0 0 ;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(20px);
    scroll-behavior: smooth;
}

#inspact.active {
    display: grid;
    grid-template-columns: 1fr;
    opacity: 1;
    transform: translateY(0);
}

.inspact-container {
    width: 100%;
    margin: 0 auto;
    background-color: var(--darker);
    border-radius: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
    margin-bottom: 4rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.inspact-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
}
.Inspact-DMCA-Btn{
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px 20px;
    border: none;
    background-color: var(--dark);
    color: red;
    z-index: 3;
    border-radius: 10px;
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}
.Inspact-DMCA-Btn:active{
    scale: 0.85;
}
.inspact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.inspact-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.inspact-hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.inspact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(2px);
}

.inspact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* Media Gallery */
.inspact-media-gallery {
    position: relative;
    margin-top: -100px;
    z-index: 3;
    padding: 0 2rem;
}

.media-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.media-carousel::-webkit-scrollbar {
    height: 8px;
}

.media-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.media-carousel::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.media-item {
    flex: 0 0 300px;
    width: 70%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    scroll-snap-align: start;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.media-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-item:hover::after {
    opacity: 1;
}

/* Main Content */
.inspact-content {
    padding: 0px 10px;
}

.inspact-nav-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--darker);
    z-index: 5;
    padding-top: 1rem;
}

.inspact-tab {
    padding: 0.8rem 1.5rem;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: var(--gray);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    font-size: 1rem;
}

.inspact-tab:hover {
    color: var(--lighter);
    background: rgba(255, 255, 255, 0.05);
}

.inspact-tab.active {
    color: var(--primary-light);
    background: rgba(123, 78, 255, 0.1);
}

.inspact-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px 3px 0 0;
}

/* Product Info Section */
.product-info-section {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 3rem;
    margin-bottom: 4rem;
}

.product-main-content {
    background-color: var(--dark);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--lighter);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 2px;
}

.product-description {
    line-height: 1.9;
    color: var(--gray-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--darker);
    border-radius: 16px;
    padding: 1.8rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(123, 78, 255, 0.1);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(123, 78, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--lighter);
    margin-bottom: 0.8rem;
}

.feature-description {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
}

/* Requirements Section */
.requirements-section {
    background: var(--darker);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    transition: var(--transition-normal);
}

.requirements-section:hover {
    transform: translateY(-5px);
    background: rgba(123, 78, 255, 0.1);
    box-shadow: var(--shadow-md);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.requirement-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 78, 255, 0.1);
    border-radius: 10px;
    color: var(--primary-light);
    font-size: 1.2rem;
}

.requirement-label {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 0.3rem;
}

.requirement-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lighter);
}

/* Price Card */
.price-card {
    background: linear-gradient(145deg, var(--primary-dark), var(--primary-dark));
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background-color:var(--primary-dark);
    z-index: 1;
}

.price-card-content {
    position: relative;
    z-index: 2;
}

.price-display {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.price-original {
    font-size: 1.8rem;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.price-discount {
    font-size: 1.2rem;
    color: white;
    font-weight: 700;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-btn, 
.purchase-btn,
.add-to-cart-btn,
.wishlist-btn {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.download-btn {
    background: linear-gradient(145deg, var(--secondary), #009688);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 191, 165, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 191, 165, 0.5);
}

.purchase-btn {
    background: linear-gradient(145deg, var(--secondary), #009688);
    color: white;
    box-shadow: 0 8px 25px rgba(123, 78, 255, 0.3);
}

.purchase-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(123, 78, 255, 0.5);
}

.add-to-cart-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.add-to-cart-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.wishlist-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wishlist-btn:hover {
    background: rgba(255, 82, 82, 0.2);
    transform: translateY(-3px);
}

/* Product Specs */
.product-specs {
    background-color: var(--dark);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 12px;
    background: var(--darker);
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(123, 78, 255, 0.1);
    transform: translateY(-3px);
}

.spec-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    background: rgba(123, 78, 255, 0.1);
    border-radius: 12px;
    font-size: 1.3rem;
}

.spec-label {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 0.3rem;
}

.spec-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--lighter);
}

/* Author Card */
.author-card {
    background-color: var(--dark);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(123, 78, 255, 0.3);
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light);
    box-shadow: 0 8px 20px rgba(123, 78, 255, 0.3);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lighter);
    margin-bottom: 0.5rem;
}

.author-title {
    font-size: 1rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.author-bio {
    font-size: 1rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.author-stats {
    display: flex;
    gap: 1.5rem;
}

.author-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-light);
    font-size: 0.95rem;
}

.author-stat i {
    color: var(--primary-light);
}

/* Reviews Section */
.reviews-section {
    background-color: var(--dark);
}

.reviews-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.average-rating {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #FFD700;
    font-size: 1.6rem;
}

.rating-distribution {
    width: 100%;
    max-width: 400px;
    margin-top: 1.5rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.rating-label {
    width: 80px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-light);
}

.rating-progress {
    flex: 1;
    height: 8px;
    background: var(--darker);
    border-radius: 4px;
    overflow: hidden;
}

.rating-progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    border-radius: 4px;
}

.review-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 0px;
    border-radius: 16px;
    margin: 2rem 0px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-textarea {
    width: 100%;
    min-height: 150px;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    margin-bottom: 1.5rem;
    resize: vertical;
    font-size: 1rem;
    transition: all 0.3s ease;
    line-height: 1.7;
}

.review-textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(123, 78, 255, 0.2);
    outline: none;
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.rating-input span {
    color: var(--gray-light);
    font-size: 1.1rem;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star-rating i {
    font-size: 1.8rem;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-rating i:hover,
.star-rating i.active {
    color: #FFD700;
    transform: scale(1.2);
}

.review-submit {
    padding: 1.2rem 2.5rem;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 20px rgba(123, 78, 255, 0.3);
}

.review-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(123, 78, 255, 0.4);
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.review-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding:0.5rem 0.5rem;
    background-color: var(--darker);
    border-radius: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(123, 78, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    flex: 1;
}

.review-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.review-author {
    font-weight: 700;
    color: var(--lighter);
    font-size: 1.2rem;
}

.review-date , .review-time {
    font-size: 0.9rem;
    color: var(--gray);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #FFD700;
    font-size: 1.1rem;
}

.review-text {
    line-height: 1.9;
    color: var(--gray-light);
    font-size: 1.05rem;
}
.review-body p {
    margin-bottom: 0;
}
.review-name{
    font-size: 0.9rem;
}
.review-rating {
    font-size: 0.9rem;
}
.review-time{
    font-size: 0.8rem;
}
@media (max-width: 400px) {
    .review-name{
        font-size: 0.7rem;
    }
    .review-rating {
        font-size: 0.7rem;
    }
    .review-time{
        font-size: 0.6rem;
    }
}
/* Related Products */
.related-products {
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.product-card {
    background-color: var(--dark);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(123, 78, 255, 0.3);
}

.product-image {
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--lighter);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-author {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-light);
}

.original-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: var(--gray);
    opacity: 0.7;
}

.discount-badge {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(255, 82, 82, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

/* FAQ Section */
#faq-tab{
    height: fit-content;
    min-height: fit-content;
}
.faq-section {
    background-color: var(--dark);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 0rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 1.5rem;
    background:var(--darker);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(123, 78, 255, 0.1);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--lighter);
    margin: 0;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(123, 78, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.faq-question:hover .faq-toggle {
    background: var(--primary);
    color: white;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--darker);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer p {
    color: var(--gray-light);
    line-height: 1.8;
    margin: 0;
}

/* Back Button */
#inspact-back-btn{
    margin: 10px 10px;
    padding: 10px 20px;
    width: fit-content;
    height: fit-content;
    background-color: rgba(123, 78, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    position: fixed;
    right: 10px;
    bottom: 10px;
}

#inspact-back-btn:hover {
    background-color: var(--primary);
    transform: scale(0.9);
    box-shadow: 0 12px 30px rgba(123, 78, 255, 0.5);
}
#inspact-back-btn p {
    margin: 0px;
    color: white;
}

/* Animations */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* =============================================== */
/* Responsive Design - Mobile First Approach */
/* =============================================== */

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
    .inspact-container {
        margin-top: 0;
        margin-bottom: 0;
        border-radius: 0;
    }
    
    .inspact-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .inspact-hero-content{
        padding: 10px 10px;
    }

    .inspact-hero-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .inspact-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .inspact-content {
        padding: 5px;
    }

    .inspact-media-gallery{
        padding: 0px 10px;
    }
    
    .inspact-nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
    }
    
    .inspact-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .tab-content{
        padding: 0px ;
    }
    
    .product-info-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-main-content,
    .product-sidebar {
        padding: 10px;
    }
    .product-main-content{
        max-width: 100%;
        min-width: 100%;
        width: 100%;
    }

    .product-specs{
        padding: 7px 7px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .price-card {
        padding: 1.5rem;
    }
    
    .price-display {
        font-size: 2.5rem;
    }
    
    .price-original {
        font-size: 1.4rem;
    }
    
    .price-discount {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }
    
    .features-grid,
    .requirements-grid,
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .requirement-item,
    .spec-item {
        padding: 1.2rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .author-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .author-stats {
        justify-content: center;
    }

    .reviews-section{
        padding: 7px;
        width: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .review-item {
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 0px;
    }
    
    .review-avatar {
        width: 50px;
        height: 50px;
    }
    
    .reviews-header{
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 0.5rem;
        margin-bottom: 7px;
    }

    .rating-distribution{
        margin-top: 7px;
        margin-bottom: 10px;
    }
    
    .review-form {
        padding: 7px;
    }
    
    .rating-input {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .review-textarea{
        padding: 4px;
    }

    .review-submit{
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .media-item {
        flex: 0 0 250px;
        height: 160px;
    }
    
    #inspact-back-btn {
        right: 0px;
        bottom: calc(var(--header-height));
    }
    .faq-section{
        padding: 0px 0px;
        border: none;
        outline: none;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .inspact-container {
        margin-top: 0;
        margin-bottom: 0;
        border-radius: 0;
    }
    .inspact-hero {
        height: 55vh;
        min-height: 400px;
    }
    
    .inspact-hero-title {
        font-size: 2.2rem;
    }
    
    .inspact-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .features-grid,
    .requirements-grid,
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .author-card {
        flex-direction: row;
        text-align: left;
    }
    
    .author-stats {
        justify-content: flex-start;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .inspact-container {
        margin-top: 0;
        margin-bottom: 0;
        border-radius: 0;
    }
    .inspact-hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .inspact-hero-title {
        font-size: 2.5rem;
    }
    
    .product-info-section {
        grid-template-columns: 1fr;
    }
    
    .product-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .inspact-container {
        margin-top: 0;
        margin-bottom: 0;
        border-radius: 0;
    }
    .inspact-content {
        padding: 2.5rem;
    }
    
    .product-info-section {
        grid-template-columns: 1fr 350px;
    }
}
/* Responsive Design */
@media (max-width: 1200px) {
    .inspact-container {
        margin-top: 0;
        margin-bottom: 0;
        border-radius: 0;
    }
    .product-info-section {
        grid-template-columns: 1fr;
    }
    
    .product-sidebar {
        position: static;
        margin-top: 0rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 1201px) {
    #inspact{
        width: 100%;
        max-width: 100%;
    }
    .inspact-container {
        margin: 0 0 ;
        padding: 1rem 10px 0 10px;
        border-radius: 0;
    }
    #inspact-back-btn{
        right: 10px;
        bottom: 10px;
    }
}
/* ========== Seller Section - Premium Styling ========== */
#seller {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background-color: var(--darker);
    padding: 69px 0 0px 0 ;
    overflow: hidden;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(20px);
}

#seller.active {
    display: grid;
    grid-template-columns: 1fr;
    opacity: 1;
    transform: translateY(0);
}

.seller-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.seller-back-btn {
    margin: 10px 10px;
    padding: 10px 20px;
    width: fit-content;
    height: fit-content;
    background-color: rgba(123, 78, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    position: fixed;
    right: 10px;
    bottom: 10px;
}

.seller-back-btn:hover {
    background-color: var(--primary);
    transform: scale(0.9);
    box-shadow: 0 12px 30px rgba(123, 78, 255, 0.5);
}

.seller-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.seller-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px;
}

.seller-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-light);
    box-shadow: 0 10px 30px rgba(123, 78, 255, 0.3);
    flex-shrink: 0;
    transition: all 0.5s ease;
}

.seller-avatar:hover {
    transform: rotate(10deg) scale(1.05);
}

.seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-info {
    flex: 1;
}

.seller-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--lighter);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.seller-bio {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 700px;
}

.seller-stats {
    display: flex;
    gap: 3rem;
}

.seller-stat {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.seller-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
    justify-content: center;
}

.seller-rating i {
    color: #FFD700;
    font-size: 1.2rem;
}

.seller-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 3rem;
    position: relative;
}

.seller-tabs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px;
    transition: all 0.4s ease;
}

.seller-tab {
    padding: 1.2rem 2rem;
    background: transparent;
    border: none;
    color: var(--gray);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px 10px 0 0;
}

.seller-tab.active {
    color: var(--primary-light);
    background: rgba(123, 78, 255, 0.1);
}


.seller-tab:hover {
    color: var(--lighter);
}

.seller-content {
    margin-bottom: 4rem;
}

.seller-section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--lighter);
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.seller-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px;
}

.seller-products {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
}
.loading-spinner{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    gap: 2px;
}
.loading-spinner div{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(--darker);
    padding: 1rem 2rem 2rem 2rem;
    border-radius: 2rem;
}

.loading-spinner strong{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 7px;
    color: var(--lighter);
}

.loading-spinner strong i{
    color: var(--lighter);
    aspect-ratio: 1/1;
    width: min-content;
    max-width: min-content;
    height: min-content;
    max-height: min-content;
}

/* Holographic Icon */
.no-products{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    grid-column-start:1;
    grid-column-end: -1;
}
.no-products>div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.no-products>div>div:last-child{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.holographic-icon {
    width: 140px;
    height: 140px;
    margin-bottom: 2rem;
    filter: drop-shadow(var(--glow));
  }

  /* Typography */
  .futuristic-title {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #00E0FF, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
  }

  .futuristic-subtitle {
    text-align: center;
    font-size: 1rem;
    opacity: 1;
    color: var(--gray);
    max-width: 400px;
    line-height: 1.5;
  }



/* ========== Payment Gateway - Premium Styling ========== */
#payment-gateway {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#payment-gateway.active {
    display: flex;
    opacity: 1;
}

.payment-container {
    background-color: var(--darker);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#payment-gateway.active .payment-container {
    transform: scale(1);
}

.payment-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
    position: relative;
}

.payment-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-close:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: rotate(90deg);
}

.payment-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: white;
}

.payment-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
    color: rgb(230, 230, 230);
}

.payment-body {
    padding: 2.5rem;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.payment-summary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 1.5rem;
}

.payment-item-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.payment-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.payment-item-name {
    font-weight: 600;
    color: var(--lighter);
    font-size: 1.1rem;
}

.payment-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.price-breakdown {
    background-color: var(--dark);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    width: 100%;
}

.price-breakdown .price-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.price-breakdown .price-row:last-child {
    border-bottom: none;
}

.price-breakdown  .price-row span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--lighter);
    font-size: 15px;
}

.price-breakdown .price-row span:last-child {
    font-weight: 500;
    color: var(--lighter);
}

.price-breakdown .price-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed #e0e0e0;
}

.price-breakdown .price-row.total span:first-child {
    font-weight: 600;
    color: var(--lighter);
    font-size: 16px;
}

.price-breakdown .price-row.total span:last-child {
    font-weight: 700;
    color: #2e7d32;
    font-size: 18px;
}

.price-breakdown .discount span:last-child {
    color: #d32f2f !important;
}

/* Icons colors */
.price-breakdown .fa-tag {
    color: #4caf50;
}

.price-breakdown .fa-percentage {
    color: #f44336;
}

.price-breakdown .fa-shield-alt {
    color: #2196f3;
}

.price-breakdown .fa-receipt {
    color: #673ab7;
}

.payment-methods {
    margin-bottom: 3rem;
}

.payment-methods h3 {
    font-size: 1.2rem;
    color: var(--lighter);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--dark);
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.payment-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-light);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary);
    background: rgba(123, 78, 255, 0.05);
}

.payment-method:hover::before {
    transform: translateX(0);
}

.payment-method.active {
    border-color: var(--primary);
    background: rgba(123, 78, 255, 0.1);
}

.payment-method.active::before {
    transform: translateX(0);
}

.payment-method-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(123, 78, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-light);
    flex-shrink: 0;
}

.payment-method-info {
    flex: 1;
}

.payment-method-name {
    font-weight: 600;
    color: var(--lighter);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.payment-method-desc {
    font-size: 0.9rem;
    color: var(--gray);
}

.payment-actions {
    display: flex;
    gap: 1.5rem;
}

.payment-cancel {
    padding: 1.2rem;
    border-radius: 12px;
    background: var(--dark);
    color: var(--lighter);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    font-size: 1rem;
}

.payment-cancel:hover {
    transform: translateY(-3px);
}

.payment-confirm {
    padding: 1.2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.payment-confirm:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 8px 25px rgba(123, 78, 255, 0.4);
    transform: translateY(-3px);
} 

/* Loading state for payment button */
.payment-confirm.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.payment-confirm.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Razorpay modal adjustments */
.razorpay-container {
    font-family: inherit !important;
}

/* Error message styling */
.payment-error {
    color: var(--accent);
    background: rgba(255, 94, 125, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    display: none;
    text-align: center;
    font-size: 0.9rem;
}

.payment-error.show {
    display: block;
}

/* ========== Responsive Adjustments ========== */
@media (max-width: 1200px) {
    .seller-container {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }
}

@media (max-width: 992px) {
    .seller-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .seller-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .seller-stat:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .seller-container,
    #payment-gateway {
        padding: 1.5rem 7px;
    }
    
    .payment-container{
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .payment-method {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-method-icon {
        margin-bottom: 1rem;
    }
    
    .payment-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    #seller{
        padding: 69px 0 72.2px 0 ;
    }
    .seller-container{
        padding: 1rem 7px;
    }
    .seller-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
    }
    
    .seller-tab {
        font-size: 1rem;
        padding: 0.5rem 0.7rem;
    }

    .seller-name{
        font-size: 1.5rem;
        width: 100%;
        overflow: hidden;
    }

    .seller-stats{
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .seller-stat{
        width: fit-content;
    }

    .seller-back-btn {
        right: 0px;
        bottom: calc(var(--header-height));
    }
    
    .payment-body {
        padding: 1.5rem;
    }
    
    .payment-item {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 1rem;
    }
    
    .payment-price {
        margin-top: 1rem;
    }
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
    }
    to {
        transform: translateY(0);
    }
}


/* ========== Lightbox Base Styles ========== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    padding: 2rem;
    box-sizing: border-box;
}

.lightbox::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(45, 45, 60, 0.8) 0%, rgba(15, 15, 26, 0.95) 100%);
    z-index: -1;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* ========== Lightbox Content Styles ========== */
.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    overflow: hidden;
    border-radius: 12px;
    background: var(--darker);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    box-sizing: border-box;
    transform: scale(0.98);
    transition: transform 0.3s ease-out;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.lightbox-content-inner::-webkit-scrollbar {
    display: none;
}

/* ========== Image Styles ========== */
.lightbox-img {
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-img:active {
    cursor: grabbing;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

/* ========== Navigation Controls ========== */
.lightbox-nav {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    z-index: 10;
    margin-top: 1rem;
}

.lightbox-btn {
    background:var(--dark);
    color: var(--lighter);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    font-size: 1.5rem;
    opacity: 0.9;
}

.lightbox-btn:active{
    transform: scale(0.9);
    box-shadow:var(--glow);
}

.lightbox-btn:hover::before {
    opacity: 1;
}

.lightbox-btn i {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    background: linear-gradient(145deg, #ff3a3a, #cc2a2a);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    font-size: 1.5rem;
    opacity: 0.9;
}

.lightbox-close::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
                rgba(255, 60, 60, 0.3), 
                rgba(255, 30, 30, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
    opacity: 1;
    box-shadow: 0 0 15px rgba(255, 60, 60, 0.5);
}

.lightbox-close:hover::before {
    opacity: 1;
}

/* ========== Caption Styles ========== */
.lightbox-caption {
    margin-top: 1.5rem;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
    font-family: 'Arial', sans-serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox.active .lightbox-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Thumbnail Styles ========== */
.lightbox-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
    padding: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    height: fit-content;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    position: relative;
}

.lightbox-thumbnails::-webkit-scrollbar {
    display: none;
}

.lightbox-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    filter: brightness(0.9);
}

.lightbox-thumbnail:hover {
    opacity: 0.9;
    border-color: var(--glow);
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: var(--glow);
}

.lightbox-thumbnail.active {
    opacity: 1;
    border-color: var(--primary);
    transform: translateY(-5px);
    filter: brightness(1.2);
    box-shadow: var(--glow);
}

/* ========== Animations ========== */
@keyframes lightboxIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

@keyframes pulse {
    0% {
        box-shadow: var(--glow);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 180, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 180, 255, 0);
    }
}

.lightbox-content-inner {
    animation: lightboxIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* ========== Loading Indicator ========== */
.lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    z-index: 5;
    display: none;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ========== Responsive Styles ========== */
/* Extra Small Devices (Phones, 320px and up) */
@media (min-width: 320px) and (max-width: 575px) {
    .lightbox {
        padding: 0.5rem;
    }
    
    .lightbox-content {
        max-height: 95vh;
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .lightbox-img {
        max-height: 60vh;
    }
    
    .lightbox-nav {
        padding: 0;
        margin-top: 0.5rem;
    }
    
    .lightbox-btn, .lightbox-close {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    
    .lightbox-caption {
        font-size: 1rem;
        margin-top: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .lightbox-thumbnails {
        gap: 8px;
        padding: 8px;
    }
    
    .lightbox-thumbnail {
        width: 60px;
        height: 45px;
    }
}

/* Small Devices (Tablets, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .lightbox-content {
        max-height: 90vh;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .lightbox-img {
        max-height: 65vh;
    }
    
    .lightbox-btn, .lightbox-close {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    
    .lightbox-caption {
        font-size: 1.1rem;
    }
    
    .lightbox-thumbnail {
        width: 70px;
        height: 52px;
    }
}

/* Medium Devices (Laptops, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .lightbox-content {
        max-height: 85vh;
    }
    
    .lightbox-img {
        max-height: 68vh;
    }
    
    .lightbox-caption {
        font-size: 1.15rem;
    }
    .lightbox-thumbnails{
        height: fit-content;
        min-height: fit-content;
    }
    .lightbox-thumbnail {
        width: 90px;
        height: fit-content;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .lightbox-content {
        max-height: 85vh;
    }
    
    .lightbox-img {
        max-height: 70vh;
    }

    .lightbox-thumbnails{
        height: fit-content;
        min-height: fit-content;
    }
    .lightbox-thumbnail {
        width: 90px;
        height: fit-content;
    }
}

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .lightbox-content-inner{
        overflow-y: auto;
        overflow-x: hidden;
    }
    .lightbox-content {
        max-height: 95vh;
    }
    
    .lightbox-img {
        max-height: 72vh;
    }
    .lightbox-thumbnails{
        height: fit-content;
        min-height: fit-content;
    }
    .lightbox-thumbnail {
        width: 90px;
        height: fit-content;
    }
}

/* ========== Special Effects ========== */
.lightbox-btn.pulse {
    animation: pulse 1.5s infinite;
}

/* ========== Touch Device Optimizations ========== */
@media (hover: none) {
    .lightbox-btn, .lightbox-close, .lightbox-thumbnail {
        transform: none !important;
    }
    
    .lightbox-btn:hover, .lightbox-close:hover, .lightbox-thumbnail:hover {
        transform: none !important;
    }
    
    .lightbox-thumbnail.active {
        transform: translateY(-5px) !important;
    }
}

/* ========== High Contrast Mode ========== */
@media (prefers-contrast: more) {
    .lightbox {
        background-color: rgba(0, 0, 0, 1);
    }
    
    .lightbox-btn, .lightbox-close {
        border: 2px solid white;
    }
    
    .lightbox-thumbnail.active {
        border-width: 3px;
    }
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
    .lightbox, 
    .lightbox-content-inner,
    .lightbox-img,
    .lightbox-caption,
    .lightbox-btn,
    .lightbox-close,
    .lightbox-thumbnail {
        transition: none !important;
        animation: none !important;
    }
    
    .lightbox.active .lightbox-img,
    .lightbox.active .lightbox-caption {
        transform: none !important;
    }
}

/* ========== Landscape Orientation ========== */
@media (orientation: landscape) and (max-height: 600px) {
    .lightbox-content {
        flex-direction: row;
        max-height: 95vh;
        gap: 1rem;
        padding: 1rem;
    }
    
    .lightbox-content-inner {
        flex-direction: row;
        align-items: center;
    }
    
    .lightbox-img {
        max-height: 90vh;
        max-width: 70%;
    }
    
    .lightbox-thumbnails {
        flex-direction: column;
        max-height: 80vh;
        overflow-y: auto;
        overflow-x: hidden;
        margin-top: 0;
        margin-left: 1rem;
    }
    
    .lightbox-caption {
        position: absolute;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
    }
    
    .lightbox-nav {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: auto;
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========== Ultra-Wide Screens ========== */
@media (min-width: 2000px) {
    .lightbox-content {
        max-width: 70%;
    }
    
    .lightbox-img {
        max-height: 80vh;
    }
    
    .lightbox-thumbnail {
        width: 100px;
        height: 75px;
    }
}

/* ========== Print Styles ========== */
@media print {
    .lightbox {
        position: static;
        background: white;
        display: block;
        height: auto;
        padding: 0;
    }
    
    .lightbox-content {
        max-width: 100%;
        max-height: none;
        box-shadow: none;
        border: none;
        padding: 0;
    }
    
    .lightbox-img {
        max-height: none;
        filter: none !important;
    }
    
    .lightbox-nav, .lightbox-thumbnails {
        display: none;
    }
    
    .lightbox-caption {
        color: black;
        background: none;
        text-shadow: none;
        border: none;
    }
}


/* Gaming Analytics Styles */
.gaming-analytics-container {
    padding: 0px 0px;
    padding-bottom: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: calc(100%);
}

.ga-realtime-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 10px 0px 30px 0px;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
}

.ga-stat-card {
    margin: 0px auto;
    width: calc(100% - 40px);
    min-width: calc(100% - 40px);
    max-width: calc(100% - 40px);
    background: var(--light);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--darker);
}

.ga-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ga-primary-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.ga-secondary-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
    background: linear-gradient(90deg, var(--secondary), var(--primary-light));
}

.ga-accent-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
}

.ga-stat-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gray-light);
}

.ga-stat-header i {
    font-size: 24px;
    margin-right: 10px;
    color: var(--primary);
}

.ga-stat-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.ga-stat-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--lighter);
    font-family: 'Rajdhani', sans-serif;
}

.ga-stat-change {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--gray);
}

.ga-change-indicator {
    margin-right: 5px;
    font-weight: 600;
}

.ga-charts-section {
    position: relative;
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    .ga-charts-section {
        grid-template-columns: 1fr 1fr;
    }
}

.ga-chart-container {
    position: relative;
    margin: 0px auto;
    min-width: calc(100% - 30px);
    width:calc(100% - 30px);
    max-width:calc(100% - 30px);
    background: var(--light);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--darker);
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
}

.ga-chart-container canvas{
    position: relative;
    min-width: calc(100% );
    width: calc(100% );
    max-width: calc(100%);
    min-height: 400px;
    height: fit-content;
    max-height: 400px;
}

.ga-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    row-gap: 10px;
    flex-direction: column;
}

.ga-chart-header h3 {
    margin: 0;
    color: var(--lighter);
    font-size: 12px;
}

.ga-chart-toggles {
    display: flex;
    gap: 10px;
}

.ga-chart-toggle {
    background: var(--dark);
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--gray-light);
}

.ga-chart-toggle.active {
    background: var(--primary);
    color: white;
}

.ga-chart-toggle:hover:not(.active) {
    background: var(--darker);
}

.ga-averages-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.ga-average-card {
    margin: 0px auto;
    min-width: calc(100% - 40px);
    width:calc(100% - 40px);
    max-width:calc(100% - 40px);
    background: var(--light);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    border: 1px solid var(--darker);
}

.ga-average-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(123, 78, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    font-size: 18px;
}

.ga-average-content h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: var(--gray);
}

.ga-average-content p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--lighter);
}

/* Animation for stat changes */
@keyframes gaPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.ga-stat-updated {
    animation: gaPulse 0.5s ease;
}

/* Dark theme adjustments */
[data-theme="dark"] .ga-stat-card,
[data-theme="dark"] .ga-chart-container,
[data-theme="dark"] .ga-average-card {
    background: var(--dark);
    border-color: var(--darker);
}

[data-theme="dark"] .ga-chart-toggle {
    background: var(--darker);
}

[data-theme="dark"] .ga-average-icon {
    background: rgba(248, 249, 255, 0.1);
}

.ga-loading-state, .ga-error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--gray-light);
}

.ga-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--darker);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: gaSpin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes gaSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ga-error-state i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 15px;
}

.ga-retry-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    margin-top: 15px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.ga-retry-btn:hover {
    background: var(--primary-dark);
}

.positive {
    color: #00BFA5 !important;
}

.negative {
    color: #FF5252 !important;
}
/* User Earnings Analytics Styles */

.UE-Earn-charts-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.UE-Earn-chart-container {
    background: var(--dark);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--darker);
    position: relative;
    min-width: calc(100% - 30px);
    width: calc(100% - 30px);
    max-width: calc(100% - 30px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
    margin: 0px auto;
}

.UE-Earn-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    row-gap: 20px;
    flex-direction: column;
}

.UE-Earn-chart-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--lighter);
}

.UE-Earn-chart-actions {
    display: flex;
    gap: 8px;
}

.UE-Earn-chart-btn {
    background: var(--dark);
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--gray-light);
}

.UE-Earn-chart-btn.active {
    background: var(--primary);
    color: white;
}

.UE-Earn-chart-btn:hover:not(.active) {
    background: var(--darker);
}

.UE-Earn-chart-wrapper {
    position: relative;
    height: 300px;
    width: 100%;
}

.UE-Earn-stats-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.UE-Earn-stats-container {
    background: var(--dark);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--darker);
}

.UE-Earn-stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-direction: column;
}

.UE-Earn-stats-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--lighter);
}

.UE-Earn-view-all {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.UE-Earn-view-all:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.UE-Earn-positive {
    color: #00C853;
}

.UE-Earn-negative {
    color: #FF5252;
}

/* Gaming effects */
.UE-Earn-summary-card {
    position: relative;
    overflow: hidden;
}

.UE-Earn-summary-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(123, 78, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-normal);
}

.UE-Earn-summary-card:hover::before {
    opacity: 1;
}

.UE-Earn-glow-effect {
    box-shadow: var(--glow);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .UE-Earn-charts-section,
    .UE-Earn-stats-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .UE-Earn-summary-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .UE-Earn-summary-cards {
        grid-template-columns: 1fr;
    }
}
/* ========== Account & Withdrawal Styles ========== */
.UE-Wt-Account-section {
    padding: 2rem 0;
    background: var(--darker);
    min-height: 100vh;
}

.UE-Wt-Account-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.UE-Wt-Account-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.UE-Wt-Account-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.UE-Wt-Account-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.UE-Wt-Account-title-icon {
    margin-right: 0.5rem;
    animation: UE-Wt-Account-icon-bounce 2s infinite;
}

.UE-Wt-Account-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.UE-Wt-Account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.UE-Wt-Account-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.UE-Wt-Account-card {
    background: var(--light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--darker);
}

.UE-Wt-Account-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.UE-Wt-Account-card-header {
    padding: 1.2rem 1.5rem;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.UE-Wt-Account-card-title {
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
    color: white;
}

.UE-Wt-Account-card-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.UE-Wt-Account-card-content {
    padding: 1.5rem;
    background-color: var(--dark);
}

.UE-Wt-Account-bank-list, .UE-Wt-Account-upi-container {
    margin-bottom: 1.5rem;
}

.UE-Wt-Account-bank-item {
    background: var(--darker);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.UE-Wt-Account-bank-item:hover {
    transform: translateX(5px);
}

.UE-Wt-Account-bank-info {
    flex: 1;
}

.UE-Wt-Account-bank-name {
    font-weight: 600;
    color: var(--gray-light);
    margin-bottom: 0.25rem;
}

.UE-Wt-Account-bank-details {
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.UE-Wt-Account-bank-actions {
    display: flex;
    gap: 0.5rem;
}

.UE-Wt-Account-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.UE-Wt-Account-btn i {
    font-size: 0.9em;
}

.UE-Wt-Account-btn-primary {
    background: var(--primary);
    color: white;
}

.UE-Wt-Account-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.UE-Wt-Account-btn-secondary {
    background: var(--secondary);
    color: white;
}
.UE-Wt-Account-add-upi-btn,.UE-Wt-Account-add-bank-btn,.UE-Wt-Account-download-btn{
    padding: 1rem 2rem;
}
.UE-Wt-Account-btn-secondary:hover {
    background: #00a895;
    transform: translateY(-2px);
}

.UE-Wt-Account-btn-icon {
    padding: 0.5rem;
    border-radius: 10px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.UE-Wt-Account-btn-danger {
    background: var(--accent);
    color: white;
    aspect-ratio: 1/1;
}

.UE-Wt-Account-btn-danger:hover {
    background: #e04141;
    transform: translateY(-2px);
}

.UE-Wt-Account-empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--gray);
}

.UE-Wt-Account-empty-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    opacity: 0.7;
}

.UE-Wt-Account-form-group {
    margin-bottom: 1.25rem;
}

.UE-Wt-Account-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-light);
}
.UE-Wt-Account-upi-id{
    color: var(--lighter);
}
.UE-Wt-Account-upi-pending{
    color: var(--gray);
}
.UE-Wt-Account-upi-info{
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}
.UE-Wt-Account-upi-item{
    display: grid;
    grid-template-columns: 1fr auto ;
}
.UE-Wt-Account-upi-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: fit-content;
    max-width: 80px;
    max-height: 40px;
}

.UE-Wt-Account-form-input, .UE-Wt-Account-form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--darker);
    background: var(--darker);
    color: var(--gray-light);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.UE-Wt-Account-form-input:focus, .UE-Wt-Account-form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123, 78, 255, 0.1);
}

.UE-Wt-Account-input-group {
    display: flex;
    gap: 0.5rem;
}

#UE-Wt-Account-Save-Chnages-btn{
    padding: 20px;
    font-size: 1rem;
    color: white;
    background-color: var(--secondary);
    min-width:fit-content;
    height: 100%;
}

.UE-Wt-Account-form-hint {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

.UE-Wt-Account-history-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.UE-Wt-Account-history-select {
    flex: 1;
}

.UE-Wt-Account-history-item {
    background: var(--darker);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.UE-Wt-Account-history-item:hover {
    transform: translateX(3px);
}

.UE-Wt-Account-history-info {
    flex: 1;
}

.UE-Wt-Account-history-amount {
    font-weight: 600;
    color: var(--lighter);
}

.UE-Wt-Account-history-date {
    font-size: 0.9rem;
    color: var(--gray);
}

.UE-Wt-Account-history-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.UE-Wt-Account-history-status.success {
    background: rgba(0, 191, 165, 0.1);
    color: var(--secondary);
}

.UE-Wt-Account-history-status.pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.UE-Wt-Account-history-status.failed {
    background: rgba(255, 82, 82, 0.1);
    color: var(--accent);
}

.UE-Wt-Account-actions {
    margin-top: 2rem;
    text-align: center;
}

.UE-Wt-Account-btn-save {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.UE-Wt-Account-btn-save::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(30deg);
    transition: var(--transition-normal);
}

.UE-Wt-Account-btn-save:hover::before {
    transform: rotate(30deg) translate(10%, 10%);
}

.UE-Wt-Account-btn-loader {
    display: none;
}

/* Modal Styles */
.UE-Wt-Account-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.UE-Wt-Account-modal.active {
    opacity: 1;
    visibility: visible;
}

.UE-Wt-Account-modal-content {
    background: var(--dark);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.UE-Wt-Account-modal.active .UE-Wt-Account-modal-content {
    transform: translateY(0);
}

.UE-Wt-Account-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--darker);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.UE-Wt-Account-modal-title {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary);
}

.UE-Wt-Account-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition-fast);
}

.UE-Wt-Account-modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.UE-Wt-Account-modal-body {
    padding: 1.5rem;
}

.UE-Wt-Account-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--darker);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}
.UE-Wt-Account-input-error-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.UE-Wt-Account-input-error {
    position: absolute;
    bottom: -1.25rem;
    left: 0;
    color: #ff4d4f;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.UE-Wt-Account-input-error-container input {
    border-color: #ff4d4f !important;
}
/* Animations */
@keyframes UE-Wt-Account-icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 992px) {
    .UE-Wt-Account-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .UE-Wt-Account-container {
        padding: 0 1rem;
    }
    
    .UE-Wt-Account-title {
        font-size: 2rem;
    }
    
    .UE-Wt-Account-history-controls {
        flex-direction: column;
    }
    
    .UE-Wt-Account-input-group {
        flex-direction: column;
    }
    
    .UE-Wt-Account-btn {
        width: 100%;
    }
}
/* ========== Withdrawal Request Styles ========== */
.UE-WT-Pr-section {
    padding: 2rem 0;
    background: var(--darker);
    min-height: 100vh;
}

.UE-WT-Pr-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.UE-WT-Pr-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.UE-WT-Pr-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.UE-WT-Pr-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.UE-WT-Pr-title-icon {
    margin-right: 0.5rem;
    animation: UE-WT-Pr-icon-pulse 2s infinite;
}

.UE-WT-Pr-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.UE-WT-Pr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.UE-WT-Pr-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.UE-WT-Pr-card {
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--darker);
}

.UE-WT-Pr-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.UE-WT-Pr-card-header {
    padding: 1.2rem 1.5rem;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.UE-WT-Pr-card-title {
    color: white;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

.UE-WT-Pr-card-content {
    padding: 1.5rem;
}

.UE-WT-Pr-form-group {
    margin-bottom: 1.5rem;
}

.UE-WT-Pr-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-light);
}

.UE-WT-Pr-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--darker);
    background: var(--darker);
    color: var(--gray-light);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.UE-WT-Pr-form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123, 78, 255, 0.1);
}

.UE-WT-Pr-amount-container {
    position: relative;
    display: flex;
    align-items: center;
}

.UE-WT-Pr-amount-input {
    padding-right: 3rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.UE-WT-Pr-currency {
    position: absolute;
    right: 1rem;
    font-weight: 600;
    color: var(--gray);
}

.UE-WT-Pr-balance-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.UE-WT-Pr-balance-label {
    color: var(--gray);
}

.UE-WT-Pr-balance-amount {
    font-weight: 600;
    color: var(--secondary);
}

.UE-WT-Pr-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.UE-WT-Pr-btn i {
    font-size: 0.9em;
}

.UE-WT-Pr-btn-primary {
    background: var(--primary);
    color: white;
}

.UE-WT-Pr-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.UE-WT-Pr-btn-primary:disabled{
    filter: saturate(50%) brightness(70%);
}

.UE-WT-Pr-btn-secondary {
    background: var(--secondary);
    color: white;
}

.UE-WT-Pr-btn-secondary:hover {
    background: #00a895;
    transform: translateY(-2px);
}

.UE-WT-Pr-btn-icon {
    padding: 0.5rem;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.UE-WT-Pr-btn-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

.UE-WT-Pr-btn-link {
    background: none;
    color: var(--primary);
    padding: 0;
    text-decoration: underline;
}

.UE-WT-Pr-btn-link:hover {
    color: var(--primary-dark);
    transform: none;
    box-shadow: none;
}

.UE-WT-Pr-btn-loader {
    display: none;
}

.UE-WT-Pr-method-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.UE-WT-Pr-method-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    background: var(--darker);
    border: 1px solid var(--darker);
    cursor: pointer;
    transition: var(--transition-fast);
}

.UE-WT-Pr-method-option:hover {
    border-color: var(--primary-light);
    transform: translateX(3px);
}

.UE-WT-Pr-method-option.selected {
    border-color: var(--primary);
    background: rgba(123, 78, 255, 0.05);
    box-shadow: 0 0 0 1px var(--primary);
}

.UE-WT-Pr-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(123, 78, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.UE-WT-Pr-method-info {
    flex: 1;
}

.UE-WT-Pr-method-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--lighter);
}

.UE-WT-Pr-method-status{
    color: var(--lighter);
}

.UE-WT-Pr-method-details {
    font-size: 0.85rem;
    color: var(--gray);
}

.UE-WT-Pr-method-fee {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

.UE-WT-Pr-note-container {
    margin-top: 2rem;
}

.UE-WT-Pr-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 191, 165, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.UE-WT-Pr-note-icon {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.UE-WT-Pr-note-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-light);
}

.UE-WT-Pr-form-actions {
    margin-top: 2rem;
}

.UE-WT-Pr-submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--secondary);
}

#UE-WT-Pr-refresh-btn:active{
    transition: 0.3s linear;
    transform: rotate(360deg);
}

.UE-WT-Pr-history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.UE-WT-Pr-history-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    background: var(--darker);
    transition: var(--transition-fast);
}

.UE-WT-Pr-history-item:hover {
    transform: translateX(3px);
}

.UE-WT-Pr-history-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(123, 78, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary);
}

.UE-WT-Pr-history-info {
    flex: 1;
}

.UE-WT-Pr-history-amount {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--lighter);
}

.UE-WT-Pr-history-details {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.UE-WT-Pr-history-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.UE-WT-Pr-history-status.success {
    background: rgba(0, 191, 165, 0.1);
    color: var(--secondary);
}

.UE-WT-Pr-history-status.pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.UE-WT-Pr-limits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.UE-WT-Pr-limit-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--darker);
}

.UE-WT-Pr-limit-label {
    color: var(--gray);
}

.UE-WT-Pr-limit-value {
    font-weight: 600;
    color: var(--gray-light);
}

.UE-WT-Pr-empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--gray);
}

.UE-WT-Pr-empty-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    opacity: 0.7;
}

.UE-WT-Pr-empty-hint {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Modal Styles */
.UE-WT-Pr-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.UE-WT-Pr-modal.active {
    opacity: 1;
    visibility: visible;
}

.UE-WT-Pr-modal-content {
    background: var(--dark);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.UE-WT-Pr-modal.active .UE-WT-Pr-modal-content {
    transform: translateY(0);
}

.UE-WT-Pr-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--darker);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.UE-WT-Pr-modal-title {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary);
}

.UE-WT-Pr-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition-fast);
}

.UE-WT-Pr-modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.UE-WT-Pr-modal-body {
    padding: 1.5rem;
}

.UE-WT-Pr-confirm-details {
    margin-bottom: 1.5rem;
}

.UE-WT-Pr-confirm-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--darker);
}

.UE-WT-Pr-confirm-label {
    color: var(--gray);
}

.UE-WT-Pr-confirm-value {
    font-weight: 600;
    text-align: right;
    color: var(--lighter);
}

.UE-WT-Pr-confirm-fee {
    color: var(--accent);
}

.UE-WT-Pr-confirm-total {
    font-size: 1.2rem;
    color: var(--primary);
}

.UE-WT-Pr-confirm-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 82, 82, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    margin-top: 1.5rem;
}

.UE-WT-Pr-confirm-icon {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.UE-WT-Pr-confirm-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-light);
}
.UE-WT-Pr-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--darker);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.UE-WT-Pr-modal-footer button{
    padding: 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.UE-WT-Pr-modal-cancel{
    background-color: var(--accent);
}
.UE-WT-Pr-modal-confirm{
    background-color: var(--secondary);
}
@media (max-width: 360px) {
    .UE-WT-Pr-modal-footer {
        display: flex;
        justify-content: flex-end;
    }
    .UE-WT-Pr-modal-footer button{
        padding: 1rem 1rem;
    }
}

/* Animations */
@keyframes UE-WT-Pr-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive */
@media (max-width: 992px) {
    .UE-WT-Pr-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .UE-WT-Pr-container {
        padding: 0 1rem;
    }
    
    .UE-WT-Pr-title {
        font-size: 2rem;
    }
    
    .UE-WT-Pr-modal-footer {
        flex-direction: column;
    }
    
    .UE-WT-Pr-modal-footer .UE-WT-Pr-btn {
        width: 100%;
    }
}
/* ========== My Library Styles ========== */
.UE-MY-Lib-section {
    padding: 2rem 0;
    background: var(--dark);
    min-height: 100vh;
}

.UE-MY-Lib-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.UE-MY-Lib-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.UE-MY-Lib-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.UE-MY-Lib-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.UE-MY-Lib-title-icon {
    margin-right: 0.5rem;
    animation: UE-MY-Lib-icon-bounce 2s infinite;
}

.UE-MY-Lib-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.UE-MY-Lib-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.UE-MY-Lib-filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.UE-MY-Lib-filter-label {
    color: var(--gray-light);
    font-weight: 600;
    white-space: nowrap;
}

.UE-MY-Lib-filter-select {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--darker);
    background: var(--darker);
    color: var(--gray-light);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.UE-MY-Lib-filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123, 78, 255, 0.1);
}

.UE-MY-Lib-search {
    flex: 1;
    max-width: 300px;
    min-width: 200px;
    position: relative;
    margin-left: auto;
}

.UE-MY-Lib-search-input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border-radius: 6px;
    border: 1px solid var(--darker);
    background: var(--darker);
    color: var(--gray-light);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.UE-MY-Lib-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123, 78, 255, 0.1);
}

.UE-MY-Lib-search-btn {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
}

.UE-MY-Lib-content {
    margin-top: 1.5rem;
}

.UE-MY-Lib-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.UE-MY-Lib-item {
    background: var(--darker);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--darker);
    display: flex;
    flex-direction: column;
}

.UE-MY-Lib-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.UE-MY-Lib-item-image-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.UE-MY-Lib-item-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.UE-MY-Lib-item:hover .UE-MY-Lib-item-image {
    transform: scale(1.05);
}

.UE-MY-Lib-item-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--primary);
    color: white;
}

.UE-MY-Lib-item-badge.free {
    background: var(--secondary);
}

.UE-MY-Lib-item-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.UE-MY-Lib-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.UE-MY-Lib-item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.UE-MY-Lib-item-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.UE-MY-Lib-item-price {
    font-weight: 600;
    color: var(--secondary);
}

.UE-MY-Lib-item-price.free {
    color: var(--secondary);
}

.UE-MY-Lib-item-actions {
    margin-top: auto;
    display: flex;
    gap: 0.75rem;
}

.UE-MY-Lib-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.UE-MY-Lib-btn i {
    font-size: 0.9em;
}

.UE-MY-Lib-btn-primary {
    background: var(--primary);
    color: white;
    flex: 1;
    justify-content: center;
}

.UE-MY-Lib-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.UE-MY-Lib-btn-secondary {
    background: var(--dark);
    color: var(--gray-light);
    border: 1px solid var(--darker);
}

.UE-MY-Lib-btn-secondary:hover {
    background: var(--darker);
    transform: translateY(-2px);
}

.UE-MY-Lib-btn-icon {
    padding: 0.5rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: var(--gray-light);
    border: 1px solid var(--darker);
}

.UE-MY-Lib-btn-icon:hover {
    background: var(--darker);
    color: var(--primary);
    border-color: var(--primary-light);
}

.UE-MY-Lib-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray);
}

.UE-MY-Lib-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    opacity: 0.7;
}

.UE-MY-Lib-empty-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-light);
}

.UE-MY-Lib-empty-text {
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.UE-MY-Lib-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.UE-MY-Lib-pagination-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--darker);
    background: var(--dark);
    color: var(--gray-light);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.UE-MY-Lib-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.UE-MY-Lib-pagination-btn:not(:disabled):hover {
    background: var(--darker);
    color: var(--primary);
    border-color: var(--primary-light);
}

.UE-MY-Lib-pagination-pages {
    display: flex;
    gap: 0.5rem;
}

.UE-MY-Lib-pagination-page {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--dark);
    color: var(--gray-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.UE-MY-Lib-pagination-page:hover {
    background: var(--darker);
    color: var(--primary);
}

.UE-MY-Lib-pagination-page.active {
    background: var(--primary);
    color: white;
}

.UE-MY-Lib-pagination-dots {
    display: flex;
    align-items: flex-end;
    padding-bottom: 0.5rem;
}
.UE-MY-Lib-loading-more, 
.UE-MY-Lib-end-message {
    text-align: center;
    padding: 20px;
    width: 100%;
    color: #666;
}

.UE-MY-Lib-loading-more i {
    margin-right: 8px;
}

.UE-MY-Lib-end-message {
    border-top: 1px solid #eee;
    margin-top: 20px;
    padding-top: 30px;
}

/* Modal Styles */
.UE-MY-Lib-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.UE-MY-Lib-modal.active {
    opacity: 1;
    visibility: visible;
}

.UE-MY-Lib-modal-content {
    background: var(--dark);
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.UE-MY-Lib-modal.active .UE-MY-Lib-modal-content {
    transform: translateY(0);
}

.UE-MY-Lib-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--darker);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.UE-MY-Lib-modal-title {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary);
}

.UE-MY-Lib-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition-fast);
}

.UE-MY-Lib-modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.UE-MY-Lib-modal-body {
    padding: 1.5rem;
}

.UE-MY-Lib-download-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--darker);
}

.UE-MY-Lib-download-image {
    width: 120px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.UE-MY-Lib-download-info {
    flex: 1;
}

.UE-MY-Lib-download-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-light);
}

.UE-MY-Lib-download-meta {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.UE-MY-Lib-download-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.UE-MY-Lib-download-options {
    margin-top: 1.5rem;
}

.UE-MY-Lib-download-options-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gray-light);
}

.UE-MY-Lib-download-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.UE-MY-Lib-download-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    background: var(--dark);
    transition: var(--transition-fast);
}

.UE-MY-Lib-download-option:hover {
    background: var(--darker);
}

.UE-MY-Lib-download-option-info {
    flex: 1;
}

.UE-MY-Lib-download-option-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--gray-light);
}

.UE-MY-Lib-download-option-details {
    font-size: 0.85rem;
    color: var(--gray);
}

.UE-MY-Lib-download-option-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.UE-MY-Lib-download-option-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.UE-MY-Lib-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--darker);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Animations */
@keyframes UE-MY-Lib-icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 768px) {
    .UE-MY-Lib-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .UE-MY-Lib-search {
        margin-left: 0;
        width: 100%;
        max-width: none;
    }
    
    .UE-MY-Lib-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .UE-MY-Lib-download-item {
        flex-direction: column;
    }
    
    .UE-MY-Lib-download-image {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .UE-MY-Lib-container {
        padding: 0 1rem;
    }
    
    .UE-MY-Lib-title {
        font-size: 2rem;
    }
    
    .UE-MY-Lib-pagination {
        flex-wrap: wrap;
    }
}
/* DMCA Report Form Styles */
.DMCA-section {
    padding: 2rem 0;
    background-color: var(--dark);
    margin: 0px auto;
    max-width: var(--max-width);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: var(--header-height);
    z-index: 100;
    width: 100%;
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
    overflow-x: hidden;
  }
  .DMCA-Close-header{
    display:none;
  }
  #DMCA-Close-header-button{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    border: none;
    outline: none;
    padding: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 100%;
    color: var(--lighter);
  }
  
  .DMCA-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  .DMCA-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
  }
  
  .DMCA-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 1rem auto;
    border-radius: 2px;
  }
  
  .DMCA-title {
    font-size: 2rem;
    color: var(--lighter);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
  }
  
  .DMCA-subtitle {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 0;
  }
  
  .DMCA-form {
    background-color: var(--darker);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--darker);
    display: flex;
    flex-direction: column;
  }
  
  .DMCA-form-group {
    margin-bottom: 1.5rem;
  }
  
  .DMCA-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-light);
    font-size: 0.95rem;
  }
  
  .DMCA-required {
    color: var(--accent);
  }
  
  .DMCA-input, .DMCA-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--darker);
    border-radius: 6px;
    background-color: var(--dark);
    color: var(--gray-light);
    font-size: 0.95rem;
    transition: var(--transition-fast);
  }
  
  .DMCA-input:focus, .DMCA-textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(123, 78, 255, 0.1);
  }
  
  .DMCA-textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  .DMCA-hint {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.5rem;
  }
  
  .DMCA-file-upload {
    position: relative;
    overflow: hidden;
  }
  
  .DMCA-file-input {
    position: absolute;
    left: -9999px;
  }
  
  .DMCA-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    border: 2px dashed var(--darker);
    border-radius: 6px;
    background-color: var(--dark);
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
  }
  
  .DMCA-file-label:hover {
    border-color: var(--primary);
    background-color: rgba(123, 78, 255, 0.05);
  }
  
  .DMCA-upload-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
  }
  
  .DMCA-file-text {
    color: var(--gray-light);
    font-size: 0.95rem;
  }
  
  .DMCA-checkbox-group {
    display: flex;
    align-items: flex-start;
  }
  
  .DMCA-checkbox {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    accent-color: var(--primary);
  }
  
  .DMCA-checkbox-label {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .DMCA-captcha {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
  }
  
  .DMCA-submit-group {
    text-align: center;
  }
  .DMCA-action-buttons{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:1rem ;
  }
  @media (max-width: 387px) {
    .DMCA-action-buttons{
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap:1rem ;
      }
  }
  
  .DMCA-submit-btn,.DMCA-cancel-btn{
    width: 100%;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
  }
  .DMCA-submit-btn{
    background-color: var(--secondary);
  }
  .DMCA-cancel-btn{
    background-color: var(--accent);
  }  
  .DMCA-cancel-btn:hover{
    filter: saturate(200%);
    transform: translateY(-2px);
  }
  .DMCA-submit-btn:hover {
    filter: saturate(200%);
    transform: translateY(-2px);
  }
  
  .DMCA-submit-icon,.DMCA-cancel-icon{
    margin-left: 0.5rem;
  }
  
  .DMCA-login-message {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--darker);
    text-align: center;
  }
  
  .DMCA-message-content {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .DMCA-message-content h3 {
    color: var(--lighter);
    margin-bottom: 0.5rem;
  }
  
  .DMCA-message-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
  }
  
  .DMCA-warning-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
  }
  
  .DMCA-login-btn {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    display: inline-block;
  }
  
  .DMCA-login-btn:hover {
    background-color: var(--primary-dark);
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .DMCA-container {
      padding: 1rem;
    }
    
    .DMCA-form {
      padding: 1.5rem;
    }
    
    .DMCA-title {
      font-size: 1.5rem;
    }
  }
  /* ========== Search Section Styles ========== */
#search{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--dark);
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 79px 0 0 0 ;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    scroll-behavior: smooth;
    z-index:0;
}
#search.active{
    display: flex;
    flex-direction: column;
    opacity: 1;
}
#search-back-btn{
    margin: 10px 10px;
    padding: 10px 20px;
    width: fit-content;
    height: fit-content;
    background-color: rgba(123, 78, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    position: fixed;
    right: 10px;
    bottom: 10px;
}
#search-back-btn p{
    margin-bottom: 0px;
    color: white;
}
.Pr-search-section {
    padding: 2rem 0;
    background-color: var(--dark);
    min-height: 100vh;
}

.Pr-search-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 1.5rem 10px 1.5rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.Pr-search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.Pr-search-title {
    font-size: 2.5rem;
    color: var(--lighter);
    margin-bottom: 1rem;
    font-weight: 700;
}

.Pr-search-description {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.Pr-search-form {
    display: none;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.Pr-search-input {
    width: 100%;
    display: none;
    padding: 1.25rem 1.5rem;
    padding-right: 4rem;
    border-radius: 50px;
    border: 1px solid var(--darker);
    background-color: var(--darker);
    color: var(--gray-light);
    font-size: 1rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.Pr-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.Pr-search-submit {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    width: 3rem;
    height: 3rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.Pr-search-submit:hover {
    background-color: var(--primary-dark);
}

.Pr-search-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.Pr-search-filter {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: var(--darker);
    color: var(--gray-light);
    border: 1px solid var(--darker);
    cursor: pointer;
    transition: var(--transition-fast);
}

.Pr-search-filter:hover, .Pr-search-filter.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.Pr-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.Pr-search-loading {
    text-align: center;
    padding: 2rem;
    color: var(--gray);
    display: none;
}

.Pr-search-end-message {
    text-align: center;
    padding: 2rem;
    color: var(--gray);
    display: none;
    font-style: italic;
}

.Pr-search-no-results {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
    color: var(--gray);
    display: none;
}

.Pr-search-no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* Card styles (adapted from your existing styles with prefix) */
.Pr-search-card {
    background: var(--darker);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
}

.Pr-search-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.Pr-search-card-media {
    height: 200px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.Pr-search-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.Pr-search-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

.Pr-search-card-content {
    padding: 1.5rem;
}

.Pr-search-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    cursor: pointer;
}

.Pr-search-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0.75rem;
}

.Pr-search-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Pr-search-card-user h4 {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-light);
}

.Pr-search-card-user p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--gray);
}

.Pr-search-card-body {
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.Pr-search-card-body h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    color: var(--lighter);
}

.Pr-search-card-body p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.Pr-search-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.Pr-search-card-tag {
    background-color: var(--dark);
    color: var(--gray-light);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.Pr-search-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    cursor: pointer;
}

.Pr-search-card-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary);
}

.Pr-search-card-rating span {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

.Pr-search-card-price {
    text-align: right;
}

.Pr-search-card-price .current {
    font-weight: bold;
    color: var(--lighter);
    font-size: 1.1rem;
}

.Pr-search-card-price .original {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.Pr-search-card-price .discount {
    display: block;
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

.Pr-search-card-button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.Pr-search-card-button:hover {
    background-color: var(--primary-dark);
}

.Pr-search-card-button.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(123, 78, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(123, 78, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(123, 78, 255, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .Pr-search-results {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .Pr-search-title {
        font-size: 2rem;
    }
}
@media (max-width: 576px) {
    .main-content{
        margin-top: 69px;
    }
    #search{
        padding: 79px 0 72.2px 0 ;
    }
    #community{
        padding: 1rem 1rem 72.2px 1rem ;
    }
    #search-back-btn{
        right: 0px;
        bottom: calc(var(--header-height));
    }
    #Pr-search-input, #categories-search-inp, #categories-search-inp-submit, #Pr-search-submit, .Pr-search-form{
        display: flex;
    }
    #DMCA-Report-Form{
        border-radius: 0px;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        padding: 79px 0px 62.2px 0 ;
    }
    .DMCA-Close-header{
        display: flex;
        width: 100%;
    }
    #DMCA-Close-header-button{
        margin-left: auto;
        margin-right: 10px;
    }
    #categories-header-for-mobile{
        display: block;
    }
    #categories-header-for-pc{
        display: none;
    }
}

@media (max-width: 480px) {
    .Pr-search-filters {
        display: grid;
        grid-template-columns: repeat( auto-fill, minmax(70px , 1fr));
        align-items: center;
        justify-content: center;
    }
    
    .Pr-search-filter {
        width: 100%;
        text-align: center;
    }
}
/* USER_PROFILE_EDIT_MODEL */
.User-Profile-Edit-Model{
    position: fixed;
    z-index: 9999;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    display: none;
    align-items: center;
    justify-content: center;
}
.User-Profile-Edit-Model-inner-Container{
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 200px;
    max-width: 600px;
    max-height: 90vh;
    background-color: var(--darker);
    border-radius: calc(1rem + 10px);
    overflow-x: hidden;
    overflow-y: hidden;
}
.User-Profile-Edit-Model-Main-Title{
    display: flex;
    color: white;
    background-color: var(--primary);
    padding: 1rem 1rem;
}
.User-Profile-Edit-Model-Main-Title h2{
    color: white;
    margin: 0px;
}
.User-Profile-Edit-Model-Main-Title-Close-Button{
    margin-left: auto;
    margin-right: 0px;
    background-color: var(--accent);
    color: white;
    width: 30px;
    height: 30px;
    aspect-ratio: 1/1;
    border: none;
    outline: none;
    border-radius: 100%;
    cursor: pointer;
    transition: var(--transition-fast);
}
.User-Profile-Edit-Model-Main-Title-Close-Button:active{
    scale: 0.9;
}
.User-Profile-Edit-Model-Profile-image{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 0px;
}
.User-Profile-Edit-Model-Profile-image img{
    aspect-ratio: 1/1;
    width: 50%;
    max-width: 250px;
    border-radius:100%;
}
.User-Profile-Edit-Model-Profile-image button{
    background-color: var(--primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    width: 50%;
    padding: 1rem 2rem;
    border-radius: 1rem;
    transition: var(--transition-fast);
}
.User-Profile-Edit-Model-Profile-image button:hover{
    scale: 1.1;
}
.User-Profile-Edit-Model-Profile-image button:active{
    scale: 0.9;
}
.User-Profile-Edit-Model-Profile-image button svg{
    background-color: transparent;
}
.User-Profile-Edit-Model-Profile-image strong{
    color: white;
    font-size: 1.1rem;
}
.User-Profile-Edit-Model-Basic-Details{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 1rem;
}
.User-Profile-Edit-Model-Basic-Details>h3{
    color: var(--lighter);
    font-size: 1.15rem;
}
.User-Profile-Edit-Model-Basic-Details>label{
    color: var(--lighter);
    margin-top: 1rem;
    font-weight: bold;
}
.User-Profile-Edit-Model-Basic-Details>input,select{
    background-color: var(--dark);
    color: var(--lighter);
    font-size: 1rem;
    padding: 0.7rem 1rem;
    outline: none;
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}
.User-Profile-Edit-Model-Basic-Details option{
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
.UPEMB-ERROR-MAG{
    color: red;
    display: none;
}
.User-Profile-Edit-Model-inner-Container-Loader{
    position: fixed;
    height: 100%;
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);    
}
.User-Profile-Edit-Model-inner-Container-Loader div{
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background-color:var(--dark);
    border-radius: 100%;
}
/* Gender Selection Container */
.UPEMB-GENDER-SELECTION {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 8px;
}

/* Radio Button Labels */
.UPEMB-GENDER-SELECTION label {
position: relative;
display: flex;
align-items: center;
gap: 8px;
padding: 12px 20px;
border-radius: 8px;
background-color: var(--dark);
border: 1px solid var(--darker);
cursor: pointer;
transition: var(--transition-fast);
user-select: none;
flex: 1;
min-width: 125px;
justify-content: center;
}

/* Hover State */
.UPEMB-GENDER-SELECTION label:hover {
background-color: var(--darker);
border-color: var(--primary-light);
}

/* Hide Default Radio */
.UPEMB-GENDER-SELECTION input[type="radio"] {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}

/* Custom Radio Circle */
.UPEMB-GENDER-SELECTION label::before {
content: "";
display: inline-block;
width: 18px;
height: 18px;
border: 2px solid var(--gray);
border-radius: 50%;
transition: var(--transition-fast);
}

/* Checked State */
.UPEMB-GENDER-SELECTION input[type="radio"]:checked + label {
background-color: var(--primary-light);
border-color: var(--primary);
color: white;
}

.UPEMB-GENDER-SELECTION input[type="radio"]:checked + label::before {
border-color: white;
background-color: var(--primary);
box-shadow: inset 0 0 0 3px var(--primary-light);
}

/* Focus State */
.UPEMB-GENDER-SELECTION input[type="radio"]:focus-visible + label {
box-shadow: 0 0 0 3px var(--primary-light);
}

/* Text Styling */
.UPEMB-GENDER-SELECTION label strong {
font-weight: 500;
color: var(--gray-light);
transition: var(--transition-fast);
}

.UPEMB-GENDER-SELECTION input[type="radio"]:checked + label strong {
color: white;
}

.User-Profile-Edit-Model-Action{
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    position: relative;
}
/* Button Base Styles */
.User-Profile-Edit-Cancel-Button,
.User-Profile-Edit-Save-Button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 15px 20px;
font-size: 1rem;
border-radius: 8px;
font-weight: 500;
cursor: pointer;
transition: var(--transition-fast);
}

/* Cancel Button */
.User-Profile-Edit-Cancel-Button {
background-color: var(--dark);
color: var(--gray-light);
border: 1px solid var(--darker);
}

.User-Profile-Edit-Cancel-Button:hover {
background-color: var(--darker);
border-color: var(--gray);
scale: 0.9;
}

/* Save Button */
.User-Profile-Edit-Save-Button {
background-color: var(--primary);
color: white;
border: none;
}

.User-Profile-Edit-Save-Button:hover {
background-color: var(--primary-dark);
box-shadow: var(--glow);
scale: 0.9;
}

/* Icon Animation */
.User-Profile-Edit-Cancel-Button svg,
.User-Profile-Edit-Save-Button svg {
transition: transform 0.2s ease;
}

.User-Profile-Edit-Cancel-Button:hover svg {
transform: rotate(90deg);
}

.User-Profile-Edit-Save-Button:hover svg {
transform: translateX(2px);
}
/* ========== Footer ========== */
footer {
    background: var(--darker);
    position: relative;
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col {
    position: relative;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--lighter);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    margin-top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: var(--lighter);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--lighter);
    transform: translateX(5px);
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
    font-size: 0.9rem;
}
@media (max-width: 480px) {
    .User-Profile-Edit-Model-Action{
    grid-template-columns: 1fr;
}
}
@media (max-width: 400px) {
    .payment-container,.user-post-edit-modal,.User-Profile-Edit-Model-inner-Container,.UE-Wt-Account-modal-content{
        border-radius: 0px;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        padding: 0 0 ;
    }
    #payment-gateway{
        padding: 0 0 ;
    }
    #profile{
        padding-left: 0px;
        padding-right: 0px;
    }
    #Categories_Section_Footer>footer{
        padding-left: 7px;
        padding-right: 7px;
    }
    .user-post-grid-container ,.UE-WT-Pr-card-content,.UE-WT-Pr-card-content,.UE-WT-Pr-container,.UE-Wt-Account-container{
        padding-left: 7px;
        padding-right: 7px;
    }
    .payment-header{
        padding-top: 10px;
        padding-bottom: 0px;
        display: flex;
        flex-direction: column;
        height: fit-content;
    }
    .community-header{
        display: grid;
        grid-template-columns: 1fr;
    }
    footer{
        padding-top: 1rem;
        padding-bottom: 0px;
    }
    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1rem;
        row-gap: 2rem;
        margin-bottom: 0px;
    }
    .footer-col:nth-child(1){
        grid-column-start: 1;
        grid-column-end: 3;
    }
    .footer-col:nth-child(2){
        grid-column-start:1 ;
        grid-column-end: 2;
    }
    .footer-col:nth-child(3){
        grid-column-start:2 ;
        grid-column-end: 3;
    }
    .footer-col:nth-child(4){
        grid-column-start:1 ;
        grid-column-end: 3;
    }
    .footer-bottom{
        padding-top: 1rem;
    }
}