/* style.css */
:root {
    /* Light Theme */
    --bg-primary-light: #f8f9fa;
    --bg-secondary-light: #ffffff;
    --bg-tertiary-light: #eef1f6;
    --text-primary-light: #1a1f36;
    --text-secondary-light: #4a5568;
    --text-tertiary-light: #718096;
    --border-light: #e2e8f0;
    --accent-light: #3949ab;
    --accent-hover-light: #303f9f;
    --positive-light: #10b981;
    --negative-light: #ef4444;
    --warning-light: #f59e0b;
    --info-light: #0ea5e9;
    --card-shadow-light: 0 4px 6px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.08);

    /* Dark Theme */
    --bg-primary-dark: #0d1117;
    --bg-secondary-dark: #161b22;
    --bg-tertiary-dark: #21262d;
    --text-primary-dark: #f0f6fc;
    --text-secondary-dark: #c9d1d9;
    --text-tertiary-dark: #8b949e;
    --border-dark: #30363d;
    --accent-dark: #5c6bc0;
    --accent-hover-dark: #7986cb;
    --positive-dark: #34d399;
    --negative-dark: #f87171;
    --warning-dark: #fbbf24;
    --info-dark: #38bdf8;
    --card-shadow-dark: 0 4px 6px rgba(0, 0, 0, 0.25);

    /* Active Theme Defaults */
    --bg-primary: var(--bg-primary-dark);
    --bg-secondary: var(--bg-secondary-dark);
    --bg-tertiary: var(--bg-tertiary-dark);
    --text-primary: var(--text-primary-dark);
    --text-secondary: var(--text-secondary-dark);
    --text-tertiary: var(--text-tertiary-dark);
    --border: var(--border-dark);
    --accent: var(--accent-dark);
    --accent-hover: var(--accent-hover-dark);
    --positive: var(--positive-dark);
    --negative: var(--negative-dark);
    --warning: var(--warning-dark);
    --info: var(--info-dark);
    --card-shadow: var(--card-shadow-dark);

    /* Component Variables */
    --sidebar-width: 260px;
    --topbar-height: 70px;
    --card-border-radius: 12px;
    --btn-border-radius: 8px;
    --transition-duration: 0.3s;
}

.light-theme {
    --bg-primary: var(--bg-primary-light);
    --bg-secondary: var(--bg-secondary-light);
    --bg-tertiary: var(--bg-tertiary-light);
    --text-primary: var(--text-primary-light);
    --text-secondary: var(--text-secondary-light);
    --text-tertiary: var(--text-tertiary-light);
    --border: var(--border-light);
    --accent: var(--accent-light);
    --accent-hover: var(--accent-hover-light);
    --positive: var(--positive-light);
    --negative: var(--negative-light);
    --warning: var(--warning-light);
    --info: var(--info-light);
    --card-shadow: var(--card-shadow-light);
}

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

html {
    font-size: 16px;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
                Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color var(--transition-duration),
                color var(--transition-duration);
    min-height: 100vh;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-duration);
}

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

button {
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--btn-border-radius);
    padding: 0.5rem;
    transition: border-color var(--transition-duration);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Layout */
.layout-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border);
    height: 100vh;
    position: fixed;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-duration);
    z-index: 5;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Sidebar Styles */
.sidebar-header {
    height: var(--topbar-height);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
}

.logo i {
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.nav-links li {
    padding: 0.75rem 1.5rem;
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all var(--transition-duration);
}

.nav-links li:hover,
.nav-links li.active {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border-left-color: var(--accent);
}

.nav-links li i {
    width: 24px;
    text-align: center;
}

.sidebar-footer {
    margin-top: auto;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

/* Top Bar */
.top-bar {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.market-info {
    display: flex;
    gap: 1.5rem;
}

.market-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--bg-tertiary);
    border-radius: 1rem;
}

.stat-label {
    color: var(--text-secondary);
}

.stat-value {
    font-weight: 600;
}

.notifications {
    position: relative;
    padding: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    background-color: var(--negative);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content Area */
.content-area {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.page {
    display: none;
    flex: 1;
}

.page.active-page {
    display: block;
}

/* Cards */
.card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header.with-action {
    padding-right: 1rem;
}

.card-body {
    padding: 1.5rem;
}

.card-value {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.card-metric.positive {
    color: var(--positive);
}

.card-metric.negative {
    color: var(--negative);
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.asset-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--bg-tertiary);
    border-radius: var(--card-border-radius);
    gap: 1rem;
}

.asset-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/*
.asset-icon.eth { background-color: rgba(98, 126, 234, 0.1); color: #627EEA; }
.asset-icon.btc { background-color: rgba(247, 147, 26, 0.1); color: #F7931A; }
.asset-icon.usdc { background-color: rgba(39, 117, 202, 0.1); color: #2775CA; }
.asset-icon.usdt { background-color: rgba(38, 161, 123, 0.1); color: #26A17B; }
.asset-icon.dai { background-color: rgba(250, 232, 90, 0.1); color: #FAE85A; }
.asset-icon { background-color: rgba(39, 117, 202, 0.1); color: #2775CA; }
*/
.asset-details {
    flex: 1;
}

.asset-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.asset-balance {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.asset-stats {
    text-align: right;
}

.asset-value {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.asset-apy {
    font-size: 0.9rem;
}

.asset-apy.positive {
    color: var(--positive);
}

.asset-apy.negative {
    color: var(--negative);
}

/* Health Factor */
.health-meter {
    width: 100%;
    height: 6px;
    background-color: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.health-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--positive), var(--warning), var(--negative));
    transition: width var(--transition-duration);
}

.health-status {
    font-weight: 500;
    text-align: right;
}

.health-status.positive { color: var(--positive); }
.health-status.warning { color: var(--warning); }
.health-status.negative { color: var(--negative); }

/* Tables */
.asset-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-secondary);
    border-radius: var(--card-border-radius);
    overflow: hidden;
}

.asset-table th,
.asset-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.asset-table th {
    background-color: var(--bg-tertiary);
    font-weight: 500;
}

/* Forms */
.input-group {
    position: relative;
    margin: 0.5rem 0;
}

.input-group input {
    width: 100%;
    padding-right: 70px;
}

.max-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.25rem 0.5rem;
    background-color: var(--accent);
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
}

.balance-display {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9;
}

.modal-overlay.active {
    display: block;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-secondary);
    border-radius: var(--card-border-radius);
    padding: 1.5rem;
    width: 440px;
    max-width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    display: none;
    z-index: 10;
}

.modal.active {
    display: block;
}

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

.modal-content {
    position: relative;
}

.transaction-summary {
    margin: 1.5rem 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.modal-action-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent);
    color: white;
    border-radius: var(--btn-border-radius);
    font-weight: 500;
    transition: background-color var(--transition-duration);
}

.modal-action-btn:hover {
    background-color: var(--accent-hover);
}

/* Wallet Connection */
.wallet-connection {
    margin-top: 1rem;
}

.wallet-btn {
    width: 100%;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--accent);
    color: white;
    border-radius: var(--btn-border-radius);
    transition: background-color var(--transition-duration);
}

.wallet-btn:hover {
    background-color: var(--accent-hover);
}

.wallet-address {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: var(--bg-tertiary);
    border-radius: var(--btn-border-radius);
    border: 1px solid var(--border);
}

.disconnect-btn {
    color: var(--text-tertiary);
    transition: color var(--transition-duration);
}

.disconnect-btn:hover {
    color: var(--negative);
}

/* Charts */
.asset-allocation-chart {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .market-info {
        display: none;
    }
}

@media (max-width: 576px) {
    .content-area {
        padding: 1rem;
    }

    .top-bar {
        padding: 0 1rem;
    }

    .overview-cards {
        grid-template-columns: 1fr;
    }
}

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

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

.full-height {
    height: 100%;
}

.positive { color: var(--positive); }
.negative { color: var(--negative); }
.warning { color: var(--warning); }

/* Switch Component */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-tertiary);
    transition: var(--transition-duration);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition-duration);
}

input:checked + .slider {
    background-color: var(--accent);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }
}


/* Add these styles to your CSS */
.sidebar {
    width: var(--sidebar-width);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
    z-index: 7;
}

.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 0.3rem;
    left: 0.3rem;
    z-index: 101;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    padding: 0.75rem;
    border-radius: var(--btn-border-radius);
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-content {
        margin-left: 0;
    }
}


/* style.css additions */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

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

.market-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Adjust notification positioning */
.notifications-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 101;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .market-info {
        display: none;
    }
    
    .top-bar {
        padding: 0 1rem;
        justify-content: space-between;
    }
}

/* Credit Score Page */
.credit-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.credit-card {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
    border-radius: var(--card-border-radius);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.credit-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.credit-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.credit-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, #c0c0c0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.credit-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.credit-score-circle {
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 80%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2;
}

.circle {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
    stroke: url(#gradient);
}

@keyframes progress {
    0% { stroke-dasharray: 0 100; }
}

.percentage {
    fill: white;
    font-size: 0.6em;
    font-weight: bold;
    text-anchor: middle;
}

.test-button {
    margin-top: 2rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.test-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.6);
}

.test-button:active {
    transform: translateY(1px);
}

.test-button i {
    margin-right: 10px;
}

.credit-info {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.credit-info p {
    margin: 1rem 0;
    line-height: 1.6;
}

.credit-features {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.feature {
    flex: 1;
    padding: 1.5rem;
    margin: 0 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00c6ff;
}

.feature h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* SVG Gradient */
svg.defs-only {
    display: block;
    position: absolute;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .credit-features {
        flex-direction: column;
    }
    
    .feature {
        margin: 0.5rem 0;
    }
    
    .credit-card {
        padding: 2rem 1.5rem;
    }
}

/* Approve Terms Page */
.approve-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.approve-card {
    background: linear-gradient(135deg, #1a1f36, #2d3748);
    border-radius: var(--card-border-radius);
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    color: white;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.approve-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #00c6ff, #0072ff);
}

.approve-header {
    margin-bottom: 2rem;
    text-align: center;
}

.approve-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, #c0c0c0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.approve-header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.terms-highlight {
    background: rgba(0, 114, 255, 0.15);
    border-left: 4px solid #0072ff;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 4px;
}

.terms-highlight i {
    color: #00c6ff;
    font-size: 1.5rem;
}

.terms-list {
    margin-bottom: 2rem;
}

.terms-list li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.term-item {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 1rem;
}

.term-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: relative;
    top: 5px;
    height: 24px;
    width: 24px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.term-item:hover .checkmark {
    background-color: rgba(0, 198, 255, 0.2);
}

.term-checkbox:checked ~ .checkmark {
    background-color: #0072ff;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.term-checkbox:checked ~ .checkmark:after {
    display: block;
}

.term-text {
    font-size: 1.1rem;
    line-height: 1.5;
}

#lend-amount, #lend-days ,#lend-roi,#lend-apy{
    color: #00c6ff;
    font-weight: 600;
}

.terms-info {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.approve-button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

.approve-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.6);
}

.approve-button:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    box-shadow: none;
}

/* Processing Modal */
#processing-modal .modal-content {
    width: 500px;
    max-width: 90%;
}

.processing-content {
    margin-bottom: 2rem;
}

.processing-spinner {
    margin: 1rem 0 2rem;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(0, 198, 255, 0.2);
    border-top: 5px solid #00c6ff;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

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

/* Rotating button for credit score */
.rotating {
    animation: rotate 1s linear infinite;
}

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

.link_color{
    color:#0072ff;
}
.link_color:hover{
    color:#8C85FF;
}
.asset-value,.asset-balance{
    display: none;
}
.close-modal{
    color:#998989;
}