@import "https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap";@import "https://api.fontshare.com/v2/css?f[]=satoshi@400,500,600,700&display=swap";.wallet-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#4e4e4eb3;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.wallet-modal-content{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fffffffa;border:1px solid #9eccdb4d;border-radius:24px;width:90%;max-width:420px;animation:.3s ease-out modalSlideIn;box-shadow:0 20px 60px #4e4e4e33,inset 0 1px #ffffffe6}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-30px)scale(.95)}to{opacity:1;transform:translateY(0)scale(1)}}.wallet-modal-header{border-bottom:1px solid #4e4e4e26;justify-content:space-between;align-items:center;padding:1.75rem;display:flex}.wallet-modal-header h2{color:#4e4e4e;letter-spacing:-.01em;margin:0;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.5rem;font-weight:700}.wallet-modal-close{color:#4e4e4e;cursor:pointer;background:#4e4e4e1a;border:1px solid #4e4e4e26;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;font-size:1.5rem;transition:all .2s;display:flex}.wallet-modal-close:hover{color:#4e4e4e;background:#9eccdb33;border-color:#9eccdb4d}.wallet-modal-body{padding:1.75rem}.wallet-modal-description{color:#4e4e4e;text-align:center;opacity:.7;margin:0 0 1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.875rem;line-height:1.5}.wallet-providers-list{flex-direction:column;gap:.75rem;display:flex}.wallet-provider-item{cursor:pointer;text-align:left;background:#ffffff80;border:2px solid #4e4e4e33;border-radius:12px;align-items:center;gap:1rem;width:100%;padding:1.25rem;transition:all .3s;display:flex}.wallet-provider-item:hover{background:#9eccdb1a;border-color:#9eccdb;transform:translateY(-2px);box-shadow:0 4px 12px #9eccdb33}.wallet-provider-item.selected{background:#9eccdb26;border-color:#9eccdb}.wallet-provider-icon{background:#9eccdb26;border:1px solid #9eccdb40;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.wallet-provider-icon svg,.wallet-provider-icon img{border-radius:8px;width:32px;height:32px}.injected-providers-section{border-top:1px solid #4e4e4e26;margin-top:1.5rem;padding-top:1.5rem}.injected-providers-header{color:#4e4e4e;text-transform:uppercase;letter-spacing:.05em;opacity:.7;margin-bottom:.75rem;padding:0 1rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.75rem;font-weight:600}.wallet-provider-item.selected .wallet-provider-icon{background:#9eccdb40;border-color:#9eccdb66}.wallet-provider-info{flex:1}.wallet-provider-name{color:#4e4e4e;margin-bottom:.25rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1rem;font-weight:600}.wallet-provider-description{color:#4e4e4e;opacity:.7;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.875rem}.wallet-provider-arrow{color:#4e4e4e;opacity:.5;font-size:1.25rem;transition:all .2s}.wallet-provider-item:hover .wallet-provider-arrow{color:#9eccdb;opacity:1;transform:translate(4px)}.wallet-modal-empty{text-align:center;padding:2rem 1rem}.wallet-modal-empty p{color:#4e4e4e;opacity:.7;margin:.5rem 0;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.wallet-modal-install-hint{font-size:.875rem;margin:1rem 0!important}.wallet-install-buttons{flex-direction:column;gap:.75rem;margin-top:1.5rem;display:flex}.wallet-install-btn{color:#4e4e4e;cursor:pointer;background:linear-gradient(135deg,#9eccdb 0%,#f4dbb4 100%);border:none;border-radius:12px;justify-content:center;align-items:center;padding:.875rem 1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;font-weight:600;text-decoration:none;transition:all .3s;display:inline-flex;box-shadow:0 4px 12px #9eccdb4d}.wallet-install-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #9eccdb66}@media (width<=480px){.wallet-modal-content{width:95%;margin:1rem}.wallet-modal-header,.wallet-modal-body{padding:1.25rem}.wallet-provider-item{padding:1rem}}.wallet-button{align-items:center;gap:.75rem;display:flex}.btn-wallet{cursor:pointer;white-space:nowrap;border:none;border-radius:12px;justify-content:center;align-items:center;padding:.875rem 1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;font-weight:600;transition:all .3s;display:inline-flex}.btn-wallet-connect{color:#4e4e4e;background:linear-gradient(135deg,#9eccdb 0%,#f4dbb4 100%);box-shadow:0 4px 12px #9eccdb4d}.btn-wallet-connect:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #9eccdb66}.btn-wallet-connect:disabled{opacity:.5;cursor:not-allowed}.btn-wallet-install{color:#fff;background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);justify-content:center;align-items:center;text-decoration:none;display:inline-flex;box-shadow:0 4px 12px #f59e0b4d}.btn-wallet-install:hover{transform:translateY(-2px);box-shadow:0 6px 20px #f59e0b66}.wallet-connected{background:#9eccdb33;border:1px solid #9eccdb4d;border-radius:12px;align-items:center;gap:.75rem;padding:.625rem 1rem;display:flex}.wallet-address{align-items:center;gap:.5rem;display:flex}.wallet-address-text{color:#4e4e4e;background:#fffc;border:1px solid #9eccdb4d;border-radius:8px;padding:.375rem .875rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;font-weight:500}.wallet-status-indicator{background:#10b981;border-radius:50%;width:8px;height:8px;animation:2s infinite pulse;box-shadow:0 0 0 2px #10b98133}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.btn-wallet-disconnect{color:#4e4e4e;background:#4e4e4e1a;border:1px solid #4e4e4e33;border-radius:12px;justify-content:center;align-items:center;padding:.625rem 1rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.875rem;font-weight:600;transition:all .3s;display:inline-flex}.btn-wallet-disconnect:hover{color:#4e4e4e;background:#4e4e4e26;border-color:#4e4e4e4d;transform:translateY(-2px);box-shadow:0 4px 12px #4e4e4e33}@media (width<=768px){.wallet-button{gap:.5rem}.wallet-connected{flex-direction:column;gap:.5rem;padding:.75rem}.wallet-address{justify-content:center;width:100%}.btn-wallet{padding:.5rem .875rem;font-size:.75rem}}.layout{flex-direction:column;min-height:100vh;display:flex}.header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#4e4e4e;z-index:100;background:#fffffffa;border-bottom:1px solid #9eccdb4d;width:100%;padding:1rem 0;position:sticky;top:0;box-shadow:0 4px 20px #4e4e4e1a}.header-content{justify-content:space-between;align-items:center;gap:2rem;width:100%;margin:0;padding:0 2rem;display:flex}.header-content .nav{flex:1;justify-content:center;gap:1.5rem;display:flex}.nav:empty{display:none}.header-wallet{align-items:center;margin-left:auto;display:flex}.logo-container{align-items:center;gap:.75rem;display:flex}.logo-image{object-fit:contain;width:auto;height:40px}.logo-text{color:#4e4e4e;letter-spacing:-.01em;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.5rem;font-weight:700}@media (width<=768px){.logo-image{height:32px}.logo-text{font-size:1.2rem}}.nav a{color:#4e4e4e;opacity:.8;border-radius:10px;padding:.625rem 1.25rem;font-family:Poppins,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;font-weight:500;text-decoration:none;transition:all .3s;position:relative}.nav a:hover{color:#4e4e4e;opacity:1;background-color:#9eccdb33}.nav a.active{color:#4e4e4e;opacity:1;background:linear-gradient(135deg,#9eccdb4d 0%,#f4dbb44d 100%);border:1px solid #9eccdb66}.main{flex:1;width:100%;margin:0;padding:0}.footer{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#4e4e4e;text-align:center;opacity:.7;background:#fffffffa;border-top:1px solid #9eccdb4d;width:100%;margin-top:auto;padding:1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9rem}@media (width<=768px){.header{padding:1rem 0}.header-content{flex-direction:column;gap:1rem;padding:0 1rem}.nav{flex-wrap:wrap;justify-content:center}.header-wallet{justify-content:center;width:100%;margin-left:0}.logo-container{justify-content:center;width:100%}}.action-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#4e4e4eb3;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.action-modal-content{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fffffffa;border:1px solid #9eccdb4d;border-radius:24px;width:90%;max-width:500px;max-height:90vh;animation:.4s cubic-bezier(.4,0,.2,1) modalSlideIn;overflow-y:auto;box-shadow:0 20px 60px #4e4e4e33,inset 0 1px #ffffffe6}.action-modal-header{border-bottom:1px solid #4e4e4e26;justify-content:space-between;align-items:center;padding:2.5rem;display:flex}.action-modal-header h2{color:#4e4e4e;letter-spacing:-.01em;margin:0;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.75rem;font-weight:700}.action-modal-close{color:#4e4e4e;cursor:pointer;background:#4e4e4e1a;border:1px solid #4e4e4e26;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;font-size:1.5rem;transition:all .2s;display:flex}.action-modal-close:hover{color:#4e4e4e;background:#9eccdb33;border-color:#9eccdb4d}.action-modal-form{padding:2.5rem}.form-group{margin-bottom:1.75rem}.form-group label{color:#4e4e4e;letter-spacing:.01em;margin-bottom:.75rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;font-weight:600;display:block}.form-group input,.form-group select{color:#4e4e4e;box-sizing:border-box;background:#fffc;border:1px solid #4e4e4e33;border-radius:12px;width:100%;padding:1rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1rem;transition:all .3s}.form-group input::placeholder{color:#94a3b8}.form-group input:focus,.form-group select:focus{background:#fffffff2;border-color:#9eccdb;outline:none;box-shadow:0 0 0 3px #9eccdb1a}.form-group small{color:#4e4e4e;opacity:.7;margin-top:.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.85rem;font-weight:500;display:block}.input-with-max{align-items:center;display:flex;position:relative}.input-with-max input{padding-right:80px}.max-btn{color:#4e4e4e;cursor:pointer;background:linear-gradient(135deg,#9eccdb 0%,#f4dbb4 100%);border:none;border-radius:8px;justify-content:center;align-items:center;padding:.5rem 1rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.85rem;font-weight:600;transition:all .3s;display:inline-flex;position:absolute;right:8px;box-shadow:0 2px 8px #9eccdb4d}.max-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #9eccdb66}.max-btn:disabled{opacity:.5;cursor:not-allowed;background:#4e4e4e1a}.action-modal-message{border-left:4px solid;border-radius:12px;margin-bottom:1.75rem;padding:1.25rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;line-height:1.6}.action-modal-message.success{color:#22c55e;background:#22c55e1a;border-color:#22c55e}.action-modal-message.error{color:#ef4444;background:#ef44441a;border-color:#ef4444}.action-modal-actions{border-top:1px solid #4e4e4e26;justify-content:flex-end;gap:1rem;margin-top:2.5rem;padding-top:2rem;display:flex}.action-btn{cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;padding:.875rem 1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1rem;font-weight:600;transition:all .3s;display:inline-flex}.action-btn.cancel{color:#4e4e4e;background:#4e4e4e1a;border:1px solid #4e4e4e33}.action-btn.cancel:hover:not(:disabled){color:#4e4e4e;background:#4e4e4e26;border-color:#4e4e4e4d;transform:translateY(-2px)}.action-btn.submit{color:#4e4e4e;background:linear-gradient(135deg,#9eccdb 0%,#f4dbb4 100%);box-shadow:0 4px 12px #9eccdb4d}.action-btn.submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #9eccdb66}@media (width<=768px){.action-modal-content{width:95%;margin:1rem}.action-modal-header,.action-modal-form{padding:2rem}.action-modal-header h2{font-size:1.5rem}}.dashboard-container{background:linear-gradient(#eee 0%,#f4dbb4 20%,#9eccdb 100%);width:100%;min-height:100vh;padding:1rem 2rem 2rem;position:relative;overflow-x:hidden}.dashboard-container:before{content:"";pointer-events:none;background:radial-gradient(circle at 20% 30%,#9eccdb26 0%,#0000 50%),radial-gradient(circle at 80% 70%,#f4dbb41a 0%,#0000 50%);position:absolute;inset:0}.dashboard-header{z-index:1;justify-content:space-between;align-items:center;margin-bottom:3rem;padding:1.5rem 0;display:flex;position:relative}.dashboard-header h1{color:#4e4e4e;letter-spacing:-.02em;margin:0;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:2.75rem;font-weight:700}.error-notification{z-index:1;background-color:#fff3cd;border:1px solid #ffc107;border-radius:12px;margin-bottom:1.5rem;padding:1rem 1.5rem;animation:.3s ease-out slideDown;position:relative}.error-notification.asset_commitment{background-color:#f8d7da;border-color:#dc3545}.error-notification.facilities{background-color:#d1ecf1;border-color:#0dcaf0}.error-notification.price{background-color:#fff3cd;border-color:#ffc107}.error-notification-content{align-items:center;gap:.75rem;display:flex}.error-icon{flex-shrink:0;font-size:1.25rem}.error-text{color:#856404;flex:1;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;line-height:1.5}.error-notification.asset_commitment .error-text{color:#721c24}.error-notification.facilities .error-text{color:#055160}.error-close{color:#856404;cursor:pointer;background:0 0;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;padding:0;font-size:1.5rem;line-height:1;transition:background-color .2s;display:flex}.error-close:hover{background-color:#0000001a}.error-notification.asset_commitment .error-close{color:#721c24}.error-notification.facilities .error-close{color:#055160}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dashboard-stats-grid{z-index:1;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-bottom:3rem;display:grid;position:relative}.stat-card{background:#fffffff2;border:1px solid #9eccdb4d;border-radius:24px;padding:2.5rem;transition:all .4s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;box-shadow:0 4px 20px #4e4e4e1a}.stat-card:before{content:"";opacity:0;background:linear-gradient(90deg,#9eccdb 0%,#f4dbb4 100%);height:4px;transition:opacity .4s;position:absolute;top:0;left:0;right:0}.stat-card:hover{background:#fff;border-color:#9eccdb80;transform:translateY(-6px);box-shadow:0 12px 40px #4e4e4e26,0 0 0 1px #9eccdb33}.stat-card:hover:before{opacity:1}.stat-card-header{justify-content:space-between;align-items:center;margin-bottom:2rem;display:flex}.stat-card-header h3{color:#4e4e4e;text-transform:uppercase;letter-spacing:.1em;margin:0;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;font-weight:600}.stat-card.loan-card .stat-card-header h3{font-size:.95rem}.stat-label{color:#9eccdb;background:#9eccdb33;border:1px solid #9eccdb4d;border-radius:12px;padding:.35rem .85rem;font-size:.75rem;font-weight:600}.stat-value{color:#4e4e4e;letter-spacing:-.02em;margin-bottom:.75rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:3rem;font-weight:700;line-height:1.1}.stat-card.loan-card .stat-value{font-size:3rem}.stat-subvalue{color:#4e4e4e;opacity:.7;margin-bottom:1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;font-weight:500}.stat-details{border-top:1px solid #4e4e4e26;margin:1.5rem 0;padding-top:1.5rem}.stat-detail-item{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.stat-detail-item:last-child{margin-bottom:0}.detail-label{color:#4e4e4e;opacity:.7;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9rem;font-weight:500}.detail-value{color:#4e4e4e;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.1rem;font-weight:600}.detail-value.token-amount{color:#2c5f7c;background:#9eccdb26;border:1px solid #9eccdb4d;border-radius:10px;margin-left:.5rem;padding:.4rem .9rem;font-size:1.15rem;font-weight:700;display:inline-block}.detail-value-small{color:#4e4e4e;word-break:break-all;opacity:.7;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;font-weight:500}.stat-actions{border-top:1px solid #4e4e4e26;gap:1rem;margin-top:2rem;padding-top:1.5rem;display:flex}.stat-action-link{color:#9eccdb;cursor:pointer;background:0 0;border:none;padding:.5rem 0;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;font-weight:600;text-decoration:none;transition:all .3s;position:relative}.stat-action-link:after{content:"";background:linear-gradient(90deg,#9eccdb 0%,#f4dbb4 100%);width:0;height:2px;transition:width .3s;position:absolute;bottom:0;left:0}.stat-action-link:hover{color:#f4dbb4}.stat-action-link:hover:after{width:100%}.stat-action-link.primary{color:#4e4e4e;background:linear-gradient(135deg,#9eccdb 0%,#f4dbb4 100%);border-radius:12px;justify-content:center;align-items:center;padding:.875rem 1.5rem;transition:all .3s;display:inline-flex;box-shadow:0 4px 12px #9eccdb4d}.stat-action-link.primary:after{display:none}.stat-action-link.primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #9eccdb66}.stat-empty{text-align:center;padding:2rem 0}.stat-empty p{color:#4e4e4e;opacity:.7;margin-bottom:1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1rem}.status-badge{text-transform:uppercase;letter-spacing:.05em;border-radius:12px;padding:.4rem .9rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.7rem;font-weight:700}.status-badge.active{color:#22c55e;background:#22c55e26;border:1px solid #22c55e40}.status-badge.pending{color:#d97706;background:#f4dbb44d;border:1px solid #f4dbb466}.status-badge.settled,.status-badge.repaid{color:#0891b2;background:#9eccdb4d;border:1px solid #9eccdb66}.status-badge.restored,.status-badge.liquidated{color:#dc2626;background:#dc262626;border:1px solid #dc262640}.status-badge.cancelled,.status-badge.rejected{color:#6b7280;background:#6b728026;border:1px solid #6b728040}.ltv-card{grid-column:span 1}.ltv-status-badge{text-transform:uppercase;letter-spacing:.05em;border-radius:12px;padding:.4rem .9rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.7rem;font-weight:700}.ltv-status-badge.safe{color:#22c55e;background:#22c55e26;border:1px solid #22c55e40}.ltv-status-badge.warning{color:#d97706;background:#f4dbb44d;border:1px solid #f4dbb466}.ltv-status-badge.margin-call{color:#ef4444;background:#ef444426;border:1px solid #ef444440}.ltv-status-badge.liquidation{color:#dc2626;background:#dc262626;border:1px solid #dc262640}.ltv-display{margin:2rem 0}.ltv-value{color:#4e4e4e;text-align:center;letter-spacing:-.02em;margin-bottom:1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:3.5rem;font-weight:700}.ltv-progress{margin-top:1.5rem;position:relative}.ltv-progress-bar{background:#4e4e4e1a;border:1px solid #4e4e4e26;border-radius:10px;height:16px;position:relative;overflow:hidden}.ltv-progress-fill{border-radius:10px;height:100%;transition:width .6s cubic-bezier(.4,0,.2,1),background .3s;position:relative;box-shadow:0 0 20px #9eccdb33}.ltv-progress-fill.safe{background:linear-gradient(90deg,#10b981 0%,#34d399 100%)}.ltv-progress-fill.warning{background:linear-gradient(90deg,#f4dbb4 0%,#fbbf24 100%)}.ltv-progress-fill.margin-call{background:linear-gradient(90deg,#ef4444 0%,#f87171 100%)}.ltv-progress-fill.liquidation{background:linear-gradient(90deg,#dc2626 0%,#ef4444 100%);animation:2s ease-in-out infinite pulse-danger}@keyframes pulse-danger{0%,to{box-shadow:0 0 20px #dc26264d}50%{box-shadow:0 0 30px #dc262699}}.ltv-progress-threshold{z-index:1;background:#4e4e4e66;width:2px;height:100%;position:absolute;top:0}.ltv-thresholds{height:24px;margin-top:.75rem;position:relative}.ltv-thresholds span{color:#4e4e4e;opacity:.7;white-space:nowrap;text-align:center;min-width:2.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.75rem;font-weight:600;position:absolute;transform:translate(-50%)}.ltv-alert{border-left:4px solid;border-radius:12px;margin-top:1.5rem;padding:1.25rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;line-height:1.6}.ltv-alert.warning{color:#d97706;background:#f4dbb433;border-color:#f4dbb4}.ltv-alert.margin-call{color:#ef4444;background:#ef44441a;border-color:#f87171}.ltv-alert.liquidation{color:#dc2626;background:#dc26261f;border-color:#ef4444;animation:2s ease-in-out infinite pulse-alert}@keyframes pulse-alert{0%,to{opacity:1}50%{opacity:.9}}.borrowing-card{grid-column:span 1}.borrowing-progress{margin-top:2rem}.borrowing-progress-bar{background:#4e4e4e1a;border:1px solid #4e4e4e26;border-radius:6px;height:10px;margin-bottom:1rem;overflow:hidden}.borrowing-progress-fill{background:linear-gradient(90deg,#9eccdb 0%,#f4dbb4 100%);border-radius:6px;height:100%;transition:width .6s cubic-bezier(.4,0,.2,1);box-shadow:0 0 10px #9eccdb4d}.borrowing-progress-labels{color:#4e4e4e;opacity:.7;justify-content:space-between;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.85rem;font-weight:500;display:flex}.loan-details-section{z-index:1;background:#fffffff2;border:1px solid #9eccdb4d;border-radius:24px;margin-top:3rem;padding:3rem;position:relative;box-shadow:0 4px 20px #4e4e4e1a}.loans-grid{grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem;margin-top:1.5rem;display:grid}.loan-card-detail{background:#fffffffa;border:1px solid #9eccdb66;border-radius:20px;padding:1.5rem;transition:all .3s;box-shadow:0 2px 12px #4e4e4e14}.loan-card-detail:hover{border-color:#9eccdb99;transform:translateY(-4px);box-shadow:0 8px 24px #4e4e4e26}.loan-card-header{border-bottom:1px solid #9eccdb33;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;display:flex}.loan-card-header h3{color:#4e4e4e;margin:0;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.25rem;font-weight:600}.loan-card-body{flex-direction:column;gap:1rem;display:flex}.loan-detail-row{border-bottom:1px solid #9eccdb1a;justify-content:space-between;align-items:center;padding:.75rem 0;display:flex}.loan-detail-row:last-of-type{border-bottom:none}.loan-detail-row .detail-label{color:#4e4e4e;opacity:.7;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9rem;font-weight:500}.loan-detail-row .detail-value{color:#4e4e4e;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;font-weight:600}.loan-pending-notice,.loan-repaid-notice,.loan-restored-notice,.loan-cancelled-notice{text-align:center;border:1px solid;border-radius:12px;margin-top:1rem;padding:1rem 1.25rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;transition:all .3s}.loan-pending-notice p,.loan-repaid-notice p,.loan-restored-notice p,.loan-cancelled-notice p{margin:0;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.9rem;font-weight:500;line-height:1.5}.loan-pending-notice{background:#f4dbb433;border-color:#f4dbb466}.loan-pending-notice p{color:#d97706}.loan-repaid-notice{background:#22c55e1a;border-color:#22c55e40}.loan-repaid-notice p{color:#22c55e}.loan-restored-notice{background:#dc26261a;border-color:#dc262640}.loan-restored-notice p{color:#dc2626}.loan-cancelled-notice{background:#6b72801a;border-color:#6b728040}.loan-cancelled-notice p{color:#6b7280}.loan-actions-card{border-top:1px solid #9eccdb33;margin-top:1rem;padding-top:1rem}.section-header{border-bottom:1px solid #4e4e4e26;margin-bottom:2rem;padding-bottom:1.5rem}.section-header h2{color:#4e4e4e;letter-spacing:-.01em;margin:0;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.75rem;font-weight:700}.loan-details-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin-bottom:2.5rem;display:grid}.detail-card{background:#9eccdb1a;border:1px solid #9eccdb33;border-radius:16px;flex-direction:column;gap:.75rem;padding:1.75rem;transition:all .3s;display:flex}.detail-card:hover{background:#9eccdb26;border-color:#9eccdb4d;transform:translateY(-2px)}.loan-actions{border-top:1px solid #4e4e4e26;justify-content:center;gap:1rem;padding-top:2rem;display:flex}.action-btn{cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;padding:.875rem 1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1rem;font-weight:600;text-decoration:none;transition:all .3s;display:inline-flex}.action-btn.primary{color:#4e4e4e;background:linear-gradient(135deg,#9eccdb 0%,#f4dbb4 100%);box-shadow:0 4px 12px #9eccdb4d}.action-btn.primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #9eccdb66}.action-btn.secondary{color:#4e4e4e;background:#4e4e4e1a;border:1px solid #4e4e4e33}.action-btn.secondary:hover:not(:disabled){background:#4e4e4e26;border-color:#4e4e4e4d;transform:translateY(-2px)}.action-btn:disabled{opacity:.5;cursor:not-allowed}.dashboard-empty{z-index:1;justify-content:center;align-items:center;min-height:60vh;display:flex;position:relative}.empty-state{text-align:center;background:#fffffff2;border:1px solid #9eccdb4d;border-radius:24px;max-width:600px;padding:4rem;box-shadow:0 4px 20px #4e4e4e1a}.empty-state h2{color:#4e4e4e;letter-spacing:-.02em;margin-bottom:1rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:2.25rem;font-weight:700}.empty-state p{color:#4e4e4e;opacity:.7;margin-bottom:2rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.1rem;line-height:1.6}.wallet-install-prompt{margin-top:2rem}.warning-text{color:#ef4444;margin-bottom:1rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1rem;font-weight:600}.wallet-install-buttons{flex-wrap:wrap;justify-content:center;gap:1rem;margin-top:1.5rem;display:flex}.wallet-install-link{text-decoration:none}.wallet-install-btn{cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;gap:.75rem;padding:.875rem 1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;font-weight:600;text-decoration:none;transition:all .3s;display:inline-flex}.wallet-install-btn.metamask{color:#fff;background:linear-gradient(135deg,#f6851b 0%,#e6761a 100%);box-shadow:0 4px 12px #f6851b4d}.wallet-install-btn.metamask:hover{transform:translateY(-2px);box-shadow:0 6px 20px #f6851b66}.wallet-install-btn.rabby{color:#fff;background:linear-gradient(135deg,#6366f1 0%,#4f46e5 100%);box-shadow:0 4px 12px #6366f14d}.wallet-install-btn.rabby:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6366f166}.connect-hint{color:#9eccdb;margin-top:1rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.1rem;font-weight:500}.dashboard-loading{color:#4e4e4e;z-index:1;flex-direction:column;justify-content:center;align-items:center;min-height:60vh;display:flex;position:relative}.loading-spinner{border:4px solid #4e4e4e33;border-top-color:#9eccdb;border-radius:50%;width:60px;height:60px;margin-bottom:1.5rem;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.dashboard-loading p{color:#4e4e4e;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.2rem;font-weight:500}@media (width<=768px){.dashboard-container{padding:1rem}.dashboard-header{flex-direction:column;align-items:flex-start;gap:1rem;margin-bottom:2rem}.dashboard-header h1{font-size:2rem}.dashboard-stats-grid{grid-template-columns:1fr;gap:1.5rem}.stat-card{padding:2rem}.stat-value{font-size:2.5rem}.ltv-value{font-size:3rem}.loan-details-grid{grid-template-columns:1fr}.loan-details-section{padding:2rem}}.admin-panel{background:linear-gradient(#eee 0%,#f4dbb4 20%,#9eccdb 100%);width:100%;min-height:100vh;padding:1rem 2rem 2rem;position:relative;overflow-x:hidden}.admin-panel:before{content:"";pointer-events:none;background:radial-gradient(circle at 20% 30%,#9eccdb26 0%,#0000 50%),radial-gradient(circle at 80% 70%,#f4dbb41a 0%,#0000 50%);position:absolute;inset:0}.admin-panel h1{color:#4e4e4e;letter-spacing:-.02em;z-index:1;margin-bottom:2rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:2.75rem;font-weight:700;position:relative}.admin-info{color:#4e4e4e;z-index:1;background:#fffffff2;border:1px solid #9eccdb4d;border-radius:16px;margin-bottom:2rem;padding:1rem 1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;position:relative;box-shadow:0 2px 8px #4e4e4e14}.admin-info code{color:#4e4e4e;background:#9eccdb33;border-radius:8px;padding:.25rem .75rem;font-family:Courier New,monospace;font-weight:600}.tabs{z-index:1;border-bottom:2px solid #9eccdb4d;gap:1rem;width:100%;margin-bottom:2rem;padding-bottom:.5rem;display:flex;position:relative}.tabs button{cursor:pointer;color:#4e4e4e;text-align:center;opacity:.7;background:0 0;border:none;border-bottom:3px solid #0000;min-width:180px;padding:1rem 2rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1rem;font-weight:500;transition:all .3s;position:relative}.tabs button:hover{color:#4e4e4e;opacity:1;background-color:#9eccdb1a;border-radius:12px 12px 0 0}.tabs button.active{color:#4e4e4e;opacity:1;background-color:#9eccdb26;border-bottom-color:#9eccdb;border-radius:12px 12px 0 0;font-weight:600}.loans-list{z-index:1;position:relative}.loans-list h2{color:#4e4e4e;letter-spacing:-.02em;margin-bottom:2rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:2rem;font-weight:700}.loans-list p{color:#4e4e4e;opacity:.7;text-align:center;background:#fffffff2;border:1px solid #9eccdb4d;border-radius:24px;padding:3rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.1rem;box-shadow:0 4px 20px #4e4e4e1a}.loans-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:2rem;display:grid}.loan-card{background:#fffffff2;border:1px solid #9eccdb4d;border-radius:24px;padding:2.5rem;transition:all .4s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;box-shadow:0 4px 20px #4e4e4e1a}.loan-card:before{content:"";opacity:0;background:linear-gradient(90deg,#9eccdb 0%,#f4dbb4 100%);height:4px;transition:opacity .4s;position:absolute;top:0;left:0;right:0}.loan-card:hover{background:#fff;border-color:#9eccdb80;transform:translateY(-6px);box-shadow:0 12px 40px #4e4e4e26,0 0 0 1px #9eccdb33}.loan-card:hover:before{opacity:1}.loan-card h3{color:#4e4e4e;letter-spacing:-.02em;margin-bottom:1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.5rem;font-weight:700}.loan-details{margin-bottom:1.5rem}.loan-details p{color:#4e4e4e;box-shadow:none;text-align:left;opacity:1;background:0 0;border:none;margin:.75rem 0;padding:0;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem}.loan-details strong{color:#4e4e4e;opacity:.8;font-weight:600}.loan-details code{word-break:break-all;background:#9eccdb33;border-radius:6px;max-width:100%;padding:.25rem .5rem;font-family:Courier New,monospace;font-size:.9em;display:inline-block}.loan-actions{border-top:1px solid #4e4e4e26;gap:1rem;margin-top:2rem;padding-top:1.5rem;display:flex}.btn-approve,.btn-fund,.btn-liquidate,.btn-reject,.btn-primary{cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;padding:.875rem 1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1rem;font-weight:600;transition:all .3s;display:inline-flex}.btn-approve{color:#fff;background:linear-gradient(135deg,#22c55e 0%,#16a34a 100%);box-shadow:0 4px 12px #22c55e4d}.btn-approve:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #22c55e66}.btn-fund{color:#4e4e4e;background:linear-gradient(135deg,#9eccdb 0%,#f4dbb4 100%);box-shadow:0 4px 12px #9eccdb4d}.btn-fund:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #9eccdb66}.btn-liquidate{color:#fff;background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);box-shadow:0 4px 12px #ef44444d}.btn-liquidate:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #ef444466}.btn-reject{color:#fff;background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);box-shadow:0 4px 12px #f59e0b4d}.btn-reject:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #f59e0b66}.btn-primary{color:#4e4e4e;background:linear-gradient(135deg,#9eccdb 0%,#f4dbb4 100%);box-shadow:0 4px 12px #9eccdb4d}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #9eccdb66}.btn-approve:disabled,.btn-fund:disabled,.btn-liquidate:disabled,.btn-reject:disabled,.btn-primary:disabled{opacity:.5;cursor:not-allowed}.loading{text-align:center;color:#4e4e4e;opacity:.7;z-index:1;padding:4rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.5rem;position:relative}.admin-access-denied{text-align:center;z-index:1;background:#fffffff2;border:1px solid #9eccdb4d;border-radius:24px;max-width:600px;margin:4rem auto;padding:4rem 2rem;position:relative;box-shadow:0 4px 20px #4e4e4e1a}.admin-access-denied h1{color:#ef4444;letter-spacing:-.02em;margin-bottom:1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:2.25rem;font-weight:700}.admin-access-denied p{color:#4e4e4e;opacity:.8;margin-bottom:1.5rem;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:1.1rem;line-height:1.6}.admin-access-denied code{color:#4e4e4e;background:#9eccdb33;border-radius:8px;padding:.25rem .75rem;font-family:Courier New,monospace;font-weight:600}.admin-access-denied .btn-primary{margin-top:2rem}.success-message{z-index:10000;animation:.3s ease-out slideIn;position:fixed;top:20px;right:20px}@keyframes slideIn{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.success-content{color:#fff;background:linear-gradient(135deg,#00d4aa 0%,#00b894 100%);border-radius:12px;align-items:center;gap:12px;min-width:300px;max-width:500px;padding:16px 20px;display:flex;box-shadow:0 8px 24px #00d4aa4d}.success-icon{flex-shrink:0;font-size:20px}.success-text{flex:1;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;font-weight:500}.success-close{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:18px;line-height:1;transition:background .2s;display:flex}.success-close:hover{background:#ffffff4d}.alert-card{background:linear-gradient(135deg,#f973161a 0%,#ea580c0d 100%);border:2px solid #f97316}.alert-card h3{color:#ea580c}.alert-info{color:#4e4e4e;background:#f973161a;border:1px solid #f973164d;border-radius:12px;margin-bottom:1.5rem;padding:1rem;font-size:.95rem}.severity-high{color:#ea580c;background:#f9731626;border-radius:8px;padding:.25rem .75rem;font-weight:600;display:inline-block}.withdraw-transactions{border-top:1px solid #f9731633;margin-top:1rem;padding-top:1rem}.withdraw-transactions ul{margin:.5rem 0 0;padding:0;list-style:none}.withdraw-transactions li{background:#f973160d;border-radius:8px;margin:.5rem 0;padding:.5rem}.withdraw-transactions a{color:#ea580c;font-family:Courier New,monospace;font-weight:500;text-decoration:none}.withdraw-transactions a:hover{text-decoration:underline}.app{background-color:#f5f5f5;min-height:100vh}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#4e4e4e;background:#4e4e4e;font-family:Satoshi,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{min-height:100vh}
