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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wallet-container {
    position: relative;
    width: 100%;
    max-width: 650px;
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 16px 0; /* Remove left and right padding */
    border-bottom: 1px solid #2d2d2d;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    flex: 1;
    margin-left: -16px; /* Add small gap from left edge */
}

.account-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 20px; /* Restore padding for content */
    position: relative; /* For dropdown positioning */
}

.profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ffd700 50%, #0066cc 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ffd700 50%, #0066cc 50%);
}

.account-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-name {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.wallet-address {
    font-size: 12px;
    color: #a0a0a0;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.header-center .logo {
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    padding-right: 20px; /* Add padding only to header-right */
}

.header-right .hamburger-menu {
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.header-right .hamburger-menu:hover {
    background-color: #2d2d2d;
}

/* Account Dropdown Styles */

.account-dropdown {
    position: absolute;
    top: 100%;
    left: 10px; /* Fixed missing px unit */
    width: 320px;
    background-color: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 0 8px 8px 8px; /* Remove top-left border radius to align with edge */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
}

/* Responsive positioning for smaller screens */
@media (max-width: 480px) {
    .header-left {
        margin-left: -13px; /* Move 30% more to the left on mobile too */
    }
    
    .account-info {
        padding-left: 10px;
    }
    
    .header-right {
        padding-right: 10px;
    }
    
    .account-dropdown {
        left: 0;
        width: 280px;
    }
}

.account-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #2d2d2d;
}

.dropdown-header span {
    font-size: 16px;
    font-weight: 600;
}

.close-dropdown-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.close-dropdown-btn:hover {
    background-color: #2d2d2d;
}

.search-container {
    position: relative;
    padding: 12px 20px;
    border-bottom: 1px solid #2d2d2d;
}

.search-container i {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0a0a0;
    font-size: 14px;
}

.account-search {
    width: 100%;
    padding: 8px 12px 8px 32px;
    background-color: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
}

.account-search::placeholder {
    color: #a0a0a0;
}

.wallet-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #2d2d2d;
}

.wallet-label {
    font-size: 14px;
    font-weight: 600;
}

.wallet-details-link {
    color: #0066cc;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
}

.wallet-details-link:hover {
    text-decoration: underline;
}

.accounts-list {
    max-height: 300px;
    overflow-y: auto;
}

.account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-left: 3px solid transparent;
}

.account-item:hover {
    background-color: #2d2d2d;
}

.account-item.active {
    background-color: #2d2d2d;
    border-left-color: #0066cc;
}

.account-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.account-item-icon {
    width: 32px;
    height: 32px;
    position: relative;
}

.icon-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.icon-half {
    position: absolute;
    width: 50%;
    height: 50%;
}

.icon-half.blue {
    background-color: #0066cc;
    top: 0;
    left: 0;
}

.icon-half.yellow {
    background-color: #ffd700;
    bottom: 0;
    right: 0;
}

.icon-overlay {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #a0a0a0;
    border-radius: 50%;
    bottom: 2px;
    left: 2px;
}

.account-item-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-item-name {
    font-size: 14px;
    font-weight: 600;
}

.account-item-address {
    font-size: 12px;
    color: #a0a0a0;
}

.account-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.account-item-balance {
    font-size: 14px;
    font-weight: 600;
}

.account-item-tokens {
    display: flex;
    gap: 2px;
}

.eth-icon {
    font-size: 10px;
    color: #0066cc;
    font-weight: 600;
}

.account-item-menu {
    color: #a0a0a0;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.account-item-menu:hover {
    background-color: #2d2d2d;
}

.dropdown-footer {
    padding: 16px 20px;
    border-top: 1px solid #2d2d2d;
}

.add-account-btn {
    width: 100%;
    padding: 12px;
    background-color: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.add-account-btn:hover {
    background-color: #3d3d3d;
}

.no-accounts-message,
.error-message {
    padding: 20px;
    text-align: center;
    color: #a0a0a0;
    font-size: 14px;
}

.error-message {
    color: #ff6b6b;
}

/* Password Prompt Modal */
.password-prompt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.password-prompt-content {
    background-color: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    padding: 32px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.password-prompt-content h3 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
}

.password-prompt-content p {
    margin-bottom: 24px;
    color: #a0a0a0;
    font-size: 14px;
    text-align: center;
}

.password-prompt-content .form-group {
    position: relative;
    margin-bottom: 0;
}

.password-prompt-content .password-input {
    width: 100%;
    padding: 12px 16px;
    background-color: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    padding-right: 48px;
    height: 48px;
}

.password-prompt-content .password-toggle {
    position: absolute;
    right: 12px;
    top: 38%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.password-prompt-content .password-toggle:hover {
    background-color: #3d3d3d;
}

.password-prompt-content .password-toggle i {
    font-size: 16px;
}

.password-prompt-content .input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.password-prompt-content .form-group {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.password-prompt-content .biometric-section {
    flex-shrink: 0;
}

.password-prompt-content .biometric-btn {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #a0a0a0;
    cursor: pointer;
    padding: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-top: -20px;
}

.password-prompt-content .biometric-btn:hover {
    background: #3d3d3d;
    border-color: #555;
    color: #ffffff;
}

.password-prompt-content .biometric-btn svg {
    width: 24px;
    height: 24px;
}

.password-prompt-content .form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Account Details Page Styles */
.account-details-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #000000;
    min-height: 100vh;
    color: #ffffff;
}

.account-details-header {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #2d2d2d;
    margin-bottom: 30px;
}

.account-details-header .back-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
}

.account-details-header .back-btn:hover {
    background-color: #1a1a1a;
}

.account-details-header .page-title {
    margin: 0 auto;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.account-icon-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    min-height: 60px;
}

.account-details-container .account-icon .icon-circle {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d2d2d;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.account-details-container .account-icon .icon-half {
    position: absolute;
    width: 50%;
    height: 50%;
    border-radius: 0;
}

.account-details-container .account-icon .icon-half.blue {
    background: #0066cc;
    top: 0;
    left: 0;
    border-radius: 0;
}

.account-details-container .account-icon .icon-half.yellow {
    background: #ffd700;
    bottom: 0;
    right: 0;
    border-radius: 0;
}

.account-details-container .account-icon .icon-overlay {
    position: absolute;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    z-index: 2;
}

.account-info-section,
.security-section,
.smart-contract-section {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

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

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

.info-label {
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 500;
}

.info-value {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.info-value .edit-icon {
    color: #0066cc;
    cursor: pointer;
    font-size: 12px;
}

.info-value .fa-chevron-right {
    color: #a0a0a0;
    font-size: 12px;
}

.address-text {
    cursor: pointer;
    transition: color 0.2s;
}

.address-text:hover {
    color: #0066cc;
}

.section-header h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.section-description {
    margin: 0 0 20px 0;
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.5;
}

.learn-more-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.learn-more-link:hover {
    text-decoration: underline;
}

.network-toggles {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.network-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.network-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2d2d2d;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #0066cc;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

/* Enhanced toggle switch styles */
.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 1px #0066cc;
}

/* Network toggle row hover effect */
.network-toggle-row:hover {
    background-color: #2a2a2a;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

/* Learn more link styles */
.learn-more-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.learn-more-link:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Permissions Page Styles */
.permissions-container {
    min-height: 100vh;
    background: #1a1a1a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.permissions-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
    background: #1a1a1a;
}

.permissions-header .back-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
    margin-right: 16px;
}

.permissions-header .back-btn:hover {
    background-color: #2d2d2d;
}

.permissions-header .page-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.permissions-content {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    max-width: 400px;
}

.empty-state-icon {
    font-size: 48px;
    color: #666666;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.empty-state-description {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.5;
    margin: 0;
}

/* Permissions List Styles */
.permissions-list {
    width: 100%;
    max-width: 600px;
}

.permission-item {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #3d3d3d;
}

.permission-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.permission-icon {
    width: 40px;
    height: 40px;
    background: #0066cc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.permission-icon i {
    color: #ffffff;
    font-size: 16px;
}

.permission-info {
    flex: 1;
    margin-right: 16px;
}

.permission-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.permission-description {
    font-size: 14px;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.4;
}

.revoke-btn {
    background: #ff4444;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.revoke-btn:hover {
    background: #cc3333;
}

.permission-details {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid #3d3d3d;
}

.permission-type,
.permission-date {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.permission-label {
    font-size: 12px;
    color: #666666;
    font-weight: 500;
}

.permission-value {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

/* Networks Page Styles */
.networks-container {
    min-height: 100vh;
    background: #1a1a1a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
}

.networks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
    background: #1a1a1a;
}

.networks-header .page-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.networks-header .close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
}

.networks-header .close-btn:hover {
    background-color: #2d2d2d;
}

/* Search Section */
.search-section {
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.search-container {
    position: relative;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    font-size: 14px;
}

.network-search-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.network-search-input:focus {
    border-color: #0066cc;
}

.network-search-input::placeholder {
    color: #666666;
}

/* Networks Content */
.networks-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.networks-section {
    margin-bottom: 24px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}

.section-title-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-icon {
    color: #666666;
    font-size: 14px;
}

.chevron-icon {
    color: #666666;
    font-size: 12px;
    transition: transform 0.2s;
}

/* Network Warning */
.network-warning {
    background: #ff4444;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.warning-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.warning-icon {
    color: #ffffff;
    font-size: 18px;
    margin-top: 2px;
}

.warning-text p {
    color: #ffffff;
    font-size: 14px;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.warning-text .learn-more-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 14px;
}

/* Network Items */
.networks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.network-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #2d2d2d;
    border-radius: 8px;
    border: 1px solid #3d3d3d;
}

.network-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.network-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.network-icon i {
    color: #ffffff;
    font-size: 14px;
}

.network-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.network-chain-id {
    font-size: 12px;
    color: #a0a0a0;
    margin: 0;
}

.network-actions {
    display: flex;
    align-items: center;
}

.network-menu-btn {
    background: none;
    border: none;
    color: #666666;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: color 0.2s;
}

.network-menu-btn:hover {
    color: #ffffff;
}

.add-network-btn {
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.add-network-btn:hover {
    background: #0052a3;
}

/* Add Network Section */
.add-network-section {
    padding: 20px;
    border-top: 1px solid #2d2d2d;
    background: #1a1a1a;
}

.add-custom-network-btn {
    width: 100%;
    background: #2d2d2d;
    color: #ffffff;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-custom-network-btn:hover {
    background: #3d3d3d;
    border-color: #4d4d4d;
}

.add-custom-network-btn i {
    font-size: 14px;
}

/* Add Network Modal */
.add-network-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.add-network-modal-overlay.show {
    display: flex;
}

.add-network-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.add-network-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.add-network-modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
}

.modal-close-btn:hover {
    background-color: #2d2d2d;
}

.add-network-modal-content {
    padding: 20px;
}

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

.form-label {
    display: block;
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #0066cc;
}

.form-input::placeholder {
    color: #666666;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.cancel-btn {
    flex: 1;
    background: #2d2d2d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cancel-btn:hover {
    background: #3d3d3d;
}

.save-btn {
    flex: 1;
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.save-btn:hover {
    background: #0052a3;
}

/* Edit Account Name Modal Styles */
.edit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.edit-modal-overlay.show {
    display: flex;
}

.edit-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.edit-modal-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.modal-back-btn,
.modal-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
}

.modal-back-btn:hover,
.modal-close-btn:hover {
    background-color: #2d2d2d;
}

.modal-title {
    margin: 0 auto;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.edit-modal-content {
    padding: 20px;
}

.input-label {
    display: block;
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.name-input {
    width: 100%;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 20px;
    outline: none;
    transition: border-color 0.2s;
}

.name-input:focus {
    border-color: #0066cc;
}

.save-btn {
    width: 100%;
    padding: 12px;
    background: #0066cc;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    outline: none;
}

.save-btn:hover {
    background: #0052a3;
}

.save-btn:disabled {
    background: #2d2d2d;
    color: #a0a0a0;
    cursor: not-allowed;
}

/* Address Modal Styles */
.address-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.address-modal-overlay.show {
    display: flex;
}

.address-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.address-modal-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.address-modal-content {
    padding: 20px;
    text-align: center;
}

.qr-code-container {
    margin-bottom: 20px;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.account-name-display {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
}

.address-display {
    margin-bottom: 24px;
}

.address-line {
    color: #ffffff;
    font-family: monospace;
    font-size: 14px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copy-btn {
    background: none;
    border: none;
    color: #0066cc;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.copy-btn:hover {
    background-color: rgba(0, 102, 204, 0.1);
}

.explorer-btn {
    width: 100%;
    padding: 12px;
    background: #2d2d2d;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.explorer-btn:hover {
    background: #3d3d3d;
}

/* Password Modal Styles */
.password-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.password-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.password-modal-header {
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
    text-align: center;
}

.password-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.password-modal-content {
    padding: 20px;
    text-align: center;
}

.password-modal-content p {
    color: #a0a0a0;
    margin-bottom: 20px;
    font-size: 14px;
}

.password-input {
    width: 100%;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 20px;
    outline: none;
    transition: border-color 0.2s;
}

.password-input:focus {
    border-color: #0066cc;
}

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

.unlock-btn,
.login-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.unlock-btn {
    background: #0066cc;
    color: #ffffff;
}

.unlock-btn:hover {
    background: #0052a3;
}

.login-btn {
    background: #2d2d2d;
    color: #ffffff;
    border: 1px solid #404040;
}

.login-btn:hover {
    background: #3d3d3d;
}

/* Wallet Details Page Styles */
.wallet-details-container {
    width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: #000000;
    min-height: 100vh;
    color: #ffffff;
}

.wallet-details-header {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #2d2d2d;
    margin-bottom: 30px;
}

.wallet-details-header .back-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
}

.wallet-details-header .back-btn:hover {
    background-color: #1a1a1a;
}

.wallet-details-header .page-title {
    margin: 0 auto;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.wallet-info-section,
.recovery-phrase-section,
.accounts-section {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    width: 360px;
    box-sizing: border-box;
    max-height: 400px;
    overflow: hidden;
}

.accounts-section .section-header h3 {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.accounts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.accounts-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #2d2d2d;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 320px;
    box-sizing: border-box;
}

.account-item:hover {
    background: #3d3d3d;
}

.account-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-item .account-icon .icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d2d2d;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.account-item .account-icon .icon-half {
    position: absolute;
    width: 50%;
    height: 50%;
    border-radius: 0;
}

.account-item .account-icon .icon-half.blue {
    background: #0066cc;
    top: 0;
    left: 0;
}

.account-item .account-icon .icon-half.yellow {
    background: #ffd700;
    bottom: 0;
    right: 0;
}

.account-item .account-icon .icon-half.red {
    background: #ff4444;
    top: 0;
    left: 0;
}

.account-item .account-icon .icon-half.green {
    background: #00ff88;
    top: 0;
    right: 0;
}

.account-item .account-icon .icon-overlay {
    position: absolute;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

.account-item .add-icon {
    background: #2d2d2d;
    border: 2px dashed #666666;
    color: #666666;
    font-size: 18px;
}

.account-item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-item-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.account-item-address {
    color: #a0a0a0;
    font-size: 12px;
    font-family: monospace;
}

.account-item-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-balance {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.account-item-right .fa-chevron-right {
    color: #a0a0a0;
    font-size: 12px;
}

.add-account-item {
    border: 2px dashed #666666;
    background: transparent;
}

.add-account-item:hover {
    background: rgba(102, 102, 102, 0.1);
}

/* Add Account Modal Styles */
.add-account-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.add-account-modal-overlay.show {
    display: flex;
}

.add-account-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.add-account-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.add-account-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.modal-close-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
    outline: none;
}

.modal-close-btn:hover {
    background: #2d2d2d;
    color: #ffffff;
}

.add-account-modal-content {
    padding: 20px;
}

.account-type-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-type-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #2d2d2d;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.account-type-option:hover {
    background: #3d3d3d;
}

.account-type-icon .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d2d2d;
    overflow: hidden;
    flex-shrink: 0;
}

.account-type-icon .import-icon {
    background: #2d2d2d;
    border: 2px solid #666666;
    color: #666666;
    font-size: 20px;
}

.account-type-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-type-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.account-type-description {
    color: #a0a0a0;
    font-size: 14px;
}

.account-type-option .fa-chevron-right {
    color: #a0a0a0;
    font-size: 14px;
}

/* Secret Recovery Phrase Modal Styles */
.recovery-phrase-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.recovery-phrase-modal-overlay.show {
    display: flex;
}

.recovery-phrase-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.recovery-phrase-modal::-webkit-scrollbar {
    display: none;
}

.recovery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.recovery-modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.recovery-modal-content {
    padding: 20px;
}

.recovery-question h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 20px 0;
    text-align: center;
    line-height: 1.4;
}

.recovery-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.recovery-option-btn {
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 16px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.recovery-option-btn:hover {
    background: #3d3d3d;
    border-color: #4d4d4d;
}

.recovery-option-btn.selected {
    background: #0066cc;
    border-color: #0066cc;
}

.recovery-learn-more {
    text-align: center;
}

.recovery-learn-more a {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

.recovery-learn-more a:hover {
    text-decoration: underline;
}

.recovery-warning {
    text-align: center;
    margin-bottom: 20px;
}

.recovery-warning i {
    color: #ffd700;
    font-size: 24px;
    margin-bottom: 12px;
}

.recovery-warning h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.recovery-warning p {
    color: #a0a0a0;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.recovery-phrase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.recovery-phrase-word {
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    padding: 12px 8px;
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.recovery-phrase-word .word-number {
    position: absolute;
    top: 4px;
    left: 4px;
    color: #a0a0a0;
    font-size: 10px;
    font-weight: 400;
}

.recovery-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recovery-action-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.recovery-action-btn.secondary {
    background: #2d2d2d;
    color: #ffffff;
    border: 1px solid #3d3d3d;
}

.recovery-action-btn.secondary:hover {
    background: #3d3d3d;
}

.recovery-action-btn.primary {
    background: #0066cc;
    color: #ffffff;
}

.recovery-action-btn.primary:hover {
    background: #0052a3;
}

/* Password Input Styles */
.recovery-password-section {
    text-align: center;
}

.recovery-password-section h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.recovery-password-section p {
    color: #a0a0a0;
    font-size: 14px;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.recovery-password-input {
    width: 100%;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.recovery-password-input:focus {
    outline: none;
    border-color: #0066cc;
}

.password-input-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    transition: color 0.2s;
}

.password-toggle-btn:hover {
    color: #ffffff;
}

.password-toggle-btn:focus {
    outline: none;
}

/* Hold Button Styles */
.hold-button-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.hold-button {
    position: relative;
    width: 200px;
    height: 60px;
    background: #2d2d2d;
    border: 2px solid #3d3d3d;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hold-button:hover {
    background: #3d3d3d;
    border-color: #4d4d4d;
}

.hold-button:active {
    background: #0066cc;
    border-color: #0066cc;
}

.hold-text {
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.hold-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #0099ff);
    width: 0%;
    transition: width 0.05s linear;
    z-index: 1;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
}

.hold-button.holding .hold-text {
    color: #ffffff;
}

.hold-button.completed {
    background: #00ff88;
    border-color: #00ff88;
    color: #000000;
}

.hold-button.completed .hold-text {
    color: #000000;
}

/* Private Key Modal Styles */
.private-key-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.private-key-modal-overlay.show {
    display: flex;
}

.private-key-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.private-key-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.private-key-modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.private-key-modal-content {
    padding: 20px;
}

.private-key-modal-content h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 20px 0;
}

.private-key-password-input {
    width: 100%;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.private-key-password-input:focus {
    outline: none;
    border-color: #0066cc;
}

.private-key-warning {
    background: #ff4444;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.private-key-warning i {
    color: #ffffff;
    font-size: 18px;
    margin-top: 2px;
}

.private-key-warning p {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.private-key-actions {
    display: flex;
    gap: 12px;
}

.private-key-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.private-key-btn.secondary {
    background: #2d2d2d;
    color: #ffffff;
}

.private-key-btn.secondary:hover {
    background: #3d3d3d;
}

.private-key-btn.primary {
    background: #0066cc;
    color: #ffffff;
}

.private-key-btn.primary:hover {
    background: #0052a3;
}

/* Private Key Reveal Modal Styles */
.private-key-reveal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.private-key-reveal-modal-overlay.show {
    display: flex;
}

.private-key-reveal-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.private-key-reveal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.private-key-reveal-modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.private-key-reveal-modal-content {
    padding: 20px;
}

.private-key-display {
    margin-top: 20px;
}

.private-key-text {
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 16px;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    word-break: break-all;
    margin-bottom: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.copy-private-key-btn {
    width: 100%;
    padding: 12px 20px;
    background: #0066cc;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copy-private-key-btn:hover {
    background: #0052a3;
}

/* Private Key Hold Modal Styles */
.private-key-hold-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.private-key-hold-modal-overlay.show {
    display: flex;
}

.private-key-hold-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.private-key-hold-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.private-key-hold-modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.private-key-hold-modal-content {
    padding: 20px;
}

/* Notification Page Styles */
.notification-container {
    min-height: 100vh;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #2d2d2d;
    background-color: #1a1a1a;
    width: 100%;
}

.notification-header .header-left,
.notification-header .header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.notification-header .header-left {
    justify-content: flex-start;
}

.notification-header .header-right {
    justify-content: flex-end;
}

.notification-header .header-center {
    flex: 1;
    text-align: center;
}

.notification-header .back-btn,
.notification-header .settings-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
}

.notification-header .back-btn:hover,
.notification-header .settings-btn:hover {
    background-color: #2d2d2d;
}

.notification-header .page-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.notification-tabs {
    display: flex;
    background-color: #1a1a1a;
    border-bottom: 1px solid #2d2d2d;
    padding: 0;
    width: 100%;
}

.notification-tabs .tab-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    padding: 16px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
    -moz-outline: none;
}

.notification-tabs .tab-btn:hover {
    color: #ffffff;
}

.notification-tabs .tab-btn.active {
    color: #ffffff;
    border-bottom-color: #0066cc;
}

.notification-tabs .tab-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.notifications-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    max-height: calc(100vh - 140px); /* Account for header and tabs */
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    border-bottom: 1px solid #2d2d2d;
    cursor: pointer;
    transition: background-color 0.2s;
    gap: 12px;
    min-height: 80px;
}

.notification-item:hover {
    background-color: #1a1a1a;
}

.notification-item.unread {
    background-color: rgba(0, 102, 204, 0.05);
}

.notification-item.unread:hover {
    background-color: rgba(0, 102, 204, 0.1);
}

.notification-icon {
    flex-shrink: 0;
}

.notification-icon .icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2d2d2d;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.notification-icon .icon-circle i {
    color: #ffffff;
    font-size: 16px;
}

.notification-icon .unread-indicator {
    position: absolute;
    bottom: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    border: 2px solid #000000;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.3;
}

.notification-description {
    font-size: 13px;
    color: #a0a0a0;
    line-height: 1.4;
}

.notification-date {
    flex-shrink: 0;
    font-size: 12px;
    color: #a0a0a0;
    margin-left: 12px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state .empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #2d2d2d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.empty-state .empty-icon i {
    font-size: 24px;
    color: #a0a0a0;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.empty-state p {
    font-size: 14px;
    color: #a0a0a0;
    margin: 0;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* Balance Section */
.balance-section {
    text-align: center;
    margin-bottom: 4px;
}

.balance-amount {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.balance-amount .fa-eye {
    font-size: 18px;
    color: #a0a0a0;
    cursor: pointer;
}

.balance-change {
    font-size: 14px;
    color: #a0a0a0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.discover-link {
    color: #0066cc;
    text-decoration: none;
    display: inline;
    font-size: 14px;
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.action-btn {
    background-color: #2d2d2d;
    border: none;
    border-radius: 8px;
    padding: 14px 8px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.95;
}

.action-btn:hover {
    background-color: #3d3d3d;
}

.action-btn i {
    font-size: 20px;
    color: #ffffff;
}

.action-btn span {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
}

/* Notifications */
.notifications {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.notification-banner {
    background-color: #2d2d2d;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    position: relative;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.banner-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.solana-icon {
    background: linear-gradient(135deg, #9945ff, #14f195);
    color: white;
}

.ethereum-icon {
    background: linear-gradient(135deg, #627eea, #f7931a);
    color: white;
}

.banner-text {
    flex: 1;
}

.banner-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 1px;
}

.banner-subtitle {
    font-size: 11px;
    color: #a0a0a0;
}

.banner-close {
    color: #a0a0a0;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.banner-close:hover {
    background-color: #3d3d3d;
}

/* Navigation Tabs */
.nav-tabs {
    margin: 24px 0;
    padding: 0 20px;
}

.tab-container {
    display: flex;
    justify-content: stretch;
    gap: 0;
    background: #1a1a1a;
    border-radius: 16px;
    padding: 6px;
    border: 1px solid #2a2a2a;
    width: 100%;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.tab-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333333, transparent);
}

.tab-btn {
    background: transparent;
    color: #888888;
    border: none;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 0;
    letter-spacing: 0.3px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #333333 0%, #2a2a2a 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.tab-btn:hover {
    color: #cccccc;
    transform: translateY(-1px);
}

.tab-btn:hover::before {
    opacity: 1;
}

.tab-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
    transform: translateY(-1px);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.tab-btn.active:hover {
    background: linear-gradient(135deg, #0077e6 0%, #0066cc 100%);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

.tab-indicators {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 8px;
}

.indicator-dot {
    width: 6px;
    height: 6px;
    background-color: #666666;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.indicator-dot.active {
    background-color: #0066cc;
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(0, 102, 204, 0.4);
}

/* Airdrop Banner */
.airdrop-banner {
    background: #0f0f0f;
    border-radius: 20px;
    padding: 32px;
    margin: 24px 0;
    border: 1px solid #2a2a2a;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.airdrop-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #333333, #555555, #777777);
}

.airdrop-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.airdrop-header h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 24px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: -0.5px;
}

.airdrop-header h3::before {
    content: '🎁';
    font-size: 24px;
    filter: grayscale(0.3);
}

.airdrop-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-item {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 24px 20px;
    border: 1px solid #333333;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #444444;
}

.stat-item:hover {
    background: #222222;
    border-color: #444444;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stat-label {
    display: block;
    color: #888888;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    display: block;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.season-badge {
    background: #333333;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid #444444;
}

.airdrop-actions {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

.claim-btn {
    background: #333333;
    color: #ffffff;
    border: 2px solid #444444;
    border-radius: 16px;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.claim-btn:not(:disabled):hover {
    background: #444444;
    border-color: #555555;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.claim-btn:disabled {
    background: #1a1a1a;
    color: #666666;
    border-color: #2a2a2a;
    cursor: not-allowed;
    box-shadow: none;
}

.claim-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.seasons-info h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.seasons-table {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #333333;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.season-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 16px 20px;
    border-bottom: 1px solid #2a2a2a;
    transition: background 0.3s ease;
}

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

.season-row:hover {
    background: #222222;
}

.season-row.header {
    background: #333333;
    border-bottom: 2px solid #444444;
    font-weight: 700;
    color: #ffffff;
}

.season-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
}

.season-length {
    color: #888888;
    font-size: 14px;
    font-weight: 500;
}

.season-tokens {
    color: #cccccc;
    font-weight: 700;
    font-size: 16px;
}

.season-row.header .season-name,
.season-row.header .season-length,
.season-row.header .season-tokens {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.airdrop-banner .banner-close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #888888;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: #1a1a1a;
    border: 1px solid #333333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.airdrop-banner .banner-close:hover {
    background: #333333;
    color: #ffffff;
    border-color: #444444;
    transform: scale(1.1);
}

/* Footer */
.footer {
    padding: 16px 20px;
    border-top: 1px solid #2d2d2d;
    width: 100%;
}

.network-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #a0a0a0;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
    width: fit-content;
}

.network-selector:hover {
    background-color: #2d2d2d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .notifications {
        flex-direction: column;
    }
    
    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tips-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .tips-character {
        width: 60px;
        height: 60px;
    }
}

/* Hover Effects */
.action-btn:hover,
.tab-btn:hover,
.network-selector:hover {
    transform: translateY(-1px);
}

/* Focus States */
.action-btn:focus,
.tab-btn:focus,
.network-selector:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 50%;
    right: calc(50% - 325px);
    width: 240px;
    height: 80vh;
    background-color: #1a1a1a;
    border-left: 1px solid #2d2d2d;
    transition: all 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 0 12px 12px 0;
    transform: translateY(-50%) translateX(100%);
    opacity: 0;
    visibility: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.side-menu::-webkit-scrollbar {
    display: none;
}

.side-menu.active {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    visibility: visible;
}

.side-menu-content {
    padding: 0;
    width: 100%;
}

.side-menu-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
    margin: 4px 8px;
    border: 1px solid transparent;
    width: calc(100% - 16px);
    box-sizing: border-box;
}

.side-menu-item:first-child {
    padding-top: 24px;
    margin-top: 8px;
}

.side-menu-item:hover {
    background-color: #2d2d2d;
    border-color: #3d3d3d;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.side-menu-item:active {
    transform: translateX(2px);
    background-color: #3d3d3d;
}

.side-menu-item i {
    width: 24px;
    margin-right: 16px;
    font-size: 18px;
    color: #a0a0a0;
    transition: all 0.3s ease;
}

.side-menu-item:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

.side-menu-item span {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-menu-item:hover span {
    color: #ffffff;
    font-weight: 600;
}

.side-menu-item .subtitle {
    font-size: 12px;
    color: #a0a0a0;
    margin-top: 4px;
    margin-left: 40px;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-menu-item:hover .subtitle {
    color: #c0c0c0;
}

.new-badge {
    background: linear-gradient(135deg, #9945ff, #7c3aed);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 8px;
    box-shadow: 0 2px 4px rgba(153, 69, 255, 0.3);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0% {
        box-shadow: 0 2px 4px rgba(153, 69, 255, 0.3);
    }
    50% {
        box-shadow: 0 2px 8px rgba(153, 69, 255, 0.5);
    }
    100% {
        box-shadow: 0 2px 4px rgba(153, 69, 255, 0.3);
    }
}

/* Overlay when menu is open */
.side-menu.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Login and Signup Pages */
.login-container,
.signup-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-background,
.signup-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: -2;
}

.background-shape {
    display: none;
}



.login-form-container,
.signup-form-container {
    background-color: #1a1a1a;
    border-radius: 16px;
    padding: 32px;
    max-width: 800px;
    width: 95%;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 10px 20px rgba(128, 128, 128, 0.2),
        0 0 0 1px rgba(128, 128, 128, 0.1);
    border: 1px solid #2d2d2d;
    position: relative;
    z-index: 1;
}

.login-header,
.signup-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-title,
.signup-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.login-subtitle,
.signup-subtitle {
    font-size: 16px;
    color: #a0a0a0;
    margin: 0;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.login-option-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background-color: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.4),
        0 3px 6px rgba(128, 128, 128, 0.15);
}

.login-option-btn:hover {
    background-color: #3d3d3d;
    border-color: #4d4d4d;
    transform: translateY(-1px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.5),
        0 4px 8px rgba(128, 128, 128, 0.2);
}

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 16px;
    flex-shrink: 0;
}

.google-icon {
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
    color: white;
}

.apple-icon {
    background-color: #000000;
    color: white;
}

.import-icon {
    background-color: #0066cc;
    color: white;
}

.create-icon {
    background-color: #00d4aa;
    color: white;
}

.existing-icon {
    background-color: #9945ff;
    color: white;
}

.login-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 8px 0;
}

.login-separator::before,
.login-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #3d3d3d;
}

.login-separator span {
    padding: 0 16px;
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 500;
}

.login-footer,
.signup-footer {
    text-align: center;
    margin-top: 24px;
}

.terms-text {
    font-size: 12px;
    color: #a0a0a0;
    line-height: 1.4;
}

.terms-link {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.terms-link:hover {
    color: #0052a3;
}

/* Login Wallet Import Modal */
.login-import-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.login-import-modal.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

.login-import-modal-content {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 32px;
    max-width: 500px;
    width: 95%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid #2d2d2d;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

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

.login-import-modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.login-import-modal-close {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.login-import-modal-close:hover {
    background-color: #2d2d2d;
    color: #ffffff;
}

.login-import-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-import-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-import-form .form-group label {
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
}

.login-import-form .form-group textarea,
.login-import-form .form-group input {
    background: #2a2a2a;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.2s ease;
    resize: vertical;
}

.login-import-form .form-group textarea:focus,
.login-import-form .form-group input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.login-import-form .form-group textarea::placeholder,
.login-import-form .form-group input::placeholder {
    color: #888;
}

.login-import-form .password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.login-import-form .password-input input {
    flex: 1;
    padding-right: 45px;
}

.login-import-form .password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.login-import-form .password-toggle:hover {
    color: #ffffff;
}

.login-import-form .form-help {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #888;
    font-size: 12px;
    line-height: 1.4;
}

.login-import-form .form-help i {
    margin-top: 2px;
    color: #0066cc;
}

.login-import-form .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.login-import-form .btn-primary,
.login-import-form .btn-secondary {
    flex: 1;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.login-import-form .btn-primary {
    background: #0066cc;
    color: #ffffff;
}

.login-import-form .btn-primary:hover {
    background: #0052a3;
}

.login-import-form .btn-secondary {
    background: #2a2a2a;
    color: #ffffff;
    border: 1px solid #3d3d3d;
}

.login-import-form .btn-secondary:hover {
    background: #3d3d3d;
}

/* Hide scrollbar but keep scroll functionality */
.login-import-modal-content::-webkit-scrollbar {
    display: none;
}

.login-import-modal-content {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Biometric Unlock Styles */
.biometric-unlock-section {
    margin-bottom: 20px;
    text-align: center;
}

.biometric-unlock-btn {
    background: linear-gradient(135deg, #0066cc, #004499);
    border: none;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.biometric-unlock-btn:hover {
    background: linear-gradient(135deg, #0052a3, #003366);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.biometric-unlock-btn:active {
    transform: translateY(0);
}

.biometric-unlock-btn i {
    font-size: 20px;
}

.unlock-separator {
    margin: 20px 0;
    position: relative;
    text-align: center;
}

.unlock-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.unlock-separator span {
    background: #1a1a1a;
    color: #888;
    padding: 0 16px;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* Responsive Design for Login Import Modal */
@media (max-width: 768px) {
    .login-import-modal-content {
        padding: 24px;
        margin: 20px;
        max-height: 90vh;
    }
    
    .login-import-form .form-actions {
        flex-direction: column;
    }
    
    .login-import-form .btn-primary,
    .login-import-form .btn-secondary {
        width: 100%;
    }
    
    .biometric-unlock-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Import Account Modal Styles */
.import-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.import-tabs .tab-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.import-tabs .tab-btn:hover {
    color: #ffffff;
    background: rgba(0, 102, 204, 0.1);
}

.import-tabs .tab-btn.active {
    color: #0066cc;
    border-bottom-color: #0066cc;
    background: rgba(0, 102, 204, 0.1);
}

.import-tab-content {
    display: none;
}

.import-tab-content.active {
    display: block;
}

.import-modal-content {
    background-color: #1a1a1a;
    border-radius: 16px;
    padding: 32px;
    max-width: 800px;
    width: 95%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 10px 20px rgba(128, 128, 128, 0.2),
        0 0 0 1px rgba(128, 128, 128, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 1px solid #2d2d2d;
}

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

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

.import-modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.import-modal-close {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.import-modal-close:hover {
    background-color: #2d2d2d;
    color: #ffffff;
}

.import-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.form-group textarea,
.form-group input {
    padding: 12px 16px;
    background-color: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.2s ease;
    resize: vertical;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(128, 128, 128, 0.1);
}

.form-group textarea:focus,
.form-group input:focus {
    outline: none;
    border-color: #0066cc;
    background-color: #3d3d3d;
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.4),
        0 3px 6px rgba(128, 128, 128, 0.15);
}

.form-group textarea::placeholder,
.form-group input::placeholder {
    color: #a0a0a0;
}

.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input input {
    flex: 1;
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.password-toggle:hover {
    color: #ffffff;
    background-color: #3d3d3d;
}

.form-help {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #a0a0a0;
    margin-top: 4px;
}

.form-help i {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Unlock Modal Styles */
.unlock-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.unlock-modal.active {
    opacity: 1;
    visibility: visible;
}

.unlock-modal-content {
    background-color: #1a1a1a;
    border-radius: 16px;
    padding: 32px;
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 10px 20px rgba(128, 128, 128, 0.2),
        0 0 0 1px rgba(128, 128, 128, 0.1);
    border: 1px solid #2d2d2d;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

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

.unlock-modal-header h2 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.unlock-modal-close {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.unlock-modal-close:hover {
    color: #ffffff;
    background-color: #2d2d2d;
}

.existing-accounts {
    margin-bottom: 24px;
    padding: 16px;
    background-color: #2d2d2d;
    border-radius: 12px;
    border: 1px solid #3d3d3d;
}

.existing-account {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #3d3d3d;
}

.existing-account:last-child {
    margin-bottom: 0;
}

.account-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 14px;
}

.login-account-info {
    flex: 1;
}

.account-name {
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 2px;
}

.account-address {
    color: #a0a0a0;
    font-size: 12px;
    font-family: monospace;
}

.unlock-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: #0066cc;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0052a3;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background-color: #3d3d3d;
    color: #a0a0a0;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background-color: #2d2d2d;
    color: #ffffff;
    border: 1px solid #3d3d3d;
}

.btn-secondary:hover {
    background-color: #3d3d3d;
    transform: translateY(-1px);
}

/* Signup Form Styles */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background-color: #2d2d2d;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak { width: 25%; background-color: #ff4444; }
.strength-fill.fair { width: 50%; background-color: #ffaa00; }
.strength-fill.good { width: 75%; background-color: #00aa00; }
.strength-fill.strong { width: 100%; background-color: #00ff00; }

.strength-text {
    font-size: 12px;
    color: #a0a0a0;
}

.security-options {
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 16px;
    background-color: #2d2d2d;
}

.security-options h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.security-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.security-option:last-child {
    margin-bottom: 0;
}

.security-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #0066cc;
}

.security-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
}

.security-label i {
    color: #0066cc;
    width: 16px;
}

/* Recovery Modal */
.recovery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.recovery-modal.active {
    opacity: 1;
    visibility: visible;
}

.recovery-modal-content {
    background-color: #1a1a1a;
    border-radius: 16px;
    padding: 32px;
    max-width: 800px;
    width: 95%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 10px 20px rgba(128, 128, 128, 0.2),
        0 0 0 1px rgba(128, 128, 128, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 1px solid #2d2d2d;
}

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

.recovery-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.recovery-modal-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.recovery-subtitle {
    font-size: 16px;
    color: #a0a0a0;
    margin: 0;
}

.recovery-phrase-container {
    margin-bottom: 24px;
}

.recovery-phrase {
    background-color: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 16px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 12px;
    word-spacing: 8px;
}

.recovery-warning {
    display: flex;
    gap: 16px;
    background-color: #2d2d2d;
    border: 1px solid #ffaa00;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.warning-icon {
    color: #ffaa00;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.warning-text ul {
    margin: 0;
    padding-left: 20px;
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.5;
}

.warning-text li {
    margin-bottom: 4px;
}

.recovery-confirmation {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.recovery-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #0066cc;
    margin-top: 2px;
}

.recovery-label {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.4;
    cursor: pointer;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    text-align: center;
    color: #ffffff;
}

.loading-spinner i {
    font-size: 32px;
    margin-bottom: 16px;
    color: #0066cc;
}

.loading-spinner p {
    font-size: 16px;
    margin: 0;
}

/* Loading Indicator */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: #ffffff;
}

.loading-indicator p {
    margin-top: 16px;
    font-size: 16px;
    color: #a0a0a0;
}

.loading-indicator .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #2d2d2d;
    border-top: 3px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Hide loading indicator when page is ready */
.loading-indicator.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-form-container,
    .signup-form-container,
    .import-modal-content,
    .recovery-modal-content {
        padding: 24px;
        margin: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .login-title,
    .signup-title {
        font-size: 24px;
    }
    
    .recovery-warning {
        flex-direction: column;
        gap: 12px;
    }
}

/* Settings Page Styles */
.back-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    margin-right: 12px;
    margin-left: 16px;
}

.back-btn:hover {
    background-color: #333333;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.settings-content {
    padding: 20px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: #0f0f0f;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.settings-content::-webkit-scrollbar {
    display: none;
}

.settings-section {
    margin-bottom: 24px;
}

.section-title {
    font-size: 12px;
    font-weight: 700;
    color: #888888;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: #1a1a1a;
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
}

.settings-item:hover {
    background-color: #222222;
    border-color: #333333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.setting-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.setting-info i {
    font-size: 16px;
    color: #888888;
    width: 20px;
    text-align: center;
}

.setting-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.setting-label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.setting-value {
    font-size: 12px;
    color: #888888;
}

.settings-item i.fa-chevron-right {
    color: #888888;
    font-size: 12px;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333333;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + label {
    background-color: #0066cc;
}

.toggle-switch input:checked + label:before {
    transform: translateX(20px);
}

/* Logout Item */
.logout-item {
    background-color: #1a1a1a;
    border-color: #333333;
}

.logout-item:hover {
    background-color: #ff4444;
    border-color: #ff4444;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

.logout-item .setting-info i {
    color: #ff4444;
}

.logout-item:hover .setting-info i {
    color: #ffffff;
}

.logout-item:hover .setting-label {
    color: #ffffff;
}

.logout-item:hover .setting-value {
    color: #ffffff;
}

.logout-item:hover i.fa-chevron-right {
    color: #ffffff;
}

/* Edit Account Name Modal */
.edit-account-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.edit-account-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.edit-account-modal {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.edit-account-modal-overlay.show .edit-account-modal {
    transform: translateY(0);
}

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

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

.modal-close-btn {
    background: none;
    border: none;
    color: #888888;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: #333333;
    color: #ffffff;
}

.modal-content {
    padding: 24px;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.form-group input::placeholder {
    color: #666666;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-secondary {
    padding: 10px 20px;
    background: #333333;
    border: 1px solid #444444;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #444444;
    border-color: #555555;
}

.btn-primary {
    padding: 10px 20px;
    background: #0066cc;
    border: 1px solid #0066cc;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #0052a3;
    border-color: #0052a3;
}

.btn-primary:disabled {
    background: #333333;
    border-color: #333333;
    color: #666666;
    cursor: not-allowed;
}

/* Responsive Design for Settings */
@media (max-width: 768px) {
    .settings-content {
        padding: 16px;
    }
    
    .settings-item {
        padding: 14px;
    }
    
    .setting-info {
        gap: 10px;
    }
    
    .setting-label {
        font-size: 13px;
    }
    
    .setting-value {
        font-size: 11px;
    }
    
    .edit-account-modal {
        width: 95%;
        margin: 20px;
    }
    
    .modal-content {
        padding: 20px;
    }
}

/* ChainBag-Style Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background-color: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    padding: 16px 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(128, 128, 128, 0.1);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 400px;
    min-width: 300px;
}

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

.toast-success {
    border-left: 4px solid #4CAF50;
    background-color: #1a1a1a;
}

.toast-error {
    border-left: 4px solid #f44336;
    background-color: #1a1a1a;
}

.toast-info {
    border-left: 4px solid #2196F3;
    background-color: #1a1a1a;
}

.toast-warning {
    border-left: 4px solid #ff9800;
    background-color: #1a1a1a;
}

.toast i {
    font-size: 16px;
    flex-shrink: 0;
}

.toast-success i {
    color: #4CAF50;
}

.toast-error i {
    color: #f44336;
}

.toast-info i {
    color: #2196F3;
}

.toast-warning i {
    color: #ff9800;
}

.toast span {
    flex: 1;
    line-height: 1.4;
}

/* Responsive toast */
@media (max-width: 768px) {
    .toast {
        top: 10px;
        left: 10px;
        right: 10px;
        transform: translateY(-100px);
        max-width: none;
        min-width: auto;
    }
    
    .toast.show {
        transform: translateY(0);
    }
}

/* ChainBag-Style Recovery Phrase Grid */
.recovery-phrase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.recovery-word {
    background-color: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #ffffff;
    position: relative;
    transition: all 0.2s ease;
}

.recovery-word:hover {
    background-color: #3d3d3d;
    border-color: #4d4d4d;
}

.recovery-word-number {
    position: absolute;
    top: 4px;
    left: 8px;
    font-size: 10px;
    color: #a0a0a0;
    font-weight: 600;
}

/* Verification Interface */
.verification-container {
    margin-bottom: 24px;
}

.verification-instructions {
    margin-bottom: 20px;
    text-align: center;
}

.verification-instructions p {
    color: #a0a0a0;
    font-size: 14px;
    margin: 0;
}

.verification-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.verification-slot {
    background-color: #2d2d2d;
    border: 2px dashed #3d3d3d;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #a0a0a0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.verification-slot.filled {
    border-color: #4CAF50;
    background-color: #1a1a1a;
    color: #ffffff;
}

.verification-slot.selected {
    border-color: #0066cc;
    background-color: #1a1a1a;
}

.verification-words {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.verification-word-option {
    background-color: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.verification-word-option:hover {
    background-color: #3d3d3d;
    border-color: #4d4d4d;
}

.verification-word-option.selected {
    background-color: #0066cc;
    border-color: #0066cc;
    color: #ffffff;
}

.verification-word-option.used {
    background-color: #1a1a1a;
    border-color: #2d2d2d;
    color: #666666;
    cursor: not-allowed;
}

/* Recovery Steps */
.recovery-step {
    width: 100%;
}

/* Success Animation */
@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.verification-slot.correct {
    border-color: #4CAF50;
    background-color: #1a1a1a;
    animation: successPulse 0.3s ease;
}

/* Support Page Styles */
.support-container {
    height: 100vh;
    background: #1a1a1a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.support-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
    background: #1a1a1a;
}

.support-header .back-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
    margin-right: 16px;
}

.support-header .back-btn:hover {
    background-color: #2d2d2d;
}

.support-header .page-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

/* Chat Container */
.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    max-height: calc(100vh - 200px);
}

/* Message Styles */
.message {
    display: flex;
    margin-bottom: 16px;
}

.message-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 80%;
}

.user-message .message-content {
    flex-direction: row-reverse;
    margin-left: auto;
}

.bot-message .message-content {
    margin-right: auto;
}

.message-text {
    background: #2d2d2d;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #3d3d3d;
}

.user-message .message-text {
    background: #0066cc;
    border-color: #0066cc;
}

.message-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #ffffff;
}

/* Avatar Styles */
.bot-avatar, .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bot-avatar {
    background: #8B5CF6;
    color: #ffffff;
}

.user-avatar {
    background: #0066cc;
    color: #ffffff;
}

.bot-avatar i, .user-avatar i {
    font-size: 14px;
}

/* Quick Questions */
.quick-questions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.quick-question-btn {
    background: #3d3d3d;
    color: #ffffff;
    border: 1px solid #4d4d4d;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.quick-question-btn:hover {
    background: #4d4d4d;
    border-color: #5d5d5d;
}

/* Chat Input */
.chat-input-container {
    padding: 20px;
    border-top: 1px solid #2d2d2d;
    background: #1a1a1a;
    flex-shrink: 0;
    min-height: 80px;
}

.input-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input:focus {
    border-color: #0066cc;
}

.chat-input::placeholder {
    color: #666666;
}

.send-btn {
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.send-btn:hover {
    background: #0052a3;
}

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

/* Scrollbar Styling */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #4d4d4d;
}

/* Add Account Modal Styles */
.add-account-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.add-account-modal-overlay.show {
    display: flex;
}

.add-account-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.add-account-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.add-account-modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.add-account-modal-content {
    padding: 20px;
}

.account-option {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.account-option:hover {
    background: #3d3d3d;
    border-color: #4d4d4d;
}

.account-option:last-child {
    margin-bottom: 0;
}

.account-option-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.ethereum-icon {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
}

.ethereum-flag {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #8B5CF6 25%, #3B82F6 25%, #3B82F6 50%, #8B5CF6 50%, #8B5CF6 75%, #3B82F6 75%);
    border-radius: 50%;
}

.solana-icon {
    background: linear-gradient(135deg, #0066CC 0%, #00FF88 100%);
}

.solana-flag {
    width: 24px;
    height: 24px;
    background: #0066CC;
    border-radius: 50%;
    position: relative;
}

.solana-flag::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    background: #00FF88;
    border-radius: 50%;
}

.import-icon {
    background: #666666;
    color: #ffffff;
}

.import-icon i {
    font-size: 16px;
}

.account-option-info {
    flex: 1;
}

.account-option-info h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.account-option-info p {
    color: #a0a0a0;
    font-size: 14px;
    margin: 0;
}

.account-option i.fa-chevron-right {
    color: #666666;
    font-size: 14px;
    margin-left: 12px;
}

/* Send Page Styles */
.send-container {
    min-height: 100vh;
    background: #1a1a1a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
}

.send-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
    background: #1a1a1a;
}

.send-header .back-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
}

.send-header .back-btn:hover {
    background-color: #2d2d2d;
}

.send-header .page-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.scan-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
}

.scan-btn:hover {
    background-color: #2d2d2d;
}

/* Send Content */
.send-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.send-section {
    margin-bottom: 24px;
}

.section-label {
    display: block;
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Recipient Input */
.recipient-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.recipient-input {
    flex: 1;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.recipient-input:focus {
    border-color: #0066cc;
}

.recipient-input::placeholder {
    color: #666666;
}

.paste-btn {
    background: none;
    border: none;
    color: #0066cc;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    margin-left: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.paste-btn:hover {
    background-color: #2d2d2d;
}

/* Address Validation */
.address-validation {
    margin-top: 8px;
    font-size: 12px;
}

.valid-address {
    color: #00ff88;
}

.invalid-address {
    color: #ff4444;
}

/* Amount Input */
.amount-input-container {
    display: flex;
    align-items: center;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    overflow: hidden;
}

.amount-input {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    outline: none;
}

.amount-input::placeholder {
    color: #666666;
}

.amount-currency {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #3d3d3d;
    border-left: 1px solid #4d4d4d;
}

.currency-symbol {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.max-btn {
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.max-btn:hover {
    background: #0052a3;
}

.amount-details {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
}

.amount-usd {
    color: #a0a0a0;
}

.balance-info {
    color: #a0a0a0;
}

/* Gas Settings */
.gas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.edit-gas-btn {
    background: none;
    border: none;
    color: #0066cc;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.edit-gas-btn:hover {
    background-color: #2d2d2d;
}

.gas-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gas-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.gas-option:hover {
    background: #3d3d3d;
    border-color: #4d4d4d;
}

.gas-option.selected {
    border-color: #0066cc;
    background: #1a1a1a;
}

.gas-option-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gas-speed {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.gas-time {
    color: #a0a0a0;
    font-size: 12px;
}

.gas-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.gas-amount {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.gas-usd {
    color: #a0a0a0;
    font-size: 12px;
}

/* Advanced Gas Settings */
.gas-input-group {
    margin-bottom: 16px;
}

.gas-input-group label {
    display: block;
    color: #a0a0a0;
    font-size: 14px;
    margin-bottom: 8px;
}

.gas-input {
    width: 100%;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.gas-input:focus {
    border-color: #0066cc;
}

.gas-total {
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

/* Transaction Summary */
.transaction-summary {
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-row.total {
    border-top: 1px solid #3d3d3d;
    padding-top: 12px;
    font-weight: 600;
    font-size: 16px;
}

/* Send Footer */
.send-footer {
    padding: 20px;
    border-top: 1px solid #2d2d2d;
    background: #1a1a1a;
}

.send-btn {
    width: 100%;
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.send-btn:hover:not(:disabled) {
    background: #0052a3;
}

.send-btn:disabled {
    background: #2d2d2d;
    color: #666666;
    cursor: not-allowed;
}

/* Confirmation Modal */
.confirmation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.confirmation-modal-overlay.show {
    display: flex;
}

.confirmation-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.confirmation-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.confirmation-modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.confirmation-modal-content {
    padding: 20px;
}

.confirmation-details {
    margin-bottom: 24px;
}

.confirmation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.confirmation-row.total {
    border-top: 1px solid #3d3d3d;
    padding-top: 12px;
    font-weight: 600;
    font-size: 16px;
}

.address-text {
    font-family: monospace;
    color: #0066cc;
}

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

.cancel-btn {
    flex: 1;
    background: #2d2d2d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cancel-btn:hover {
    background: #3d3d3d;
}

.confirm-btn {
    flex: 1;
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.confirm-btn:hover:not(:disabled) {
    background: #0052a3;
}

.confirm-btn:disabled {
    background: #2d2d2d;
    color: #666666;
    cursor: not-allowed;
}

/* Receive Page Styles */
.receive-container {
    min-height: 100vh;
    background: #1a1a1a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
}

.receive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
    background: #1a1a1a;
}

.receive-header .back-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
}

.receive-header .back-btn:hover {
    background-color: #2d2d2d;
}

.receive-header .page-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.share-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
}

.share-btn:hover {
    background-color: #2d2d2d;
}

/* Receive Content */
.receive-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.receive-section {
    margin-bottom: 24px;
}

/* Account Selector */
.account-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.account-selector:hover {
    border-color: #4d4d4d;
}

.selected-account {
    display: flex;
    align-items: center;
    gap: 12px;
}

.receive-account-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.account-address {
    color: #a0a0a0;
    font-size: 12px;
}

.account-dropdown {
    margin-top: 8px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    overflow: hidden;
}

.accounts-list {
    max-height: 200px;
    overflow-y: auto;
}

.account-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.account-item:hover {
    background: #3d3d3d;
}

.account-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
}

.account-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-item-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.account-item-address {
    color: #a0a0a0;
    font-size: 12px;
}

/* QR Code Section */
.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 12px;
}

.qr-code {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    background: #ffffff;
    border-radius: 8px;
    padding: 16px;
}

.qr-info p {
    color: #a0a0a0;
    font-size: 14px;
    text-align: center;
    margin: 0;
}

/* Address Section */
.address-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
}

.address-display {
    flex: 1;
    font-family: monospace;
    font-size: 14px;
    color: #ffffff;
    word-break: break-all;
}

.copy-btn {
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.copy-btn:hover {
    background: #0052a3;
}

/* Network Info */
.network-info {
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 16px;
}

.network-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

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

.network-label {
    color: #a0a0a0;
    font-size: 14px;
}

.network-value {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

/* Warning Box */
.warning-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #2d2d2d;
    border: 1px solid #ff4444;
    border-radius: 8px;
}

.warning-box i {
    color: #ff4444;
    font-size: 18px;
    margin-top: 2px;
}

.warning-content h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.warning-content p {
    color: #a0a0a0;
    font-size: 12px;
    margin: 0;
}

/* Swap Page Styles */
.swap-container {
    min-height: 100vh;
    background: #1a1a1a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
}

.swap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
    background: #1a1a1a;
}

.swap-header .back-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
}

.swap-header .back-btn:hover {
    background-color: #2d2d2d;
}

.swap-header .page-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.settings-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    outline: none;
}

.settings-btn:hover {
    background-color: #2d2d2d;
}

/* Swap Content */
.swap-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.swap-section {
    margin-bottom: 24px;
}

/* Token Input Container */
.token-input-container {
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 12px;
    overflow: hidden;
}

.token-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.token-selector:hover {
    background: #3d3d3d;
}

.token-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.token-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.token-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.token-symbol {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.token-name {
    color: #a0a0a0;
    font-size: 12px;
}

.amount-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid #3d3d3d;
}

.amount-input {
    flex: 1;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    outline: none;
}

.amount-input::placeholder {
    color: #666666;
}

.max-btn {
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.max-btn:hover {
    background: #0052a3;
}

.swap-rate {
    color: #a0a0a0;
    font-size: 12px;
}

.balance-info {
    margin-top: 8px;
    color: #a0a0a0;
    font-size: 12px;
}

/* Swap Direction */
.swap-direction {
    display: flex;
    justify-content: center;
    margin: -12px 0;
    position: relative;
    z-index: 1;
}

.swap-direction-btn {
    background: #2d2d2d;
    border: 2px solid #1a1a1a;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swap-direction-btn:hover {
    background: #3d3d3d;
    transform: scale(1.1);
}

/* Swap Details */
.swap-details {
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

/* Swap Footer */
.swap-footer {
    padding: 20px;
    border-top: 1px solid #2d2d2d;
    background: #1a1a1a;
}

.swap-btn {
    width: 100%;
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.swap-btn:hover:not(:disabled) {
    background: #0052a3;
}

.swap-btn:disabled {
    background: #2d2d2d;
    color: #666666;
    cursor: not-allowed;
}

/* Token Modal */
.token-modal-overlay, .settings-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.token-modal-overlay.show, .settings-modal-overlay.show {
    display: flex;
}

.token-modal, .settings-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.token-modal-header, .settings-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.token-modal-header h3, .settings-modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.token-modal-content, .settings-modal-content {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.token-search {
    margin-bottom: 16px;
}

.token-search-input {
    width: 100%;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.token-search-input:focus {
    border-color: #0066cc;
}

.token-search-input::placeholder {
    color: #666666;
}

.tokens-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.token-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.token-item:hover {
    background: #3d3d3d;
    border-color: #4d4d4d;
}

.token-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.token-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.token-item-symbol {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.token-item-name {
    color: #a0a0a0;
    font-size: 12px;
}

.token-item-price {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

/* Settings Modal */
.setting-group {
    margin-bottom: 24px;
}

.setting-group label {
    display: block;
    color: #a0a0a0;
    font-size: 14px;
    margin-bottom: 12px;
}

.slippage-options {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.slippage-btn {
    flex: 1;
    background: #2d2d2d;
    color: #ffffff;
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.slippage-btn:hover {
    background: #3d3d3d;
}

.slippage-btn.active {
    background: #0066cc;
    border-color: #0066cc;
}

.custom-slippage-input {
    width: 100%;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.custom-slippage-input:focus {
    border-color: #0066cc;
}

/* NFT Page Styles */
.nft-container {
    min-height: 100vh;
    background: #1a1a1a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    max-width: 1200px; /* Make container even wider */
    margin: 0 auto; /* Center the container */
}

.nft-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #2d2d2d;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.nft-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #3d3d3d 50%, transparent 100%);
}

.nft-header .back-btn {
    background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 100%);
    border: 1px solid #4d4d4d;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    outline: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nft-header .back-btn:hover {
    background: linear-gradient(135deg, #3d3d3d 0%, #4d4d4d 100%);
    border-color: #5d5d5d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.nft-header .page-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.import-btn {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border: none;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.import-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

.import-btn:hover {
    background: linear-gradient(135deg, #0077e6 0%, #0066cc 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

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

.import-btn i {
    font-size: 14px;
    font-weight: 500;
}

/* NFT Content */
.nft-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #1f1f1f 100%);
}

.nft-section {
    margin-bottom: 32px;
    background: #2a2a2a;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #3d3d3d;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Collections Header */
.collections-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.collections-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.collection-count {
    color: #a0a0a0;
    font-size: 14px;
}

/* Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.collection-item {
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.collection-item:hover {
    background: #3d3d3d;
    border-color: #4d4d4d;
}

.collection-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.collection-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-info {
    padding: 12px;
}

.collection-info h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px 0;
}

.collection-info span {
    color: #a0a0a0;
    font-size: 12px;
}

/* NFT Header Section */
.nft-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #3d3d3d;
}

.nft-header-section h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nft-filters {
    display: flex;
    gap: 12px;
}

.filter-btn {
    background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 100%);
    color: #a0a0a0;
    border: 1px solid #4d4d4d;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.filter-btn:hover {
    background: linear-gradient(135deg, #3d3d3d 0%, #4d4d4d 100%);
    border-color: #5d5d5d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #ffffff;
    border-color: #0077e6;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

/* NFT Grid */
.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.nft-item {
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.nft-item:hover {
    background: #3d3d3d;
    border-color: #4d4d4d;
    transform: translateY(-2px);
}

.nft-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.nft-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nft-info {
    padding: 12px;
}

.nft-info h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collection-name {
    color: #a0a0a0;
    font-size: 12px;
    display: block;
    margin-bottom: 2px;
}

.token-id {
    color: #0066cc;
    font-size: 12px;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    min-height: 60vh;
    justify-content: center;
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 2px solid #4d4d4d;
}

.empty-icon i {
    color: #0066cc;
    font-size: 32px;
}

.empty-state h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.empty-state p {
    color: #a0a0a0;
    font-size: 18px;
    margin: 0 0 32px 0;
    max-width: 500px;
    line-height: 1.5;
}

.add-nft-btn {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

.add-nft-btn:hover {
    background: linear-gradient(135deg, #0077e6 0%, #0066cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.add-nft-btn:active {
    transform: translateY(0);
}

.add-nft-btn i {
    font-size: 18px;
}



/* NFT Modal */
.nft-modal-overlay, .import-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.nft-modal-overlay.show, .import-modal-overlay.show {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

.nft-modal, .import-modal {
    background: #2a2a2a;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid #3d3d3d;
}

.nft-modal-header, .import-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.nft-modal-header h3, .import-modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: #2d2d2d;
    color: #ffffff;
}

.nft-modal-content, .import-modal-content {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
    /* Hide scrollbar but keep scroll functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.nft-modal-content::-webkit-scrollbar, .import-modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Import Form Styles */
.import-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.form-input {
    background: #1a1a1a;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.form-input::placeholder {
    color: #666666;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.cancel-btn {
    background: #2d2d2d;
    color: #ffffff;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.cancel-btn:hover {
    background: #3d3d3d;
    border-color: #4d4d4d;
}



.nft-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.nft-image-container svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nft-details h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.nft-details p {
    color: #a0a0a0;
    font-size: 14px;
    margin: 0 0 16px 0;
}

.nft-attributes {
    margin-bottom: 20px;
}

.attribute {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.attribute:last-child {
    margin-bottom: 0;
}

.attribute-label {
    color: #a0a0a0;
    font-size: 14px;
}

.attribute-value {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.nft-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-btn {
    background: #2d2d2d;
    color: #ffffff;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-btn:hover {
    background: #3d3d3d;
    border-color: #4d4d4d;
}

/* Import Modal */
.import-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 500;
}

.form-input {
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: #0066cc;
}

.form-input::placeholder {
    color: #666666;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.cancel-btn {
    flex: 1;
    background: #2d2d2d;
    color: #ffffff;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cancel-btn:hover {
    background: #3d3d3d;
}



/* QR Scanner Modal */
.qr-scanner-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.qr-scanner-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.qr-scanner-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.qr-scanner-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.qr-scanner-modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.qr-scanner-modal-content {
    padding: 20px;
}

.qr-scanner-container {
    position: relative;
    width: 100%;
    height: 300px;
    background: #000000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.qr-scanner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-scanner-frame {
    width: 200px;
    height: 200px;
    border: 2px solid #0066cc;
    border-radius: 8px;
    position: relative;
}

.qr-scanner-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid rgba(0, 102, 204, 0.3);
    border-radius: 8px;
    animation: scanner-pulse 2s infinite;
}

@keyframes scanner-pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.qr-scanner-instructions {
    margin-top: 20px;
    text-align: center;
}

.qr-scanner-instructions p {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
}

.qr-scanner-actions {
    display: flex;
    gap: 12px;
}

.qr-scanner-actions .cancel-btn {
    flex: 1;
    background: #2d2d2d;
    color: #ffffff;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.qr-scanner-actions .cancel-btn:hover {
    background: #3d3d3d;
}

.manual-btn {
    flex: 1;
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.manual-btn:hover {
    background: #0052a3;
}

/* Camera permission error */
.qr-scanner-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #ffffff;
    text-align: center;
}

.qr-scanner-error i {
    font-size: 48px;
    color: #ff4444;
    margin-bottom: 16px;
}

.qr-scanner-error h4 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.qr-scanner-error p {
    font-size: 14px;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.5;
}

/* Tab Content Styles */
.tab-content {
    margin: 20px 0;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
    display: block;
}

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

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 24px 16px;
    border-bottom: 1px solid #2a2a2a;
}

.section-header h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: #888888;
    font-size: 14px;
    margin: 8px 0 0 0;
}

/* Tokens Section */
.tokens-section {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 24px 0;
    border: 1px solid #2a2a2a;
}

.import-token-btn {
    background: #333333;
    color: #ffffff;
    border: 1px solid #444444;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.import-token-btn:hover {
    background: #444444;
    border-color: #555555;
}

.token-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #222222;
    border-radius: 12px;
    margin: 0 24px 12px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.token-item:hover {
    background: #2a2a2a;
    border-color: #444444;
}

.token-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.token-icon {
    width: 40px;
    height: 40px;
    background: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
}

.token-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.token-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
}

.token-balance {
    color: #888888;
    font-size: 14px;
}

.token-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
}

/* DeFi Section */
.defi-section {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 24px 0;
    border: 1px solid #2a2a2a;
}

.defi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 24px 0;
}

.defi-card {
    background: #222222;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.defi-card:hover {
    background: #2a2a2a;
    border-color: #444444;
    transform: translateY(-2px);
}

.defi-icon {
    width: 60px;
    height: 60px;
    background: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #ffffff;
    font-size: 24px;
}

.defi-card h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.defi-card p {
    color: #888888;
    font-size: 14px;
    margin: 0 0 20px 0;
}

.defi-btn {
    background: #333333;
    color: #ffffff;
    border: 1px solid #444444;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.defi-btn:hover {
    background: #444444;
    border-color: #555555;
}

/* Activity Section */
.activity-section {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 24px 0;
    border: 1px solid #2a2a2a;
}

.view-all-btn {
    background: transparent;
    color: #0066cc;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.view-all-btn:hover {
    color: #0077e6;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: #222222;
    border-radius: 12px;
    margin: 0 24px 12px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #2a2a2a;
    border-color: #444444;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
}

.activity-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    text-transform: capitalize;
}

.activity-subtitle {
    color: #888888;
    font-size: 14px;
}

.activity-time {
    color: #666666;
    font-size: 12px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.status-badge.confirmed {
    background: #1a3a1a;
    color: #4ade80;
}

.status-badge.pending {
    background: #3a2a1a;
    color: #fbbf24;
}

.status-badge.failed {
    background: #3a1a1a;
    color: #f87171;
}

/* NFTs Section */
.nfts-section {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 24px 0;
    border: 1px solid #2a2a2a;
}

.import-nft-btn {
    background: #333333;
    color: #ffffff;
    border: 1px solid #444444;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.import-nft-btn:hover {
    background: #444444;
    border-color: #555555;
}

.nfts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin: 20px 24px 0;
}

.nft-item {
    background: #222222;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.nft-item:hover {
    background: #2a2a2a;
    border-color: #444444;
    transform: translateY(-2px);
}

.nft-image {
    width: 100%;
    height: 150px;
    background: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
    font-size: 24px;
}

.nft-info {
    padding: 12px;
}

.nft-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.nft-collection {
    color: #888888;
    font-size: 12px;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 60px 0;
    color: #888888;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    width: 100%;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.4;
    color: #666666;
}

.empty-state p {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.empty-state span {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 24px;
    max-width: 300px;
    line-height: 1.5;
    text-align: center;
}

.add-token-btn,
.add-nft-btn {
    background: #333333;
    color: #ffffff;
    border: 1px solid #444444;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
    letter-spacing: 0.5px;
}

.add-token-btn:hover,
.add-nft-btn:hover {
    background: #444444;
    border-color: #555555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Token Import Modal Styles */
.token-import-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.token-import-modal-overlay.show {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

.token-import-modal {
    background: #1a1a1a;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid #333333;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.modal-header h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.modal-close-btn {
    background: #333333;
    color: #888888;
    border: 1px solid #444444;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: #444444;
    color: #ffffff;
    border-color: #555555;
}

.modal-content {
    padding: 24px;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

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

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-container i {
    position: absolute;
    left: 30px;
    color: #888888;
    font-size: 16px;
}

.search-input {
    width: 100%;
    background: #222222;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 14px 16px 14px 48px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

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

/* Popular Tokens Section */
.popular-tokens-section {
    margin-bottom: 32px;
}

.popular-tokens-section h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.popular-tokens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.popular-token-item {
    background: #222222;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.popular-token-item:hover {
    background: #2a2a2a;
    border-color: #444444;
    transform: translateY(-2px);
}

.popular-token-item.selected {
    background: #0066cc;
    border-color: #0077e6;
}

.token-icon-small {
    width: 32px;
    height: 32px;
    background: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: #ffffff;
    font-size: 14px;
}

.token-name-small {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.token-symbol-small {
    color: #888888;
    font-size: 12px;
}

/* Custom Token Section */
.custom-token-section {
    margin-bottom: 24px;
}

.custom-token-section h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.custom-token-form {
    background: #222222;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #333333;
}

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

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

.form-input {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.form-input::placeholder {
    color: #666666;
}

.add-custom-token-btn {
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.add-custom-token-btn:hover {
    background: #0077e6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.add-custom-token-btn:disabled {
    background: #333333;
    color: #666666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Imported Tokens Section */
.imported-tokens-section {
    border-top: 1px solid #333333;
    padding-top: 24px;
}

.imported-tokens-section h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.imported-tokens-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.imported-token-item {
    background: #222222;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.imported-token-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.imported-token-details h5 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.imported-token-details p {
    color: #888888;
    font-size: 14px;
    margin: 0;
}

.remove-token-btn {
    background: #3a1a1a;
    color: #f87171;
    border: 1px solid #4a2a2a;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-token-btn:hover {
    background: #4a2a2a;
    border-color: #5a3a3a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .token-import-modal {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .popular-tokens-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
}

/* Auto-Lock Timer Modal Styles */
.auto-lock-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.auto-lock-modal-overlay.show {
    display: flex;
}

.auto-lock-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.auto-lock-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.auto-lock-modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.auto-lock-modal-content {
    padding: 20px;
}

.auto-lock-description {
    color: #cccccc;
    font-size: 14px;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.auto-lock-options {
    margin-bottom: 20px;
}

.auto-lock-option {
    display: flex;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.auto-lock-option:hover {
    background: #2d2d2d;
}

.auto-lock-option.selected {
    background: #2d2d2d;
}

.option-radio {
    margin-right: 12px;
}

.option-radio input[type="radio"] {
    display: none;
}

.option-radio label {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #3d3d3d;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.option-radio input[type="radio"]:checked + label {
    border-color: #0066cc;
    background: #0066cc;
}

.option-radio input[type="radio"]:checked + label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
}

.option-details {
    flex: 1;
}

.option-label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.option-description {
    display: block;
    color: #999999;
    font-size: 12px;
}

.auto-lock-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.auto-lock-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.auto-lock-btn.secondary {
    background: #2d2d2d;
    color: #ffffff;
}

.auto-lock-btn.secondary:hover {
    background: #3d3d3d;
}

.auto-lock-btn.primary {
    background: #0066cc;
    color: #ffffff;
}

.auto-lock-btn.primary:hover {
    background: #0052a3;
}

/* Change Password Modal Styles */
.change-password-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.change-password-modal-overlay.show {
    display: flex;
}

.change-password-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.change-password-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.change-password-modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.change-password-modal-content {
    padding: 20px;
}

.password-input-container {
    position: relative;
    margin-bottom: 16px;
}

.password-input {
    width: 100%;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    box-sizing: border-box;
}

.password-input:focus {
    outline: none;
    border-color: #0066cc;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999999;
    cursor: pointer;
    padding: 4px;
}

.password-toggle-btn:hover {
    color: #ffffff;
}

.password-requirements {
    margin: 16px 0;
    padding: 12px;
    background: #2d2d2d;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.password-requirements p {
    color: #cccccc;
    font-size: 12px;
    margin: 0;
}

.change-password-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.change-password-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.change-password-btn.secondary {
    background: #2d2d2d;
    color: #ffffff;
}

.change-password-btn.secondary:hover {
    background: #3d3d3d;
}

.change-password-btn.primary {
    background: #0066cc;
    color: #ffffff;
}

.change-password-btn.primary:hover {
    background: #0052a3;
}

.change-password-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.change-password-btn:disabled:hover {
    background: #0066cc;
}

/* Recovery Phrase Modal Styles */
.recovery-phrase-password-modal-overlay,
.recovery-phrase-hold-modal-overlay,
.recovery-phrase-reveal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.recovery-phrase-password-modal-overlay.show,
.recovery-phrase-hold-modal-overlay.show,
.recovery-phrase-reveal-modal-overlay.show {
    display: flex;
}

.recovery-phrase-password-modal,
.recovery-phrase-hold-modal,
.recovery-phrase-reveal-modal {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.recovery-phrase-password-modal-header,
.recovery-phrase-hold-modal-header,
.recovery-phrase-reveal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.recovery-phrase-password-modal-header h3,
.recovery-phrase-hold-modal-header h3,
.recovery-phrase-reveal-modal-header h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.recovery-phrase-password-modal-content,
.recovery-phrase-hold-modal-content,
.recovery-phrase-reveal-modal-content {
    padding: 20px;
}

.recovery-phrase-password-modal-content h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 16px 0;
}

.recovery-phrase-password-input {
    width: 100%;
    padding: 12px 16px;
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    box-sizing: border-box;
}

.recovery-phrase-password-input:focus {
    outline: none;
    border-color: #0066cc;
}

.recovery-phrase-password-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.recovery-phrase-password-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.recovery-phrase-password-btn.secondary {
    background: #2d2d2d;
    color: #ffffff;
}

.recovery-phrase-password-btn.secondary:hover {
    background: #3d3d3d;
}

.recovery-phrase-password-btn.primary {
    background: #0066cc;
    color: #ffffff;
}

.recovery-phrase-password-btn.primary:hover {
    background: #0052a3;
}

.recovery-phrase-warning {
    background: #ff4444;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.recovery-phrase-warning i {
    color: #ffffff;
    font-size: 16px;
    margin-top: 2px;
}

.recovery-phrase-warning p {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.recovery-phrase-display {
    margin-top: 20px;
}

.recovery-phrase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.recovery-phrase-word {
    background: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    position: relative;
}

.recovery-phrase-word .word-number {
    position: absolute;
    top: 4px;
    left: 8px;
    color: #999999;
    font-size: 10px;
    font-weight: 500;
}

.recovery-phrase-word span:not(.word-number) {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-top: 8px;
}

.copy-phrase-btn {
    width: 100%;
    padding: 12px 20px;
    background: #0066cc;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copy-phrase-btn:hover {
    background: #0052a3;
}
