body {
    all: unset;
    display: block;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0d1117, #161b22);
    color: #e6e6e6;
    min-height: 100vh;
    justify-content: center;
    box-sizing: border-box;
}

main {
    all: unset;
    display: block;
    width: 100%;
    max-width: 400px;

    margin: 0 auto;
    text-align: left;
}

h1 {
    all: unset;
    display: block;
    color: #00ffad;
    text-shadow: 0 0 10px rgba(0, 255, 173, 0.4);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

h2 {
    all: unset;
    display: block;
    margin-block-start: 0.75em;
    margin-block-end: 0.5em;
    font-size: 1.5em;
    font-weight: bold;
}

p {
    all: unset;
    display: block;
    margin: 0.5em 0;
}

footer {
    all: unset;
    display: flex;
    margin-top: 2rem;
    justify-content: center;
}

nav {
    all: unset;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

code {
    all: unset;
    font-family: monospace;
    font-size: 1rem;
}

form {
    all: unset;
}

button {
    all: unset;
    margin-bottom: 0.75rem;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    outline: none;
    box-shadow: 0px 5px 15px rgba(0, 255, 173, 0.4);
    background: linear-gradient(135deg, #00ffad, #00b5ff);
    text-align: center;
    color: #0d1117;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

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

button:disabled {
    background: #3a3f48;
    color: #b0b8c1;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

input {
    all: unset;
}

input:focus {
    border-color: #00ffad;
    box-shadow: 0 0 10px #00ffad;
}

i {
    all: unset;
    display: flex;
    position: relative;
    align-items: center;
}

img {
    all: unset;
    overflow: hidden;
    display: block;
    height: 100%;
    width: 100%;
    border-radius: 50%;
}

.copyable,
a {
    color: LightSkyBlue;
    cursor: pointer;
}

.copyable:hover {
    color: DeepSkyBlue;
}

.selection {
    height: 50px;
    display: flex;
    align-items: center;
}

.selection>* {
    margin: 5px;
}

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

.round:hover .round:hover {
    transform: unset; /* prevent round inside round double translating */
}

.round:checked {
    border-color: #00ffad;
    box-shadow: 0 0 10px #00ffad;
}

.round {
    height: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background-size: contain;
    background-position: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

i.round input {
    position: absolute;
    height: 100%;
    width: 100%;
}

#connection:has(+ #accounts:not(:empty)) {
    display: none;
}

#accounts:empty {
    display: none;
}

.DAI {
    background-image: url('images/DAI.svg');
}

.USDC {
    background-image: url('images/USDC.svg');
}

.USDI {
    background-image: url('images/USDI.svg');
}

.xa4b1 {
    background-image: url('images/arbitrum.svg');
}

.xa86a {
    background-image: url('images/avax-token.svg');
}

.x2105 {
    background-image: url('images/base.svg');
}

.BNB {
    background-image: url('images/bnb.svg');
}

.ETH {
    background-image: url('images/eth_logo.svg');
}

.xa {
    background-image: url('images/optimism.svg');
}

.x89 {
    background-image: url('images/pol-token.svg');
}

.x1092ed93 {
    background-image: url('images/bitsy.svg');
}
