<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* BitZED - Modern Responsive Design */

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

:root {
    /* Modern Color Palette */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #f7931a;
    --secondary-light: #fbbf24;
    --secondary-dark: #d97706;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Status Colors */
    --success: #10b981;
    --success-light: #34d399;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --gradient-surface: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

body, html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    font-weight: 400;
    background: linear-gradient(135deg, #f0f4ff 0%, #eaf0fb 100%);
    color: var(--gray-900);
    line-height: 1.6;
    font-size: var(--font-size-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    margin-bottom: var(--space-2);
    flex-wrap: wrap;
    gap: var(--space-2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo-icon {
    width: 64px !important;
    height: auto !important;
    font-size: unset !important;
    color: var(--secondary);
    filter: drop-shadow(0 2px 4px rgba(247, 147, 26, 0.2));
}

.logo {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.025em;
}

.live-rate {
    background: var(--white);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    font-weight: 600;
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

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

.rate-label {
    color: var(--secondary) !important;
    font-weight: 800;
    margin-right: var(--space-2);
    font-size: var(--font-size-sm);
    text-shadow: none !important;
}

.rate-value {
    color: var(--secondary);
    font-weight: 700;
}

/* Main Content */
.main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding-top: 0;
    padding-bottom: 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: var(--space-12);
    max-width: 600px;
}

.welcome-section h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.welcome-section p {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    width: 100%;
    max-width: 500px;
    padding: var(--space-2);
}

.action-btn {
    display: flex;
    align-items: center;
    padding: var(--space-6);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease-out;
}

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

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition-slow);
}

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

.action-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.action-btn:active {
    transform: translateY(-2px);
}

/* Enhanced gradient backgrounds for each action button */
.buy-btn {
    background: linear-gradient(135deg, #047857 0%, #10b981 50%, #34d399 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    box-shadow: 0 8px 32px rgba(4, 120, 87, 0.2), 0 2px 8px rgba(4, 120, 87, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation-delay: 0.1s;
}

.buy-btn:hover {
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #10b981 100%);
    box-shadow: 0 12px 40px rgba(4, 120, 87, 0.3), 0 4px 12px rgba(4, 120, 87, 0.2);
    border-color: transparent;
}

.sell-btn {
    background: linear-gradient(135deg, #b45309 0%, #f7931a 50%, #fbbf24 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    box-shadow: 0 8px 32px rgba(180, 83, 9, 0.2), 0 2px 8px rgba(180, 83, 9, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation-delay: 0.2s;
}

.sell-btn:hover {
    background: linear-gradient(135deg, #92400e 0%, #b45309 50%, #f7931a 100%);
    box-shadow: 0 12px 40px rgba(180, 83, 9, 0.3), 0 4px 12px rgba(180, 83, 9, 0.2);
    border-color: transparent;
}

.track-btn {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.2), 0 2px 8px rgba(30, 64, 175, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation-delay: 0.3s;
}

.track-btn:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.3), 0 4px 12px rgba(30, 64, 175, 0.2);
    border-color: transparent;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    margin-right: var(--space-4);
    position: relative;
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-icon img {
    width: 40px !important;
    height: 40px !important;
    filter: brightness(0) invert(1);
}

/* Updated icon backgrounds to work with new gradient buttons */
.buy-btn .btn-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.sell-btn .btn-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.track-btn .btn-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-text {
    flex: 1;
    text-align: left;
}

.btn-text h3 {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.025em;
}

.btn-text p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

.btn-arrow {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-lg);
    transition: var(--transition-normal);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.action-btn:hover .btn-arrow {
    color: var(--white);
    transform: translateX(6px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Transaction Sections - Default styling for home page */
.transaction-section {
    width: 100%;
    max-width: 500px;
    background: rgba(255,255,255,0.95);
    border-radius: 2.2rem;
    box-shadow: 0 8px 32px rgba(37,99,235,0.10), 0 1.5px 8px rgba(37,99,235,0.04);
    border: none;
    padding: 2.5rem 2rem 2.5rem 2rem;
    margin-top: 0.2rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.25s, transform 0.25s;
    animation: slideIn 0.3s ease;
}

.transaction-section:hover {
    box-shadow: 0 16px 48px rgba(37,99,235,0.13), 0 2px 12px rgba(37,99,235,0.07);
    transform: translateY(-2px) scale(1.01);
}

/* Override for page-specific transaction sections */
.buy-page .transaction-section,
.sell-page .transaction-section,
.track-page .transaction-section {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    animation: none;
}

.buy-page .transaction-section:hover,
.sell-page .transaction-section:hover,
.track-page .transaction-section:hover {
    box-shadow: none;
    transform: none;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
}

/* Page-specific section header overrides */
.buy-page .section-header,
.sell-page .section-header,
.track-page .section-header {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.header-title-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.3rem;
    font-weight: 700;
    justify-content: center;
}

.header-icon {
    width: 2.2rem;
    height: 2.2rem;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-left: auto;
}

.header-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.header-nav-link:hover {
    color: var(--secondary);
}

.header-nav-icon {
    width: 32px;
    height: 32px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    margin-right: var(--space-4);
}

.back-btn:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

/* Forms */
.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* Page-specific form group overrides */
.buy-page .form-group label,
.sell-page .form-group label,
.track-page .form-group label {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.6rem 1.0rem;
    border: 2px solid #e3e8f7;
    border-radius: 1.1rem;
    font-size: 1.08rem;
    transition: border 0.2s, box-shadow 0.2s;
    background: #f7faff;
    box-shadow: 0 1px 4px rgba(37,99,235,0.04);
}

/* Page-specific input overrides */
.buy-page .form-group input,
.buy-page .form-group select,
.sell-page .form-group input,
.sell-page .form-group select,
.track-page .form-group input,
.track-page .form-group select {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.13);
}

/* Page-specific focus overrides */
.buy-page .form-group input:focus,
.buy-page .form-group select:focus,
.sell-page .form-group input:focus,
.sell-page .form-group select:focus,
.track-page .form-group input:focus,
.track-page .form-group select:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder {
    color: var(--gray-400);
}

/* Page-specific placeholder overrides */
.buy-page .form-group input::placeholder,
.sell-page .form-group input::placeholder,
.track-page .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.conversion-info {
    margin-top: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    padding: 0.3rem 0.7rem;
    background: linear-gradient(90deg, #f0f4ff 0%, #eaf0fb 100%);
    border-radius: 1.1rem;
    border-left: 3px solid var(--primary);
    box-shadow: 0 2px 12px 0 rgba(37,99,235,0.10);
    position: relative;
    overflow: hidden;
}

/* Page-specific conversion info overrides */
.buy-page .conversion-info,
.sell-page .conversion-info,
.track-page .conversion-info {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}
.conversion-info::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(135deg, rgba(37,99,235,0.03) 0 2px, transparent 2px 8px);
    border-radius: 1.1rem;
    pointer-events: none;
}

.submit-btn {
    width: 100%;
    padding: 0.5rem 0;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #1e40af 100%);
    color: #fff;
    font-weight: 800;
    border: none;
    border-radius: 1.6rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    box-shadow: 0 6px 32px 0 rgba(37,99,235,0.18), 0 1.5px 6px 0 rgba(30,64,175,0.10);
    position: relative;
    overflow: hidden;
}

/* Page-specific submit button overrides */
.buy-page .submit-btn {
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #10b981 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.buy-page .submit-btn:hover {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sell-page .submit-btn {
    background: linear-gradient(135deg, #92400e 0%, #b45309 50%, #f7931a 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(180, 83, 9, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sell-page .submit-btn:hover {
    background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #b45309 100%);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.track-page .submit-btn {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.track-page .submit-btn:hover {
    background: linear-gradient(135deg, #172554 0%, #1e3a8a 50%, #1e40af 100%);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.submit-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(135deg, rgba(255,255,255,0.07) 0 2px, transparent 2px 8px);
    border-radius: 1.6rem;
    pointer-events: none;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 100%);
    box-shadow: 0 8px 32px rgba(37,99,235,0.18);
    transform: translateY(-2px) scale(1.02);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Payment Instructions */
.payment-instructions {
    margin-top: var(--space-8);
    padding: var(--space-6);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.instruction-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.instruction-header h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--gray-900);
}

.instruction-card {
    margin-bottom: var(--space-6);
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: var(--font-size-sm);
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content p {
    margin-bottom: var(--space-2);
    color: var(--gray-700);
}

.phone-number {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary);
    background: var(--white);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    display: inline-block;
    margin: var(--space-2) 0;
}

.network-info {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.confirm-btn {
    width: 100%;
    padding: var(--space-4) var(--space-6);
    background: var(--gradient-secondary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

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

/* Invoice Display */
.invoice-display {
    margin-top: 0.2rem;
    padding: var(--space-6);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

/* Invoice Section - matching transaction-section layout */
.invoice-section {
    width: 100%;
    max-width: 500px;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    animation: slideIn 0.3s ease;
    margin: 0 auto;
}

/* Status Tracker */
.status-tracker {
    margin-top: 0.2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tracker-form {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    width: 420px;
    max-width: 95vw;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 auto 2rem auto;
    margin-top: 0;
    padding-top: 0.2rem;
}

.status-display {
    margin-top: 0;
}

.status-card {
    max-width: 1000px;
    width: 100%;
    min-height: 75vh;
    margin: 0 auto;
    padding: 48px 64px 32px 64px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 4px 32px rgba(37,99,235,0.07);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
}

.status-header {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.status-header h4 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.status-badge {
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}

.status-badge.pending {
    background: var(--warning);
    color: var(--white);
}

.status-badge.processing {
    background: var(--info);
    color: var(--white);
}

.status-badge.completed {
    background: var(--success);
    color: var(--white);
}

.status-badge.failed {
    background: var(--error);
    color: var(--white);
}

/* Timeline */
.status-timeline {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    opacity: 0.6;
    transition: var(--transition-normal);
}

.timeline-item.active {
    opacity: 1;
}

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

.timeline-dot {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    background: var(--gray-200);
    color: var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(37,99,235,0.06);
}

.timeline-item.active .timeline-dot {
    background: var(--success);
    color: #fff;
}

.timeline-content {
    flex: 1;
}

.timeline-content h5 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
}

.timeline-content p {
    font-size: 0.98rem;
    color: var(--gray-600);
}

/* Transaction Details */
.transaction-details {
    margin-bottom: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 6px rgba(37,99,235,0.04);
    padding: 1.2rem 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.detail-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 600;
}

.detail-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Status Actions */
.status-actions {
    margin-top: 8px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.refresh-btn {
    flex: 1;
    padding: 1rem 0;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 1rem;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 44px;
    box-shadow: 0 2px 12px rgba(37,99,235,0.10);
}

.refresh-btn:hover {
    box-shadow: 0 4px 20px rgba(37,99,235,0.18);
    transform: translateY(-2px) scale(1.02);
}

.refresh-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.refresh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--gray-100);
    color: var(--gray-500);
}

.refresh-btn.loading {
    cursor: wait;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: var(--space-3) 0;
    text-align: center;
}

.footer-content p {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

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

.fade-in {
    animation: fadeIn 0.3s ease;
}

.hidden {
    display: none !important;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-3);
    }
    
    .header {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .welcome-section h2 {
        font-size: var(--font-size-3xl);
    }
    
    .welcome-section p {
        font-size: var(--font-size-base);
    }
    
    .action-btn {
        padding: var(--space-5);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    }
    
    .btn-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .btn-text h3 {
        font-size: var(--font-size-base);
    }
    
    .transaction-section,
    .status-tracker,
    .invoice-section {
        padding: var(--space-6);
        margin: 0 var(--space-3);
    }
    
    .section-header {
        flex-direction: row;
        align-items: center;
        gap: var(--space-2);
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .header-title {
        font-size: var(--font-size-lg);
    }
    
    .header-icon, .header-nav-icon {
        width: 36px;
        height: 36px;
    }
    
    .header-nav {
        gap: var(--space-2);
    }
    
    .header-nav-link {
        font-size: var(--font-size-base);
    }
    
    .back-btn {
        margin-right: 0;
        margin-bottom: var(--space-2);
    }
    
    .header-title-right {
        margin-left: auto;
        justify-content: flex-end;
        padding-left: 16px;
    }
    
    .status-card {
        max-width: 98vw;
        padding: 32px 4vw 24px 4vw;
        border-radius: 18px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .welcome-section h2 {
        font-size: var(--font-size-2xl);
    }
    
    .action-btn {
        padding: var(--space-4);
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    }
    
    .btn-icon {
        margin-right: 0;
        margin-bottom: var(--space-2);
    }
    
    .btn-text {
        text-align: center;
    }
    
    .btn-arrow {
        display: none;
    }
    
    .transaction-section,
    .status-tracker,
    .invoice-section {
        padding: var(--space-4);
        margin: 0 var(--space-2);
    }
    
    .form-group input,
    .form-group select {
        padding: var(--space-3);
    }
    
    .submit-btn,
    .confirm-btn {
        padding: var(--space-3) var(--space-4);
    }
    
    .section-header {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 12px;
    }
    
    .header-title {
        justify-content: center;
        font-size: var(--font-size-base);
    }
    
    .header-icon, .header-nav-icon {
        width: 32px;
        height: 32px;
    }
    
    .header-nav {
        justify-content: flex-end;
        gap: var(--space-1);
    }
    
    .header-nav-link {
        font-size: var(--font-size-sm);
    }
    
    .header-title-right {
        margin-left: 0;
        justify-content: center;
        padding-left: 0;
    }
    
    .back-btn-primary {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 220px;
        margin: 0 auto 8px auto;
    }
    
    .status-card {
        max-width: 100vw;
        padding: 7px 1vw 7px 1vw;
        border-radius: 10px;
        gap: 5px;
    }
}

@media (max-width: 600px) {
    .transaction-form .form-group:nth-child(2) {
        margin-bottom: 0.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

/* Simple Invoice Styles */
.simple-invoice {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: calc(var(--space-6) * 0.7);
    /* box-shadow: var(--shadow-lg); */
    /* border: 1px solid var(--gray-200); */
}

.simple-header {
    text-align: center;
    margin-bottom: calc(var(--space-6) * 0.7);
}

.simple-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

/* Page-specific header styling */
.buy-page .simple-header h3,
.sell-page .simple-header h3,
.track-page .simple-header h3 {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.transaction-id {
    background: var(--gray-100);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    font-family: 'Courier New', monospace;
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    margin-bottom: var(--space-4);
    word-break: break-all;
}

/* Page-specific transaction ID styling */
.buy-page .transaction-id,
.sell-page .transaction-id,
.track-page .transaction-id {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.simple-qr-container {
    text-align: center;
    margin-bottom: calc(var(--space-6) * 0.7);
}

.qr-code-simple {
    display: inline-block;
    padding: calc(var(--space-4) * 0.7);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    margin-bottom: calc(var(--space-4) * 0.7);
}

/* Page-specific QR code styling */
.sell-page .qr-code-simple {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.buy-page .qr-code-simple {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.track-page .qr-code-simple {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.qr-image-simple {
    max-width: 200px;
    height: auto;
}

.qr-error-simple {
    color: var(--error);
    font-size: var(--font-size-sm);
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

/* Page-specific error styling */
.buy-page .qr-error-simple,
.sell-page .qr-error-simple,
.track-page .qr-error-simple {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.simple-invoice-text {
    margin-bottom: calc(var(--space-4) * 0.7);
}

.invoice-string-simple {
    background: var(--gray-50);
    padding: calc(var(--space-3) * 0.7) calc(var(--space-4) * 0.7);
    border-radius: var(--radius-lg);
    font-family: 'Courier New', monospace;
    font-size: 0.92em;
    color: var(--gray-700);
    word-break: break-all;
    border: 1px solid var(--gray-200);
    margin-bottom: calc(var(--space-3) * 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.15s;
}
.invoice-string-simple .copy-invoice-icon-btn i {
    font-size: 1.35em !important;
}
@keyframes invoice-bounce {
  0% { transform: scale(1); }
  30% { transform: scale(0.93); }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.invoice-string-simple.clicked {
  animation: invoice-bounce 0.22s cubic-bezier(0.4,0,0.2,1);
}

.copy-simple-btn {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

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

/* Page-specific copy button styling */
.buy-page .copy-simple-btn {
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #10b981 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.buy-page .copy-simple-btn:hover {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sell-page .copy-simple-btn {
    background: linear-gradient(135deg, #92400e 0%, #b45309 50%, #f7931a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(180, 83, 9, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sell-page .copy-simple-btn:hover {
    background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #b45309 100%);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.track-page .copy-simple-btn {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.track-page .copy-simple-btn:hover {
    background: linear-gradient(135deg, #172554 0%, #1e3a8a 50%, #1e40af 100%);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.simple-status {
    margin-top: calc(var(--space-4) * 0.7);
    padding: calc(var(--space-3) * 0.7) calc(var(--space-4) * 0.7);
    background: var(--success-light);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-align: center;
}

/* Page-specific status styling */
.buy-page .simple-status {
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #10b981 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sell-page .simple-status {
    background: linear-gradient(135deg, #92400e 0%, #b45309 50%, #f7931a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(180, 83, 9, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.track-page .simple-status {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.qr-paid-tick {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-radius: 50%;
    animation: tick-fade-in 0.6s cubic-bezier(0.4,0,0.2,1);
}

@keyframes tick-fade-in {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.waiting-payment {
    background-color: #ffeaea !important;
    color: #b91c1c !important;
    border-color: #fca5a5 !important;
}

/* Page-specific waiting payment styling */
.buy-page .waiting-payment {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
}

.sell-page .waiting-payment {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
}

.track-page .waiting-payment {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
}

.back-btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    overflow: hidden;
    padding: var(--space-2) var(--space-4);
    width: auto;
    min-width: 0;
    box-shadow: none;
    align-self: flex-start;
    margin-bottom: 1.2rem;
}

.back-btn-primary::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: var(--transition-slow);
}

.back-btn-primary:hover::before {
    left: 100%;
}

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

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

.header-title-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 32px;
}

.modern-payment-instructions {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 6px 32px rgba(37, 99, 235, 0.08), 0 1.5px 6px rgba(0,0,0,0.03);
    padding: 2.5rem 2rem 2rem 2rem;
    border: none;
    margin-top: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.modern-instruction-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}
.modern-instruction-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.modern-instruction-card {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.modern-instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    box-shadow: 0 2px 8px rgba(37,99,235,0.03);
}
.modern-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.modern-step-number i {
    font-size: 1.25rem;
}
.modern-step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}
.modern-step-content p {
    margin-bottom: 0.25rem;
    color: var(--gray-800);
    font-size: 1rem;
}
.modern-phone-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--gray-100);
    padding: 0.5rem 1.25rem;
    border-radius: 0.75rem;
    border: 1.5px solid var(--primary-light);
    margin: 0.5rem 0 0.5rem 0;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 4px rgba(37,99,235,0.06);
}
.modern-network-info {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}
.modern-confirm-btn {
    width: 100%;
    padding: 1.25rem 0;
    background: var(--gradient-secondary);
    color: #fff;
    border: none;
    border-radius: 1rem;
    font-size: 1.35rem;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 2px 12px rgba(251,191,36,0.10);
    margin-top: 0.5rem;
}
.modern-confirm-btn:hover {
    box-shadow: 0 4px 20px rgba(251,191,36,0.18);
    transform: translateY(-2px) scale(1.02);
}
@media (max-width: 600px) {
    .modern-payment-instructions {
        padding: 1.25rem 0.5rem 1rem 0.5rem;
    }
    .modern-instruction-step {
        padding: 1rem 0.5rem;
    }
    .modern-step-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .modern-phone-number {
        font-size: 1.05rem;
        padding: 0.4rem 0.75rem;
    }
    .modern-confirm-btn {
        font-size: 1.15rem;
        padding: 1rem 0;
    }
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100% !important;
    padding: var(--space-3) 2.2rem var(--space-3) 1rem !important;
    background: var(--white) url('data:image/svg+xml;utf8,&lt;svg fill="%236b7280" height="40" viewBox="0 0 24 24" width="40" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M7 10l5 5 5-5z"/&gt;&lt;/svg&gt;') no-repeat right 1rem center/2rem 2rem !important;
    background-position: right 1rem center !important;
    background-size: 2rem 2rem !important;
    background-repeat: no-repeat !important;
    overflow: visible;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-3) 2.5rem var(--space-3) var(--space-4);
    font-size: 1.1rem;
    height: 3rem;
    line-height: 1.5;
    color: var(--gray-900);
    box-sizing: border-box;
    transition: var(--transition-normal);
    vertical-align: middle;
    text-align: left;
    white-space: normal;
    text-overflow: unset;
    min-width: 120px;
}
select::-ms-expand {
    display: none;
}
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
@media (max-width: 600px) {
    select {
        font-size: 1.1rem;
        height: 2.75rem;
        min-width: 180px;
        padding: 0.75rem 2rem 0.75rem 1rem !important;
        background-size: 1.5rem 1.5rem !important;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
.form-group select option:first-child {
    color: var(--gray-400);
    font-size: 0.95rem;
}

.payment-pending-admin {
    text-align: center;
    padding: 20px 16px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-radius: 16px;
    border: 2px solid #fbbf24;
    box-shadow: 0 4px 24px rgba(245, 158, 11, 0.15);
    margin: 18px 0;
    animation: fadeIn 0.5s;
}

.payment-pending-admin i {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 12px;
    animation: pulse 1.2s infinite;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.25));
}

.payment-pending-admin h4 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.payment-pending-admin p {
    margin: 0 0 6px 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.payment-pending-admin p:last-child {
    margin-top: 10px;
    font-weight: 600;
    color: #fff;
}

.transaction-id-with-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.transaction-id-with-copy span {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.copy-transaction-id-btn {
    background: rgba(255, 255, 255, 0.22);
    border: none;
    color: #fff;
    padding: 6px 8px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(245, 158, 11, 0.10);
}

.copy-transaction-id-btn:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: scale(1.08);
}

.copy-transaction-id-btn i {
    font-size: 0.9rem;
}

.transaction-id-note {
    margin: 6px 0 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
}

@keyframes qr-click-bounce {
  0% { transform: scale(1); }
  30% { transform: scale(0.92); }
  60% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.qr-image-simple.clicked {
  animation: qr-click-bounce 0.22s cubic-bezier(0.4,0,0.2,1);
}

.home-btn {
    width: 100%;
    max-width: 340px;
    margin: 24px auto 0 auto;
    padding: 1.1rem 0;
    background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 100%);
    color: #fff;
    border: none;
    border-radius: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 2px 12px rgba(59,130,246,0.10);
    text-decoration: none;
    letter-spacing: 0.01em;
}
.home-btn i {
    font-size: 1.3em;
}
.home-btn:hover {
    box-shadow: 0 4px 20px rgba(6,182,212,0.18);
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 100%);
    text-decoration: none;
    color: #fff;
}

.home-btn-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    color: #fff;
    box-shadow: 0 2px 12px rgba(59,130,246,0.10);
    font-size: 1.7rem;
    border: none;
    outline: none;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
    text-decoration: none;
    margin-right: 16px;
}
.home-btn-icon:hover {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    box-shadow: 0 4px 20px rgba(6,182,212,0.18);
    transform: translateY(-2px) scale(1.07);
    color: #fff;
    text-decoration: none;
}
.home-btn-icon i {
    font-size: 1.3em;
    pointer-events: none;
}

.back-btn-rect {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 2px 12px rgba(37,99,235,0.10);
    font-size: 1.2rem;
    border: none;
    outline: none;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
    text-decoration: none;
    margin-right: 24px;
    padding: 0.3rem 0.7rem;
}
.back-btn-rect:hover {
    background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 100%);
    box-shadow: 0 4px 20px rgba(37,99,235,0.18);
    transform: translateY(-2px) scale(1.05);
    color: #fff;
    text-decoration: none;
}
.back-btn-rect i {
    font-size: 1.3em;
    pointer-events: none;
}

.buy-title-modern {
    color: #1d4ed8;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #047857 0%, #10b981 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

@media (max-width: 480px) {
    .buy-title-modern {
        font-size: 1.4rem;
    }
}

.sell-btn-rect {
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
}
.sell-btn-rect:hover {
    background: linear-gradient(90deg, #047857 0%, #059669 100%);
}
.sell-title-modern {
    color: #059669;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.track-btn-rect {
    background: linear-gradient(90deg, #f59e42 0%, #fbbf24 100%);
}
.track-btn-rect:hover {
    background: linear-gradient(90deg, #d97706 0%, #f59e42 100%);
}
.track-title-modern {
    color: #d97706;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.invoice-btn-rect {
    background: linear-gradient(90deg, #6366f1 0%, #818cf8 100%);
}
.invoice-btn-rect:hover {
    background: linear-gradient(90deg, #4338ca 0%, #6366f1 100%);
}
.invoice-title-modern {
    color: #6366f1;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.instructions-btn-rect {
    background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 100%);
}
.instructions-btn-rect:hover {
    background: linear-gradient(90deg, #0369a1 0%, #0ea5e9 100%);
}
.instructions-title-modern {
    color: #0ea5e9;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.confirmation-btn-rect {
    background: linear-gradient(90deg, #64748b 0%, #94a3b8 100%);
}
.confirmation-btn-rect:hover {
    background: linear-gradient(90deg, #334155 0%, #64748b 100%);
}
.confirmation-title-modern {
    color: #64748b;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

@media (max-width: 480px) {
    .sell-title-modern, .track-title-modern, .invoice-title-modern, .instructions-title-modern, .confirmation-title-modern {
        font-size: 1.4rem;
    }
}

.transaction-details-modern {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 18px;
    margin: 8px 0 0 0 !important;
    box-shadow: 0 2px 8px rgba(37,99,235,0.04);
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 270px;
    font-size: 0.98rem;
}
.detail-row-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 0;
    font-size: 0.97em;
}
.detail-label-modern {
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.97em;
}
.detail-value-modern {
    color: #2563eb;
    font-weight: 700;
    font-size: 0.97em;
    word-break: break-all;
}
@media (max-width: 480px) {
    .transaction-details-modern {
        padding: 10px 8px;
        font-size: 0.93rem;
        max-width: 100%;
    }
    .detail-label-modern, .detail-value-modern {
        font-size: 0.93em;
    }
}

.refresh-btn-modern {
    padding: 7px 16px !important;
    font-size: 0.97rem !important;
    border-radius: 8px !important;
    min-width: unset !important;
    box-shadow: 0 1px 4px rgba(37,99,235,0.08);
    display: flex;
    align-items: center;
    gap: 7px;
}
.refresh-btn-modern i {
    font-size: 1em !important;
}
@media (max-width: 480px) {
    .refresh-btn-modern {
        padding: 6px 10px !important;
        font-size: 0.92rem !important;
    }
}

/* Modern toggle group for payment method selection */
.network-toggle-group {
    display: flex;
    gap: 1.1rem;
    margin-top: 1.3rem;
    margin-bottom: 0.2rem;
    justify-content: center;
}
.network-toggle-group input[type="radio"] {
    display: none;
}
.network-toggle {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    border-radius: 2rem;
    background: #f3f4f6;
    color: #4b5563;
    font-weight: 600;
    font-size: 1.08rem;
    box-shadow: 0 1px 4px rgba(37,99,235,0.04);
    cursor: pointer;
    border: 2px solid transparent;
    transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
    user-select: none;
    outline: none;
}
.network-toggle:active {
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
}
.network-toggle-group input[type="radio"]:checked + .network-toggle {
    background: linear-gradient(90deg, #fbbf24 0%, #f7931a 100%);
    color: #fff;
    border: 2px solid #f7931a;
    box-shadow: 0 4px 16px rgba(247,147,26,0.13);
}
.network-toggle-group input[type="radio"]:focus + .network-toggle {
    border: 2px solid #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.13);
}
@media (max-width: 600px) {
    .network-toggle {
        font-size: 0.98rem;
        padding: 0.5rem 1rem;
    }
    .network-toggle-group {
        gap: 0.5rem;
    }
}

/* Page-specific color schemes matching home page tabs */

/* Buy Page - Green Theme */
.buy-page {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
}

.buy-page .transaction-section {
    background: linear-gradient(135deg, #047857 0%, #10b981 50%, #34d399 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(4, 120, 87, 0.2), 0 2px 8px rgba(4, 120, 87, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}



.buy-page .back-btn-rect {
    background: linear-gradient(135deg, #047857 0%, #10b981 50%, #34d399 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.buy-page .back-btn-rect:hover {
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #10b981 100%);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.buy-page .buy-title-modern {
    background: linear-gradient(135deg, #047857 0%, #10b981 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.buy-page .network-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.buy-page .network-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.buy-page .network-toggle-group input[type="radio"]:checked + .network-toggle {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
    box-shadow: 0 0 0 2px #ffffffcc, 0 0 6px 2px #ffffff33;
}

/* Sell Page - Orange Theme */
.sell-page {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 50%, #fdba74 100%);
}

.sell-page .transaction-section {
    background: linear-gradient(135deg, #b45309 0%, #f7931a 50%, #fbbf24 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(180, 83, 9, 0.2), 0 2px 8px rgba(180, 83, 9, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}



.sell-page .back-btn-rect {
    background: linear-gradient(135deg, #b45309 0%, #f7931a 50%, #fbbf24 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(180, 83, 9, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sell-page .back-btn-rect:hover {
    background: linear-gradient(135deg, #92400e 0%, #b45309 50%, #f7931a 100%);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sell-page .sell-title-modern {
    background: linear-gradient(135deg, #b45309 0%, #f7931a 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.sell-page .network-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.sell-page .network-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.sell-page .network-toggle-group input[type="radio"]:checked + .network-toggle {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
    box-shadow: 0 0 0 2px #ffffffcc, 0 0 6px 2px #ffffff33;
}

/* Track Page - Blue Theme */
.track-page {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
}

.track-page .status-tracker {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.2), 0 2px 8px rgba(30, 64, 175, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}



.track-page .back-btn-rect {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.track-page .back-btn-rect:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.track-page .track-title-modern {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.track-page .status-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.85) 0%, rgba(30, 64, 175, 0.85) 100%);
    border: 1.5px solid rgba(59, 130, 246, 0.18);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.13), 0 2px 8px rgba(30, 64, 175, 0.10);
    backdrop-filter: blur(18px);
}

.track-page .status-card * {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.10);
}

/* Remove default white background for .status-card */
.status-card {
    background: transparent;
    border: none;
    box-shadow: none;
}

.track-page .status-header h4 {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.track-page .timeline-content h5 {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.track-page .timeline-content p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.track-page .detail-label-modern {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.track-page .detail-value-modern {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.track-page .refresh-btn-modern {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.track-page .refresh-btn-modern:hover {
    background: linear-gradient(135deg, #172554 0%, #1e3a8a 50%, #1e40af 100%);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Enhanced conversion info styling for all pages */
.buy-page .conversion-info,
.sell-page .conversion-info,
.track-page .conversion-info {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
}

/* Enhanced select dropdown styling */
.buy-page select,
.sell-page select,
.track-page select {
    background: rgba(255, 255, 255, 0.15) url('data:image/svg+xml;utf8,&lt;svg fill="%23ffffff" height="40" viewBox="0 0 24 24" width="40" xmlns="http://www.w3.org/2000/svg"&gt;&lt;path d="M7 10l5 5 5-5z"/&gt;&lt;/svg&gt;') no-repeat right 1rem center/2rem 2rem !important;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.buy-page select option,
.sell-page select option,
.track-page select option {
    background: rgba(255, 255, 255, 0.9);
    color: var(--gray-900);
}

/* Enhanced styling for instruction, invoice, and confirmation pages */

/* Buy Instructions Page */
.buy-page .instructions-section {
    background: linear-gradient(135deg, #047857 0%, #10b981 50%, #34d399 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(4, 120, 87, 0.2), 0 2px 8px rgba(4, 120, 87, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.buy-page .modern-payment-instructions {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
}

.buy-page .modern-instruction-header h4 {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.buy-page .modern-instruction-step {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.buy-page .modern-step-content p {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.buy-page .modern-phone-number {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.buy-page .modern-network-info {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.buy-page .buy-confirm-btn {
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #10b981 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.buy-page .buy-confirm-btn:hover {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Buy Confirmation Page */
.buy-page .confirmation-section {
    background: linear-gradient(135deg, #047857 0%, #10b981 50%, #34d399 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(4, 120, 87, 0.2), 0 2px 8px rgba(4, 120, 87, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.buy-page .modern-payment-confirmation {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
}

.buy-page .modern-confirmation-header h3 {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.buy-page .modern-confirmation-header p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.buy-page .modern-confirmation-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
}

.buy-page .detail-row .detail-label {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 0.7rem;
    font-weight: 400;
}

.buy-page .detail-row .detail-value {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 0.7rem;
    font-weight: 400;
}

.buy-page .track-transaction-btn {
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #10b981 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.buy-page .track-transaction-btn:hover {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Sell Invoice Page */
.sell-page .invoice-section {
    background: linear-gradient(135deg, #b45309 0%, #f7931a 50%, #fbbf24 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(180, 83, 9, 0.2), 0 2px 8px rgba(180, 83, 9, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sell-page .simple-invoice {
    background: linear-gradient(135deg, rgba(255, 183, 94, 0.85) 0%, rgba(247, 147, 26, 0.85) 100%);
    border: 1.5px solid rgba(247, 147, 26, 0.18);
    box-shadow: 0 8px 32px rgba(247, 147, 26, 0.13), 0 2px 8px rgba(180, 83, 9, 0.10);
    backdrop-filter: blur(18px);
}

.sell-page .simple-header h3 {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sell-page .invoice-string-simple {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.sell-page .invoice-string-simple .copy-invoice-icon-btn {
    color: rgba(255, 255, 255, 0.8);
}

.sell-page .transaction-id-with-copy {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.sell-page .transaction-id-note {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sell-page .copy-transaction-id-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.sell-page .copy-transaction-id-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Enhanced button styling for all pages */
.buy-page .instructions-btn-rect,
.buy-page .confirmation-btn-rect {
    background: linear-gradient(135deg, #047857 0%, #10b981 50%, #34d399 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.buy-page .instructions-btn-rect:hover,
.buy-page .confirmation-btn-rect:hover {
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #10b981 100%);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sell-page .invoice-btn-rect {
    background: linear-gradient(135deg, #b45309 0%, #f7931a 50%, #fbbf24 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(180, 83, 9, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sell-page .invoice-btn-rect:hover {
    background: linear-gradient(135deg, #92400e 0%, #b45309 50%, #f7931a 100%);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Enhanced title styling for all pages */
.buy-page .instructions-title-modern,
.buy-page .confirmation-title-modern {
    background: linear-gradient(135deg, #047857 0%, #10b981 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.sell-page .invoice-title-modern {
    background: linear-gradient(135deg, #b45309 0%, #f7931a 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Error message styling for all pages */
.buy-page .error-message,
.sell-page .error-message,
.track-page .error-message {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(15px);
}

.buy-page .error-message h3,
.sell-page .error-message h3,
.track-page .error-message h3 {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.buy-page .error-message p,
.sell-page .error-message p,
.track-page .error-message p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.buy-page .btn-primary,
.sell-page .btn-primary,
.track-page .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.buy-page .btn-primary:hover,
.sell-page .btn-primary:hover,
.track-page .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Additional fixes for alignment and spacing */

/* Ensure proper main content alignment for page-specific layouts */
.buy-page .main,
.sell-page .main,
.track-page .main {
    align-items: center;
    justify-content: flex-start;
    padding-top: var(--space-4);
    min-height: auto;
    text-align: center;
}

/* Fix section header alignment for page-specific layouts */
.buy-page .section-header,
.sell-page .section-header,
.track-page .section-header {
    width: 100%;
    max-width: 500px;
    margin: 0 auto var(--space-6) auto;
    padding: 0;
    justify-content: center;
    text-align: center;
}

/* Ensure proper form container alignment */
.buy-page .transaction-section,
.sell-page .transaction-section,
.track-page .status-tracker {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Ensure all cards are properly centered */
.buy-page .simple-invoice,
.sell-page .simple-invoice,
.track-page .simple-invoice,
.buy-page .modern-payment-instructions,
.sell-page .modern-payment-instructions,
.track-page .modern-payment-instructions,
.buy-page .modern-payment-confirmation,
.sell-page .modern-payment-confirmation,
.track-page .modern-payment-confirmation {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Fix network toggle group alignment */
.network-toggle-group {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-2);
}

/* Ensure proper spacing for form groups */
.form-group {
    margin-bottom: var(--space-5);
}

/* Fix conversion info spacing */
.conversion-info {
    margin-top: var(--space-3);
    padding: var(--space-3);
}

/* Ensure proper button spacing */
.submit-btn {
    margin-top: var(--space-4);
}

/* Fix mobile responsiveness for page-specific layouts */
@media (max-width: 768px) {
    .buy-page .main,
    .sell-page .main,
    .track-page .main {
        padding-top: var(--space-3);
        align-items: center;
        text-align: center;
    }
    
    .buy-page .section-header,
    .sell-page .section-header,
    .track-page .section-header {
        margin-bottom: var(--space-4);
        justify-content: center;
        text-align: center;
    }
    
    .buy-page .transaction-section,
    .sell-page .transaction-section,
    .track-page .status-tracker {
        padding: var(--space-4);
        margin: 0 auto;
        width: calc(100% - 2 * var(--space-3));
        max-width: 500px;
        align-items: center;
        text-align: center;
    }
    
    .buy-page .simple-invoice,
    .sell-page .simple-invoice,
    .track-page .simple-invoice,
    .buy-page .modern-payment-instructions,
    .sell-page .modern-payment-instructions,
    .track-page .modern-payment-instructions,
    .buy-page .modern-payment-confirmation,
    .sell-page .modern-payment-confirmation,
    .track-page .modern-payment-confirmation {
        width: calc(100% - 2 * var(--space-3));
        margin: 0 auto;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .buy-page .main,
    .sell-page .main,
    .track-page .main {
        padding-top: var(--space-2);
        align-items: center;
        text-align: center;
    }
    
    .buy-page .section-header,
    .sell-page .section-header,
    .track-page .section-header {
        margin-bottom: var(--space-3);
        justify-content: center;
        text-align: center;
    }
    
    .buy-page .transaction-section,
    .sell-page .transaction-section,
    .track-page .status-tracker {
        padding: var(--space-3);
        margin: 0 auto;
        width: calc(100% - 2 * var(--space-2));
        max-width: 500px;
        align-items: center;
        text-align: center;
    }
    
    .buy-page .simple-invoice,
    .sell-page .simple-invoice,
    .track-page .simple-invoice,
    .buy-page .modern-payment-instructions,
    .sell-page .modern-payment-instructions,
    .track-page .modern-payment-instructions,
    .buy-page .modern-payment-confirmation,
    .sell-page .modern-payment-confirmation,
    .track-page .modern-payment-confirmation {
        width: calc(100% - 2 * var(--space-2));
        margin: 0 auto;
        align-items: center;
        text-align: center;
    }
    
    .network-toggle-group {
        flex-direction: column;
        gap: var(--space-2);
    }
}

/* Fix for any potential z-index issues */
.buy-page .back-btn-rect,
.sell-page .back-btn-rect,
.track-page .back-btn-rect {
    z-index: 10;
    position: relative;
}

/* Ensure proper text contrast and readability */
.buy-page .form-group label,
.sell-page .form-group label,
.track-page .form-group label {
    font-weight: 700;
    letter-spacing: 0.025em;
}

/* Fix for any potential overflow issues */
.buy-page .transaction-section,
.sell-page .transaction-section,
.track-page .status-tracker {
    overflow: hidden;
}

/* Ensure proper focus states for accessibility */
.buy-page .form-group input:focus,
.buy-page .form-group select:focus,
.sell-page .form-group input:focus,
.sell-page .form-group select:focus,
.track-page .form-group input:focus,
.track-page .form-group select:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Fix for any potential animation conflicts */
.buy-page .transaction-section,
.sell-page .transaction-section,
.track-page .status-tracker {
    animation: none;
}

/* Ensure proper button states */
.buy-page .submit-btn:disabled,
.sell-page .submit-btn:disabled,
.track-page .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Fix for any potential backdrop filter issues */
@supports not (backdrop-filter: blur(10px)) {
    .buy-page .form-group input,
    .buy-page .form-group select,
    .sell-page .form-group input,
    .sell-page .form-group select,
    .track-page .form-group input,
    .track-page .form-group select {
        background: rgba(255, 255, 255, 0.9);
    }
}

/* Final optimizations for smooth performance and visual consistency */

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Optimize animations for better performance */
* {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

/* Ensure consistent box-sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Optimize transitions for better performance */
.action-btn,
.submit-btn,
.back-btn-rect,
.network-toggle,
.form-group input,
.form-group select {
    will-change: transform, box-shadow;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Improve focus indicators for accessibility */
.action-btn:focus,
.submit-btn:focus,
.back-btn-rect:focus,
.network-toggle:focus,
.form-group input:focus,
.form-group select:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Ensure proper text rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Fix any potential layout shifts */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Ensure proper stacking context */
.header {
    position: relative;
    z-index: 100;
}

.main {
    position: relative;
    z-index: 1;
}

/* Optimize images for better performance */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure proper button states */
button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Fix any potential overflow issues */
.simple-invoice,
.modern-payment-instructions,
.modern-payment-confirmation {
    overflow: hidden;
}

/* Ensure proper spacing consistency */
.form-group:last-child {
    margin-bottom: 0;
}

/* Fix any potential text overflow */
.invoice-string-simple,
.transaction-id {
    word-break: break-all;
    overflow-wrap: break-word;
}

/* Ensure proper contrast ratios */
.buy-page .form-group label,
.sell-page .form-group label,
.track-page .form-group label {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Fix any potential z-index stacking issues */
.simple-invoice,
.modern-payment-instructions,
.modern-payment-confirmation {
    position: relative;
    z-index: 1;
}

/* Ensure proper loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading-shimmer 1.5s infinite;
}

/* Optimize animations for better performance */
@keyframes loading-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Ensure proper hover states */
.action-btn:hover,
.submit-btn:hover,
.back-btn-rect:hover,
.network-toggle:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Fix any potential mobile touch issues */
@media (hover: none) {
    .action-btn:hover,
    .submit-btn:hover,
    .back-btn-rect:hover,
    .network-toggle:hover {
        transform: none;
    }
}

/* Ensure proper print styles */
@media print {
    .action-btn,
    .submit-btn,
    .back-btn-rect {
        display: none;
    }
}

/* Fix any potential high contrast mode issues */
@media (prefers-contrast: high) {
    .buy-page .form-group input,
    .sell-page .form-group input,
    .track-page .form-group input {
        border: 2px solid var(--white);
    }
}

/* Ensure proper reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Buy Page (Green) */
.buy-page .simple-invoice {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.85) 0%, rgba(4, 120, 87, 0.85) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.18);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.13), 0 2px 8px rgba(4, 120, 87, 0.10);
    backdrop-filter: blur(18px);
}

/* Track Page (Blue) */
.track-page .simple-invoice {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.85) 0%, rgba(30, 64, 175, 0.85) 100%);
    border: 1.5px solid rgba(59, 130, 246, 0.18);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.13), 0 2px 8px rgba(30, 64, 175, 0.10);
    backdrop-filter: blur(18px);
}

/* Ensure all text and icons inside remain readable */
.sell-page .simple-invoice *,
.buy-page .simple-invoice *,
.track-page .simple-invoice * {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.10);
}

/* Remove default white background for .simple-invoice */
.simple-invoice {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Track Page (Blue) - Themed Card Background for Tracker Form */
.track-page .tracker-form {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.85) 0%, rgba(30, 64, 175, 0.85) 100%);
    border: 1.5px solid rgba(59, 130, 246, 0.18);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.13), 0 2px 8px rgba(30, 64, 175, 0.10);
    backdrop-filter: blur(18px);
}

.track-page .tracker-form * {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.10);
}

/* Remove default white background for .tracker-form */
.tracker-form {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Headings and important text */
h1, h2, h3, h4, h5, h6,
.logo, .header-title, .header-title-right,
.btn-text h3, .section-header, .action-btn, .submit-btn, .back-btn-rect, .tracker-form label, .status-header h4, .status-card h4, .simple-header h3, .invoice-title-modern, .instructions-title-modern, .confirmation-title-modern, .buy-title-modern, .sell-title-modern, .track-title-modern {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
}

/* Buttons and navigation */
button, .submit-btn, .action-btn, .back-btn, .back-btn-rect, .refresh-btn, .copy-simple-btn, .copy-transaction-id-btn, .track-transaction-btn {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
}

/* Card and form labels */
.form-group label, .tracker-form label, .status-label, .detail-label, .detail-value, .network-toggle, .status-badge {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    font-weight: 600 !important;
}

/* Ensure all text in .action-btn uses Inter */
.action-btn * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
}

.track-page .transaction-details,
.track-page .transaction-details-modern {
    background: rgba(59, 130, 246, 0.18) !important;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 2px 8px rgba(37,99,235,0.04);
    color: #fff;
    backdrop-filter: blur(8px);
}

/* Add: Live Rate Offline/Fallback Style */
.live-rate.offline, .live-rate.fallback {
    background: #fff7e6;
    color: #d97706;
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 0.2em 0.8em;
    font-weight: 600;
}

@media (max-width: 768px) {
    .tracker-form {
        width: 100%;
        max-width: 98vw;
        padding: 1.2rem 2vw 1.2rem 2vw;
    }
    .status-card {
        max-width: 99vw;
        padding: 18px 2vw 18px 2vw;
        border-radius: 12px;
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .tracker-form {
        width: 100%;
        max-width: 100vw;
        padding: 0.7rem 1vw 0.7rem 1vw;
    }
    .status-card {
        max-width: 100vw;
        padding: 7px 1vw 7px 1vw;
        border-radius: 8px;
        gap: 4px;
    }
}

/* Add visible focus states for accessibility */
input:focus, button:focus, .submit-btn:focus, .refresh-btn:focus, .back-btn-rect:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #93c5fd;
    z-index: 2;
}

/* Enhance label visibility on buy page */
.buy-page .form-group label {
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  color: #fff !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.18);
}

/* Enhance placeholder visibility on buy page */
.buy-page .form-group input::placeholder {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.08rem !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.18);
  opacity: 1 !important;
}

/* Global enhanced label visibility */
label,
.detail-label,
.stat-label,
.rate-label,
.stat-card-label {
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  /* color: #fff !important; */
  text-shadow: 0 2px 6px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.18);
}

/* Global enhanced placeholder visibility */
input::placeholder,
textarea::placeholder {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.08rem !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.18);
  opacity: 1 !important;
}

</pre></body></html>