/* ====================================
   VALNIX - COMPLETE STYLE.CSS
   Design System: Glassmorphism + Red/Black/Gray
   ==================================== */

/* ====================================
   1. CSS VARIABLES & ROOT
   ==================================== */
:root {
    /* Valnix Brand Colors */
    --valnix-red: #E31E24;
    --valnix-red-dark: #B81419;
    --valnix-red-light: #FF4449;
    
    /* Dark Theme */
    --valnix-dark: #0A0A0A;
    --valnix-black: #000000;
    
    /* Gray Scale */
    --valnix-gray-darker: #141414;
    --valnix-gray-dark: #1A1A1A;
    --valnix-gray-medium: #2A2A2A;
    --valnix-gray: #3A3A3A;
    --valnix-gray-light: #A0A0A0;
    --valnix-white: #FFFFFF;
    --valnix-white-soft: #E5E5E5;
    
    /* Glassmorphism */
    --glass-bg: rgba(26, 26, 26, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(10px);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-red: 0 0 20px rgba(227, 30, 36, 0.4);
    --shadow-glow-red-strong: 0 0 30px rgba(227, 30, 36, 0.6);
}

/* ====================================
   2. RESET & BASE STYLES
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--valnix-dark) 0%, var(--valnix-black) 100%);
    color: var(--valnix-white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(227, 30, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(227, 30, 36, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
}

/* ====================================
   3. LAYOUT - CONTAINER & MAIN
   ==================================== */
.container {
    max-width: 100%;
    margin: 0;
    padding: 1.5rem 2rem 1.5rem 1.5rem;
}

main {
    min-height: calc(100vh - 80px);
    padding: 0;
}

.section {
    margin-bottom: 4rem;
}

/* ====================================
   4. SIDEBAR NAVIGATION
   ==================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-right: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
    overflow-x: hidden;
    transition: transform 0.3s ease;
}

.sidebar-logo {
    padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    overflow: hidden;
}

/* Remove scrollbar completely */
.sidebar-nav::-webkit-scrollbar {
    display: none;
}

.sidebar-nav {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--valnix-gray-light);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.sidebar-nav a i {
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-nav a span:not(.nav-badge) {
    flex: 1;
}

.sidebar-nav a:hover {
    color: var(--valnix-white);
    background: rgba(227, 30, 36, 0.1);
}

.sidebar-nav a.active {
    color: var(--valnix-white);
    background: rgba(227, 30, 36, 0.15);
    border-left: 4px solid var(--valnix-red);
}

.sidebar-nav a.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 50%;
    background: var(--valnix-red);
    box-shadow: 0 0 10px rgba(227, 30, 36, 0.5);
}

/* Nav Badge (for cart count, notifications) */
.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 0.375rem;
    background: var(--valnix-red);
    color: var(--valnix-white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(227, 30, 36, 0.5);
}

/* Sidebar User Section */
.sidebar-user {
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(227, 30, 36, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(227, 30, 36, 0.2);
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--valnix-red) 0%, var(--valnix-red-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--valnix-white);
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(227, 30, 36, 0.3);
}

.user-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.user-name {
    font-weight: 600;
    color: var(--valnix-white);
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.7rem;
    color: var(--valnix-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    color: #ef4444;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

.btn-logout i {
    font-size: 1rem;
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: linear-gradient(135deg, var(--valnix-red) 0%, var(--valnix-red-dark) 100%);
    color: var(--valnix-white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow-red);
    transition: var(--transition-fast);
}

.sidebar-toggle:hover {
    box-shadow: var(--shadow-glow-red-strong);
    transform: translateY(-2px);
}

.sidebar-toggle:active {
    transform: translateY(0);
}

/* ====================================
   4.1 NOTIFICATIONS PANEL
   ==================================== */
.notifications-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-left: 1px solid var(--glass-border);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.notifications-panel.active {
    right: 0;
}

.notifications-header {
    padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.notifications-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--valnix-white);
    margin: 0;
}

.notifications-header a {
    font-size: 0.8rem;
    color: var(--valnix-red);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.notifications-header a:hover {
    opacity: 0.7;
}

.notifications-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.notification-item {
    padding: 1rem;
    background: var(--valnix-gray-dark);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.notification-item:hover {
    background: var(--valnix-gray-medium);
    border-color: rgba(227, 30, 36, 0.3);
}

.notification-item.unread {
    background: rgba(227, 30, 36, 0.1);
    border-color: rgba(227, 30, 36, 0.3);
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--valnix-red);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(227, 30, 36, 0.5);
}

.notification-title {
    font-weight: 600;
    color: var(--valnix-white);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.notification-message {
    color: var(--valnix-gray-light);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--valnix-gray-light);
    opacity: 0.7;
}

.notifications-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--valnix-gray-light);
}

.notifications-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* ====================================
   4.2 MAIN CONTENT AREA
   ==================================== */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    position: relative;
    padding: 0;
}

/* ====================================
   5. HERO SECTION
   ==================================== */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(227, 30, 36, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    z-index: -1;
}

.hero-content {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--valnix-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--valnix-white) 0%, var(--valnix-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(227, 30, 36, 0.5);
    animation: glow 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--valnix-gray-light);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--valnix-red) 0%, var(--valnix-red-dark) 100%);
    color: var(--valnix-white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-glow-red);
}

.hero-cta:hover {
    background: linear-gradient(135deg, var(--valnix-red-light) 0%, var(--valnix-red) 100%);
    box-shadow: var(--shadow-glow-red-strong);
    transform: translateY(-4px);
}

.hero-cta i {
    font-size: 1.25rem;
}

/* ====================================
   6. CATEGORIES GRID
   ==================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(227, 30, 36, 0.2);
    border-color: rgba(227, 30, 36, 0.4);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(227, 30, 36, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--valnix-red);
    transition: var(--transition-normal);
}

.category-card:hover .category-icon {
    background: rgba(227, 30, 36, 0.25);
    box-shadow: var(--shadow-glow-red);
    transform: scale(1.1);
}

.category-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--valnix-white);
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.875rem;
    color: var(--valnix-gray-light);
}

/* ====================================
   7. SECTION HEADERS
   ==================================== */
.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--valnix-white);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title i {
    color: var(--valnix-red);
    font-size: 1.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--valnix-gray-light);
}

/* ====================================
   8. PRODUCT GRID & CARDS
   ==================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    min-height: 550px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(227, 30, 36, 0.2);
    border-color: rgba(227, 30, 36, 0.4);
}

.product-image {
    width: 100%;
    height: 250px;
    background: var(--valnix-gray-dark);
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--valnix-red);
    color: var(--valnix-white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-glow-red);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    color: var(--valnix-red);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--valnix-white);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.product-description {
    font-size: 0.875rem;
    color: var(--valnix-gray-light);
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-original {
    font-size: 1rem;
    color: var(--valnix-gray-light);
    text-decoration: line-through;
}

.price-current {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--valnix-red);
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

.product-actions .btn {
    flex: 1;
}

.add-to-cart {
    background: linear-gradient(135deg, var(--valnix-red) 0%, var(--valnix-red-dark) 100%);
    color: var(--valnix-white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart:hover {
    background: linear-gradient(135deg, var(--valnix-red-light) 0%, var(--valnix-red) 100%);
    box-shadow: var(--shadow-glow-red-strong);
    transform: translateY(-2px);
}

/* ====================================
   9. CARDS & GLASSMORPHISM
   ==================================== */
.card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(227, 30, 36, 0.3);
}

.card-glow {
    box-shadow: 0 0 20px rgba(227, 30, 36, 0.2);
}

.card-glow:hover {
    box-shadow: 0 0 30px rgba(227, 30, 36, 0.4);
}

/* ====================================
   10. BUTTONS
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--valnix-red) 0%, var(--valnix-red-dark) 100%);
    color: var(--valnix-white);
    box-shadow: var(--shadow-glow-red);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--valnix-red-light) 0%, var(--valnix-red) 100%);
    box-shadow: var(--shadow-glow-red-strong);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--valnix-gray-medium);
    color: var(--valnix-white);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--valnix-gray);
    border-color: var(--valnix-gray-light);
}

.btn-outline {
    background: transparent;
    color: var(--valnix-red);
    border: 2px solid var(--valnix-red);
}

.btn-outline:hover {
    background: var(--valnix-red);
    color: var(--valnix-white);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ====================================
   11. FORMS
   ==================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--valnix-white);
    font-size: 0.875rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--valnix-gray-dark);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: var(--radius-md);
    color: var(--valnix-white);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--valnix-red);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--valnix-gray-light);
}

/* ====================================
   12. STATS CARDS
   ==================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(227, 30, 36, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: rgba(227, 30, 36, 0.15);
    color: var(--valnix-red);
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--valnix-gray-light);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--valnix-white);
}

/* ====================================
   13. TABLES
   ==================================== */
.table-wrapper {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background: var(--valnix-gray-dark);
    border-bottom: 2px solid var(--valnix-red);
}

.table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 700;
    color: var(--valnix-white);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--valnix-gray-medium);
    color: var(--valnix-gray-light);
}

.table tbody tr {
    transition: var(--transition-fast);
}

.table tbody tr:hover {
    background: rgba(227, 30, 36, 0.05);
}

/* ====================================
   14. BADGES & STATUS
   ==================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.badge-gray {
    background: rgba(107, 114, 128, 0.15);
    border: 1px solid rgba(107, 114, 128, 0.3);
    color: #6b7280;
}

/* ====================================
   15. ALERTS & MESSAGES
   ==================================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.alert i {
    font-size: 1.25rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

/* ====================================
   16. EMPTY STATES
   ==================================== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.empty-state i {
    font-size: 4rem;
    color: var(--valnix-gray);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--valnix-white);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--valnix-gray-light);
    margin-bottom: 2rem;
}

/* ====================================
   17. FOOTER
   ==================================== */
.footer {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    margin-left: 280px;
}

/* Discord Floating Button */
.discord-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: discordFloat 3s ease-in-out infinite;
}

.discord-float-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
    transition: all 0.3s ease;
    border: 3px solid rgba(88, 101, 242, 0.3);
}

.discord-float-btn a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(88, 101, 242, 0.6);
    background: linear-gradient(135deg, #4752c4 0%, #3c45a5 100%);
}

.discord-float-btn a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(88, 101, 242, 0.3);
    animation: discordPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes discordFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes discordPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Responsive Discord Button */
@media (max-width: 768px) {
    .discord-float-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .discord-float-btn a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--valnix-white);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--valnix-gray-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--valnix-gray-medium);
    border-radius: 50%;
    color: var(--valnix-white);
    transition: var(--transition-fast);
    font-size: 1.125rem;
}

.social-link:hover {
    background: var(--valnix-red);
    box-shadow: var(--shadow-glow-red);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links li a {
    color: var(--valnix-gray-light);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links li a:hover {
    color: var(--valnix-red);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--valnix-gray-light);
}

.contact-info i {
    color: var(--valnix-red);
    font-size: 1.125rem;
    width: 20px;
}

.contact-info a {
    color: var(--valnix-gray-light);
    transition: var(--transition-fast);
}

.contact-info a:hover {
    color: var(--valnix-white);
}

.footer-bottom {
    padding-top: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--valnix-gray-light);
    font-size: 0.875rem;
}

/* ====================================
   18. ANIMATIONS
   ==================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(227, 30, 36, 0.4);
        text-shadow: 0 0 40px rgba(227, 30, 36, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(227, 30, 36, 0.6);
        text-shadow: 0 0 60px rgba(227, 30, 36, 0.7);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.pulse {
    animation: pulse 2s infinite;
}

.glow {
    animation: glow 2s infinite;
}

/* ====================================
   19. UTILITY CLASSES
   ==================================== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }

.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.w-100 { width: 100%; }

/* ====================================
   20. FILTER SECTION
   ==================================== */
.filters-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* ====================================
   21. CART SPECIFIC STYLES
   ==================================== */
.cart-summary {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: sticky;
    top: 2rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--valnix-gray-medium);
}

.cart-summary-row:last-child {
    border-bottom: none;
}

.cart-summary-label {
    font-size: 0.875rem;
    color: var(--valnix-gray-light);
}

.cart-summary-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--valnix-white);
}

.cart-summary-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--valnix-red);
}

.coupon-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* ====================================
   22. PROFILE PAGE STYLES
   ==================================== */
.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

.profile-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--valnix-red) 0%, var(--valnix-red-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--valnix-white);
    box-shadow: var(--shadow-glow-red);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--valnix-white);
    margin-bottom: 0.5rem;
}

.profile-email {
    font-size: 0.875rem;
    color: var(--valnix-gray-light);
    margin-bottom: 1rem;
}

.profile-role {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(227, 30, 36, 0.15);
    border: 1px solid rgba(227, 30, 36, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--valnix-red);
    text-transform: uppercase;
}

.profile-menu {
    list-style: none;
    margin-top: 1.5rem;
}

.profile-menu li {
    margin-bottom: 0.5rem;
}

.profile-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--valnix-gray-dark);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: var(--radius-md);
    color: var(--valnix-gray-light);
    font-weight: 500;
    transition: var(--transition-fast);
}

.profile-menu a:hover,
.profile-menu a.active {
    background: rgba(227, 30, 36, 0.15);
    border-color: rgba(227, 30, 36, 0.3);
    color: var(--valnix-white);
}

/* ====================================
   23. CHAT STYLES
   ==================================== */
.chat-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.chat-messages {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    min-height: 500px;
    max-height: 600px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 1rem;
    animation: slideInRight 0.3s ease;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--valnix-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.chat-message.admin .chat-avatar {
    background: var(--valnix-gray-medium);
}

.chat-bubble {
    background: var(--valnix-gray-dark);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: var(--radius-md);
    padding: 1rem;
    max-width: 70%;
}

.chat-message.user .chat-bubble {
    background: rgba(227, 30, 36, 0.15);
    border-color: rgba(227, 30, 36, 0.3);
}

.chat-sender {
    font-weight: 600;
    color: var(--valnix-white);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.chat-text {
    color: var(--valnix-white);
    line-height: 1.6;
    word-wrap: break-word;
}

.chat-time {
    font-size: 0.75rem;
    color: var(--valnix-gray-light);
    margin-top: 0.5rem;
}

.chat-form {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

.chat-input {
    flex: 1;
    padding: 1rem;
    background: var(--valnix-gray-dark);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: var(--radius-md);
    color: var(--valnix-white);
    resize: none;
    font-family: inherit;
}

.chat-input:focus {
    outline: none;
    border-color: var(--valnix-red);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

/* ====================================
   24. RESPONSIVE - TABLET
   ==================================== */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-280px);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .container,
    .hero-section,
    .footer,
    .main-content {
        margin-left: 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .notifications-panel {
        width: 100%;
        right: -100%;
    }
    
    .notifications-panel.active {
        right: 0;
    }
}

/* ====================================
   25. RESPONSIVE - MOBILE
   ==================================== */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .table-wrapper {
        overflow-x: auto;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-section {
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-bubble {
        max-width: 85%;
    }
}

/* ====================================
   26. SCROLLBAR
   ==================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--valnix-gray-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--valnix-gray-medium);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--valnix-red);
}

/* ====================================
   27. NOTIFICATION BADGE
   ==================================== */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--valnix-red);
    color: var(--valnix-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    min-width: 20px;
    text-align: center;
    box-shadow: var(--shadow-glow-red);
}

/* ====================================
   28. LOADING SPINNER
   ==================================== */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--valnix-gray-medium);
    border-top-color: var(--valnix-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ====================================
   29. ADMIN SPECIFIC STYLES
   ==================================== */
.admin-header {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ====================================
   30. BREADCRUMB
   ==================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--valnix-gray-light);
}

.breadcrumb a {
    color: var(--valnix-red);
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb i {
    font-size: 0.7rem;
}

/* ====================================
   31. ORDER CARD SPECIFIC STYLES
   ==================================== */
.order-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.order-header {
    padding: 1.5rem;
    background: var(--valnix-gray-dark);
    border-bottom: 1px solid var(--valnix-gray-medium);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.order-status-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.order-content {
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--valnix-gray-dark);
    border-bottom: 1px solid var(--valnix-gray-medium);
}

.order-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--valnix-gray-medium);
}

.order-actions {
    padding: 1rem 1.5rem;
    background: var(--valnix-gray-darker);
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ====================================
   32. CHAT CARD SPECIFIC STYLES
   ==================================== */
.chat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.chat-card.active {
    border-left: 4px solid var(--valnix-red);
    box-shadow: 0 0 30px rgba(227, 30, 36, 0.15);
}

.chat-header {
    padding: 1.5rem;
    background: var(--valnix-gray-dark);
    border-bottom: 1px solid var(--valnix-gray-medium);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.chat-preview {
    padding: 1.5rem;
    background: var(--valnix-gray-dark);
    border-bottom: 1px solid var(--valnix-gray-medium);
}

.chat-preview p {
    color: var(--valnix-gray-light);
    line-height: 1.6;
}

.chat-preview strong {
    color: var(--valnix-red);
}

.chat-timestamp {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--valnix-gray-light);
    opacity: 0.7;
}

.chat-actions {
    padding: 1rem 1.5rem;
    background: var(--valnix-gray-darker);
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.chat-active-indicator {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    color: #22c55e;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ====================================
   33. SEARCH & FILTER SECTION
   ==================================== */
.search-filter-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-form input {
    flex: 1;
}

.filter-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    transition: var(--transition-fast);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--valnix-red) 0%, var(--valnix-red-dark) 100%);
    color: var(--valnix-white);
    box-shadow: var(--shadow-glow-red);
}

/* ====================================
   34. PROFILE SIDEBAR MENU STYLES
   ==================================== */
.profile-sidebar {
    position: sticky;
    top: 2rem;
}

.profile-user-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-avatar-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: var(--valnix-gray-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--valnix-red);
    box-shadow: 0 0 30px rgba(227, 30, 36, 0.3);
}

.profile-avatar-wrapper i {
    font-size: 5rem;
    color: var(--valnix-red);
}

.profile-display-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--valnix-white);
    margin-bottom: 0.5rem;
}

.profile-username {
    color: var(--valnix-gray-light);
    margin-bottom: 1rem;
}

.profile-role-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-role-badge.admin {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.2), rgba(227, 30, 36, 0.1));
    border: 1px solid rgba(227, 30, 36, 0.5);
    color: var(--valnix-red);
}

.profile-role-badge.user {
    background: rgba(75, 85, 99, 0.2);
    border: 1px solid rgba(75, 85, 99, 0.3);
    color: var(--valnix-gray-light);
}

.profile-member-since {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--valnix-gray-medium);
    color: var(--valnix-gray-light);
    font-size: 0.875rem;
}

.profile-nav-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.profile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    color: var(--valnix-gray-light);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s;
    font-weight: 500;
}

.profile-nav-link:hover {
    background: var(--valnix-gray-dark);
    color: var(--valnix-white);
}

.profile-nav-link.active {
    background: var(--valnix-red);
    color: var(--valnix-white);
    box-shadow: 0 0 20px rgba(227, 30, 36, 0.3);
}

/* ====================================
   35. PROFILE FORM SECTIONS
   ==================================== */
.profile-section-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.profile-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--valnix-white);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--valnix-gray-medium);
}

.profile-section-title i {
    color: var(--valnix-red);
}

/* ====================================
   36. PRODUCT DETAIL SPECIFIC
   ==================================== */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.product-detail-image-wrapper {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
}

.product-detail-image {
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--valnix-gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.5rem 1rem;
    background: var(--valnix-red);
    color: var(--valnix-white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: var(--shadow-glow-red);
}

.product-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-stock-badge.in-stock {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.product-stock-badge.out-of-stock {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.product-price-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--valnix-gray-dark);
    border-radius: 1rem;
    border: 1px solid var(--valnix-gray-medium);
}

/* ====================================
   37. RESPONSIVE GRID ADJUSTMENTS
   ==================================== */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .order-header,
    .chat-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-status-group {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
    }
    
    .order-content {
        flex-direction: column;
        text-align: center;
    }
    
    .order-actions,
    .chat-actions {
        flex-direction: column;
    }
    
    .order-actions .btn,
    .chat-actions .btn {
        width: 100%;
    }
    
    .chat-active-indicator {
        justify-content: center;
    }
    
    .filter-buttons {
        justify-content: center;
    }
}

/* ====================================
   38. REVIEWS / TESTIMONIALS SECTION
   ==================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.review-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(227, 30, 36, 0.3);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--valnix-red) 0%, var(--valnix-red-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--valnix-white);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(227, 30, 36, 0.3);
}

.review-user {
    flex: 1;
}

.review-name {
    font-weight: 700;
    color: var(--valnix-white);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
    font-size: 0.875rem;
}

.review-stars i {
    filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.5));
}

.review-text {
    color: var(--valnix-gray-light);
    line-height: 1.7;
    font-size: 0.95rem;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.review-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--valnix-red);
    opacity: 0.3;
    font-family: Georgia, serif;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   39. AUTH PAGES (LOGIN & REGISTER)
   ==================================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-box {
    width: 100%;
    max-width: 480px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header i {
    font-size: 3rem;
    color: var(--valnix-red);
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 20px rgba(227, 30, 36, 0.4));
}

.auth-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--valnix-white);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--valnix-gray-light);
    font-size: 0.95rem;
}

.auth-form {
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--valnix-white);
    font-size: 0.875rem;
}

.auth-form label i {
    color: var(--valnix-red);
    margin-right: 0.5rem;
}

.auth-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--valnix-gray-dark);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: var(--radius-md);
    color: var(--valnix-white);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--valnix-red);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.auth-form input::placeholder {
    color: var(--valnix-gray-light);
}

.auth-form small {
    display: block;
    margin-top: 0.5rem;
    color: var(--valnix-gray-light);
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.auth-footer p {
    color: var(--valnix-gray-light);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--valnix-red);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.auth-footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Alert Variations for Auth */
.alert-banned {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #dc2626;
}

/* Responsive Auth Pages */
@media (max-width: 1024px) {
    .auth-container {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .auth-box {
        padding: 2rem;
    }
    
    .auth-header i {
        font-size: 2.5rem;
    }
    
    .auth-header h2 {
        font-size: 1.75rem;
    }
}

/* ====================================
   40. CHECKOUT PAGE
   ==================================== */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--valnix-white);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-header h1 i {
    color: var(--valnix-red);
}

.page-header p {
    color: var(--valnix-gray-light);
    font-size: 1.1rem;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-top: 2rem;
}

/* Order Review */
.order-review {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.order-review h2,
.payment-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--valnix-white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.order-review h2 i,
.payment-section h2 i {
    color: var(--valnix-red);
}

.order-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--valnix-gray-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

.order-item:hover {
    border-color: var(--valnix-red);
    transform: translateX(4px);
}

.order-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
}

.order-item-details {
    flex: 1;
}

.order-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--valnix-white);
    margin-bottom: 0.5rem;
}

.order-item-qty {
    font-size: 0.875rem;
    color: var(--valnix-gray-light);
}

.order-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--valnix-red);
    display: flex;
    align-items: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: var(--valnix-white);
    font-size: 1rem;
}

.summary-row.discount {
    color: var(--valnix-red);
    font-weight: 600;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0 0;
    margin-top: 1rem;
    border-top: 2px solid var(--valnix-red);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--valnix-white);
}

.summary-total span:last-child {
    color: var(--valnix-red);
}

/* Payment Section */
.payment-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.payment-method {
    background: var(--valnix-gray-dark);
    border: 2px solid var(--valnix-red);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.payment-method i {
    font-size: 3rem;
    color: var(--valnix-red);
    margin-bottom: 1rem;
}

.payment-method h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--valnix-white);
    margin-bottom: 0.5rem;
}

.payment-method p {
    color: var(--valnix-gray-light);
    font-size: 0.9rem;
}

.payment-instructions {
    background: var(--valnix-gray-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.payment-instructions h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--valnix-white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-instructions h4 i {
    color: var(--valnix-red);
}

.payment-instructions ol {
    list-style: decimal;
    padding-left: 1.5rem;
    color: var(--valnix-gray-light);
}

.payment-instructions ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.generate-pix-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--valnix-red) 0%, var(--valnix-red-dark) 100%);
    color: var(--valnix-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-glow-red);
}

.generate-pix-btn:hover {
    background: linear-gradient(135deg, var(--valnix-red-light) 0%, var(--valnix-red) 100%);
    box-shadow: var(--shadow-glow-red-strong);
    transform: translateY(-2px);
}

.generate-pix-btn i {
    font-size: 1.5rem;
}

/* Responsive Checkout */
@media (max-width: 1024px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .payment-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-container {
        padding: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .order-review,
    .payment-section {
        padding: 1.5rem;
    }
    
    .order-item {
        flex-direction: column;
        text-align: center;
    }
    
    .order-item-image {
        width: 100%;
        height: 150px;
    }
}

/* ====================================
   41. PAYMENT PIX PAGE
   ==================================== */
.payment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.payment-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--valnix-red);
}

.payment-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--valnix-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.payment-header h2 i {
    color: var(--valnix-red);
}

.order-summary {
    background: var(--valnix-gray-dark);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.total-amount {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--valnix-red);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--valnix-red);
}

.order-items {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}

.order-items::-webkit-scrollbar {
    width: 6px;
}

.order-items::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.order-items::-webkit-scrollbar-thumb {
    background: var(--valnix-red);
    border-radius: 3px;
}

.order-items::-webkit-scrollbar-thumb:hover {
    background: #c91a20;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--valnix-white);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item .item-badge {
    background: var(--valnix-red);
    color: var(--valnix-white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.order-item .item-name {
    margin-left: 0.5rem;
    color: var(--valnix-gray-light);
}

.order-item .item-price {
    font-weight: 600;
    color: var(--valnix-white);
}

.status-card {
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.status-card i {
    color: #f59e0b;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.status-card span {
    color: var(--valnix-white);
    font-weight: 600;
}

.debug-panel {
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-md);
    padding: 1rem;
    margin: 1rem 0;
}

.debug-panel h4 {
    color: #f59e0b;
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.debug-panel .debug-info {
    background: var(--valnix-gray-dark);
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: monospace;
    font-size: 0.875rem;
    color: var(--valnix-gray-light);
}

.debug-panel .debug-info strong {
    color: var(--valnix-white);
}

.debug-panel button {
    background: #059669;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    width: 100%;
    font-weight: 700;
    transition: var(--transition-fast);
}

.debug-panel button:hover {
    background: #047857;
    transform: translateY(-2px);
}

.debug-log {
    background: var(--valnix-gray-dark);
    padding: 0.75rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-family: monospace;
    font-size: 0.75rem;
    max-height: 150px;
    overflow-y: auto;
    color: var(--valnix-gray-light);
}

.debug-log strong {
    color: var(--valnix-white);
}

.instructions {
    background: var(--valnix-gray-dark);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.instructions h3 {
    color: var(--valnix-white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.instructions h3 i {
    color: var(--valnix-red);
}

.instructions ol {
    color: var(--valnix-gray-light);
    padding-left: 1.5rem;
}

.instructions ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.qr-section {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--valnix-gray-dark);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    position: relative;
}

.qr-section::before {
    content: '📱 Escaneie com seu celular';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--valnix-red);
    color: var(--valnix-white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.4);
}

.qr-code {
    background: var(--valnix-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    display: inline-block;
    box-shadow: 0 0 30px rgba(227, 30, 36, 0.4),
                0 0 60px rgba(227, 30, 36, 0.2),
                inset 0 0 20px rgba(227, 30, 36, 0.1);
    border: 4px solid var(--valnix-red);
    position: relative;
    animation: qrPulse 3s ease-in-out infinite;
    margin-top: 1.5rem;
}

@keyframes qrPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(227, 30, 36, 0.4),
                    0 0 60px rgba(227, 30, 36, 0.2),
                    inset 0 0 20px rgba(227, 30, 36, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(227, 30, 36, 0.6),
                    0 0 80px rgba(227, 30, 36, 0.3),
                    inset 0 0 30px rgba(227, 30, 36, 0.15);
    }
}

.qr-code::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--valnix-red), transparent);
    animation: scanline 2s linear infinite;
    z-index: 2;
}

@keyframes scanline {
    0% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.qr-code img {
    width: 280px;
    height: 280px;
    display: block;
    position: relative;
    z-index: 1;
}

.pix-code-section {
    margin-bottom: 2rem;
    background: var(--valnix-gray-dark);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

.pix-code-section label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--valnix-white);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pix-code-section label::before {
    content: '💳';
    font-size: 1.2rem;
}

.pix-code-input {
    width: 100%;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--valnix-red);
    border-radius: var(--radius-md);
    color: var(--valnix-white);
    font-family: 'Courier New', 'Monaco', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    resize: none;
    height: 120px;
    transition: var(--transition-fast);
    word-break: break-all;
    overflow-wrap: break-word;
}

.pix-code-input:focus {
    border-color: var(--valnix-red-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

.copy-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--valnix-red) 0%, var(--valnix-red-dark) 100%);
    color: var(--valnix-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0.75rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-glow-red);
    position: relative;
    overflow: hidden;
}

.copy-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;
}

.copy-btn:hover::before {
    width: 300px;
    height: 300px;
}

.copy-btn:hover {
    background: linear-gradient(135deg, var(--valnix-red-light) 0%, var(--valnix-red) 100%);
    box-shadow: var(--shadow-glow-red-strong);
    transform: translateY(-2px);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn i {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.copy-btn span {
    position: relative;
    z-index: 1;
}

/* Responsive Payment Page */
@media (max-width: 1024px) {
    .payment-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .payment-container {
        padding: 1rem;
    }
    
    .payment-card {
        padding: 1.5rem;
    }
    
    .payment-header h2 {
        font-size: 1.5rem;
        flex-direction: column;
    }
    
    .qr-section {
        padding: 1rem;
    }
    
    .qr-code {
        padding: 1rem;
    }
    
    .qr-code img {
        width: 200px;
        height: 200px;
    }
    
    .pix-code-section {
        padding: 1rem;
    }
    
    .pix-code-input {
        font-size: 0.75rem;
        height: 100px;
    }
    
    .copy-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ====================================
   42. ORDER DETAILS PAGE
   ==================================== */
.order-detail-container {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin: 2rem auto;
}

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--valnix-red);
    flex-wrap: wrap;
    gap: 1rem;
}

.header-left h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--valnix-white);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-left h1 i {
    color: var(--valnix-red);
}

.order-date {
    color: var(--valnix-gray-light);
    margin: 0;
    font-size: 1rem;
}

.order-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
    flex-shrink: 0;
}

.payment-status {
    padding: 0.6rem 1.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.payment-status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 2px solid #f59e0b;
}

.payment-status-approved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 2px solid #10b981;
}

.payment-status-failed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 2px solid #ef4444;
}

.payment-status-cancelled {
    background: var(--valnix-gray-dark);
    color: var(--valnix-gray-light);
    border: 2px solid var(--valnix-gray-medium);
}

.approval-badge {
    padding: 0.5rem 1rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
    white-space: nowrap;
    max-width: 240px;
}

.approval-badge i {
    font-size: 1rem;
    flex-shrink: 0;
}

.approval-badge div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.approval-badge span {
    font-weight: 600;
    line-height: 1.2;
}

.approval-badge.manual {
    background: rgba(124, 58, 237, 0.2);
    color: #a855f7;
    border: 1px solid #a855f7;
}

.approval-badge.auto {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid #10b981;
}

.approval-badge small {
    font-size: 0.65rem;
    opacity: 0.8;
    font-weight: 400;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.detail-section {
    background: var(--valnix-gray-dark);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.detail-section h2 {
    color: var(--valnix-white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section h2 i {
    color: var(--valnix-red);
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.order-items-list::-webkit-scrollbar {
    width: 6px;
}

.order-items-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.order-items-list::-webkit-scrollbar-thumb {
    background: var(--valnix-red);
    border-radius: 3px;
}

.order-items-list::-webkit-scrollbar-thumb:hover {
    background: #c91a20;
}

.product-info-header {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.product-info-header:hover {
    box-shadow: 0 8px 32px rgba(227, 30, 36, 0.2);
    border-color: var(--valnix-red);
    transform: translateY(-2px);
}

.product-details {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.product-name {
    margin: 0;
    color: var(--valnix-white);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.product-pricing {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.pricing-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pricing-item .label {
    font-size: 0.85rem;
    color: var(--valnix-gray-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.pricing-item .value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--valnix-white);
}

.total-item .value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--valnix-red);
}

.product-status {
    display: flex;
    justify-content: flex-end;
}

.status-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius-md);
    min-width: 140px;
}

.status-badge i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.status-badge span {
    font-weight: 600;
    font-size: 0.9rem;
}

.status-badge small {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.status-delivered {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid #10b981;
}

.status-processing {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.status-chat {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    border: 2px solid #a855f7;
}

.chat-alert {
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-md);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
    }
}

.alert-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.alert-content i {
    font-size: 1.5rem;
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.alert-text {
    flex: 1;
}

.alert-text strong {
    color: var(--valnix-white);
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.alert-text p {
    color: var(--valnix-gray-light);
    margin: 0;
    line-height: 1.5;
}

.btn-chat {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
}

.btn-chat:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.product-delivery {
    background: linear-gradient(135deg, var(--valnix-red) 0%, var(--valnix-red-dark) 100%);
    color: white;
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.product-delivery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="4"/></g></svg>') repeat;
    pointer-events: none;
}

.delivery-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    position: relative;
    z-index: 1;
}

.delivery-header i {
    font-size: 1.25rem;
    color: #fbbf24;
}

.delivery-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.delivery-content {
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.delivery-item {
    margin-bottom: 1.5rem;
}

.delivery-item:last-child {
    margin-bottom: 0;
}

.delivery-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.delivery-value {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.key-container,
.content-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    padding: 1rem;
    color: var(--valnix-dark);
}

.product-key {
    flex: 1;
    background: var(--valnix-gray-light);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--valnix-red);
    word-break: break-all;
    line-height: 1.4;
    border: 2px solid var(--valnix-gray-medium);
}

.product-content {
    flex: 1;
    background: var(--valnix-white);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--valnix-dark);
    border: 2px solid var(--valnix-gray-light);
    white-space: pre-wrap;
    max-height: 300px;
    overflow-y: auto;
}

.btn-copy {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    flex-shrink: 0;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-copy:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.delivery-footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin: 1.5rem -2rem -2rem -2rem;
    position: relative;
    z-index: 1;
}

.delivery-footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.order-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-summary,
.order-info,
.transaction-info {
    background: var(--valnix-gray-dark);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.order-summary h3,
.order-info h3,
.transaction-info h3 {
    color: var(--valnix-white);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-summary h3 i,
.order-info h3 i,
.transaction-info h3 i {
    color: var(--valnix-red);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--valnix-white);
}

.summary-row:last-child {
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--valnix-red);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--valnix-red);
}

.info-row,
.transaction-row {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.info-row:last-child,
.transaction-row:last-child {
    border-bottom: none;
}

.info-label,
.transaction-label {
    font-size: 0.85rem;
    color: var(--valnix-gray-light);
    margin-bottom: 0.25rem;
}

.info-value {
    font-weight: 600;
    color: var(--valnix-white);
}

.transaction-value {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: var(--valnix-white);
    word-break: break-all;
}

.admin-actions {
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid #f59e0b;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.admin-actions h3 {
    color: #f59e0b;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-actions .btn {
    width: 100%;
    margin-bottom: 0.75rem;
}

.admin-actions .btn:last-child {
    margin-bottom: 0;
}

.admin-actions small {
    display: block;
    color: var(--valnix-gray-light);
    margin-top: 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

/* PIX Payment Section - Order Page */
.pix-code {
    background: var(--valnix-gray-dark);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.pix-code label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--valnix-white);
    font-size: 1rem;
}

.code-input {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.code-input input {
    flex: 1;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--valnix-red);
    border-radius: var(--radius-md);
    color: var(--valnix-white);
    font-family: 'Courier New', 'Monaco', monospace;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.code-input input:focus {
    border-color: var(--valnix-red-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.2);
}

.code-input button {
    flex-shrink: 0;
    padding: 0 1.5rem;
}

.payment-timer {
    margin-bottom: 1.5rem;
}

.payment-timer .alert {
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.payment-timer .alert i {
    font-size: 1.5rem;
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.payment-timer .alert div {
    flex: 1;
}

.payment-timer .alert strong {
    display: block;
    color: var(--valnix-white);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.payment-timer .alert p {
    color: var(--valnix-gray-light);
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.payment-timer .alert small {
    color: var(--valnix-gray-light);
    font-size: 0.85rem;
}

.payment-actions {
    text-align: center;
}

.payment-actions button {
    width: 100%;
    margin-bottom: 0.75rem;
}

.payment-actions .text-muted,
.payment-actions small {
    display: block;
    color: var(--valnix-gray-light);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid #f59e0b;
    color: var(--valnix-white);
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid #10b981;
    color: var(--valnix-white);
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    border: 2px solid #3b82f6;
    color: var(--valnix-white);
}

/* Responsive Order Details */
@media (max-width: 1024px) {
    .order-detail-container {
        padding: 2rem 1.5rem;
    }
    
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-pricing {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .product-status {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .order-detail-container {
        padding: 1.5rem 1rem;
    }
    
    .order-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-badges {
        align-items: flex-start;
        width: 100%;
    }
    
    .payment-status {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        min-width: 100px;
    }
    
    .approval-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        max-width: 100%;
        flex-wrap: wrap;
    }
    
    .product-info-header {
        padding: 1.5rem;
    }
    
    .header-left h1 {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .key-container,
    .content-container {
        flex-direction: column;
    }
}

/* ===================================
   SECTION 43: Chat Button Animation
   =================================== */

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(168, 85, 247, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 30px rgba(168, 85, 247, 0.8);
        transform: scale(1.02);
    }
}

.btn:hover[style*="background: linear-gradient(135deg, #a855f7, #7c3aed)"] {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.7) !important;
}

/* Chat Alert - Order Page */
.chat-alert {
    max-width: 100%;
    box-sizing: border-box;
}

.chat-alert .alert-content {
    align-items: flex-start;
}

.chat-alert .alert-text strong {
    line-height: 1.3;
}

.chat-alert .alert-text p {
    line-height: 1.6;
}

/* ===================================
   SECTION 44: Chat Page - Valnix Theme
   =================================== */

.chat-container {
    padding: 0;
    margin: 2rem auto;
    max-width: 1400px;
}

.chat-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    min-height: 700px;
    background: var(--valnix-gray-dark);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--valnix-gray-medium);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Chat Sidebar */
.chat-sidebar {
    background: linear-gradient(180deg, var(--valnix-gray-darker) 0%, var(--valnix-gray-dark) 100%);
    padding: 2rem;
    border-right: 1px solid var(--valnix-gray-medium);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-sidebar h3 {
    color: var(--valnix-white);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-sidebar h3 i {
    color: var(--valnix-red);
    font-size: 1.3rem;
}

.order-info {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: 12px;
    padding: 1.5rem;
}

.order-info p {
    margin: 0.75rem 0;
    color: var(--valnix-gray-light);
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-info p strong {
    color: var(--valnix-white);
    font-weight: 600;
}

.order-info .status-badge {
    margin-left: 0.5rem;
}

.chat-sidebar .btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.chat-sidebar .btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.chat-sidebar .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.chat-sidebar .btn-secondary {
    background: linear-gradient(135deg, var(--valnix-gray-medium), var(--valnix-gray-darker));
    border: 1px solid var(--valnix-gray-medium);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chat-sidebar .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Chat Main Area */
.chat-main {
    display: flex;
    flex-direction: column;
    background: var(--valnix-gray-dark);
}

.chat-header {
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.15) 0%, rgba(227, 30, 36, 0.05) 100%);
    border-bottom: 2px solid var(--valnix-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.chat-header h2 {
    margin: 0;
    color: var(--valnix-white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-header h2 i {
    color: var(--valnix-red);
    font-size: 1.6rem;
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 2.5rem;
    background: var(--valnix-gray-darker);
    max-height: 500px;
    position: relative;
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--valnix-gray-dark);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--valnix-gray-medium);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--valnix-red);
}

.empty-chat {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--valnix-gray-light);
}

.empty-chat i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--valnix-gray-medium);
    opacity: 0.5;
}

.empty-chat p {
    font-size: 1.1rem;
    color: var(--valnix-gray-light);
}

/* Chat Message Bubbles */
.chat-message {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: slideInChat 0.3s ease-out;
}

.message-own {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--valnix-red), #c41820);
    color: var(--valnix-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.4);
    border: 2px solid rgba(227, 30, 36, 0.3);
}

.message-admin .message-avatar {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.message-content {
    flex: 1;
    max-width: 70%;
    display: flex;
    flex-direction: column;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.message-author {
    font-weight: 700;
    color: var(--valnix-white);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-badge-admin {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: var(--valnix-white);
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.4);
}

.user-badge-support {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: var(--valnix-white);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.message-time {
    font-size: 0.8rem;
    color: var(--valnix-gray-light);
    white-space: nowrap;
}

.message-text {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--valnix-gray-medium);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: var(--valnix-white);
    line-height: 1.6;
    word-wrap: break-word;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.message-own .message-text {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.3), rgba(227, 30, 36, 0.2));
    border: 1px solid rgba(227, 30, 36, 0.5);
    color: var(--valnix-white);
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

.message-admin .message-text {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.4);
}

/* Chat Input */
.chat-input {
    padding: 2rem 2.5rem;
    background: var(--valnix-gray-dark);
    border-top: 2px solid var(--valnix-gray-medium);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.chat-input form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.chat-input textarea {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid var(--valnix-gray-medium);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--valnix-white);
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
    max-height: 150px;
    transition: all 0.3s ease;
}

.chat-input textarea::placeholder {
    color: var(--valnix-gray-light);
    opacity: 0.7;
}

.chat-input textarea:focus {
    outline: none;
    border-color: var(--valnix-red);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
}

.chat-input .btn-primary {
    padding: 1rem 2rem;
    height: auto;
    white-space: nowrap;
}

/* Chat Closed State */
.chat-closed {
    padding: 3rem 2rem;
    text-align: center;
    background: var(--valnix-gray-darker);
    color: var(--valnix-gray-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.chat-closed i {
    font-size: 3rem;
    color: var(--valnix-gray-medium);
    opacity: 0.5;
}

.chat-closed p {
    font-size: 1.1rem;
    margin: 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--valnix-gray-dark);
    border-radius: 20px;
    border: 1px solid var(--valnix-gray-medium);
}

.empty-state i {
    font-size: 5rem;
    color: var(--valnix-gray-medium);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    color: var(--valnix-white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Animations */
@keyframes slideInChat {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .chat-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .chat-sidebar {
        border-right: none;
        border-bottom: 2px solid var(--valnix-gray-medium);
        padding: 1.5rem;
    }
    
    .chat-messages {
        max-height: 400px;
    }
    
    .message-content {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .chat-header {
        padding: 1.5rem;
    }
    
    .chat-header h2 {
        font-size: 1.2rem;
    }
    
    .chat-messages {
        padding: 1.5rem;
        max-height: 350px;
    }
    
    .chat-input {
        padding: 1.5rem;
    }
    
    .chat-input form {
        flex-direction: column;
    }
    
    .chat-input .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .message-content {
        max-width: 85%;
    }
}

/* ===================================
   SECTION 45: Payment Success Page - Valnix Theme
   =================================== */

.success-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.success-card {
    background: var(--valnix-gray-dark);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-align: center;
}

/* Success Header */
.success-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-bottom: 3px solid #10b981;
    color: var(--valnix-white);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.success-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    animation: successPulse 3s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.success-header i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
    display: block;
    animation: successIconBounce 0.6s ease-out;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

@keyframes successIconBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--valnix-white);
    position: relative;
    z-index: 1;
}

.success-header p {
    margin: 0;
    font-size: 1.1rem;
    color: #10b981;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Order Summary */
.order-summary {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--valnix-gray-medium);
    padding: 2rem;
    margin: 2rem;
    border-radius: 12px;
    text-align: left;
}

.order-summary h3 {
    color: var(--valnix-white);
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-summary p {
    margin: 1rem 0;
    color: var(--valnix-gray-light);
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--valnix-gray-medium);
}

.order-summary p:last-child {
    border-bottom: none;
}

.order-summary p strong {
    color: var(--valnix-white);
    font-weight: 600;
}

/* Items Section */
.items-section {
    margin: 0 2rem 2rem 2rem;
    text-align: left;
}

.items-section h3 {
    color: var(--valnix-white);
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.items-section > p {
    color: var(--valnix-gray-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.order-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.order-item:hover {
    transform: translateY(-2px);
    border-color: var(--valnix-red);
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.2);
}

.item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    border: 2px solid var(--valnix-gray-medium);
}

.item-image[style*="background"] {
    background: rgba(255, 255, 255, 0.05) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--valnix-gray-light) !important;
    font-size: 1.5rem;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    margin: 0 0 0.75rem 0;
    color: var(--valnix-white);
    font-size: 1.1rem;
    font-weight: 600;
}

.item-details p {
    margin: 0.5rem 0;
    color: var(--valnix-gray-light);
    font-size: 0.9rem;
}

.item-details p strong {
    color: var(--valnix-white);
    font-weight: 600;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.badge-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--valnix-white);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.badge-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: var(--valnix-white);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* Action Buttons */
.action-buttons {
    padding: 2rem;
    background: var(--valnix-gray-darker);
    border-top: 1px solid var(--valnix-gray-medium);
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.action-buttons .btn-primary {
    background: linear-gradient(135deg, var(--valnix-red), #c41820);
    color: var(--valnix-white);
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.4);
}

.action-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(227, 30, 36, 0.6);
}

.action-buttons .btn-secondary {
    background: linear-gradient(135deg, var(--valnix-gray-medium), var(--valnix-gray-darker));
    color: var(--valnix-white);
    border: 1px solid var(--valnix-gray-medium);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.action-buttons .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--valnix-red);
}

/* Responsive */
@media (max-width: 768px) {
    .success-header {
        padding: 2rem 1.5rem;
    }
    
    .success-header h1 {
        font-size: 1.8rem;
    }
    
    .success-header i {
        font-size: 3rem;
    }
    
    .order-summary,
    .items-section {
        margin: 1.5rem;
        padding: 1.5rem;
    }
    
    .order-item {
        flex-direction: column;
        text-align: center;
    }
    
    .item-image {
        width: 80px;
        height: 80px;
    }
    
    .action-buttons {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .action-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .success-header h1 {
        font-size: 1.5rem;
    }
    
    .order-summary p {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ===================================
   SECTION 46: Admin Sidebar
   =================================== */

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--valnix-gray-darker) 0%, var(--valnix-gray-dark) 100%);
    border-right: 2px solid var(--valnix-red);
    padding: 2rem 0;
    overflow-y: auto;
    z-index: 900;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

.admin-sidebar::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: var(--valnix-gray-dark);
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: var(--valnix-red);
    border-radius: 3px;
}

.admin-sidebar-header {
    padding: 0 2rem 2rem 2rem;
    text-align: center;
    border-bottom: 2px solid var(--valnix-gray-medium);
    margin-bottom: 1.5rem;
}

.admin-sidebar-header i {
    font-size: 3rem;
    color: var(--valnix-red);
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 0 0 20px rgba(227, 30, 36, 0.5);
}

.admin-sidebar-header h3 {
    color: var(--valnix-white);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--valnix-gray-light);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.admin-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--valnix-red);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.admin-nav-item:hover {
    background: rgba(227, 30, 36, 0.1);
    color: var(--valnix-white);
    transform: translateX(5px);
}

.admin-nav-item:hover::before {
    transform: scaleY(1);
}

.admin-nav-item.active {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.3), rgba(227, 30, 36, 0.15));
    color: var(--valnix-white);
    border-left: 4px solid var(--valnix-red);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.admin-nav-item.active i {
    color: var(--valnix-red);
}

.admin-nav-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.admin-nav-item:hover i {
    color: var(--valnix-red);
    transform: scale(1.1);
}

.admin-sidebar-footer {
    padding: 2rem 1rem 1rem 1rem;
    margin-top: 2rem;
    border-top: 2px solid var(--valnix-gray-medium);
}

/* Admin Content Adjustment */
.admin-content {
    min-height: 100vh;
    padding: 2rem;
}

/* Admin Page Container */
.admin-page {
    margin-left: 10px;
    padding: 2rem;
}

.admin-page .container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 100%;
}

/* Responsive Admin Sidebar */
@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .admin-sidebar.open {
        transform: translateX(0);
    }
    
    .admin-content,
    .admin-page {
        margin-left: 0;
        padding: 1rem;
    }
}

/* ===================================
   SECTION 47: Admin Users Page
   =================================== */

.admin-filters {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filters-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--valnix-gray-medium);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--valnix-white);
    font-size: 0.95rem;
    min-width: 200px;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--valnix-red);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
}

.filter-select option {
    background: var(--valnix-gray-darker);
    color: var(--valnix-white);
}

.admin-table-container,
.table-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    max-height: 600px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    position: relative;
    display: block;
}

.admin-table-container::-webkit-scrollbar,
.table-container::-webkit-scrollbar {
    width: 8px;
}

.admin-table-container::-webkit-scrollbar-track,
.table-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.admin-table-container::-webkit-scrollbar-thumb,
.table-container::-webkit-scrollbar-thumb {
    background: var(--valnix-red);
    border-radius: 4px;
}

.admin-table-container::-webkit-scrollbar-thumb:hover,
.table-container::-webkit-scrollbar-thumb:hover {
    background: #c91a20;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.2), rgba(227, 30, 36, 0.1));
    border-bottom: 2px solid var(--valnix-red);
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--valnix-white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.2), rgba(227, 30, 36, 0.1));
}

.admin-table tbody tr {
    border-bottom: 1px solid var(--valnix-gray-medium);
    transition: all 0.3s ease;
}

.admin-table tbody tr:hover {
    background: rgba(227, 30, 36, 0.05);
}

.admin-table td {
    padding: 1rem;
    color: var(--valnix-gray-light);
    font-size: 0.9rem;
}

.admin-table td strong {
    color: var(--valnix-white);
    font-weight: 600;
}

/* Role Badges */
.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.role-admin {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: var(--valnix-white);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.role-support {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: var(--valnix-white);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.role-user {
    background: linear-gradient(135deg, var(--valnix-gray-medium), var(--valnix-gray-darker));
    color: var(--valnix-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--valnix-white);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.status-banned {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--valnix-white);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-action-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--valnix-white);
}

.btn-action-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
}

.btn-action-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--valnix-white);
}

.btn-action-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.5);
}

.btn-action-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: var(--valnix-white);
}

.btn-action-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
}

/* Responsive */
@media (max-width: 1200px) {
    .admin-table {
        font-size: 0.85rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 992px) {
    .filters-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .admin-table-container,
    .table-container {
        overflow-x: auto;
    }
    
    .admin-table {
        min-width: 1000px;
    }
}

/* ===================================
   SECTION 48: Admin Products Page
   =================================== */

.form-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-container h2 {
    color: var(--valnix-white);
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-container h2 i {
    color: var(--valnix-red);
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--valnix-white);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--valnix-red);
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--valnix-gray-medium);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--valnix-white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--valnix-red);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    color: var(--valnix-gray-light);
    font-size: 0.85rem;
    font-style: italic;
}

.form-group select option {
    background: var(--valnix-gray-darker);
    color: var(--valnix-white);
}

.form-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--valnix-gray-medium);
}

.form-actions .btn {
    flex: 1;
    justify-content: center;
}

/* Product Grid/List */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-admin-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-admin-card:hover {
    transform: translateY(-5px);
    border-color: var(--valnix-red);
    box-shadow: 0 8px 30px rgba(227, 30, 36, 0.3);
}

.product-admin-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid var(--valnix-gray-medium);
}

.product-admin-card .card-body {
    padding: 1.5rem;
}

.product-admin-card h3 {
    color: var(--valnix-white);
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.product-admin-card .price {
    color: var(--valnix-red);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.product-admin-card .stock {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.stock.in-stock {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--valnix-white);
}

.stock.low-stock {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: var(--valnix-white);
}

.stock.out-of-stock {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--valnix-white);
}

.product-admin-card .card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--valnix-gray-medium);
}

.product-admin-card .btn-sm {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

/* Stock Management */
.stock-list,
.stock-items-list {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.stock-list::-webkit-scrollbar,
.stock-items-list::-webkit-scrollbar {
    width: 8px;
}

.stock-list::-webkit-scrollbar-track,
.stock-items-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.stock-list::-webkit-scrollbar-thumb,
.stock-items-list::-webkit-scrollbar-thumb {
    background: var(--valnix-red);
    border-radius: 4px;
}

.stock-list::-webkit-scrollbar-thumb:hover,
.stock-items-list::-webkit-scrollbar-thumb:hover {
    background: #c91a20;
}

.stock-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stock-item.used {
    opacity: 0.5;
    border-color: var(--valnix-red);
    background: rgba(227, 30, 36, 0.1);
}

.stock-item code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: var(--valnix-white);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.stock-item .stock-status {
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-item .stock-status.available {
    color: #10b981;
}

.stock-item .stock-status.used {
    color: #ef4444;
}

/* Product Type Badges */
.product-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-type-real {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--valnix-white);
}

.product-type-virtual {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: var(--valnix-white);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.alert i {
    font-size: 1.3rem;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
    border: 2px solid #10b981;
    color: #10b981;
}

.alert-error,
.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.1));
    border: 2px solid #ef4444;
    color: #ef4444;
}

.alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.1));
    border: 2px solid #3b82f6;
    color: #3b82f6;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.1));
    border: 2px solid #f59e0b;
    color: #f59e0b;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* ===================================
   SECTION 49: Admin Categories Page
   =================================== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--valnix-red), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--valnix-red);
    box-shadow: 0 8px 30px rgba(227, 30, 36, 0.3);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card.inactive {
    opacity: 0.5;
}

.category-card h3 {
    color: var(--valnix-white);
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.category-card .category-slug {
    color: var(--valnix-gray-light);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.category-card .category-description {
    color: var(--valnix-gray-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.category-card .category-stats {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.category-stat {
    flex: 1;
    text-align: center;
}

.category-stat .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--valnix-red);
}

.category-stat .stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--valnix-gray-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-card .category-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--valnix-gray-medium);
}

.category-card .btn-sm {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

/* Category Status Badge */
.category-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.category-status.active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--valnix-white);
}

.category-status.inactive {
    background: linear-gradient(135deg, var(--valnix-gray-medium), var(--valnix-gray-darker));
    color: var(--valnix-white);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--valnix-gray-dark);
    border: 1px solid var(--valnix-gray-medium);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--valnix-gray-medium);
}

.modal-header h2 {
    color: var(--valnix-white);
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header h2 i {
    color: var(--valnix-red);
}

.modal-close {
    background: none;
    border: none;
    color: var(--valnix-gray-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(227, 30, 36, 0.2);
    color: var(--valnix-red);
    transform: rotate(90deg);
}

.modal-body {
    margin-bottom: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--valnix-gray-medium);
}

/* Responsive */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .category-card .category-stats {
        flex-direction: column;
    }
}

/* =============================================================================
   SECTION 49: Admin Categories Page
   ============================================================================= */

/* Categories Table */
.categories-table {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid var(--valnix-gray-medium);
    margin-top: 2rem;
    max-height: 600px;
    overflow-y: auto;
}

.categories-table::-webkit-scrollbar {
    width: 8px;
}

.categories-table::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.categories-table::-webkit-scrollbar-thumb {
    background: var(--valnix-red);
    border-radius: 4px;
}

.categories-table::-webkit-scrollbar-thumb:hover {
    background: #c91a20;
}

.categories-table table {
    width: 100%;
    border-collapse: collapse;
}

.categories-table th,
.categories-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--valnix-gray-medium);
}

.categories-table thead {
    background: linear-gradient(135deg, var(--valnix-red), #b91c1c);
    position: sticky;
    top: 0;
    z-index: 10;
}

.categories-table th {
    color: var(--valnix-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    background: linear-gradient(135deg, var(--valnix-red), #b91c1c);
}

.categories-table tbody tr {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.categories-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

/* Specific fixes for category table icons */
.categories-table .category-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 60px;
}

.categories-table .category-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--valnix-red), #b91c1c);
    color: var(--valnix-white);
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(227, 30, 36, 0.3);
    flex-shrink: 0;
}

.categories-table .category-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.categories-table .category-details {
    flex: 1;
    min-width: 0;
}

.categories-table .category-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--valnix-white);
    line-height: 1.2;
}

.categories-table .category-slug {
    font-size: 0.8rem;
    color: var(--valnix-gray-light);
    font-family: 'Courier New', monospace;
}

/* Category Info */
.category-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--valnix-red), #b91c1c);
    color: var(--valnix-white);
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.4);
    flex-shrink: 0;
}

.category-icon i {
    display: block;
    line-height: 1;
    width: 1.25rem;
    height: 1.25rem;
    text-align: center;
}

.category-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--valnix-white);
}

.category-slug {
    font-size: 0.75rem;
    color: var(--valnix-gray-light);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    display: inline-block;
}

.product-count {
    font-weight: 700;
    color: var(--valnix-red);
    font-size: 1.5rem;
    display: block;
}

/* Toggle Button */
.toggle-btn {
    background: linear-gradient(135deg, var(--valnix-red), #b91c1c);
    border: none;
    color: var(--valnix-white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.6);
}

.toggle-btn.inactive {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.toggle-btn.inactive:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.toggle-btn i {
    font-size: 1rem;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
    animation: pulse-loading 1.5s infinite;
}

@keyframes pulse-loading {
    0% { opacity: 0.6; }
    50% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* Alert Messages */
#alert-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
}

#alert-container .alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

#alert-container .alert.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
    color: var(--valnix-white);
}

#alert-container .alert.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
    color: var(--valnix-white);
}

#alert-container .alert i {
    font-size: 1.5rem;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--valnix-gray-dark);
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--valnix-gray-medium);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--valnix-gray-medium);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--valnix-white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    color: var(--valnix-gray-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--valnix-red);
}

.f-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--valnix-gray-medium);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}


/* Responsive Categories */
@media (max-width: 768px) {
    .categories-table th,
    .categories-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .category-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .toggle-btn {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .categories-table th:nth-child(3),
    .categories-table td:nth-child(3) {
        display: none;
    }
    
    #alert-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* =============================================================================
   SECTION 50: Admin Orders Page
   ============================================================================= */

/* Order ID Display */
.order-id {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--valnix-red);
    letter-spacing: 1px;
}

/* Order Total */
.order-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--valnix-white);
}

/* Status Badges for Orders */
.badge-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: var(--valnix-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-info {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: var(--valnix-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-primary {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: var(--valnix-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Admin Table Specific Styles for Orders */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--valnix-gray-medium);
}

.admin-table thead {
    background: linear-gradient(135deg, var(--valnix-red), #b91c1c);
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-table th {
    color: var(--valnix-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    background: linear-gradient(135deg, var(--valnix-red), #b91c1c);
}

.admin-table tbody tr {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.admin-table tbody td {
    color: var(--valnix-white);
}

/* Text Center */
.text-center {
    text-align: center;
}

/* Responsive Orders */
@media (max-width: 1024px) {
    .admin-table {
        font-size: 0.875rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.875rem;
    }
}

@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
    }
    
    .admin-table {
        min-width: 800px;
    }
}

/* =============================================================================
   SECTION 51: Admin Coupons Page
   ============================================================================= */

/* Coupon Code Display */
.coupon-code-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.coupon-code {
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: var(--valnix-white);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    border: 2px solid rgba(59, 130, 246, 0.3);
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.coupon-code::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.coupon-code:hover::before {
    left: 100%;
}

.coupon-code:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

/* Botão de copiar inline */
.btn-copy-inline {
    background: linear-gradient(135deg, var(--valnix-red), #b91c1c);
    border: none;
    color: var(--valnix-white);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(227, 30, 36, 0.4);
}

.btn-copy-inline:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.6);
}

.btn-copy-inline i {
    font-size: 0.9rem;
}

/* Discount Badges */
.badge-info {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: var(--valnix-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.4);
    display: inline-block;
}

.badge-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--valnix-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.4);
    display: inline-block;
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--valnix-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Table text utilities */
.text-muted {
    color: var(--valnix-gray-light);
    font-style: italic;
}

.text-danger {
    color: #ef4444;
    font-weight: 600;
}

/* Coupon Form */
.form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--valnix-gray-medium);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.form-container h2 {
    color: var(--valnix-white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-container h2 i {
    color: var(--valnix-red);
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--valnix-white);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="datetime-local"],
.form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--valnix-gray-medium);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--valnix-white);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="datetime-local"]:focus,
.form-group select:focus {
    border-color: var(--valnix-red);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.form-group small {
    color: var(--valnix-gray-light);
    font-size: 0.8rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    border-left: 4px solid #10b981;
    color: #10b981;
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    border-left: 4px solid #ef4444;
    color: #ef4444;
}

/* =============================================================================
   SECTION 52: Admin Chats Page
   ============================================================================= */

/* Filters Bar */
.filters-bar {
    margin-bottom: 2rem;
}

.filters-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--valnix-gray-medium);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--valnix-white);
    font-size: 0.95rem;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--valnix-red);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.filter-select option {
    background: var(--valnix-black);
    color: var(--valnix-white);
}

/* Chats Grid */
.chats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-height: 800px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.chats-grid::-webkit-scrollbar {
    width: 8px;
}

.chats-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.chats-grid::-webkit-scrollbar-thumb {
    background: var(--valnix-red);
    border-radius: 4px;
}

.chats-grid::-webkit-scrollbar-thumb:hover {
    background: #c91a20;
}

/* Chat Card */
.chat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 2px solid var(--valnix-gray-medium);
    border-left: 4px solid var(--valnix-gray-medium);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.chat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.chat-card.chat-open {
    border-left-color: #10b981;
    border-left-width: 4px;
}

.chat-card.chat-open:hover {
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.chat-card.chat-closed {
    border-left-color: var(--valnix-gray-light);
    opacity: 0.8;
}

/* Chat Card Header */
.chat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem;
    border-bottom: 1px solid var(--valnix-gray-medium);
    background: rgba(255, 255, 255, 0.02);
}

.chat-user {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.chat-user i {
    font-size: 2.5rem;
    color: var(--valnix-red);
}

.chat-user strong {
    display: block;
    color: var(--valnix-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.chat-user span {
    display: block;
    font-size: 0.875rem;
    color: var(--valnix-gray-light);
}

.chat-status .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chat-status .badge-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--valnix-white);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.4);
}

.chat-status .badge-success i {
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-status .badge-secondary {
    background: rgba(156, 163, 175, 0.2);
    color: var(--valnix-gray-light);
    border: 1px solid var(--valnix-gray-medium);
}

/* Chat Card Body */
.chat-card-body {
    padding: 1.25rem;
}

.chat-info-row {
    margin-bottom: 1rem;
    color: var(--valnix-gray-light);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-info-row i {
    color: var(--valnix-red);
}

.chat-preview {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--valnix-red);
}

.chat-preview p {
    margin-bottom: 0.5rem;
    color: var(--valnix-white);
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-preview strong {
    color: var(--valnix-red);
}

.chat-preview small {
    color: var(--valnix-gray-light);
    font-size: 0.75rem;
}

/* Chat Card Footer */
.chat-card-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--valnix-gray-medium);
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.2);
}

.chat-card-footer .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
    min-width: fit-content;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 2px dashed var(--valnix-gray-medium);
}

.empty-state i {
    font-size: 5rem;
    color: var(--valnix-gray-medium);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--valnix-white);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: var(--valnix-gray-light);
    font-size: 1rem;
}

/* Responsive Chats */
@media (max-width: 768px) {
    .chats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .chat-card-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .chat-status {
        align-self: flex-start;
    }
    
    .chat-card-footer {
        flex-direction: column;
    }
    
    .chat-card-footer .btn-sm {
        width: 100%;
    }
}

/* =============================================================================
   SECTION 53: Admin Featured Products Page
   ============================================================================= */

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid var(--valnix-gray-medium);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--valnix-red), #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--valnix-gray-light);
    font-weight: 500;
}

/* Featured Products Grid */
.admin-page .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-height: 800px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.admin-page .products-grid::-webkit-scrollbar {
    width: 8px;
}

.admin-page .products-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.admin-page .products-grid::-webkit-scrollbar-thumb {
    background: var(--valnix-red);
    border-radius: 4px;
}

.admin-page .products-grid::-webkit-scrollbar-thumb:hover {
    background: #c91a20;
}

/* Featured Product Card (Admin Only) */
.admin-page .product-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid var(--valnix-gray-medium);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.admin-page .product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--valnix-red), #b91c1c);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-page .product-card.featured::before {
    opacity: 1;
}

.admin-page .product-card.featured {
    border-color: var(--valnix-red);
    box-shadow: 0 0 30px rgba(227, 30, 36, 0.3);
}

.admin-page .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Featured Product Header */
.admin-page .product-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-page .product-card .product-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--valnix-red), #b91c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--valnix-white);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.4);
}

.admin-page .product-card .product-info {
    flex: 1;
    min-width: 0;
}

.admin-page .product-card .product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--valnix-white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.admin-page .product-card .product-category {
    font-size: 0.75rem;
    color: var(--valnix-gray-light);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    display: inline-block;
}

.admin-page .product-card .product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--valnix-red);
    margin: 1rem 0;
    display: block;
}

/* Featured Product Actions */
.admin-page .product-card .product-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

/* Featured Badge */
.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-badge.active {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #8b4513;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
}

.featured-badge.inactive {
    background: rgba(255, 255, 255, 0.05);
    color: var(--valnix-gray-light);
    border: 1px solid var(--valnix-gray-medium);
}

/* Toggle Button for Featured */
.admin-page .product-card .toggle-btn {
    background: linear-gradient(135deg, var(--valnix-red), #b91c1c);
    border: none;
    color: var(--valnix-white);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.admin-page .product-card .toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.6);
}

.admin-page .product-card .toggle-btn.featured {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.admin-page .product-card .toggle-btn.featured:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
}

/* Responsive Featured Products */
@media (max-width: 768px) {
    .admin-page .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .admin-page .stats-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .admin-page .product-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .admin-page .product-card .product-image {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .admin-page .product-card .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* END OF STYLE.CSS */


