/* ============================================
   MODERN PROFESSIONAL DESIGN - Chợ AI Việt
   ============================================ */

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

:root {
    /* Color Palette - Professional & Modern */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    
    /* Neutral Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border-color: #e5e7eb;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   HEADER - Modern & Sticky
   ============================================ */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    transition: all var(--transition-base);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-fast);
    padding: var(--spacing-xs) 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width var(--transition-base);
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.cart-icon-btn {
    position: relative;
    background: var(--bg-secondary);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon-btn:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    color: white;
    border-radius: var(--radius-full);
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: var(--shadow-md);
}

/* Buttons - Modern Design */
.btn {
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-login:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-signup {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.user-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.user-info span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.user-info #userName {
    font-weight: 600;
    color: var(--primary-color);
}

.balance {
    color: var(--success-color);
    font-weight: 700;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.btn-recharge {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

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

.btn-history {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.btn-history:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-admin {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

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

.btn-partner {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

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

.btn-google {
    background: white;
    color: #4285f4;
    border: 1px solid #dadce0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.btn-google:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

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

.google-signin-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.google-signin-divider::before,
.google-signin-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.google-signin-divider span {
    padding: 0 1rem;
}

.btn-user-dashboard {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 8px 20px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.btn-user-dashboard:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.user-quick-actions {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.user-quick-actions h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.user-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.user-service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.user-service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
}

.user-service-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.user-service-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.user-service-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.user-service-status.expired {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.user-service-details {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.user-service-date {
    margin-top: var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn-logout {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.btn-logout:hover {
    background: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
}

/* ============================================
   HERO SECTION - Professional
   ============================================ */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: var(--spacing-2xl) 0;
    color: white;
    text-align: center;
    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="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SECTIONS - Modern Spacing
   ============================================ */
section {
    padding: var(--spacing-2xl) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-full);
}

/* ============================================
   PRODUCTS SECTION - Modern Cards
   ============================================ */
.products {
    background: var(--bg-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.product-card:hover::before {
    transform: scaleX(1);
}

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

.product-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(99, 102, 241, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.product-info {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.product-footer {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.product-price-container {
    width: 100%;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.6;
    display: block;
}

.product-cart-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    width: 100%;
}

.btn-cart-month,
.btn-cart-year {
    width: 100%;
    font-size: 0.9rem;
    padding: var(--spacing-xs) var(--spacing-sm);
}

.btn-cart {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

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

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

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

/* Product Logo Containers - Keep existing styles but enhance */
.chatgpt-logo-container,
.capcut-logo-container,
.grok-logo-container,
.canva-logo-container,
.veo-logo-container,
.vidiq-logo-container,
.gemini-logo-container,
.youtube-logo-container,
.gpm-logo-container,
.perplexity-logo-container,
.elevenlabs-logo-container,
.midjourney-logo-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.contact-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact-card a:hover {
    color: var(--primary-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: var(--spacing-xs);
    transition: color var(--transition-fast);
}

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

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

/* ============================================
   MODALS - Modern Design
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn var(--transition-base);
}

.modal.show,
.modal[style*="display: block"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp var(--transition-base);
    position: relative;
}

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

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

.close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
    font-family: inherit;
}

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

/* Remember Me Checkbox */
.remember-me {
    margin-bottom: var(--spacing-sm);
}

.remember-me-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    user-select: none;
}

.remember-me-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.remember-me-label span {
    font-weight: 400;
}

.btn-full {
    width: 100%;
    margin-top: var(--spacing-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        gap: var(--spacing-sm);
    }
    
    .nav-menu li:not(.auth-buttons) {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .user-info {
        flex-direction: column;
        align-items: stretch;
    }
    
    .user-info .btn {
        width: 100%;
    }
    
    .modal-content {
        padding: var(--spacing-md);
        width: 95%;
    }
}

/* Product Info Modal Styles */
.product-info-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-color);
}

.info-tab {
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.info-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

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

.info-tab-content {
    display: none;
}

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

.product-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.info-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.info-stat-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.info-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.info-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.product-info-table-container {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.product-info-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.product-info-table thead {
    position: sticky;
    top: 0;
    background: var(--bg-secondary);
    z-index: 10;
}

.product-info-table th {
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.product-info-table td {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.product-info-table tbody tr:hover {
    background: var(--bg-secondary);
}

.password-field,
.apikey-field {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.btn-copy-password,
.btn-copy-apikey {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-left: var(--spacing-xs);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.btn-copy-password:hover,
.btn-copy-apikey:hover {
    background: var(--bg-tertiary);
}

/* ============================================
   EXISTING PRODUCT LOGO STYLES
   (Keep all existing logo-specific styles)
   ============================================ */

/* ChatGPT Logo */
.chatgpt-logo-container {
    background: linear-gradient(135deg, #10a37f 0%, #1a7f64 100%);
}

.chatgpt-text-wrapper {
    text-align: center;
}

.chatgpt-title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.chatgpt-text {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
}

.chatgpt-plus-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.chatgpt-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Capcut Logo */
.capcut-logo-container {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.capcut-text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.capcut-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
}

.capcut-pro-badge {
    background: white;
    color: #ff6b6b;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 800;
}

/* Grok Logo */
.grok-logo-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.grok-text {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Canva Logo */
.canva-logo-container {
    background: linear-gradient(90deg, #00d4aa 0%, #0066ff 100%);
    position: relative;
}

.canva-text {
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.canva-logo-text {
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Veo 3 Ultra Logo */
.veo-logo-container {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
}

.google-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.google-dots-logo {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.dot-row {
    display: flex;
    gap: 0.2rem;
    justify-content: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red { background: #ea4335; }
.dot.yellow { background: #fbbc04; }
.dot.green { background: #34a853; }
.dot.blue { background: #4285f4; }

.google-text {
    display: flex;
    gap: 0.1rem;
}

.google-text span {
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
}

.g-letter { color: #4285f4; }
.o-letter { color: #ea4335; }
.o-letter2 { color: #fbbc04; }
.g-letter2 { color: #34a853; }
.l-letter { color: #ea4335; }
.e-letter { color: #ea4335; }

.veo-text-wrapper {
    margin-top: 0.5rem;
    text-align: center;
}

.ai-ultra-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 1px;
}

.veo-3-text {
    font-size: 1.5rem;
    color: white;
    font-weight: 800;
    margin-top: 0.25rem;
}

/* Vidiq Boost Logo */
.vidiq-logo-container {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.vidiq-logo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.vidiq-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.vidiq-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.vidiq-play-icon {
    font-size: 2rem;
    color: white;
    margin-left: 4px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.vidiq-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.vidiq-main-text {
    font-size: 2.8rem;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.vidiq-boost-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #ff6b35;
    padding: 0.5rem 1.2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.vidiq-text {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
}

/* Gemini Logo */
.gemini-logo-container {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
}

.gemini-text {
    font-size: 2rem;
    font-weight: 900;
    color: white;
}

/* YouTube Premium Logo */
.youtube-logo-container {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.youtube-play-icon {
    width: 60px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-play-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.youtube-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.youtube-name {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.youtube-premium-badge {
    background: white;
    color: #ff0000;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.youtube-text {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
}

/* GPM Login Logo */
.gpm-logo-container {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
}

.gpm-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
}

/* Perplexity Logo */
.perplexity-logo-container {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.perplexity-text {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
}

/* Eleven Labs Logo - Base */
.elevenlabs-logo-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.elevenlabs-bars {
    display: flex;
    gap: 0.3rem;
    align-items: flex-end;
    justify-content: center;
}

.elevenlabs-bar {
    background: white;
    border-radius: 2px;
}

.elevenlabs-bar.thin {
    width: 4px;
    height: 20px;
}

.elevenlabs-bar.medium {
    width: 6px;
    height: 30px;
}

.elevenlabs-bar.thick {
    width: 8px;
    height: 40px;
}

/* ElevenLabs Free Logo */
.elevenlabs-free-logo-container {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.elevenlabs-free-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
}

.elevenlabs-free-bars {
    display: flex;
    gap: 0.6rem;
    align-items: flex-end;
    justify-content: center;
}

.elevenlabs-free-bar {
    background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.3);
}

.elevenlabs-free-bar.bar-1 {
    width: 14px;
    height: 60px;
}

.elevenlabs-free-bar.bar-2 {
    width: 14px;
    height: 80px;
}

.elevenlabs-free-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.elevenlabs-free-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.elevenlabs-free-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 3px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
}

/* ElevenLabs API Key Logo */
.elevenlabs-api-logo-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.elevenlabs-api-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
}

.elevenlabs-api-bars {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    justify-content: center;
}

.elevenlabs-api-bar {
    background: linear-gradient(180deg, #ffffff 0%, #d0d0d0 100%);
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.25);
}

.elevenlabs-api-bar.bar-1 {
    width: 12px;
    height: 55px;
}

.elevenlabs-api-bar.bar-2 {
    width: 14px;
    height: 80px;
}

.elevenlabs-api-bar.bar-3 {
    width: 12px;
    height: 60px;
}

.elevenlabs-api-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.elevenlabs-api-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.elevenlabs-api-key-badge {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
}

/* VEO 3 Ultra Tool Logo */
.veo3-tool-logo-container {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc04 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.veo3-tool-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
}

.veo3-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.veo3-play-icon {
    font-size: 2.5rem;
    color: white;
    margin-left: 6px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.veo3-tool-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.veo3-main-text {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    letter-spacing: 3px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.veo3-sub-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Midjourney Logo */
.midjourney-logo-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.midjourney-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    letter-spacing: 3px;
}

/* ============================================
   ADDITIONAL COMPONENTS
   ============================================ */

/* Loading Spinner */
.spinner {
    border: 3px solid var(--bg-tertiary);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Focus Visible */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================
   ADDITIONAL MODAL STYLES
   ============================================ */

.modal-large {
    max-width: 800px;
}

.cart-modal,
.checkout-modal,
.product-detail-modal {
    max-width: 600px;
}

.admin-modal-content {
    max-width: 1400px;
    width: 95%;
    max-height: 90vh;
}

.history-modal {
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
}

.product-modal-content {
    max-width: 600px;
}

/* Cart Styles */
.cart-content {
    max-height: 60vh;
    overflow-y: auto;
}

.cart-items {
    margin-bottom: var(--spacing-md);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    gap: var(--spacing-md);
}

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

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

.cart-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.cart-item-price {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.cart-item-actions {
    display: flex;
    gap: var(--spacing-xs);
}

.cart-summary {
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--border-color);
    margin-top: var(--spacing-md);
}

.cart-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

/* Checkout Styles */
.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.checkout-summary {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
}

.checkout-form {
    background: white;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

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

.checkout-total {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--border-color);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Product Detail Modal */
.product-detail-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.product-detail-header {
    text-align: center;
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-color);
}

.product-detail-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: var(--spacing-sm);
}

.product-detail-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

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

.product-features li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.product-description-full {
    color: var(--text-secondary);
    line-height: 1.8;
}

.product-detail-footer {
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--border-color);
}

/* Divider */
.divider {
    text-align: center;
    margin: var(--spacing-md) 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    background: white;
    padding: 0 var(--spacing-md);
    position: relative;
    color: var(--text-secondary);
}

/* Google Button */
.btn-google {
    width: 100%;
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.btn-google:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

/* Switch Form */
.switch-form {
    text-align: center;
    margin-top: var(--spacing-md);
    color: var(--text-secondary);
}

.switch-form a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.switch-form a:hover {
    text-decoration: underline;
}

/* Recharge Modal Styles */
.recharge-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    font-weight: 500;
}

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

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 700;
}

.tab-content {
    display: none;
}

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

.bank-info {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.bank-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.bank-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.bank-label {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 150px;
}

.bank-value {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
    font-family: 'Courier New', monospace;
}

.btn-copy {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.85rem;
    transition: background var(--transition-fast);
}

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

.qr-container {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    margin: var(--spacing-md) auto;
    display: inline-block;
    text-align: center;
}

.qr-code {
    margin: 0 auto;
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

/* History Modal Styles */
.history-content {
    max-height: 70vh;
    overflow-y: auto;
}

.history-table-container {
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--spacing-md);
}

.history-table th,
.history-table td {
    padding: var(--spacing-sm);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.history-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    position: sticky;
    top: 0;
}

.history-table tr:hover {
    background: var(--bg-secondary);
}

/* Admin Panel Styles - Keep existing but enhance */
.admin-tabs {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.admin-tab {
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    font-weight: 500;
}

.admin-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 700;
}

.admin-tab-content {
    display: none;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all var(--transition-base);
}

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

.stat-icon {
    font-size: 2.5rem;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.admin-table-container {
    overflow-x: auto;
    margin-top: var(--spacing-md);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: var(--spacing-sm);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.admin-table tr:hover {
    background: var(--bg-secondary);
}

.admin-action-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    margin-right: var(--spacing-xs);
}

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

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

.btn-edit {
    background: var(--warning-color);
    color: white;
}

.btn-edit:hover {
    background: #d97706;
}

.btn-delete {
    background: var(--danger-color);
    color: white;
}

.btn-delete:hover {
    background: #dc2626;
}

.admin-action-btn.btn-info {
    background: var(--primary-color);
    color: white;
    font-size: 1rem;
    padding: var(--spacing-xs) var(--spacing-sm);
}

.admin-action-btn.btn-info:hover {
    background: var(--primary-dark);
}

/* Product Info Modal Styles */
.product-info-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-color);
}

.info-tab {
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.info-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

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

.info-tab-content {
    display: none;
}

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

.product-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.info-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.info-stat-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.info-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.info-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.product-info-table-container {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.product-info-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.product-info-table thead {
    position: sticky;
    top: 0;
    background: var(--bg-secondary);
    z-index: 10;
}

.product-info-table th {
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.product-info-table td {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.product-info-table tbody tr:hover {
    background: var(--bg-secondary);
}

.password-field,
.apikey-field {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.btn-copy-password,
.btn-copy-apikey {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-left: var(--spacing-xs);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.btn-copy-password:hover,
.btn-copy-apikey:hover {
    background: var(--bg-tertiary);
}

/* Admin Notifications Styles */
.admin-notifications-section {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.admin-notifications-list {
    max-height: 500px;
    overflow-y: auto;
}

.admin-notification-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    background: white;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--border-color);
    transition: all 0.3s ease;
}

.admin-notification-item.unread {
    border-left-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.admin-notification-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.notification-content {
    flex: 1;
}

.notification-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.notification-title {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.notification-unread-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

.notification-message {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.5;
}

.notification-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

.notification-actions {
    display: flex;
    gap: var(--spacing-xs);
    margin-left: var(--spacing-md);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Chat Widget - Keep existing styles but enhance */
.chat-widget {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    z-index: 1500;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    position: relative;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: var(--radius-full);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
}

/* Chat Modal */
.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.chat-modal.active {
    display: flex;
}

.chat-container {
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: white;
    border-radius: var(--radius-xl);
    display: flex;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    position: relative;
}

.chat-close-btn {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.chat-close-btn:hover {
    background: var(--bg-tertiary);
}

/* Chat List Panel */
.chat-list-panel {
    width: 320px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    transition: width var(--transition-base);
}

.chat-list-panel.collapsed {
    width: 0;
    overflow: hidden;
    border-right: none;
}

.chat-list-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.chat-list-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.chat-list-icon {
    font-size: 1.2rem;
}

.chat-collapse-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: var(--spacing-xs);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.chat-collapse-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.chat-list-content {
    flex: 1;
    overflow-y: auto;
    background: white;
}

.chat-list-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    background: white;
}

.chat-list-item:hover {
    background: var(--bg-secondary);
}

.chat-list-item.active {
    background: #e0e7ff;
    border-left: 3px solid var(--primary-color);
}

.chat-list-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.chat-list-info {
    flex: 1;
    min-width: 0;
}

.chat-list-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.chat-list-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.chat-list-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.chat-list-message {
    font-size: 0.85rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Chat Conversation Panel */
.chat-conversation-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.chat-conversation-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    background: white;
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.chat-user-info span:first-child {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.chat-status-indicator {
    font-size: 0.85rem;
    color: var(--success-color);
    font-weight: 500;
}

.chat-warning-banner {
    background: #fef3c7;
    color: #92400e;
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid #fde68a;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

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

.chat-empty-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 70%;
    word-wrap: break-word;
}

.chat-message.sent {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-message.received {
    align-self: flex-start;
    align-items: flex-start;
}

.chat-message-sender {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.chat-message-bubble {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-message.sent .chat-message-bubble {
    background: #3b82f6;
    color: white;
    border-bottom-right-radius: var(--radius-sm);
}

.chat-message.received .chat-message-bubble {
    background: #f3f4f6;
    color: var(--text-primary);
    border-bottom-left-radius: var(--radius-sm);
}

.chat-message-time {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: var(--spacing-xs);
    padding: 0 var(--spacing-xs);
}

.chat-input-container {
    padding: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    background: white;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.chat-input-icon {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    color: var(--text-secondary);
}

.chat-input-icon:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.chat-input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

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

.chat-send-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.chat-send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Product Logo Upload Styles */
.product-logo-upload {
    margin-top: var(--spacing-sm);
}

.logo-preview-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

.logo-preview {
    width: 100%;
    height: 300px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    overflow: hidden;
    position: relative;
}

.logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.logo-placeholder {
    color: var(--text-light);
    font-size: 0.9rem;
}

.logo-upload-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

/* Product Logo Cell in Admin Table */
.product-logo-cell {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.product-logo-cell .product-logo-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.product-logo-cell .logo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-light);
}

/* Product Order Controls */
.product-order-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.order-number {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    min-width: 30px;
    text-align: center;
}

.order-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 28px;
    height: 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    font-weight: bold;
}

.order-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.order-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Order Detail Modal Styles */
.order-detail-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.order-summary-section,
.order-products-section {
    width: 100%;
}

.order-detail-table,
.product-detail-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.order-detail-table th,
.product-detail-table th {
    background: var(--bg-secondary);
    padding: var(--spacing-sm);
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    font-size: 0.9rem;
}

.order-detail-table td,
.product-detail-table td {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.order-detail-table tr:hover,
.product-detail-table tr:hover {
    background: var(--bg-secondary);
}

.order-code-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-block;
}

.order-code-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
    transform: translateY(-1px);
}

.order-shop-cell,
.order-seller-cell {
    color: var(--success-color);
    font-weight: 600;
}

.order-action-cell {
    text-align: center;
}

.order-chat-btn {
    background: var(--success-color);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.order-chat-btn:hover {
    background: #059669;
    transform: scale(1.1);
}

.order-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.order-status-badge.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.order-status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.order-status-badge.failed {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.product-error-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.product-name-cell,
.product-value-cell {
    max-width: 600px;
    word-wrap: break-word;
    font-size: 0.9rem;
    padding: var(--spacing-md) !important;
}

/* Product Account Info Styles */
.product-account-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.product-account-item {
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.account-info-row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.account-field {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.account-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
}

.account-value {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.account-value span {
    flex: 1;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    word-break: break-all;
}

.password-masked {
    font-family: monospace;
    letter-spacing: 2px;
}

.btn-copy-account {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    flex-shrink: 0;
}

.btn-copy-account:hover {
    background: var(--bg-tertiary);
}

/* Product API Key Styles */
.product-apikey-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.product-apikey-item {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.apikey-value {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.apikey-text {
    flex: 1;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    word-break: break-all;
}

.btn-copy-apikey {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    flex-shrink: 0;
}

.btn-copy-apikey:hover {
    background: var(--bg-tertiary);
}

/* Product Plain Text Styles */
.product-plain-text {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: pre-wrap;
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

/* Toast Animation */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(100%);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Order Detail Info Styles */
.order-info-section,
.customer-info-section {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

/* Account Info Highlight Section */
.account-info-highlight-section {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 2px solid var(--success-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 6px rgba(34, 197, 94, 0.1);
}

.account-info-cards-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.account-info-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.account-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.account-info-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 var(--spacing-md) 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.account-info-content {
    margin-top: var(--spacing-md);
}

.account-info-empty-section {
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.order-info-grid,
.customer-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.order-info-item,
.customer-info-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.order-info-item label,
.customer-info-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-info-value,
.customer-info-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* User Detail Modal Styles */
.user-detail-container {
    padding: var(--spacing-md);
}

.user-info-section {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.user-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.user-info-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.user-info-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-info-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.user-orders-section {
    margin-top: var(--spacing-xl);
}

.user-orders-section .admin-table-container {
    max-height: 500px;
    overflow-y: auto;
}

/* Order Detail Management Styles (Admin Panel) */
.order-detail-manage-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
}

.order-detail-header {
    background: var(--success-color);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: calc(var(--spacing-lg) * -1) calc(var(--spacing-lg) * -1) var(--spacing-lg) calc(var(--spacing-lg) * -1);
}

.order-detail-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 var(--spacing-xs) 0;
}

.order-products-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.order-products-table thead {
    background: #f3f4f6;
}

.order-products-table th {
    padding: var(--spacing-sm);
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    font-size: 0.9rem;
}

.order-products-table td {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.order-products-table tbody tr:hover {
    background: var(--bg-secondary);
}

.order-products-table tbody tr:last-child td {
    border-bottom: none;
}

/* User account info */
.user-account-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.account-info-card,
.account-password-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.account-info-item label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.account-info-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.account-password-helper {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.account-password-card .form-group {
    margin-bottom: var(--spacing-md);
}

.account-note {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
}

.account-note.info {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    color: #1d4ed8;
}

.account-note.warning {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
}

.form-status {
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-status.success {
    color: var(--success-color);
}

.form-status.error {
    color: var(--danger-color);
}

.order-detail-instruction {
    color: var(--danger-color);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--danger-color);
}

.order-detail-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-success {
    background: var(--success-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.order-detail-notes {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.order-note-item {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    line-height: 1.6;
    font-size: 0.95rem;
}

.order-note-warning {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border-left: 4px solid var(--danger-color);
}

.order-note-info {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border-left: 4px solid var(--success-color);
}

.order-note-item strong {
    font-weight: 700;
}

.order-products-table-section {
    width: 100%;
    overflow-x: auto;
}

.order-products-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.order-products-table thead {
    background: var(--bg-secondary);
}

.order-products-table th {
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    font-size: 0.9rem;
}

.order-products-table td {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.order-products-table tbody tr:hover {
    background: var(--bg-secondary);
}

.order-products-table tbody tr:last-child td {
    border-bottom: none;
}

/* Upload Products Modal Styles */
.upload-methods-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
}

.upload-tab {
    padding: var(--spacing-sm) var(--spacing-md);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.upload-tab:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.upload-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.upload-tab-content {
    display: none;
}

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

.file-input {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.file-input:hover {
    border-color: var(--primary-color);
    background: var(--bg-tertiary);
}

.form-select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

#filePreview,
#productsTextInput {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    resize: vertical;
    transition: border-color var(--transition-fast);
}

#filePreview:focus,
#productsTextInput:focus {
    outline: none;
    border-color: var(--primary-color);
}

#textPreview {
    min-height: 100px;
    max-height: 300px;
    overflow-y: auto;
}

/* Responsive Enhancements */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-tabs {
        flex-direction: column;
    }
    
    .admin-tab {
        width: 100%;
        text-align: left;
    }
}
