/* 
   Template Marketplace - Modern Design
   Matching admin panel's modern aesthetic
*/

:root {
    --primary-color: #ffd700; /* Gold */
    --primary-dark: #ffa500; /* Orange */
    --primary-light: #fff8e1; /* Light gold */
    --secondary-color: #28a745; /* Green */
    --secondary-dark: #20c997; /* Dark green */
    --secondary-light: #e8f5e9; /* Light green */
    --dark-color: #333333;
    --light-color: #fff8e1; /* Light gold background */
    --gray-color: #666666;
    --gray-light: #f8f9fa;
    --gray-dark: #444444;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --gold-color: #ffd700;
    --gold-dark: #ffa500;
    --gold-light: #fff8e1;
    --discord-color: #5865F2;
    --discord-dark: #4752C4;
    --discord-light: #7289DA;
    --card-shadow: 0 15px 40px rgba(255, 193, 7, 0.2);
    --hover-shadow: 0 20px 50px rgba(255, 193, 7, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 20px;
    
    /* Background and text colors */
    --body-bg: #fff8e1; /* Light gold background */
    --body-text: #333333; /* Dark text */
    --card-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.98);
    --header-text: #333333;
    --footer-bg: #ffd700; /* Gold footer */
    --footer-text: #333333; /* Dark text */
    --border-color: #ffd700; /* Gold border */
    --input-bg: #ffffff;
    --input-text: #333333;
    --input-placeholder: #666666;
    --link-color: #ffa500; /* Orange links */
    --link-hover: #ffd700; /* Gold on hover */
}

/* Cart product image size */
.cart-product-img {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--body-text);
    background-color: var(--body-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    overflow-x: hidden;
    font-weight: 400;
    transition: all 0.5s ease;
    position: relative;
    animation: gradientBG 15s ease infinite;
    background-attachment: fixed;
}

@keyframes gradientBG {
    0% {
        background-color: var(--body-bg);
    }
    25% {
        background-color: rgba(241, 245, 249, 0.97);
    }
    50% {
        background-color: rgba(241, 245, 249, 0.94);
    }
    75% {
        background-color: rgba(241, 245, 249, 0.97);
    }
    100% {
        background-color: var(--body-bg);
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
    animation: moveBG 20s ease-in-out infinite alternate;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--body-text);
    letter-spacing: -0.025em;
}

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

a:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn {
    border-radius: var(--border-radius);
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--card-shadow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: var(--dark-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

.btn-light {
    background: white;
    border: none;
    color: var(--dark-color);
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: #f8f9fa;
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--dark-color);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

/* Header Styles */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(228, 232, 240, 0.6);
}

.site-header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--hover-shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--gold-color), var(--gold-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.logo-image {
    transition: all 0.3s ease;
    height: 100px !important;
    width: auto !important;
    max-width: 100% !important;
}

.logo-image:hover {
    transform: scale(1.05);
}

@media (min-width: 992px) {
    .logo-image {
        height: 120px !important;
    }
}

@media (max-width: 991px) {
    .logo-image {
        height: 80px !important;
    }
}

@media (max-width: 576px) {
    .logo-image {
        height: 70px !important;
    }
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--gold-color), transparent);
}

.navbar-nav .nav-link {
    color: var(--header-text);
    font-weight: 600;
    padding: 0.75rem 1.2rem;
    border-radius: var(--border-radius);
    margin: 0 0.2rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    background-color: var(--gray-light);
}

.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 0h20v20H0V0zm10 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Product Cards */
.product-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 100%;
    position: relative;
}

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

/* Product condition badge */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Seller verification badge */
.product-seller .text-primary {
    color: var(--primary-color) !important;
    margin-left: 4px;
}

/* Product brand styling */
.product-brand {
    font-size: 0.9rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-image {
    padding: 2rem;
    background: linear-gradient(135deg, var(--gray-light), white);
    position: relative;
    overflow: hidden;
}

.product-image i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.product-card:hover .product-image i {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    transform: translateY(20px);
}

.product-card:hover .overlay-btn {
    transform: translateY(0);
}

.overlay-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.product-body {
    padding: 1.5rem;
}

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

.product-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-title a {
    color: var(--dark-color);
    transition: var(--transition);
}

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

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Category Cards */
.category-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

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

.category-image {
    margin-bottom: 1.5rem;
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.category-icon {
    margin-bottom: 1.5rem;
    background-color: rgba(99, 102, 241, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition);
}

.category-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.category-card:hover .category-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.category-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.category-count {
    color: var(--gray-color);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Section Titles */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    color: var(--body-text);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.03);
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), rgba(255,255,255,0.8));
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.15);
}

/* Section styling */
section {
    padding: 5rem 0;
    position: relative;
}

section:nth-child(even) {
    background-color: rgba(240, 245, 250, 0.7);
    position: relative;
    overflow: hidden;
}

section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.02'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-widget {
    margin-bottom: 2rem;
}

.widget-title {
    color: var(--footer-text);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: 1.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Forms */
.form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    background-color: var(--input-bg);
    color: var(--input-text);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Cart Badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(239, 68, 68, 0.2);
}

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

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
}
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
}

/* Discord Styles */
.btn-discord {
    background: linear-gradient(135deg, var(--discord-color), var(--discord-dark));
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(88, 101, 242, 0.2);
}

.btn-discord:hover {
    background: linear-gradient(135deg, var(--discord-dark), var(--discord-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(88, 101, 242, 0.3);
}

.btn-discord i {
    font-size: 1.2rem;
}

.discord-title {
    background: linear-gradient(135deg, var(--discord-color), var(--discord-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.discord-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--discord-color), transparent);
}

 

/* Notification System */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    width: calc(100% - 40px);
}

.notification {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--hover-shadow);
    transform: translateX(120%);
    opacity: 0;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-content i {
    font-size: 1.25rem;
}

.notification-success {
    border-left-color: var(--success-color);
}

.notification-success i {
    color: var(--success-color);
}

.notification-error {
    border-left-color: var(--danger-color);
}

.notification-error i {
    color: var(--danger-color);
}

.notification-warning {
    border-left-color: var(--warning-color);
}

.notification-warning i {
    color: var(--warning-color);
}

.notification-info {
    border-left-color: var(--info-color);
}

.notification-info i {
    color: var(--info-color);
}

.notification-close {
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    padding: 0.25rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.notification-close:hover {
    background: var(--gray-light);
    color: var(--dark-color);
}

/* User Avatar */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: var(--hover-shadow);
}

.avatar-upload-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.avatar-upload-container .user-avatar {
    width: 100%;
    height: 100%;
}

.avatar-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
    }
    
.avatar-upload-container:hover .avatar-upload-overlay {
    opacity: 1;
    }
    
.avatar-upload-overlay i {
    color: white;
    font-size: 1.5rem;
    }

#avatar-upload {
    display: none;
} 

/* Theme Toggle */
.theme-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    background-color: var(--gray-light);
    transform: translateY(-2px);
}

.theme-toggle .fa-sun {
    display: none;
}

.theme-toggle .fa-moon {
    display: block;
}

.theme-toggle .fa-sun {
    display: block;
}

.theme-toggle .fa-moon {
    display: none;
}

/* Card backgrounds */
.card, .content-card, .product-card {
    background-color: var(--card-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

/* Form controls */
.form-control, .form-select {
    background-color: var(--input-bg);
    color: var(--input-text);
    border-color: #94a3b8; /* Darker border for better visibility on forms */
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background-color: var(--input-bg);
    color: var(--input-text);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.form-control::placeholder {
    color: var(--input-placeholder);
    opacity: 0.7;
}

/* Input groups */
.input-group-text {
    background-color: var(--input-bg);
    color: var(--input-text);
    border-color: var(--border-color);
}

/* Site Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
}

/* Table styles */
table {
    color: var(--body-text);
}

/* Border colors */
.border, .border-top, .border-bottom, .border-start, .border-end {
    border-color: var(--border-color) !important;
}

/* Dropdowns */
.dropdown-menu {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

.dropdown-item {
    color: var(--body-text);
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--border-color);
    color: var(--body-text);
} 

/* Links in dark mode */
a:not(.btn):not(.nav-link) {
    color: var(--link-color);
}

a:not(.btn):not(.nav-link):hover {
    color: var(--link-hover);
}

/* Improve contrast for text in cards in dark mode */
.card {
    color: var(--body-text);
} 

/* Additional dark mode form styles */
textarea,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="search"],
select {
    background-color: var(--input-bg);
    color: var(--input-text);
    border-color: var(--border-color);
}

/* Form labels in dark mode */
.form-label {
    color: #e2e8f0;
    font-weight: 500;
}

.form-text,
.form-text.text-muted {
    color: #94a3b8 !important;
}

.signup-form h2.form-title,
.login-form h2.form-title,
h2.form-title {
    color: #e2e8f0;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="search"]:focus,
select:focus {
    background-color: var(--input-bg);
    color: var(--input-text);
    border-color: var(--primary-color);
}

/* Custom form components in dark mode */
.modern-input,
.modern-select,
.modern-textarea {
    background-color: rgba(35, 33, 33, 0.8);
    color: #e2e8f0;
    border-color: rgba(240, 230, 210, 0.15);
}

.modern-input:focus,
.modern-select:focus,
.modern-textarea:focus {
    border-color: var(--primary-color);
    background-color: rgba(35, 33, 33, 0.9);
}

.modern-input::placeholder,
.modern-textarea::placeholder {
    color: rgba(179, 168, 158, 0.5);
}

.modern-label {
    color: #e2e8f0;
}

.form-help-text {
    color: #94a3b8;
}

/* Checkbox and radio styling for dark mode */
.form-check-input {
    background-color: var(--input-bg);
    border-color: var(--border-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--body-text);
}

/* File input styling for dark mode */
.form-control[type="file"]::file-selector-button {
    background-color: var(--gray-dark);
    color: var(--body-text);
    border-color: var(--border-color);
}

.form-control[type="file"]:hover::file-selector-button {
    background-color: var(--primary-color);
    color: white;
}

/* Range input styling for dark mode */
input[type="range"] {
    background-color: var(--input-bg);
}

input[type="range"]::-webkit-slider-thumb {
    background: var(--primary-color);
}

input[type="range"]::-moz-range-thumb {
    background: var(--primary-color);
}

/* Fix modal content in dark mode */
.modal-content {
    background-color: var(--card-bg);
    color: var(--body-text);
    border-color: var(--border-color);
}

.modal-header,
.modal-footer {
    border-color: var(--border-color);
}

/* Fix list group items in dark mode */
.list-group-item {
    background-color: var(--card-bg);
    color: var(--body-text);
    border-color: var(--border-color);
}

/* Signup/Login pages in dark mode */
.signup-section,
.login-section {
    background-color: var(--body-bg);
    color: var(--body-text);
}

.signup-form,
.login-form {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.signup-form .form-control,
.login-form .form-control {
    background-color: var(--input-bg);
    color: var(--input-text);
    border-color: var(--border-color);
}

.signup-form .form-control:focus,
.login-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.signup-form .form-check-input,
.login-form .form-check-input {
    background-color: var(--input-bg);
    border-color: var(--border-color);
}

.signup-form .form-check-label,
.login-form .form-check-label {
    color: var(--body-text);
} 

/* General text fixes for dark mode */
h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
    color: #e2e8f0;
}

.text-muted {
    color: #94a3b8 !important;
}

.text-dark {
    color: #e2e8f0 !important;
}

.form-title,
.page-title,
.section-title {
    color: #e2e8f0;
}

/* Fix small text and help text */
small,
.small,
.form-text {
    color: #94a3b8 !important;
}

/* Fix privacy policy link in signup form */
.form-check a {
    color: var(--link-color);
    text-decoration: underline;
}

.form-check a:hover {
    color: var(--link-hover);
} 

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 4rem 0;
    text-align: center;
    color: white;
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.reviews-summary {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.average-rating {
    text-align: center;
    margin-bottom: 2rem;
}

.rating-value {
    font-size: 4rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

.rating-stars {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin: 1rem 0;
}

.rating-stars .fas {
    color: var(--gold-color);
}

.rating-stars .far {
    color: #ccc;
}

.rating-count {
    font-size: 1rem;
    color: #000;
    font-weight: 600;
}

.rating-bars {
    margin-top: 1.5rem;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.rating-label {
    flex: 0 0 3rem;
    font-weight: 600;
    color: var(--body-text);
    font-size: 0.9rem;
}

.rating-label i {
    color: var(--warning-color);
    font-size: 0.8rem;
}

.rating-count {
    flex: 0 0 2rem;
    text-align: right;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.progress {
    flex: 1;
    height: 0.5rem;
    margin: 0 0.75rem;
    background-color: var(--gray-light);
    border-radius: 1rem;
}

.reviews-form {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.reviews-form h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.reviews-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 3px;
    background: var(--primary-color);
}

.rating-select .stars {
    font-size: 2rem;
    color: var(--gray-light);
    cursor: pointer;
    display: flex;
    gap: 0.25rem;
}

.rating-select .stars i {
    transition: var(--transition);
}

.rating-select .stars i.fas {
    color: var(--warning-color);
}

.rating-select .stars i:hover {
    transform: scale(1.2);
}

.review-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviewer-avatar {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

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

.review-rating {
    color: var(--warning-color);
    font-size: 0.9rem;
}

.review-body {
    color: var(--body-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Make the section more responsive */
@media (max-width: 767.98px) {
    .review-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .rating-select .stars {
        font-size: 1.5rem;
    }
    
    .reviewer-avatar {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .rating-value {
        font-size: 2.5rem;
    }
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
    background-color: var(--body-bg);
} 

/* Add styles for the product gallery in the payment page */
.product-gallery .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.125);
    overflow: hidden;
}

.product-gallery .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-gallery .card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.product-gallery .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-gallery .card-text {
    font-weight: 600;
}

/* Enhancements for payment section */
.paypal-email .badge, .discord-username .badge {
    font-size: 1rem !important;
    padding: 0.5rem 1rem !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .product-gallery .card-img-top {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .product-gallery .col-sm-6 {
        width: 50%;
    }
    .product-gallery .card-img-top {
        height: 140px;
    }
    .product-gallery .card-title {
        font-size: 0.9rem;
    }
    .product-gallery .card-text {
        font-size: 0.9rem;
    }
} 

/* Enhance review form and ratings for better visibility */
.rating-select .stars i {
    color: #cbd5e1; /* Lighter gray for empty stars */
    font-size: 1.75rem; /* Slightly larger stars */
}

.rating-select .stars i.fas,
.rating-stars .fas {
    color: #f59e0b; /* Brighter gold/amber color for filled stars */
}

.rating-label {
    color: #1e293b; /* Darker color for rating labels */
    font-weight: 700; /* Bolder font for better visibility */
}

.rating-label i {
    color: #f59e0b; /* Match the gold star color */
}

/* Form styles for better contrast */
.form-label {
    color: #1e293b; /* Dark gray/blue for better form labels */
    font-weight: 600;
}

/* Make review counts more visible */
.rating-count {
    color: #334155; /* Darker gray for better visibility */
    font-weight: 500;
}

/* Fix progress bars */
.progress-bar.bg-warning {
    background-color: #4f46e5 !important; /* Primary color for better visibility */
} 

/* Add styling for product thumbnail images */
.product-thumbnail {
    max-height: 50px;
    max-width: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    transition: var(--transition);
}

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

/* Styling for no-image container on product details page */
.no-image-container {
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

/* Add styles for product thumbnail in cards */
.card .product-thumbnail,
.card-img-top.product-thumbnail {
    max-height: 130px;
    max-width: none;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    transition: var(--transition);
}

/* Add styling for product thumbnail images */
.product-thumbnail {
    max-height: 50px;
    max-width: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    transition: var(--transition);
} 

/* Styling for product image in order items table */
.order-items-table .product-thumbnail {
    max-width: 40px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
} 

/* Homepage featured products thumbnails */
.featured-section .product-image .product-thumbnail {
    max-height: 200px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
} 

/* AI Chat Widget Styles */
.ai-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px; /* Changed from left to right */
    z-index: 999;
}

.ai-chat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 1000;
    animation: bot-bounce 2.5s cubic-bezier(.68,-0.55,.27,1.55) infinite;
}

@keyframes bot-bounce {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
    10% { transform: translateY(-8px) scale(1.05) rotate(-5deg); }
    20% { transform: translateY(-16px) scale(1.08) rotate(5deg); }
    30% { transform: translateY(-8px) scale(1.05) rotate(-5deg); }
    40% { transform: translateY(0) scale(1) rotate(0deg); }
    50% { transform: translateY(0) scale(1) rotate(0deg); }
    60% { transform: translateY(-4px) scale(1.03) rotate(3deg); }
    70% { transform: translateY(-8px) scale(1.06) rotate(-3deg); }
    80% { transform: translateY(-4px) scale(1.03) rotate(3deg); }
    90% { transform: translateY(0) scale(1) rotate(0deg); }
}

.ai-chat-icon.active {
    animation: none;
}

/* تلويح يد الروبوت */
.ai-chat-icon svg .bot-hand-right {
    transform-origin: 165px 130px;
    animation: hand-wave 2.5s cubic-bezier(.68,-0.55,.27,1.55) infinite;
}

@keyframes hand-wave {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(10deg); }
    20% { transform: rotate(25deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(0deg); }
    50% { transform: rotate(0deg); }
    60% { transform: rotate(8deg); }
    70% { transform: rotate(18deg); }
    80% { transform: rotate(8deg); }
    90% { transform: rotate(0deg); }
}

.ai-robot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.ai-chat-icon:hover .ai-robot-image {
    transform: rotate(5deg);
}

.ai-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

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

.ai-chat-window.active + .ai-chat-icon {
    animation: none;
}

.ai-chat-icon:not(.active) {
    animation: bounce 2s ease-in-out infinite;
    animation-delay: 1s;
}

.ai-chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background-color: #f0f7ff; /* Lighter blue background */
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    z-index: 998;
}

.ai-chat-window.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.ai-chat-header {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-chat-title {
    display: flex;
    align-items: center;
}

.ai-chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.ai-chat-avatar i {
    color: white;
    font-size: 16px;
}

.ai-chat-name {
    font-weight: 600;
    font-size: 16px;
}

.ai-chat-close, .ai-chat-end {
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    transition: all 0.2s ease;
}

.ai-chat-close:hover {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.ai-chat-end {
    color: #6b7280;
}

.ai-chat-end:hover {
    background-color: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
}

.ai-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-message {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.ai-message.from-ai {
    background-color: #e8eaf6; /* Changed to a light indigo color */
    color: #1e293b;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.ai-message.from-user {
    background-color: #3b82f6;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.ai-chat-input {
    padding: 15px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-chat-input input {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
}

.ai-chat-input input:focus {
    border-color: #3b82f6;
}

.ai-chat-send {
    background-color: #3b82f6;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ai-chat-send:hover {
    background-color: #2563eb;
}

.ai-typing {
    display: flex;
    align-items: center;
    padding: 5px 15px;
    background-color: #f1f5f9;
    border-radius: 18px;
    max-width: fit-content;
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-typing.visible {
    opacity: 1;
}

.ai-typing span {
    width: 8px;
    height: 8px;
    background-color: #94a3b8;
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    animation: typing 1.4s infinite ease-in-out both;
}

.ai-typing span:nth-child(1) {
    animation-delay: -0.32s;
}

.ai-typing span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
} 

.ai-notification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
    animation: fadeIn 0.3s ease;
}

.ai-notification.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

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

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

/* Fix section titles with poor contrast */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    color: #1e293b; /* Darker text color for better contrast */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.03);
    letter-spacing: -0.5px;
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.reviews-section h2.section-title,
.reviews-section h2.section-title i {
    color: #1e293b; /* Darker color for section title */
}

.reviews-form h3 {
    color: #1e293b; /* Darker color for Write a Review heading */
}

/* Featured Products Section */
section h2.section-title i {
    color: #1e293b; /* Ensure icon color matches heading */
} 

/* General section text color fixes */
section.light-bg,
.featured-section,
.reviews-section {
    background-color: #f8fafc; /* Slightly darker background */
}

section.light-bg .section-title,
.featured-section .section-title,
.reviews-section .section-title {
    color: #0f172a; /* Very dark blue, almost black */
}

.card, 
.content-card,
.reviews-form,
.product-card {
    border: 1px solid #cbd5e1; /* Slightly darker border for better contrast */
} 

.animated-bg-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.animated-bg-bubbles svg {
    width: 100vw;
    height: 100vh;
    display: block;
}
.bubble {
    animation: bubble-float 16s ease-in-out infinite alternate;
}
.bubble:nth-child(2) { animation-delay: 2s; animation-duration: 18s; }
.bubble:nth-child(3) { animation-delay: 4s; animation-duration: 14s; }
.bubble:nth-child(4) { animation-delay: 1s; animation-duration: 20s; }
.bubble:nth-child(5) { animation-delay: 3s; animation-duration: 17s; }
.bubble:nth-child(6) { animation-delay: 5s; animation-duration: 19s; }

@keyframes bubble-float {
    0%   { transform: translateY(0) scale(1); filter: blur(0px); }
    30%  { transform: translateY(-30px) scale(1.05); filter: blur(1px); }
    50%  { transform: translateY(-60px) scale(1.1); filter: blur(2px); }
    70%  { transform: translateY(-30px) scale(1.05); filter: blur(1px); }
    100% { transform: translateY(0) scale(1); filter: blur(0px); }
}

body, .main-content, .site-wrapper {
    position: relative;
    z-index: 1;
} 

.card, .content-card, .product-card {
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    border: none;
    overflow: hidden;
    transform: translateY(0);
}

.card:hover, .content-card:hover, .product-card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
    animation: cardFloat 3s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(-5px);
    }
    50% {
        transform: translateY(-10px);
    }
} 

/* Add floating particles to the background */
.particle {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: float 15s linear infinite;
}

.particle:nth-child(1) {
    top: 10%;
    left: 20%;
    width: 15px;
    height: 15px;
    animation-duration: 25s;
}

.particle:nth-child(2) {
    top: 70%;
    left: 80%;
    width: 12px;
    height: 12px;
    animation-duration: 30s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 40%;
    width: 8px;
    height: 8px;
    animation-duration: 20s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 10%;
    width: 10px;
    height: 10px;
    animation-duration: 22s;
}

.particle:nth-child(5) {
    top: 20%;
    left: 70%;
    width: 14px;
    height: 14px;
    animation-duration: 18s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.4;
    }
    100% {
        transform: translateY(-200px) rotate(360deg);
        opacity: 0;
    }
} 

/* Seller Details Section Styles */
.seller-details {
    margin-top: 2rem;
}

.seller-details .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.seller-details .card-body {
    padding: 1.5rem;
}

.seller-info {
    font-size: 0.95rem;
}

.seller-info .mb-2 {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.seller-info .mb-2:last-child {
    border-bottom: none;
}

.seller-info i {
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
}

.seller-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 10px;
    min-width: 80px;
}

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

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

.seller-actions {
    margin-top: 2rem;
}

.seller-actions .alert {
    border-radius: 10px;
    border: none;
}

.seller-actions .btn {
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.seller-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Product Author Section Enhancement */
.product-author {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.author-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.author-title {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .seller-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .seller-actions .row {
        flex-direction: column;
    }
    
    .seller-actions .col {
        margin-bottom: 0.5rem;
    }
} 

/* Notifications Dropdown Styles */
.notifications-dropdown {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98) !important;
}

.notifications-dropdown .dropdown-header {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: white;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notifications-dropdown .dropdown-header h6 {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.notifications-dropdown .dropdown-header .btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notifications-dropdown .dropdown-header .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.notifications-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
}

.notifications-list::-webkit-scrollbar {
    width: 6px;
}

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

.notifications-list::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

.notification-item {
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    margin-bottom: 0.5rem;
    background: white;
    border: 1px solid #f1f5f9;
}

.notification-item:last-child {
    margin-bottom: 0;
}

.notification-item:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.notification-item.unread {
    background: #f0f7ff;
    border-color: #e0f2fe;
}

.notification-item.unread:hover {
    background: #f0f9ff;
}

.notification-icon {
    flex-shrink: 0;
    margin-right: 1rem;
}

.notification-icon .icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.notification-item:hover .icon-wrapper {
    transform: scale(1.1);
}

.notification-content {
    flex: 1;
}

.notification-content h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #1e293b;
    line-height: 1.4;
}

.notification-content p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.notification-content small {
    font-size: 0.75rem;
    color: #94a3b8;
    display: block;
}

.notification-actions {
    flex-shrink: 0;
    margin-left: 1rem;
}

.notification-actions .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    transition: all 0.2s ease;
}

.notification-actions .btn:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: scale(1.1);
}

.dropdown-footer {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    padding: 1rem;
    text-align: center;
}

.dropdown-footer a {
    color: #4f46e5;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.dropdown-footer a:hover {
    color: #4338ca;
    transform: translateY(-1px);
}

/* Notification badge animation */
@keyframes notification-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.badge.bg-danger {
    animation: notification-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 1);
}

/* Responsive notifications */
@media (max-width: 576px) {
    .notifications-dropdown {
        width: calc(100vw - 2rem) !important;
        max-width: 350px !important;
        margin: 0.5rem;
        right: 0;
        left: auto;
    }
    
    .notification-item {
        padding: 0.875rem;
    }
    
    .notification-icon .icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .notification-content h6 {
        font-size: 0.9rem;
    }
    
    .notification-content p {
        font-size: 0.8rem;
    }
    
    .notification-actions .btn {
        width: 28px;
        height: 28px;
    }
} 