/* Main Page Layout Styles */

/* Main container - full screen layout */
.main-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* Sidebar Network Status - at bottom of sidebar */
.sidebar-network-status {
    margin-top: auto;
    padding: 16px 12px;
    border-top: 1px solid #e0e0e0;
}

.sidebar-network-status .network-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.sidebar-network-status .network-indicator i {
    font-size: 8px;
}

.sidebar-network-status .network-indicator.network-testnet {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

.sidebar-network-status .network-indicator.network-testnet i {
    color: #ef5350;
}

.sidebar-network-status .network-indicator.network-staging {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ff9800;
}

.sidebar-network-status .network-indicator.network-staging i {
    color: #ff9800;
}

.sidebar-network-status .network-indicator.network-mainnet {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #66bb6a;
}

.sidebar-network-status .network-indicator.network-mainnet i {
    color: #66bb6a;
}

.sidebar-network-status .network-indicator.network-unknown {
    background: #f5f5f5;
    color: #757575;
    border: 1px solid #bdbdbd;
}

.sidebar-network-status .network-indicator.network-unknown i {
    color: #bdbdbd;
}

/* Top navigation bar */
.top-bar {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

/* Left controls container */
.left-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logout button */
.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.logout-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.logout-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(108, 117, 125, 0.2);
}

.logout-btn i {
    font-size: 14px;
}

/* Lock Screen button */
.lock-screen-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lock-screen-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.lock-screen-btn:active {
    transform: translateY(0);
}

.lock-screen-btn i {
    font-size: 14px;
}

/* Initialize Burn Stats button */
.init-burn-stats-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.init-burn-stats-btn:hover {
    background: #c82333;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
    transform: translateY(-1px);
}

.init-burn-stats-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.init-burn-stats-btn i {
    font-size: 16px;
}

/* User information section */
.user-info {
    display: flex;
    align-items: center;
}

.profile-display-header {
    display: grid;
    grid-template-columns: 28px auto;
    gap: 8px;
    align-items: center;
}

.profile-avatar-small {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-avatar-small.placeholder {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
}

.profile-avatar-small.placeholder i {
    font-size: 20px;
}

.profile-username {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    align-self: center;
}

.profile-status {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.profile-status::before {
    content: "👤";
    font-size: 16px;
}

.username {
    font-weight: 500;
    color: #333;
    font-size: 16px;
}

/* Wallet address display */
.wallet-address {
    display: flex;
    align-items: center;
    gap: 10px;
}

.token-balance, 
.balance {
    font-weight: 500;
    color: #1a1a1a;
}

.address-label {
    color: #666;
    margin-right: 8px;
}

.address-value {
    color: #1a1a1a;
    font-weight: 500;
    cursor: pointer;
    font-family: monospace;
}

.address-value:hover {
    color: #2196f3;
}

/* Main content area */
.main-content {
    display: flex;
    flex: 1;
    min-height: 0;
}

/* Sidebar navigation */
.sidebar {
    flex-shrink: 0;
    width: 240px;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    padding: 20px 0 0 0;
    display: flex;
    flex-direction: column;
}

/* Menu items */
.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    user-select: none;
}

.menu-item:hover {
    background: #eef2f7;
    color: #333;
}

.menu-item.active {
    background: #e7f1ff;
    color: #0066cc;
    border-right: 3px solid #0066cc;
}

.menu-item i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

/* Content area */
.content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: #f6f6f6;
}

.content h2 {
    margin: 0 0 24px 0;
    color: #333;
}

/* Copy functionality */
.copy-container {
    position: relative;
}

.copy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    color: #666;
    transition: all 0.2s;
}

.copy-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #333;
}

.copy-button i {
    font-size: 14px;
}

.copy-tooltip {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    white-space: nowrap;
}

.copy-tooltip.show {
    opacity: 1;
    visibility: visible;
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.7) transparent transparent transparent;
}

/* Modal styles for dialogs */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    animation: modal-appear 0.2s ease-out;
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.init-burn-stats-dialog {
    width: 560px;
    max-width: 90vw;
}

.init-burn-stats-dialog .modal-header {
    padding: 32px 32px 24px 32px;
    border-bottom: 1px solid #dee2e6;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.init-burn-stats-dialog .modal-header::before {
    content: '\f06d';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.35);
    margin-bottom: 16px;
}

.init-burn-stats-dialog .modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.welcome-info-dialog {
    width: 600px;
    max-width: 90vw;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px 24px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.init-burn-stats-dialog .modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.modal-body {
    padding: 24px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.init-burn-stats-dialog .modal-body {
    padding: 32px;
    min-height: 200px;
}

.init-explanation {
    width: 100%;
}

.init-explanation p {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.warning-text {
    color: #856404;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 12px;
}

.init-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
}

.loading-spinner {
    width: 56px;
    height: 56px;
    border: 5px solid #f8f9fa;
    border-top: 5px solid #dc3545;
    border-right: 5px solid #e74c3c;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.init-message {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
}

/* Welcome info dialog specific styles */
.welcome-info-dialog .modal-header {
    padding: 32px 32px 24px 32px;
    border-bottom: 1px solid #dee2e6;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    display: block;
    text-align: center;
}

.welcome-info-dialog .modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

.welcome-info-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
}

.info-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.35);
}

.info-text {
    flex: 1;
}

.info-text h4 {
    margin: 0 0 16px 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.info-text p {
    margin: 14px 0;
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

.info-text strong {
    color: #dc3545;
    font-weight: 600;
}

.info-note {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    color: #1976d2 !important;
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px !important;
}

.welcome-info-dialog .modal-body {
    padding: 32px;
}

.welcome-info-dialog .modal-footer {
    padding: 24px 32px 32px 32px;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: center;
    background: #f8f9fa;
}

.modal-footer {
    padding: 16px 24px 24px 24px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.init-burn-stats-dialog .modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
}

.btn-secondary, .btn-primary {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.init-burn-stats-dialog .btn-secondary {
    background: #6c757d;
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    flex: 1;
}

.init-burn-stats-dialog .btn-secondary:hover {
    background: #5a6268;
}

.init-burn-stats-dialog .btn-primary {
    background: #e74c3c;
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    flex: 1;
}

.init-burn-stats-dialog .btn-primary:hover {
    background: #d63031;
}

.init-burn-stats-dialog .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
}

.btn-secondary:hover {
    background: #e9ecef;
    color: #495057;
}

.btn-primary {
    background: #dc3545;
    color: white;
}

.init-confirm-btn, .got-it-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.got-it-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.got-it-btn:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.btn-primary:hover {
    background: #c82333;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.btn-primary:active, .got-it-btn:active {
    transform: translateY(0);
}

/* Utility classes */
.pubkey {
    color: #666;
    font-family: monospace;
    font-size: 14px;
}

/* RPC Status section */
.rpc-status {
    margin-top: 80px;
    padding: 20px;
    margin: 80px 20px 20px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Settings section styles */
.settings-section {
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.settings-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Network settings */
.network-group {
    margin-bottom: 24px;
}

.network-group h4 {
    margin: 0 0 12px 0;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

.radio-option {
    display: flex;
    align-items: center;
    margin: 8px 0;
    gap: 8px;
}

.radio-option input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.radio-option label {
    margin-right: 12px;
    color: #333;
    cursor: pointer;
}

.custom-rpc-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 8px;
    font-family: monospace;
}

.custom-rpc-input:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.current-rpc {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.current-rpc h4 {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.rpc-url {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    font-family: monospace;
    color: #333;
    font-size: 13px;
    word-break: break-all;
}

/* Profile page styles */
.profile-page {
    padding: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.profile-content {
    margin-top: 20px;
}

.loading-state {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

.profile-form {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    min-height: 400px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-group input:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.8;
}

.profile-value {
    color: #333;
    font-size: 16px;
    margin: 0;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

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

.stat-value {
    font-size: 24px;
    font-weight: 500;
    color: #2196F3;
    margin: 8px 0 0 0;
}

.info-text {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.create-profile-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Pixel art editor */
.pixel-art-editor {
    margin: 32px 0;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 8px;
}

.pixel-art-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.import-btn {
    background-color: #007bff;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    height: fit-content;
    margin: 0;
    transition: all 0.2s ease;
    cursor: pointer;
}

.import-btn:hover:not(:disabled) {
    background-color: #0056b3;
}

.import-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.import-btn.hidden {
    display: none;
}

/* Pixel grid */
.pixel-grid {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pixel-row {
    display: flex;
    flex: 1;
}

.pixel {
    aspect-ratio: 1;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.1s ease;
    background: white;
    flex: 1;
}

.pixel.black {
    background: #000;
}

.pixel.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.pixel:not(.disabled):hover {
    background: #f0f0f0;
}

.pixel.black:not(.disabled):hover {
    background: #333;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-page {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        padding: 10px 0;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .content {
        padding: 16px;
    }
    
    .top-bar {
        padding: 8px 16px;
    }
    
    .profile-form {
        padding: 20px;
        margin: 0 16px;
    }
    
    .profile-page {
        padding: 16px;
    }

    .init-burn-stats-dialog, .welcome-info-dialog {
        width: 90%;
        margin: 0 auto;
    }

    .welcome-info-dialog .modal-header {
        padding: 24px;
    }

    .welcome-info-dialog .modal-header h3 {
        font-size: 24px;
    }

    .welcome-info-dialog .modal-body {
        padding: 24px;
    }

    .welcome-info-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .info-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .info-text h4 {
        font-size: 18px;
        text-align: center;
    }

    .welcome-info-dialog .modal-footer {
        padding: 20px 24px 24px 24px;
    }

    .init-burn-stats-dialog .modal-header {
        padding: 24px;
    }

    .init-burn-stats-dialog .modal-header::before {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin-bottom: 12px;
    }

    .init-burn-stats-dialog .modal-header h3 {
        font-size: 20px;
    }

    .init-burn-stats-dialog .modal-close {
        top: 20px;
        right: 20px;
    }

    .init-burn-stats-dialog .modal-body {
        padding: 24px;
    }

    .init-explanation p {
        font-size: 14px;
    }
    
    .warning-text {
        padding: 10px;
        font-size: 13px;
    }

    .init-burn-stats-dialog .modal-footer {
        padding: 20px 24px 24px 24px;
    }

    .init-burn-stats-dialog .btn-secondary,
    .init-burn-stats-dialog .btn-primary {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
    }
    
    .user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .wallet-address {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .address-value {
        font-size: 12px;
        word-break: break-all;
    }
    
    .sidebar {
        display: flex;
        overflow-x: auto;
        padding: 8px 0;
    }
    
    .menu-item {
        flex-shrink: 0;
        padding: 8px 16px;
        border-right: none;
        border-bottom: 3px solid transparent;
    }
    
    .menu-item.active {
        border-right: none;
        border-bottom: 3px solid #0066cc;
    }
    
    .content {
        padding: 12px;
    }
    
    .profile-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .stat-value {
        font-size: 20px;
    }

    .init-burn-stats-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .init-burn-stats-btn span {
        display: none;
    }

    .logout-btn span {
        display: none;
    }
    
    .logout-btn {
        padding: 8px 12px;
    }

    .lock-screen-btn span {
        display: none;
    }
    
    .lock-screen-btn {
        padding: 8px 12px;
    }

    .left-controls {
        order: 2;
    }

    .wallet-address {
        order: 1;
    }

    .welcome-info-dialog .modal-header {
        padding: 20px;
    }

    .welcome-info-dialog .modal-header h3 {
        font-size: 20px;
    }

    .welcome-info-dialog .modal-body {
        padding: 20px;
    }

    .info-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .info-text h4 {
        font-size: 16px;
    }

    .info-text p {
        font-size: 14px;
    }

    .info-note {
        font-size: 13px;
        padding: 12px 16px;
    }

    .welcome-info-dialog .modal-footer {
        padding: 16px 20px 20px 20px;
    }

    .welcome-info-dialog .got-it-btn {
        width: 100%;
        justify-content: center;
    }

    .init-burn-stats-dialog .modal-header {
        padding: 20px;
    }

    .init-burn-stats-dialog .modal-header::before {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .init-burn-stats-dialog .modal-header h3 {
        font-size: 18px;
    }

    .init-burn-stats-dialog .modal-close {
        top: 16px;
        right: 16px;
        width: 28px;
        height: 28px;
        font-size: 20px;
    }

    .init-burn-stats-dialog .modal-body {
        padding: 20px;
    }

    .init-explanation p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .warning-text {
        padding: 10px;
        font-size: 12px;
        margin-top: 12px;
    }

    .loading-spinner {
        width: 48px;
        height: 48px;
        border-width: 4px;
    }

    .init-message {
        font-size: 16px;
    }

    .init-burn-stats-dialog .modal-footer {
        padding: 16px 20px 20px 20px;
        flex-direction: row;
    }

    .init-burn-stats-dialog .btn-secondary,
    .init-burn-stats-dialog .btn-primary {
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Focus states for accessibility */
.menu-item:focus,
.copy-button:focus,
.import-btn:focus,
.init-burn-stats-btn:focus,
.logout-btn:focus,
.lock-screen-btn:focus,
.btn-primary:focus,
.btn-secondary:focus,
.got-it-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Wallet Info Button - clickable wallet display */
.wallet-info-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wallet-info-button:hover {
    background: #f5f5f5;
    border-color: #007bff;
    transform: translateY(-1px);
}

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

.wallet-info-button .token-balance,
.wallet-info-button .balance {
    font-weight: 500;
    color: #1a1a1a;
}

.wallet-info-button .address-label {
    color: #666;
    margin-right: 8px;
}

.wallet-info-button .address-value {
    color: #1a1a1a;
    font-weight: 500;
}

/* Transfer Dialog Styles */
.transfer-dialog {
    max-width: 500px;
    width: 90%;
}

.transfer-dialog .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
}

.transfer-dialog .modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.transfer-dialog .modal-header h3 i {
    color: #007bff;
}

.transfer-dialog .modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
}

.transfer-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.transfer-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    text-align: left;
}

.transfer-form label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.transfer-form label i {
    color: #007bff;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.transfer-form .form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.transfer-form .form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Removed number input specific styles since we now use text input */

.balance-info {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
}

.balance-info i {
    color: #17a2b8;
    font-size: 13px;
}

.transfer-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    text-align: center;
}

.transfer-message {
    font-size: 14px;
    color: #333;
    white-space: pre-line;
    word-break: break-word;
}

.transfer-success {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    text-align: left;
}

.transfer-success .success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background: #d4edda;
    border-radius: 50%;
    color: #28a745;
    font-size: 32px;
}

.transfer-success .success-message {
    font-size: 16px;
    font-weight: 600;
    color: #28a745;
    text-align: center;
}

.transfer-success .tx-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.transfer-success .tx-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.transfer-success .tx-hash {
    font-family: monospace;
    font-size: 13px;
    color: #212529;
    word-break: break-all;
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ced4da;
}

.transfer-dialog .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
}

.transfer-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Confirm Dialog Styles */
.confirm-dialog {
    max-width: 450px;
    width: 90%;
}

.confirm-dialog .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    background: #fff3cd;
}

.confirm-dialog .modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirm-dialog .modal-header h3 i {
    color: #ffc107;
}

.confirm-dialog .modal-body {
    padding: 24px;
}

.confirm-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.confirm-details p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirm-details p i {
    color: #007bff;
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.confirm-details strong {
    color: #333;
    font-weight: 600;
    display: inline-block;
    min-width: 100px;
}

.confirm-details span {
    color: #495057;
    word-break: break-word;
}

.confirm-details .warning-text {
    margin-top: 8px;
    padding: 12px 12px 12px 10px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    color: #856404;
    font-weight: 500;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.confirm-details .warning-text i {
    color: #ffc107;
    font-size: 18px;
    margin-top: 2px;
}

.confirm-dialog .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
}

.confirm-transfer-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #28a745;
}

.confirm-transfer-btn:hover {
    background: #218838;
}

/* Mobile responsiveness for transfer dialogs */
@media (max-width: 768px) {
    .transfer-dialog,
    .confirm-dialog {
        max-width: 100%;
        width: 95%;
        margin: 10px;
    }
    
    .transfer-dialog .modal-header,
    .transfer-dialog .modal-body,
    .confirm-dialog .modal-header,
    .confirm-dialog .modal-body {
        padding: 16px;
    }
    
    .transfer-form {
        gap: 16px;
    }
    
    .transfer-form .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .wallet-info-button {
        padding: 6px 12px;
        gap: 8px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .transfer-dialog,
    .confirm-dialog {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }
    
    .transfer-dialog .modal-header h3,
    .confirm-dialog .modal-header h3 {
        font-size: 18px;
    }
}

/* Print styles */
@media print {
    .sidebar,
    .top-bar,
    .modal-overlay {
        display: none;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .content {
        padding: 0;
    }
} 