/* Base Styles */
/* Base theme (light) */
:root {
    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* Colors */
    --primary: #0052ff;
    --primary-hover: #0046d9;
    --primary-active: #0039b3;
    --secondary: #f8f9fa;
    --secondary-hover: #e9ecef;
    --secondary-active: #dee2e6;
    --success: #00c853;
    --danger: #ff3b30;
    --warning: #ff9500;
    --info: #007aff;
    --light: #f8f9fa;
    --dark: #1a1a1a;
    --white: #ffffff;
    --black: #000000;
    
    /* Text */
    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --text-muted: #6c757d;
    --text-light: #f8f9fa;
    --text-dark: #1a1a1a;
    
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    
    /* Borders */
    --border-color: #dee2e6;
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Card */
    --card-bg: #ffffff;
    --card-border: #e9ecef;
}

/* Base Typography */
body {
    font-family: var(--font-family-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.5em;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Dark theme overrides */
:root[data-theme="dark"] {
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6c757d;
    --text-light: #f8f9fa;
    --text-dark: #1a1a1a;
    
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-light: #2d2d2d;
    --bg-dark: #0a0a0a;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    
    --border-color: #333333;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    
    --card-bg: #1e1e1e;
    --card-border: #333333;
}

/* Smooth transitions */
html {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Rest of your existing CSS */
:root {
    /* Transitions */
    --transition: all 0.2s ease-in-out;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --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-xxl: 1.5rem;
    --font-size-xxxl: 2rem;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Z-index */
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal-backdrop: 1040;
    --z-index-modal: 1050;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: var(--line-height-normal);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.2s;
}

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

/* Header Styles */
.main-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 60px;
    height: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-right: 8px;
}

.theme-toggle:hover {
    background: var(--input-bg);
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.theme-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 82, 255, 0.2);
}

.theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

/* Light/Dark mode specific styles */
[data-theme="light"] .light-icon {
    transform: translateX(2px);
    color: var(--text-secondary);
}

[data-theme="light"] .dark-icon {
    transform: translateX(26px);
    color: var(--text-secondary);
}

[data-theme="dark"] .light-icon {
    transform: translateX(-26px);
    color: var(--text-secondary);
}

[data-theme="dark"] .dark-icon {
    transform: translateX(-2px);
    color: var(--text-secondary);
}

/* Slider track */
.theme-toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

[data-theme="light"] .theme-toggle::before {
    transform: translateX(0);
}

[data-theme="dark"] .theme-toggle::before {
    transform: translateX(24px);
}

/* Hide the default emoji and use CSS content instead */
.theme-icon::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Sun icon (shown in light mode) */
.light-icon::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41L5.99 4.58zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41l-1.06-1.06zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41.39.39 1.03.39 1.41 0l1.06-1.06zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41.39.39 1.03.39 1.41 0l1.06-1.06z'/%3E%3C/svg%3E");
    opacity: 1;
    transition: all 0.3s ease;
}

/* Moon icon (shown in dark mode) */
.dark-icon::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 3c.46 0 .92.04 1.36.1-.11.65-.17 1.32-.17 1.99 0 3.31 2.69 6 6 6 .67 0 1.34-.06 2.01-.17-.03.33-.05.66-.05 1.01 0 4.97-4.03 9-9 9s-9-4.03-9-9 4.03-9 9-9z'/%3E%3C/svg%3E");
    opacity: 1;
    transition: all 0.3s ease;
}

/* Hide/show the appropriate icon based on theme */
[data-theme="light"] .dark-icon,
[data-theme="dark"] .light-icon {
    opacity: 0;
    transform: translateX(20px);
}

[data-theme="light"] .light-icon,
[data-theme="dark"] .dark-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Position the icons */
.theme-icon {
    position: absolute;
    left: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-icon {
    left: auto;
    right: 6px;
}

.theme-icon::after {
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 24px;
    width: auto;
    padding-bottom: 2px;
}

/* Vault Badge */
.vault-badge {
    background: linear-gradient(135deg, #0052ff 0%, #1a7cff 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.vault-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Dark theme adjustments */
[data-theme="dark"] .vault-badge {
    background: linear-gradient(135deg, #1a7cff 0%, #0052ff 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.sign-out {
    font-weight: 500;
    color: var(--primary);
}

/* Dropdown styling for dark theme */
select option {
    background-color: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

/* For Firefox */
@-moz-document url-prefix() {
    select {
        color: var(--text-primary) !important;
        text-shadow: 0 0 0 var(--text-primary);
    }
    
    select option {
        background-color: var(--card-bg);
        color: var(--text-primary);
    }
}

/* For Chrome/Safari/Edge */
select:not(:-internal-list-box) {
    color: var(--text-primary) !important;
}

select option {
    color: var(--text-primary);
    background-color: var(--card-bg);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    margin: 1rem;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--card-bg);
    z-index: 10;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    position: sticky;
    bottom: 0;
    background: var(--card-bg);
}

/* Form elements in modal */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-select:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 2px rgba(0, 82, 255, 0.2);
}

/* Status Messages */
.status-message {
position: fixed;
top: 1.5rem;
left: 50%;
transform: translateX(-50%);
padding: 0.75rem 1.5rem;
border-radius: 6px;
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 0.95rem;
font-weight: 500;
z-index: 1000;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
transition: all 0.3s ease;
opacity: 0;
animation: slideIn 0.3s ease forwards;
}

.status-message i {
font-size: 1.1rem;
}

.status-message.success {
background-color: #e6f7ee;
color: #10b981;
border: 1px solid #a7f3d0;
}

.status-message.error {
background-color: #fef2f2;
color: #ef4444;
border: 1px solid #fecaca;
}

@keyframes slideIn {
from {
opacity: 0;
transform: translate(-50%, -1rem);
}
to {
opacity: 1;
transform: translate(-50%, 0);
}
}

.status-message.fade-out {
opacity: 0;
transform: translate(-50%, -1rem);
}

/* Transaction List Styling */
.activity-list {
border: 1px solid var(--border-color);
border-radius: 12px;
overflow: hidden;
background: var(--bg-primary);
}

.activity-item {
padding: 1rem 1.5rem;
border-bottom: 1px solid var(--border-color);
transition: background-color 0.2s ease;
}

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

.activity-item:hover {
background-color: var(--bg-secondary);
}

.activity-content {
display: flex;
align-items: center;
gap: 1rem;
}

.activity-icon {
width: 2.5rem;
height: 2.5rem;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.activity-icon.deposit {
background-color: rgba(16, 185, 129, 0.1);
color: #10b981;
}

.activity-icon.withdrawal {
background-color: rgba(239, 68, 68, 0.1);
color: #ef4444;
}

.activity-details {
flex: 1;
min-width: 0;
}

.activity-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.25rem;
}

.activity-title {
font-weight: 500;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-right: 1rem;
}

.activity-amount {
font-weight: 500;
white-space: nowrap;
}

.activity-footer {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.85rem;
color: var(--text-secondary);
}

.activity-status {
display: inline-flex;
align-items: center;
gap: 0.375rem;
padding: 0.25rem 0.5rem;
border-radius: 1rem;
font-size: 0.75rem;
font-weight: 500;
}

.activity-status.pending {
background-color: rgba(245, 158, 11, 0.1);
color: #f59e0b;
}

.activity-status.completed {
background-color: rgba(16, 185, 129, 0.1);
color: #10b981;
}

.activity-status.failed {
background-color: rgba(239, 68, 68, 0.1);
color: #ef4444;
}

.activity-time {
color: var(--text-tertiary);
font-size: 0.8rem;
}

.activity-usd {
font-weight: 500;
color: var(--text-secondary);
}

/* Assets List */
.assets-list {
    margin-top: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-primary);
}

.asset-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

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

.asset-item:hover {
    background-color: var(--bg-secondary);
}

.asset-info {
    display: flex;
    flex-direction: column;
}

.asset-token {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.asset-balance {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'Roboto Mono', monospace;
}

.asset-value {
    font-weight: 500;
    color: var(--text-primary);
}

.no-assets {
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Add transitions for form elements */
select, input, textarea, option, h1, .subtitle {
transition: opacity 0.3s ease-in-out;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.ticket-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow);
    text-align: left;
}

.support-logo {
    margin-bottom: 1.75rem;
    display: flex;
    justify-content: center;
}

.support-logo svg {
    width: 64px;
    height: 64px;
}

h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0.5rem 0 1rem;
    text-align: center;
    color: var(--text-tertiary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Form Styles */
.ticket-form {
    margin-bottom: 1.5rem;
    transition: opacity 0.3s ease-in-out;
}

/* Form elements */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: var(--input-bg);
    color: var(--text-primary);
    font-weight: 400;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.submit-btn {
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.submit-btn:hover:not(:disabled) {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.submit-btn:disabled {
    background-color: var(--primary);
    opacity: 0.7;
    cursor: not-allowed;
}

/* Button loader */
.button-loader {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
    position: relative;
    top: -1px;
}

.submit-btn:disabled .button-loader {
    display: inline-block;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 82, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Assets Section */
.assets-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.asset-total {
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.total-balance {
    text-align: center;
}

.total-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.total-amount {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.asset-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.asset-item:hover {
    background-color: var(--bg-hover);
}

.asset-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.asset-token {
    font-weight: 500;
    color: var(--text-primary);
}

.asset-balance {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-family: 'Roboto Mono', monospace;
}

.asset-value {
    font-weight: 500;
    color: var(--text-primary);
}

.no-assets {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Activity Items */
/* Activity Items */
.activity-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.activity-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.activity-item:hover {
    background-color: var(--bg-secondary);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.activity-icon.deposit {
    background-color: rgba(0, 199, 139, 0.1);
    color: var(--success);
}

.activity-icon.withdrawal {
    background-color: rgba(234, 57, 67, 0.1);
    color: var(--danger);
}

.activity-details {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    width: 100%;
    align-items: center;
}

.activity-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.activity-amount {
    font-family: 'Roboto Mono', monospace;
    text-align: right;
    white-space: nowrap;
}

.amount-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.amount-value {
    font-variant-numeric: tabular-nums;
    text-align: right;
    min-width: 220px;
    font-weight: 500;
    font-family: 'Roboto Mono', monospace; /* Monospace for consistent number width */
}

.amount-token {
    font-size: 0.9em;
    color: var(--text-secondary);
    min-width: 3.5em; /* Fixed width for 4 characters */
    text-align: left;
    font-weight: 400;
    font-family: 'Roboto Mono', monospace; /* Monospace for consistent character width */
    display: inline-block;
    letter-spacing: 0.05em;
}

.amount-usd {
    font-size: 0.85em;
    color: var(--text-tertiary);
    margin-top: 0.1rem;
}

.activity-amount.deposit .amount-value {
    color: var(--success);
}

.activity-amount.withdrawal .amount-value {
    color: var(--danger);
}

.activity-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.activity-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background-color: var(--bg-tertiary);
    font-size: 0.75rem;
}

.activity-status.completed {
    color: #00c087;
}

.activity-status.pending {
    color: #ffb800;
}

.activity-status.failed {
    color: #f6465d;
}

.activity-time {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-tertiary);
}

.activity-time i {
    font-size: 0.75em;
}

.activity-usd {
    margin-left: auto;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    background-color: var(--bg-tertiary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Review Step */
#reviewStep {
    display: none;
    margin-top: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#reviewStep.visible {
    opacity: 1;
}

.review-header {
    margin-bottom: 1.75rem;
    text-align: center;
}

.review-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-tertiary);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.review-header .subtitle {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

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

.review-step h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-tertiary);
    letter-spacing: -0.01em;
}

.review-step .subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.review-list {
    margin: 0;
    padding: 0;
}

.review-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    margin: 0 0 1.25rem 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.review-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.review-item.reviewed {
    background: rgba(0, 82, 255, 0.02);
    border-color: rgba(0, 82, 255, 0.1);
}

.review-item h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.review-item h3 {
    position: relative;
    padding-left: 32px;
}

.review-item h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230052FF'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.review-details {
    padding-left: 0px;
}

.review-item p {
    margin: 0 0 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9375rem;
}

.phone-number-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0.5rem 0 1rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 82, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(0, 82, 255, 0.1);
}

.phone-number-display svg {
    flex-shrink: 0;
    color: var(--primary);
}

.phone-number-display span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-tertiary);
    letter-spacing: 0.01em;
}

.review-item .small {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.review-actions {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    flex-wrap: nowrap;
    width: 100%;
}

@media (max-width: 480px) {
    .review-actions {
        flex-direction: row;
        gap: 0.5rem;
    }
}

/* Button Styles */
.btn {
    flex: 1;
    padding: 0.6875rem 0.5rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.3;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    min-width: auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Button states */
.btn:disabled,
.btn.disabled {
    background-color: var(--gray-100) !important;
    border-color: var(--gray-200) !important;
    color: var(--gray-400) !important;
    cursor: not-allowed;
    opacity: 1;
    pointer-events: none;
}

/* Vault Security Step */
.vault-security-step {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem 0 0; /* Reduced top padding since we don't need as much space */
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.vault-security-step.visible {
    display: block;
    opacity: 1;
}

.security-icon {
    margin-bottom: 0.5rem; /* Reduced margin since we're using the support logo */
    height: 0; /* Hide the empty space */
    visibility: hidden; /* Hide the empty container */
}

.vault-security-step h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.security-message {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.vault-benefits {
    text-align: left;
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid var(--gray-200);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.benefit-item svg {
    flex-shrink: 0;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    color: var(--success);
}

.security-note {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 1.5rem;
    line-height: 1.5;
}

/* Next step button */
.submit-btn {
    transition: all 0.3s ease;
    position: relative;
}

/* Disabled state */
.submit-btn:disabled {
    background-color: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--gray-400);
    cursor: not-allowed;
    opacity: 0.7;
}

/* Active state */
.submit-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    cursor: pointer;
    opacity: 1;
}

.submit-btn .button-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.submit-btn.processing .button-loader {
    opacity: 1;
    transform: translateX(0);
}

@media (min-width: 481px) {
    .btn {
        font-size: 0.9375rem;
        padding: 0.6875rem 1rem;
    }
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.2);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 82, 255, 0.15);
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.18);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover:not(:disabled) {
    background: var(--input-bg);
    border-color: var(--text-secondary);
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.review-status {
    margin: 1.25rem 0 0;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1; /* Changed from 0 to 1 */
    transform: translateY(0); /* Changed from -10px to 0 */
    height: auto;
    min-height: 44px;
    visibility: hidden; /* Initially hidden but taking up space */
}

.review-status.processing,
.review-status.verified,
.review-status.suspicious {
    visibility: visible; /* Show when has a state class */
}

.review-item.reviewed .review-status {
    opacity: 1;
    transform: translateY(0);
}

.review-status.verified {
    background: rgba(0, 168, 90, 0.08);
    color: #00a85a;
    border: 1px solid rgba(0, 168, 90, 0.2);
}

.review-status.suspicious {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.review-status.processing {
    background: rgba(0, 82, 255, 0.06);
    color: var(--primary);
    border: 1px dashed rgba(0, 82, 255, 0.2);
}

.review-status::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.review-status.verified::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300a85a'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}

.review-status.suspicious::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc2626'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

.review-status.processing::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230052FF'%3E%3Cpath d='M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46A7.93 7.93 0 0020 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74A7.93 7.93 0 004 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z'/%3E%3C/svg%3E");
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.review-status::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.review-status.verified::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230052FF'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1.06 14.54L6.7 12.5l1.41-1.41 2.83 2.83 5.66-5.66 1.41 1.41-7.07 6.77z'/%3E%3C/svg%3E");
}

/* Help Text */
.help-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.help-text p {
    margin: 0.5rem 0;
}

.help-text .small {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.help-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.help-link:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.help-link {
    font-weight: 500;
}

/* Footer */
.main-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .ticket-box {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .main-header, .main-footer {
        padding: 1rem 1.25rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
