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 0;
|
| 5 |
+
height: 100vh;
|
| 6 |
+
width: 430px;
|
| 7 |
+
background: linear-gradient(120deg, #181c24 80%, #23283a 100%);
|
| 8 |
+
box-shadow: -8px 0 40px rgba(0,0,0,0.22);
|
| 9 |
+
z-index: 9999;
|
| 10 |
+
transform: translateX(100%);
|
| 11 |
+
transition: transform 0.32s cubic-bezier(.4,1.2,.4,1);
|
| 12 |
+
border-top-left-radius: 18px;
|
| 13 |
+
border-bottom-left-radius: 18px;
|
| 14 |
+
}
|
| 15 |
+
.wallet-panel:not(.hidden) {
|
| 16 |
+
transform: translateX(0);
|
| 17 |
+
}
|
| 18 |
+
.wallet-panel-content {
|
| 19 |
+
padding: 2.5rem 2.7rem 2.2rem 2.2rem;
|
| 20 |
+
min-width: 350px;
|
| 21 |
+
height: 100vh;
|
| 22 |
+
overflow-y: auto;
|
| 23 |
+
position: relative;
|
| 24 |
+
display: flex;
|
| 25 |
+
flex-direction: column;
|
| 26 |
+
gap: 2.2rem;
|
| 27 |
+
}
|
| 28 |
+
.wallet-close {
|
| 29 |
+
position: absolute;
|
| 30 |
+
right: 1.5rem;
|
| 31 |
+
top: 1.5rem;
|
| 32 |
+
font-size: 2.1rem;
|
| 33 |
+
color: #888;
|
| 34 |
+
cursor: pointer;
|
| 35 |
+
transition: color 0.18s;
|
| 36 |
+
}
|
| 37 |
+
.wallet-close:hover {
|
| 38 |
+
color: #fff;
|
| 39 |
+
}
|
| 40 |
+
.wallet-balance {
|
| 41 |
+
font-size: 1.45rem;
|
| 42 |
+
margin-bottom: 1.7rem;
|
| 43 |
+
display: flex;
|
| 44 |
+
justify-content: space-between;
|
| 45 |
+
align-items: center;
|
| 46 |
+
background: rgba(34,197,94,0.07);
|
| 47 |
+
border-radius: 10px;
|
| 48 |
+
padding: 1.1rem 1.2rem;
|
| 49 |
+
font-weight: 700;
|
| 50 |
+
letter-spacing: 0.01em;
|
| 51 |
+
box-shadow: 0 2px 12px rgba(34,197,94,0.04);
|
| 52 |
+
}
|
| 53 |
+
.wallet-actions {
|
| 54 |
+
display: flex;
|
| 55 |
+
gap: 1.5rem;
|
| 56 |
+
margin-bottom: 1.7rem;
|
| 57 |
+
justify-content: center;
|
| 58 |
+
}
|
| 59 |
+
.wallet-actions button {
|
| 60 |
+
flex: 1 1 0;
|
| 61 |
+
font-size: 1.1rem;
|
| 62 |
+
padding: 1.1rem 0;
|
| 63 |
+
border-radius: 8px;
|
| 64 |
+
border: none;
|
| 65 |
+
font-weight: 700;
|
| 66 |
+
background: linear-gradient(90deg, var(--green) 80%, #a7f3d0 100%);
|
| 67 |
+
color: #0b0e14;
|
| 68 |
+
box-shadow: 0 2px 12px rgba(34,197,94,0.08);
|
| 69 |
+
cursor: pointer;
|
| 70 |
+
transition: background 0.18s, color 0.18s, box-shadow 0.18s;
|
| 71 |
+
}
|
| 72 |
+
.wallet-actions button:hover {
|
| 73 |
+
background: linear-gradient(90deg, #16a34a 80%, #bbf7d0 100%);
|
| 74 |
+
color: #fff;
|
| 75 |
+
box-shadow: 0 4px 18px rgba(34,197,94,0.13);
|
| 76 |
+
}
|
| 77 |
+
.wallet-form {
|
| 78 |
+
margin-top: 1.2rem;
|
| 79 |
+
display: flex;
|
| 80 |
+
flex-direction: column;
|
| 81 |
+
gap: 1.1rem;
|
| 82 |
+
background: #202534;
|
| 83 |
+
border-radius: 10px;
|
| 84 |
+
padding: 1.3rem 1.2rem 1.5rem 1.2rem;
|
| 85 |
+
box-shadow: 0 2px 12px rgba(59,130,246,0.04);
|
| 86 |
+
}
|
| 87 |
+
.wallet-form h3 {
|
| 88 |
+
margin-bottom: 0.5rem;
|
| 89 |
+
color: var(--cyan);
|
| 90 |
+
font-size: 1.1rem;
|
| 91 |
+
font-weight: 700;
|
| 92 |
+
}
|
| 93 |
+
.wallet-form input {
|
| 94 |
+
padding: 0.8rem 1.1rem;
|
| 95 |
+
border-radius: 7px;
|
| 96 |
+
border: 1.5px solid #242a38;
|
| 97 |
+
background: #23283a;
|
| 98 |
+
color: #fff;
|
| 99 |
+
margin-bottom: 0.7rem;
|
| 100 |
+
width: 100%;
|
| 101 |
+
font-size: 1.05rem;
|
| 102 |
+
font-family: inherit;
|
| 103 |
+
font-weight: 600;
|
| 104 |
+
letter-spacing: 0.01em;
|
| 105 |
+
}
|
| 106 |
+
.wallet-form button {
|
| 107 |
+
background: linear-gradient(90deg, var(--blue) 80%, #a5b4fc 100%);
|
| 108 |
+
color: #fff;
|
| 109 |
+
border: none;
|
| 110 |
+
border-radius: 7px;
|
| 111 |
+
padding: 1rem 0;
|
| 112 |
+
font-size: 1.08rem;
|
| 113 |
+
font-weight: 700;
|
| 114 |
+
cursor: pointer;
|
| 115 |
+
box-shadow: 0 2px 12px rgba(59,130,246,0.08);
|
| 116 |
+
transition: background 0.18s, color 0.18s, box-shadow 0.18s;
|
| 117 |
+
}
|
| 118 |
+
.wallet-form button:hover {
|
| 119 |
+
background: linear-gradient(90deg, #2563eb 80%, #818cf8 100%);
|
| 120 |
+
color: #fff;
|
| 121 |
+
box-shadow: 0 4px 18px rgba(59,130,246,0.13);
|
| 122 |
+
}
|
| 123 |
+
.nav-btn {
|
| 124 |
+
margin-left: 0.5rem;
|
| 125 |
+
padding: 0.5rem 1.1rem;
|
| 126 |
+
font-size: 0.95rem;
|
| 127 |
+
vertical-align: middle;
|
| 128 |
+
}
|
| 129 |
+
.btn-wallet {
|
| 130 |
+
background: var(--yellow);
|
| 131 |
+
color: #000;
|
| 132 |
+
padding: 0.6rem 1rem;
|
| 133 |
+
border: none;
|
| 134 |
+
border-radius: 6px;
|
| 135 |
+
font-family: inherit;
|
| 136 |
+
font-weight: 700;
|
| 137 |
+
font-size: 0.85rem;
|
| 138 |
+
cursor: pointer;
|
| 139 |
+
transition: 0.2s;
|
| 140 |
+
}
|
| 141 |
+
.btn-wallet:hover {
|
| 142 |
+
background: #facc15;
|
| 143 |
+
}
|
| 144 |
*,
|
| 145 |
*::before,
|
| 146 |
*::after {
|