:root{--color-primary:#5ccb9a;--color-primary-dark:#35a978;--color-background:#f5f8f6;--color-surface:#fff;--color-surface-alt:#f8faf9;--color-surface-hover:#f0fbf6;--color-text:#171717;--color-text-muted:#737373;--color-text-placeholder:#a3a3a3;--color-border:#e5e9e7;--color-error:#dc4c4c;--shadow-card:0 20px 50px #2c5f4914;--shadow-control:0 2px 8px #2c5f490f;--shadow-dropdown:0 16px 40px #2c5f491f;--shadow-primary-hover:0 8px 20px #35a97833;--shadow-focus:0 0 0 3px #5ccb9a1f;--shadow-search-focus:0 0 0 3px #5ccb9a1a}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--color-background);color:var(--color-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select{font:inherit}button{cursor:pointer}.swap-page{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.swap-card{border:1px solid var(--color-border);background:var(--color-surface);width:100%;max-width:480px;box-shadow:var(--shadow-card);border-radius:24px;padding:24px}.swap-header{margin-bottom:24px}.swap-header h1{margin:0;font-size:28px;line-height:1.2}.swap-header p{color:var(--color-text-muted);margin:6px 0 0}.swap-fields{position:relative}.swap-direction{z-index:1;border:1px solid var(--color-border);background:var(--color-surface);width:40px;height:40px;color:var(--color-text);box-shadow:var(--shadow-control);border-radius:12px;justify-content:center;align-items:center;margin:10px auto;font-size:18px;font-weight:600;transition:background .15s,border-color .15s,transform .15s;display:flex;position:relative}.swap-direction:hover{border-color:var(--color-primary);background:var(--color-surface-hover)}.swap-direction:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.swap-direction:active{transform:scale(.96)}.exchange-rate{color:var(--color-text-muted);text-align:center;margin-top:20px;font-size:14px}.swap-submit{background:var(--color-primary);width:100%;color:var(--color-surface);border:0;border-radius:14px;margin-top:20px;padding:14px 20px;font-weight:700;transition:background .15s,transform .15s,box-shadow .15s}.swap-submit:hover:not(:disabled){background:var(--color-primary-dark);box-shadow:var(--shadow-primary-hover)}.swap-submit:active:not(:disabled){transform:scale(.99)}.swap-submit:disabled{cursor:not-allowed;opacity:.45}.currency-input{margin-bottom:0}.currency-label{color:var(--color-text-muted);margin-bottom:8px;font-size:14px;font-weight:500;display:block}.currency-input-box{border:1px solid var(--color-border);background:var(--color-surface-alt);border-radius:18px;align-items:center;gap:12px;min-height:76px;padding:12px 14px;transition:border-color .15s,background .15s,box-shadow .15s;display:flex}.currency-input-box:focus-within{border-color:var(--color-primary);background:var(--color-surface);box-shadow:var(--shadow-focus)}.currency-input-box-error{border-color:var(--color-error)}.currency-amount{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:28px;font-weight:600}.currency-amount[readonly]{color:var(--color-text)}.currency-amount::placeholder{color:var(--color-text-placeholder)}.currency-error{color:var(--color-error);margin:6px 4px 0;font-size:13px}.currency-selector{position:relative}.currency-selector-trigger{background:var(--color-surface);min-width:100px;color:var(--color-text);border:0;border-radius:12px;align-items:center;gap:8px;padding:8px 10px;font-weight:600;transition:background .15s;display:flex}.currency-selector-trigger:hover{background:var(--color-surface-hover)}.currency-selector-trigger:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.currency-selector-trigger img{border-radius:50%;flex-shrink:0;display:block}.currency-selector-chevron{margin-left:auto;font-size:14px}.currency-dropdown{z-index:10;border:1px solid var(--color-border);background:var(--color-surface);width:240px;box-shadow:var(--shadow-dropdown);border-radius:16px;padding:8px;position:absolute;right:0}.currency-dropdown-bottom{top:calc(100% + 8px)}.currency-dropdown-top{bottom:calc(100% + 8px)}.currency-search{border:1px solid var(--color-border);background:var(--color-surface-alt);width:100%;color:var(--color-text);border-radius:10px;outline:0;padding:10px 12px;font-size:14px}.currency-search::placeholder{color:var(--color-text-muted);font-size:13px}.currency-search:focus{border-color:var(--color-primary);background:var(--color-surface);box-shadow:var(--shadow-search-focus)}.currency-list{max-height:240px;margin:8px 0 0;padding:0;list-style:none;overflow-y:auto}.currency-option{width:100%;color:var(--color-text);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:10px;transition:background .15s;display:flex}.currency-option:hover{background:var(--color-surface-hover)}.currency-option:focus-visible{outline:2px solid var(--color-primary);outline-offset:-2px}.currency-option img{border-radius:50%;flex-shrink:0;display:block}.currency-option-selected{background:var(--color-background)}.currency-option-check{color:var(--color-primary-dark);margin-left:auto;font-weight:700}.currency-empty{color:var(--color-text-muted);text-align:center;margin:0;padding:24px 12px;font-size:14px}.currency-selector-chevron{flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;margin-left:auto;transition:transform .15s;display:flex}.currency-selector-chevron svg{width:14px;height:14px;display:block}.currency-selector-chevron-open{transform:rotate(180deg)}.token-icon-fallback{background:var(--color-primary);color:var(--color-surface);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;font-weight:700;display:inline-flex}.skeleton{background:linear-gradient(90deg, var(--color-surface-alt) 25%, var(--color-surface-hover) 50%, var(--color-surface-alt) 75%);background-size:200% 100%;animation:1.5s ease-in-out infinite skeleton-loading}.skeleton-title{border-radius:8px;width:90px;height:34px}.skeleton-subtitle{border-radius:6px;width:180px;height:18px;margin-top:8px}.skeleton-field{margin-bottom:10px}.skeleton-label{border-radius:6px;width:70px;height:16px;margin-bottom:8px}.skeleton-input{border-radius:18px;width:100%;height:76px}.skeleton-direction{justify-content:center;margin:10px 0;display:flex}.skeleton-icon{border-radius:12px;width:40px;height:40px}.skeleton-rate{border-radius:6px;width:180px;height:16px;margin:20px auto 0}.skeleton-submit{border-radius:14px;width:100%;height:46px;margin-top:20px}@keyframes skeleton-loading{0%{background-position:200% 0}to{background-position:-200% 0}}.swap-status{text-align:center;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;margin-top:12px;padding:10px 14px;font-size:13px;font-weight:500;display:flex}.swap-status-success{background:var(--color-surface-hover);color:var(--color-primary-dark);border-color:#35a97833}.swap-status-error{color:var(--color-error);background:#dc4c4c0f;border-color:#dc4c4c33}.swap-status-icon{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;font-size:12px;font-weight:700;display:inline-flex}.swap-status-success .swap-status-icon{background:var(--color-primary);color:var(--color-surface)}.swap-status-error .swap-status-icon{background:var(--color-error);color:var(--color-surface)}
