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

:root {
    --bg-main: #080c14;
    --bg-card: rgba(16, 24, 39, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glass-hover: rgba(255, 255, 255, 0.12);
    
    --primary: #00f2fe;
    --primary-rgb: 0, 242, 254;
    --secondary: #4facfe;
    --secondary-rgb: 79, 172, 254;
    
    --accent: #8b5cf6;
    --accent-rgb: 139, 92, 246;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gold: #fbbf24;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 20px rgba(0, 242, 254, 0.15);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

/* Light Mode Variables Override */
.light-mode {
    --bg-main: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-glass: rgba(15, 23, 42, 0.03);
    --border-glass: rgba(15, 23, 42, 0.08);
    --border-glass-hover: rgba(15, 23, 42, 0.15);
    --primary: #0284c7;
    --primary-rgb: 2, 132, 199;
    --secondary: #0f172a;
    --secondary-rgb: 15, 23, 42;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --shadow-glow: 0 0 15px rgba(2, 132, 199, 0.15);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--border-glass) transparent;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--border-glass);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--border-glass-hover);
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: var(--transition-smooth);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 40%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

p {
    line-height: 1.6;
    color: var(--text-secondary);
}

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

/* Layout */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: rgba(8, 12, 20, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.light-mode header {
    background: rgba(248, 250, 252, 0.8);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
}

.logo-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #080c14;
    font-weight: 800;
    font-size: 1.2rem;
    -webkit-text-fill-color: initial;
    box-shadow: var(--shadow-glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    padding: 0.25rem 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #080c14;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.35);
}

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

.btn-secondary:hover {
    background: var(--border-glass-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #fff;
}

.btn-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border-color: rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background: rgba(245, 158, 11, 0.3);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

.theme-toggle {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.theme-toggle:hover {
    color: var(--primary);
    background: var(--border-glass-hover);
}

/* User Role Indicator */
.role-badge {
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.role-badge.seller {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.role-badge.buyer {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.role-badge.admin {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Main Content Area */
main {
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    position: relative;
}

.view-section {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.view-section.active {
    display: block;
}

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

/* Card System */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.glass-card:hover {
    border-color: var(--border-glass-hover);
}

.glass-card.glow-hover:hover {
    box-shadow: var(--shadow-glow);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

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

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .nav-wrapper { flex-direction: column; gap: 1rem; }
    .nav-links { overflow-x: auto; width: 100%; padding-bottom: 0.5rem; }
}

/* Page: Landing / Home */
.hero-section {
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
}

.hero-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    background: linear-gradient(135deg, #fff 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.light-mode .hero-title {
    background: linear-gradient(135deg, #0f172a 30%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.stats-bar {
    margin-top: 5rem;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Badges */
.badge-verified {
    background: rgba(251, 191, 36, 0.15);
    color: var(--gold);
    border: 1px solid rgba(251, 191, 36, 0.3);
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-transform: uppercase;
}

.flag-icon {
    font-size: 1rem;
    vertical-align: middle;
}

/* Forms & Registrations */
.form-group {
    margin-bottom: 1.25rem;
}

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

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.1);
}

.light-mode .form-control {
    background: rgba(15, 23, 42, 0.02);
}

.light-mode .form-control:focus {
    background: #fff;
}

/* Upload template Section */
.upload-zone {
    border: 2px dashed var(--border-glass);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: var(--bg-glass);
}

.upload-zone:hover {
    border-color: var(--primary);
    background: rgba(0, 242, 254, 0.02);
}

.upload-icon {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.upload-zone input[type="file"] {
    display: none;
}

/* Seller Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
    .dashboard-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .dashboard-grid { grid-template-columns: 1fr; }
}

.db-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.db-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.db-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.db-subtitle {
    font-size: 0.75rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

/* Marketplace Area */
.marketplace-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .marketplace-container { grid-template-columns: 1fr; }
}

.filter-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.5rem;
    height: fit-content;
}

.filter-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--primary);
}

.marketplace-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-bar-container {
    position: relative;
    display: flex;
    gap: 0.75rem;
}

.search-input {
    flex: 1;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
}

.search-icon-inside {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
}

/* Product Cards */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

.product-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    background-color: #111;
}

.product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
}

.product-seller-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 0.75rem;
    margin-top: auto;
    font-size: 0.8rem;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

/* Product Detail Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #0f172a;
    border: 1px solid var(--border-glass-hover);
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.light-mode .modal-content {
    background: #ffffff;
}

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

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
}

.modal-close:hover {
    color: var(--danger);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

@media (max-width: 768px) {
    .modal-grid { grid-template-columns: 1fr; }
}

.modal-gallery {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    position: relative;
}

.modal-gallery img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
}

.modal-details {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.85rem;
}

.spec-table tr {
    border-bottom: 1px solid var(--border-glass);
}

.spec-table td {
    padding: 0.6rem 0;
}

.spec-table td:first-child {
    color: var(--text-muted);
    font-weight: 600;
    width: 40%;
}

.spec-table td:last-child {
    color: var(--text-primary);
}

/* Shopping Cart & Checkout */
.cart-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .cart-grid { grid-template-columns: 1fr; }
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1rem;
    align-items: center;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

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

.cart-item-title {
    font-size: 1rem;
    font-weight: 700;
}

.cart-item-specs {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-val {
    font-size: 0.9rem;
    font-weight: 700;
    width: 20px;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.summary-row.total {
    border-top: 1px solid var(--border-glass);
    padding-top: 1rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

.provider-option {
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.provider-option.selected {
    border-color: var(--primary);
    background: rgba(0, 242, 254, 0.05);
}

/* Escrow Timeline Simulator & Steps */
.escrow-container {
    max-width: 1000px;
    margin: 0 auto;
}

.order-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 12px;
    margin-bottom: 2.5rem;
}

.order-banner-left {
    display: flex;
    flex-direction: column;
}

.timeline {
    position: relative;
    padding-left: 3rem;
    margin-top: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: var(--border-glass);
    z-index: 1;
}

.timeline-step {
    position: relative;
    padding-bottom: 2rem;
    z-index: 2;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: -33px;
    top: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0f172a;
    border: 2px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.light-mode .timeline-node {
    background: #fff;
}

.timeline-step.completed .timeline-node {
    background: var(--success);
    border-color: var(--success);
    color: #080c14;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.timeline-step.active .timeline-node {
    background: var(--primary);
    border-color: var(--primary);
    color: #080c14;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
    animation: pulseNode 2s infinite;
}

@keyframes pulseNode {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.timeline-step.upcoming .timeline-node {
    background: #0f172a;
    border-color: var(--border-glass);
    color: var(--text-muted);
}

.timeline-content {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    transition: var(--transition-smooth);
}

.timeline-step.active .timeline-content {
    border-color: var(--primary);
    background: rgba(0, 242, 254, 0.02);
}

.timeline-step.completed .timeline-content {
    opacity: 0.65;
}

.timeline-title {
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.simulator-controls {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    gap: 0.75rem;
}

/* Floating Notification Log Console */
.simulation-desk {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 380px;
    height: 450px;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 16px;
    z-index: 999;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 242, 254, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.simulation-desk.collapsed {
    height: 48px;
    transform: translateY(0);
}

.desk-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.desk-header-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.desk-header-title::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
    box-shadow: 0 0 8px var(--primary);
}

.desk-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
}

.desk-log-entry {
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--text-muted);
    padding: 0.5rem 0.75rem;
    border-radius: 0 6px 6px 0;
}

.desk-log-entry.info {
    border-left-color: var(--secondary);
}

.desk-log-entry.email {
    border-left-color: var(--accent);
    background: rgba(139, 92, 246, 0.05);
}

.desk-log-entry.escrow {
    border-left-color: var(--primary);
    background: rgba(0, 242, 254, 0.03);
}

.desk-log-entry.warning {
    border-left-color: var(--warning);
}

.desk-log-entry.success {
    border-left-color: var(--success);
}

.log-time {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
}

.log-meta {
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

/* Tab selector */
.tab-container {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 0.25rem;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn.active {
    background: var(--bg-glass);
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Verification list in Admin tab */
.seller-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* Footer styling */
footer {
    border-top: 1px solid var(--border-glass);
    background: rgba(8, 12, 20, 0.9);
    padding: 2.5rem 2rem;
    margin-top: auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}
