/* ==========================================
   CLEVERFINDMARKET - TECH GADGET THEME
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --light: #f1f5f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   NAVIGATION
========================================== */
.navbar {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1320px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

/* ==================== NAVIGATION DROPDOWN ==================== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    transition: var(--transition);
}

.nav-dropdown-toggle:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.nav-dropdown-toggle i.fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
    background: #f8fafc;
    color: #667eea;
    padding-left: 24px;
}

.nav-dropdown-item i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: #94a3b8;
}

.nav-dropdown-item:hover i {
    color: #667eea;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

/* ==========================================
   HERO SECTION
========================================== */
.hero {
    background: var(--gradient);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.6;
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(255,255,255,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 20px 32px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.15);
}

.stat-item i {
    font-size: 32px;
    color: #fbbf24;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
}

/* ==========================================
   CATEGORY FILTER
========================================== */
.category-filter {
    padding: 40px 0;
    background: white;
}

.category-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-tab {
    padding: 10px 24px;
    border: 2px solid var(--gray-light);
    background: white;
    color: var(--dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.category-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-tab.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.category-count {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 12px;
}

/* ==========================================
   PRODUCTS GRID
========================================== */
.products {
    padding: 60px 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.section-title i {
    color: var(--primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-card.hidden {
    display: none;
}

.product-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--light);
}

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

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

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
    z-index: 10;
}

.product-info {
    padding: 24px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #fbbf24;
    font-size: 14px;
}

.product-rating span {
    color: var(--dark);
    font-weight: 600;
    margin-left: 4px;
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-description {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-price {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-views {
    font-size: 13px;
    color: var(--gray);
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    text-align: center;
    justify-content: center;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--gray);
}

/* ==========================================
   PRODUCT DETAIL PAGE
========================================== */
.product-detail {
    padding: 80px 0 60px;
    background: var(--light);
    min-height: 100vh;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--gray);
    flex-wrap: wrap;
    font-weight: 600;
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.product-detail-image {
    position: sticky;
    top: 100px;
}

.product-detail-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.product-category-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.product-detail-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--dark);
    line-height: 1.2;
}

.product-detail-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fbbf24;
    font-size: 18px;
}

.product-detail-rating span {
    color: var(--dark);
    font-weight: 700;
    margin-left: 4px;
}

.views-count {
    color: var(--gray);
    font-size: 14px;
    font-weight: 600;
}

.product-detail-price {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    border-left: 4px solid var(--primary);
}

.price-label {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-detail-description h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.product-detail-description p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

.product-detail-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.product-features {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 24px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    margin-bottom: 32px;
}

.product-features h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.product-features ul {
    list-style: none;
}

.product-features li {
    padding: 10px 0;
    color: var(--gray);
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.product-features li:last-child {
    border-bottom: none;
}

/* Reviews Section */
.reviews-section {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    margin-top: 32px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--light);
}

.reviews-header h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
}

.reviews-summary {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rating-number {
    font-size: 64px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-stars {
    font-size: 24px;
    color: #fbbf24;
}

.rating-count {
    color: var(--gray);
    font-size: 14px;
    font-weight: 600;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-item {
    padding: 24px;
    background: var(--light);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.reviewer-name {
    font-weight: 700;
    color: var(--dark);
}

.review-date {
    font-size: 13px;
    color: var(--gray);
}

.review-rating {
    color: #fbbf24;
    font-size: 16px;
}

.review-text {
    color: var(--gray);
    line-height: 1.7;
}

/* ==========================================
   CONTACT & LEGAL PAGES
========================================== */
.page-hero {
    background: var(--gradient);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.95;
}

.contact-section,
.legal-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form,
.legal-content {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.contact-form h2,
.legal-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

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

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-info-item i {
    font-size: 28px;
    color: var(--primary);
}

.contact-info-item h4 {
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--gray);
    font-size: 14px;
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert i {
    font-size: 20px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid var(--success);
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.alert-info {
    background: #dbeafe;
    color: #2563eb;
    border: 2px solid #3b82f6;
}

.legal-content h2 {
    margin-top: 48px;
    margin-bottom: 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* ==========================================
   FOOTER
========================================== */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ==========================================
   ADMIN PANEL STYLES
========================================== */
.admin-body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc;
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.admin-sidebar {
    width: 260px;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-logo {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.admin-logo i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.admin-logo span {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.admin-nav {
    flex: 1;
    padding: 20px 0;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.admin-nav a:hover {
    background: #f8fafc;
    color: #667eea;
    padding-left: 24px;
}

.admin-nav a.active {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    color: #667eea;
    border-left: 3px solid #667eea;
}

.admin-nav a i {
    width: 20px;
    text-align: center;
}

.logout-link {
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

/* MAIN CONTENT */
.admin-main {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
}

.admin-header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-header h1 {
    margin: 0;
    color: #1e293b;
    font-size: 24px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
}

.admin-user i {
    font-size: 32px;
}

.admin-content {
    padding: 32px;
}

/* STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.stat-info {
    flex: 1;
}

.stat-label {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
}

/* DASHBOARD GRID */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.dashboard-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.dashboard-card h3 {
    margin: 0 0 20px 0;
    color: #1e293b;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-chart {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-label {
    min-width: 100px;
    color: #64748b;
    font-size: 14px;
}

.status-bar {
    flex: 1;
    height: 10px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.status-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.status-count {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: #1e293b;
}

.conversion-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.metric-item.highlight {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
}

.metric-label {
    color: #64748b;
    font-size: 14px;
}

.metric-value {
    font-weight: 700;
    color: #1e293b;
    font-size: 18px;
}

/* TABLES */
.admin-section {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.section-actions {
    margin-bottom: 24px;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: #f8fafc;
}

.admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 16px;
    border-top: 1px solid #f1f5f9;
    color: #334155;
}

.admin-table tbody tr:hover {
    background: #f8fafc;
}

.table-product-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: #f1f5f9;
    color: #64748b;
}

.badge-success {
    background: #dcfce7;
    color: #16a34a;
}

.badge-warning {
    background: #fef3c7;
    color: #d97706;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: #f1f5f9;
    color: #667eea;
}

/* WITHDRAW SECTION */
.withdraw-container {
    max-width: 1200px;
}

.withdraw-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 24px;
    margin-bottom: 32px;
}

.withdraw-balance {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.balance-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin-bottom: 24px;
}

.balance-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-icon i {
    font-size: 28px;
    color: white;
}

.balance-info {
    flex: 1;
}

.balance-label {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 8px;
}

.balance-amount {
    color: white;
    font-size: 32px;
    font-weight: 700;
}

.balance-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.balance-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.balance-detail-item:last-child {
    border-bottom: none;
}

.withdraw-form-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.withdraw-form-card h3 {
    margin-bottom: 24px;
    color: #1e293b;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.withdraw-form .form-group {
    margin-bottom: 20px;
}

.withdraw-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #475569;
    font-weight: 500;
}

.withdraw-form small {
    display: block;
    margin-top: 6px;
    color: #94a3b8;
    font-size: 13px;
}

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

.withdraw-info {
    margin-top: 20px;
    padding: 16px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.withdraw-info i {
    color: #667eea;
    font-size: 18px;
    margin-top: 2px;
}

.withdraw-info p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.withdraw-history {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.withdraw-history h3 {
    margin-bottom: 24px;
    color: #1e293b;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* PIPELINE & FUNNEL */
.pipeline-container {
    max-width: 1200px;
}

.pipeline-header {
    text-align: center;
    margin-bottom: 48px;
}

.pipeline-header h2 {
    color: #1e293b;
    font-size: 32px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pipeline-header p {
    color: #64748b;
    font-size: 16px;
}

.funnel-chart {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 32px;
}

.funnel-stage {
    margin-bottom: 24px;
}

.funnel-bar {
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.funnel-bar:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.funnel-content {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    color: white;
}

.funnel-content i {
    font-size: 24px;
}

.funnel-name {
    flex: 1;
    font-weight: 600;
    font-size: 16px;
}

.funnel-count {
    font-size: 24px;
    font-weight: 700;
}

.funnel-conversion {
    margin-top: 8px;
    padding-left: 24px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.pipeline-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pipeline-stat {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 16px;
}

.pipeline-stat i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.pipeline-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
}

.pipeline-stat-label {
    color: #64748b;
    font-size: 14px;
}

/* GROWTH INFO */
.growth-info {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 24px;
}

.growth-info h3 {
    margin: 0 0 24px 0;
    color: #1e293b;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.setting-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.setting-item span {
    color: #64748b;
    font-size: 13px;
}

.setting-item strong {
    color: #1e293b;
    font-size: 18px;
}

.growth-logs {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.growth-logs h3 {
    margin: 0 0 24px 0;
    color: #1e293b;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1024px) {
    .product-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .withdraw-grid {
        grid-template-columns: 1fr;
    }
    
    .pipeline-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 4px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        gap: 8px;
    }
    
    .category-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .nav-dropdown-menu {
        min-width: 240px;
        max-height: 300px;
    }
    
    .admin-sidebar {
        width: 200px;
    }
    
    .admin-main {
        margin-left: 200px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-content {
        padding: 20px;
    }
    
    .funnel-bar {
        height: 60px;
        padding: 0 16px;
    }
    
    .funnel-content {
        font-size: 14px;
    }
    
    .funnel-count {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .pipeline-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        transform: translateX(-100%);
        z-index: 1000;
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== ADMIN CHARTS & ANALYTICS ==================== */

/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.chart-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.chart-card.large {
    grid-column: 1 / -1;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-period {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 20px;
}

.chart-card canvas {
    height: 300px !important;
}

.chart-card.large canvas {
    height: 400px !important;
}

/* Stat Change */
.stat-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

.stat-change.positive {
    color: #16a34a;
}

.stat-change.negative {
    color: #dc2626;
}

.stat-change i {
    font-size: 12px;
}

/* Top Products List */
.top-products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.top-product-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.top-product-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.top-product-rank {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.top-product-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.top-product-info {
    flex: 1;
}

.top-product-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
    font-size: 14px;
}

.top-product-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
}

.top-product-meta span strong {
    color: #667eea;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.quick-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}

.quick-stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.quick-stat-label {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 4px;
}

.quick-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

/* Analytics Container */
.analytics-container {
    max-width: 1400px;
}

.analytics-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.analytics-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.analytics-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.analytics-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.analytics-label {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
}

.analytics-value {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
}

.analytics-charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

/* Category Performance */
.category-performance {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
}

.performance-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.performance-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.performance-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.performance-bar {
    flex: 1;
    height: 8px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.performance-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.performance-value {
    min-width: 60px;
    text-align: right;
    font-weight: 700;
    color: #1e293b;
    font-size: 14px;
}

/* Responsive Analytics */
@media (max-width: 1024px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .analytics-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .analytics-charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .analytics-summary {
        grid-template-columns: 1fr;
    }
    
    .chart-card canvas {
        height: 250px !important;
    }
    
    .chart-card.large canvas {
        height: 300px !important;
    }
}
/* ==================== MODERN SALES PIPELINE ==================== */

.funnel-visual {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 32px;
}

.funnel-stage-modern {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.funnel-box {
    height: 90px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.funnel-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.funnel-box:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.funnel-box:hover::before {
    opacity: 1;
}

.funnel-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.funnel-icon-circle i {
    font-size: 28px;
    color: white;
}

.funnel-stage-info {
    flex: 1;
    color: white;
}

.funnel-stage-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.95;
}

.funnel-stage-count {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
}

.funnel-stage-conversion {
    margin-top: 12px;
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

/* Pipeline Stats Modern */
.pipeline-stats-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pipeline-stat-modern {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.pipeline-stat-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.stat-icon-modern {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-modern i {
    font-size: 28px;
    color: white;
}

.stat-content-modern {
    flex: 1;
}

.stat-value-modern {
    font-size: 28px;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.stat-label-modern {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

/* Badge Info */
.badge-info {
    background: #dbeafe;
    color: #2563eb;
}

/* Responsive Pipeline */
@media (max-width: 1024px) {
    .pipeline-stats-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .funnel-visual {
        padding: 40px 30px;
    }
    
    .funnel-box {
        height: 80px;
        padding: 0 24px;
    }
    
    .funnel-icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .funnel-icon-circle i {
        font-size: 24px;
    }
    
    .funnel-stage-count {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .pipeline-stats-modern {
        grid-template-columns: 1fr;
    }
    
    .funnel-visual {
        padding: 30px 20px;
    }
    
    .funnel-box {
        height: 70px;
        padding: 0 20px;
        gap: 16px;
    }
    
    .funnel-icon-circle {
        width: 45px;
        height: 45px;
    }
    
    .funnel-icon-circle i {
        font-size: 20px;
    }
    
    .funnel-stage-name {
        font-size: 14px;
    }
    
    .funnel-stage-count {
        font-size: 24px;
    }
}
/* ==================== MODERN SALES PIPELINE ==================== */

.funnel-visual {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 32px;
}

.funnel-stage-modern {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.funnel-box {
    height: 90px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.funnel-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.funnel-box:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.funnel-box:hover::before {
    opacity: 1;
}

.funnel-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.funnel-icon-circle i {
    font-size: 28px;
    color: white;
}

.funnel-stage-info {
    flex: 1;
    color: white;
}

.funnel-stage-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.95;
}

.funnel-stage-count {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
}

.funnel-stage-conversion {
    margin-top: 12px;
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

/* Pipeline Stats Modern */
.pipeline-stats-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pipeline-stat-modern {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.pipeline-stat-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.stat-icon-modern {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-modern i {
    font-size: 28px;
    color: white;
}

.stat-content-modern {
    flex: 1;
}

.stat-value-modern {
    font-size: 28px;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.stat-label-modern {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

/* Badge Info */
.badge-info {
    background: #dbeafe;
    color: #2563eb;
}

/* Responsive Pipeline */
@media (max-width: 1024px) {
    .pipeline-stats-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .funnel-visual {
        padding: 40px 30px;
    }
    
    .funnel-box {
        height: 80px;
        padding: 0 24px;
    }
    
    .funnel-icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .funnel-icon-circle i {
        font-size: 24px;
    }
    
    .funnel-stage-count {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .pipeline-stats-modern {
        grid-template-columns: 1fr;
    }
    
    .funnel-visual {
        padding: 30px 20px;
    }
    
    .funnel-box {
        height: 70px;
        padding: 0 20px;
        gap: 16px;
    }
    
    .funnel-icon-circle {
        width: 45px;
        height: 45px;
    }
    
    .funnel-icon-circle i {
        font-size: 20px;
    }
    
    .funnel-stage-name {
        font-size: 14px;
    }
    
    .funnel-stage-count {
        font-size: 24px;
    }
}
/* ==================== BEAUTIFUL SALES PIPELINE (CENTERED DESIGN) ==================== */

.funnel-visual-beautiful {
    background: white;
    border-radius: 20px;
    padding: 80px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.funnel-item-beautiful {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.6s ease-out;
}

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

.funnel-card-beautiful {
    min-width: 280px;
    max-width: 720px;
    width: 100%;
    padding: 24px 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.funnel-card-beautiful::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.funnel-card-beautiful:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.funnel-card-beautiful:hover::before {
    opacity: 1;
}

/* First stage (largest) */
.funnel-item-beautiful:nth-child(1) .funnel-card-beautiful {
    width: 100%;
    max-width: 720px;
}

/* Second stage */
.funnel-item-beautiful:nth-child(2) .funnel-card-beautiful {
    width: 88%;
    max-width: 630px;
}

/* Third stage */
.funnel-item-beautiful:nth-child(3) .funnel-card-beautiful {
    width: 76%;
    max-width: 550px;
}

/* Fourth stage */
.funnel-item-beautiful:nth-child(4) .funnel-card-beautiful {
    width: 64%;
    max-width: 460px;
}

/* Fifth stage (smallest) */
.funnel-item-beautiful:nth-child(5) .funnel-card-beautiful {
    width: 52%;
    max-width: 375px;
}

.funnel-icon-beautiful {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.funnel-card-beautiful:hover .funnel-icon-beautiful {
    transform: rotate(360deg) scale(1.1);
    background: rgba(255,255,255,0.4);
}

.funnel-icon-beautiful i {
    font-size: 28px;
    color: white;
}

.funnel-details-beautiful {
    flex: 1;
    color: white;
}

.funnel-label-beautiful {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.95;
    letter-spacing: 0.3px;
}

.funnel-value-beautiful {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.funnel-conversion-beautiful {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 6px 16px;
    background: #f8fafc;
    border-radius: 20px;
}

/* Pipeline Stats Beautiful */
.pipeline-stats-beautiful {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card-beautiful {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.stat-card-beautiful:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.stat-icon-box-beautiful {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-icon-box-beautiful i {
    font-size: 28px;
    color: white;
}

.stat-info-beautiful {
    text-align: center;
}

.stat-number-beautiful {
    font-size: 32px;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.stat-text-beautiful {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
}

/* Badge Info for withdrawals */
.badge-info {
    background: #dbeafe;
    color: #2563eb;
}

/* Responsive Pipeline Beautiful */
@media (max-width: 1024px) {
    .pipeline-stats-beautiful {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .funnel-visual-beautiful {
        padding: 60px 30px;
    }
    
    .funnel-card-beautiful {
        min-width: 240px;
        padding: 20px 28px;
    }
    
    .funnel-icon-beautiful {
        width: 56px;
        height: 56px;
    }
    
    .funnel-icon-beautiful i {
        font-size: 24px;
    }
    
    .funnel-value-beautiful {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .pipeline-stats-beautiful {
        grid-template-columns: 1fr;
    }
    
    .funnel-visual-beautiful {
        padding: 40px 20px;
    }
    
    .funnel-card-beautiful {
        min-width: 200px;
        padding: 18px 24px;
        gap: 16px;
    }
    
    /* All stages same width on mobile */
    .funnel-item-beautiful:nth-child(1) .funnel-card-beautiful,
    .funnel-item-beautiful:nth-child(2) .funnel-card-beautiful,
    .funnel-item-beautiful:nth-child(3) .funnel-card-beautiful,
    .funnel-item-beautiful:nth-child(4) .funnel-card-beautiful,
    .funnel-item-beautiful:nth-child(5) .funnel-card-beautiful {
        width: 100%;
        max-width: 100%;
    }
    
    .funnel-icon-beautiful {
        width: 50px;
        height: 50px;
    }
    
    .funnel-icon-beautiful i {
        font-size: 22px;
    }
    
    .funnel-label-beautiful {
        font-size: 14px;
    }
    
    .funnel-value-beautiful {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .funnel-card-beautiful {
        min-width: 180px;
        padding: 16px 20px;
    }
    
    .funnel-icon-beautiful {
        width: 45px;
        height: 45px;
    }
    
    .funnel-icon-beautiful i {
        font-size: 20px;
    }
    
    .funnel-value-beautiful {
        font-size: 24px;
    }
}