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

/* 8bit Pixel Style Base */
:root {
    --pixel-primary: #667eea;
    --pixel-secondary: #764ba2;
    --pixel-accent: #FFD700;
    --pixel-border: #2d3748;
    --pixel-shadow: #1a202c;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
    /* Disable font smoothing for pixelated effect */
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    font-smooth: never;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles - Pixel Style */
.header {
    background: white;
    border-radius: 0;
    border: 2px solid var(--pixel-border);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 4px 4px 0px var(--pixel-shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.header h1 {
    font-size: 28px;
    color: #667eea;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Logo Styles */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    flex-shrink: 0;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    font-smooth: never;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
}

.lang-btn {
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border: 2px solid var(--pixel-border);
    border-radius: 0;
    background: white;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.1s ease;
    box-shadow: 2px 2px 0px var(--pixel-shadow);
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    font-smooth: never;
    min-width: 28px;
    text-align: center;
}

.lang-btn:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px var(--pixel-shadow);
    background: #f7fafc;
}

.lang-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px var(--pixel-shadow);
}

.lang-btn.active {
    background: var(--pixel-primary);
    color: white;
    border-color: var(--pixel-border);
}

.lang-btn.active:hover {
    background: #5568d3;
}

/* Responsive language switcher */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 8px;
        gap: 2px;
    }
    
    .lang-btn {
        padding: 3px 6px;
        font-size: 10px;
        min-width: 24px;
    }
}

.wallet-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7fafc;
    padding: 8px 16px;
    border-radius: 12px;
}

.wallet-address {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
}

.wallet-balance {
    font-size: 14px;
    color: #718096;
}

/* Pixel Style Utility Classes */
.pixelated {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    font-smooth: never;
}

.pixel-border {
    border: 2px solid var(--pixel-border);
    border-radius: 0;
}

.pixel-button {
    border: 2px solid var(--pixel-border);
    border-radius: 0;
    box-shadow: 4px 4px 0px var(--pixel-shadow);
    transition: all 0.1s ease;
}

.pixel-button:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--pixel-shadow);
}

.pixel-button:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px var(--pixel-shadow);
}

.pixel-card {
    border: 2px solid var(--pixel-border);
    border-radius: 0;
    box-shadow: 4px 4px 0px var(--pixel-shadow);
}

/* Button Styles - Pixel Style */
.btn {
    padding: 10px 20px;
    border: 2px solid var(--pixel-border);
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.1s ease;
    white-space: nowrap;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    font-smooth: never;
    box-shadow: 4px 4px 0px var(--pixel-shadow);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--pixel-shadow);
}

.btn-primary:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px var(--pixel-shadow);
}

.btn-primary:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #f7fafc;
    color: #718096;
    border: 2px solid var(--pixel-border);
    box-shadow: 4px 4px 0px var(--pixel-shadow);
}

.btn-secondary:hover {
    background: #edf2f7;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--pixel-shadow);
}

.btn-secondary:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px var(--pixel-shadow);
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
    width: 100%;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 968px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

/* Responsive design for token cards - Bar layout - Mobile */
@media (max-width: 768px) {
    .token-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        min-height: auto;
        padding: 12px 16px;
    }
    
    .token-card-left {
        min-width: auto;
        width: 100%;
    }
    
    .token-card-ticker {
        font-size: 18px;
    }
    
    .token-card-name-section {
        width: 100%;
        min-width: auto;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .token-card-name {
        font-size: 14px;
    }
    
    .token-card-tax-twitter-btn {
        padding: 3px 6px;
        font-size: 11px;
    }
    
    .token-card-tax-twitter-btn .tax-twitter-username {
        display: none; /* Hide username text on mobile, show only icon */
    }
    
    .token-card-center {
        width: 100%;
        margin: 0;
        justify-content: space-between;
        gap: 6px;
    }
    
    .token-card-address {
        font-size: 11px;
    }
    
    
    .token-card-right {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .token-card-social-link {
        padding: 3px;
    }
    
    .token-card-social-link svg {
        width: 12px;
        height: 12px;
    }
}

/* Form Section - Pixel Style */
.form-section, .status-section {
    background: white;
    border-radius: 0;
    border: 2px solid var(--pixel-border);
    padding: 32px;
    box-shadow: 4px 4px 0px var(--pixel-shadow);
}

.form-section h2, .status-section h2 {
    font-size: 24px;
    color: #2d3748;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--pixel-border);
    border-radius: 0;
    font-size: 14px;
    transition: border-color 0.1s ease;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    font-smooth: never;
    box-shadow: 2px 2px 0px var(--pixel-shadow);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-group input[type="file"] {
    padding: 8px;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #718096;
}

.form-group input[type="url"] {
    margin-bottom: 8px;
}

/* File Preview */
.file-preview {
    margin-top: 12px;
}

.file-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

/* Config Info */
.config-info {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.config-info h3 {
    font-size: 16px;
    color: #2d3748;
    margin-bottom: 12px;
}

.config-info ul {
    list-style: none;
    padding: 0;
}

.config-info li {
    padding: 6px 0;
    font-size: 14px;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.config-info li:last-child {
    border-bottom: none;
}

/* Status Display */
.status-display {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    min-height: 100px;
}

.status-idle {
    color: #718096;
    font-size: 14px;
    text-align: center;
}

.status-info {
    background: #bee3f8;
    color: #2c5282;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
}

.status-success {
    background: #c6f6d5;
    color: #22543d;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
}

.status-error {
    background: #fed7d7;
    color: #742a2a;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
}

.status-warning {
    background: #feebc8;
    color: #7c2d12;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
}

/* Progress Steps */
.progress-steps {
    margin-top: 24px;
}

.step {
    display: flex;
    gap: 16px;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #f7fafc;
    transition: all 0.3s ease;
}

.step.active {
    background: #e6f2ff;
    border: 2px solid #667eea;
}

.step.completed {
    background: #c6f6d5;
}

.step.error {
    background: #fed7d7;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #cbd5e0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.step.active .step-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.step.completed .step-icon {
    background: #48bb78;
}

.step.completed .step-icon::before {
    content: "✓";
}

.step.error .step-icon {
    background: #f56565;
}

.step-content {
    flex: 1;
}

.step-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.step-status {
    font-size: 13px;
    color: #718096;
}

/* Result Display */
.result-display {
    margin-top: 24px;
}

.result-success {
    background: #c6f6d5;
    border-radius: 12px;
    padding: 24px;
}

.result-success h3 {
    color: #22543d;
    margin-bottom: 16px;
    font-size: 20px;
}

.result-item {
    margin-bottom: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
}

.result-item strong {
    display: block;
    color: #2d3748;
    margin-bottom: 6px;
    font-size: 14px;
}

.result-item a {
    color: #667eea;
    text-decoration: none;
    word-break: break-all;
    font-size: 13px;
}

.result-item a:hover {
    text-decoration: underline;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s ease-in-out infinite;
}

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

/* Footer */
.footer {
    text-align: center;
    padding: 24px;
    color: white;
    margin-top: 24px;
}

.footer p {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    .header h1 {
        font-size: 22px;
    }

    .header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .wallet-section {
        flex-direction: column;
    }

    .form-section, .status-section {
        padding: 20px;
    }

    .wallet-info {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.mt-4 {
    margin-top: 16px;
}

.mb-4 {
    margin-bottom: 16px;
}

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

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

/* Main Header */
.main-header {
    background: white;
    border-radius: 0;
    border: 2px solid var(--pixel-border);
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 4px 4px 0px var(--pixel-shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    font-size: 24px;
    color: #667eea;
    margin: 0;
}

.logo-link {
    color: inherit;
    text-decoration: none;
}

.logo-link:hover {
    opacity: 0.8;
}

.main-nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    color: #718096;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: #f7fafc;
    color: #667eea;
}

.nav-link.active {
    background: #e6f2ff;
    color: #667eea;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Main Content - Home */
.main-content-home {
    flex: 1;
    padding-bottom: 40px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0;
    border: 2px solid var(--pixel-border);
    padding: 60px 40px;
    margin-bottom: 40px;
    text-align: center;
    color: white;
    box-shadow: 4px 4px 0px var(--pixel-shadow);
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.9;
}

/* Search Section */
.search-section {
    margin-bottom: 40px;
}

.search-section-content {
    max-width: 600px;
    margin: 0 auto;
}

.search-box-container {
    width: 100%;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 0;
    border: 2px solid var(--pixel-border);
    padding: 12px 16px;
    box-shadow: 2px 2px 0px var(--pixel-shadow);
}

.search-icon {
    color: #718096;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #2d3748;
}

.search-input::placeholder {
    color: #a0aec0;
}

.search-clear {
    background: none;
    border: none;
    cursor: pointer;
    color: #718096;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.search-clear:hover {
    color: #2d3748;
}

.search-button {
    background: #667eea;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-button:hover {
    background: #5568d3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.search-button:active {
    transform: translateY(0);
}

.search-button svg {
    width: 18px;
    height: 18px;
}

/* Tokens Section */
.tokens-section {
    background: white;
    border-radius: 0;
    border: 2px solid var(--pixel-border);
    padding: 32px;
    box-shadow: 4px 4px 0px var(--pixel-shadow);
}

.tokens-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.tokens-header h2 {
    font-size: 24px;
    color: #2d3748;
    margin: 0;
}

.tokens-count {
    color: #718096;
    font-size: 14px;
}

/* Token Grid - Changed to vertical list layout */
.tokens-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

/* Token Card - Bar layout - Pixel Style */
.token-card {
    background: white;
    border-radius: 0;
    padding: 16px 20px;
    transition: all 0.1s ease;
    border: 2px solid var(--pixel-border);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    box-shadow: 4px 4px 0px var(--pixel-shadow);
    cursor: pointer;
    min-height: 70px;
}

.token-card:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--pixel-shadow);
}

/* Token Card - Left Section (Ticker only) */
.token-card-left {
    display: flex;
    align-items: center;
    min-width: 100px;
    flex-shrink: 0;
}

.token-card-ticker {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
    line-height: 1.2;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    font-smooth: never;
}

/* Token Card - Name Section (Name + Tax Twitter Button) */
.token-card-name-section {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 180px;
    flex-shrink: 0;
}

.token-card-name {
    font-size: 15px;
    font-weight: 500;
    color: #718096;
    line-height: 1.2;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    font-smooth: never;
}

.token-card-tax-twitter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: #1da1f2;
    color: white;
    border: 2px solid var(--pixel-border);
    border-radius: 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.1s ease;
    box-shadow: 2px 2px 0px var(--pixel-shadow);
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    font-smooth: never;
}

.token-card-tax-twitter-btn:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px var(--pixel-shadow);
}

.token-card-tax-twitter-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px var(--pixel-shadow);
}

.token-card-tax-twitter-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.tax-twitter-username {
    font-size: 12px;
}

/* Token Card - Center Section (Address only) */
.token-card-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    margin: 0 12px;
    cursor: pointer;
}

.token-card-address {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #000000;
    cursor: pointer;
    user-select: all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    transition: opacity 0.2s ease;
}

.token-card-address:hover {
    opacity: 0.7;
}


/* Token Card - Right Section (Twitter + Social Links) */
.token-card-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.token-card-social-link {
    color: #718096;
    transition: all 0.1s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 4px;
    border: 1px solid transparent;
    border-radius: 0;
}

.token-card-social-link svg {
    width: 14px;
    height: 14px;
}

.token-card-social-link:hover {
    color: #667eea;
    border-color: var(--pixel-border);
    box-shadow: 1px 1px 0px var(--pixel-shadow);
}

.token-card-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: opacity 0.3s ease;
}

.token-card-link:hover {
    opacity: 0.8;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 40px;
}

.loading-state .loading-spinner {
    margin: 0 auto 16px;
}

.loading-state p {
    color: #718096;
    font-size: 14px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 40px;
    color: #718096;
}

.empty-state svg {
    margin-bottom: 16px;
    color: #cbd5e0;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 8px;
}

.empty-state-subtitle {
    font-size: 14px;
    color: #a0aec0;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 40px;
}

.error-message {
    color: #f56565;
    margin-bottom: 16px;
}

/* Pagination */
.pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.pagination-content {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-btn {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #4a5568;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.pagination-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.pagination-ellipsis {
    color: #718096;
    padding: 0 8px;
}

/* Main Content - Profile */
.main-content-profile {
    flex: 1;
    padding-bottom: 40px;
}

.page-title {
    font-size: 32px;
    color: #2d3748;
    margin-bottom: 32px;
}

.profile-section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 20px;
    color: #2d3748;
    margin-bottom: 16px;
}

.profile-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.info-label {
    font-weight: 600;
    color: #4a5568;
}

.info-value {
    color: #2d3748;
    font-family: 'Courier New', monospace;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: #718096;
}

.empty-message p {
    margin-bottom: 16px;
}

/* Tokens List */
.tokens-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Rewards List */
.rewards-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.token-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reward-card-wrapper {
    position: relative;
}

.reward-card-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.reward-card-actions .btn {
    flex: 0 0 auto;
}

.reward-card-actions .no-rewards-text {
    color: #718096;
    font-size: 14px;
    padding: 8px 16px;
}

.reward-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.reward-item-info h4 {
    margin: 0 0 8px 0;
    color: #2d3748;
}

.reward-amount {
    color: #48bb78;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.reward-item-actions {
    display: flex;
    gap: 12px;
}

/* Claim History List */
.claim-history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.claim-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.claim-history-info h4 {
    margin: 0 0 8px 0;
    color: #2d3748;
}

.claim-history-info p {
    margin: 4px 0;
    color: #4a5568;
    font-size: 14px;
}

.claim-date {
    color: #718096;
    font-size: 12px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.status-pending {
    background: #feebc8;
    color: #7c2d12;
}

.status-badge.status-approved {
    background: #c6f6d5;
    color: #22543d;
}

.status-badge.status-rejected {
    background: #fed7d7;
    color: #742a2a;
}

/* Main Footer */
.main-footer {
    text-align: center;
    padding: 24px;
    color: white;
    margin-top: auto;
}

.main-footer p {
    font-size: 14px;
    opacity: 0.9;
}

/* Button Small */
.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

/* Responsive Design Updates */
@media (max-width: 968px) {
    .header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tokens-grid {
        gap: 12px;
    }

    .reward-item,
    .claim-history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .reward-item-actions {
        width: 100%;
        justify-content: stretch;
    }

    .reward-item-actions button {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .tokens-grid {
        gap: 12px;
    }

    .tokens-list {
        gap: 12px;
    }

    .page-title {
        font-size: 24px;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid;
}

.toast-show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    border-left-color: #28a745;
    color: #155724;
}

.toast-error {
    border-left-color: #dc3545;
    color: #721c24;
}

.toast-info {
    border-left-color: #17a2b8;
    color: #0c5460;
}

.toast-warning {
    border-left-color: #ffc107;
    color: #856404;
}

.toast::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    display: inline-block;
}

.toast-success::before {
    content: '✓';
    background: #28a745;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.toast-error::before {
    content: '✕';
    background: #dc3545;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.toast-info::before {
    content: 'ℹ';
    background: #17a2b8;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.toast-warning::before {
    content: '⚠';
    background: #ffc107;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .toast-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .toast {
        transform: translateY(-100px);
    }
    
    .toast-show {
        transform: translateY(0);
    }
}

/* Treasury Link Styles */
.treasury-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.treasury-link:hover {
    color: #5568d3;
    border-bottom-color: #5568d3;
    text-decoration: none;
}

.treasury-link:active {
    color: #4455b2;
}

/* Treasury Address Input Styles */
.treasury-address-input {
    cursor: pointer !important;
    color: #667eea;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.3s ease;
}

.treasury-address-input:hover {
    color: #5568d3;
    text-decoration-color: #5568d3;
}

.treasury-address-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
