#WalletLoginPanel {
    position: absolute;
    left: 37px;
    top: 55px;
    width: 274px;
    z-index: 4;
    font-family: Arial, sans-serif;
}

#PhantomLoginButton {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 8px 34px 8px 12px;
    border: 1px solid rgba(172, 151, 255, .85);
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #4f3bc4 0%, #6c4ce3 52%, #886bff 100%);
    box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 6px 16px rgba(31,12,95,.42), 0 0 18px rgba(125,91,255,.2);
    cursor: pointer;
    text-align: left;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

#PhantomLoginButton:hover,
#PhantomLoginButton:focus {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 8px 20px rgba(31,12,95,.52), 0 0 23px rgba(125,91,255,.38);
    outline: none;
}

#PhantomLoginButton:active { transform: translateY(1px); }
#PhantomLoginButton.is-loading { cursor: wait; filter: saturate(.75); }
#PhantomLoginButton.is-loading .phantomArrow { animation: phantomPulse .8s infinite alternate; }

.phantomMark {
    position: relative;
    flex: 0 0 35px;
    width: 35px;
    height: 31px;
    margin-right: 10px;
    border-radius: 18px 18px 12px 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(22,9,68,.28);
}

.phantomMark:before,
.phantomMark:after {
    content: '';
    position: absolute;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6b4ee3;
}
.phantomMark:before { left: 9px; }
.phantomMark:after { right: 9px; }
.phantomMark span {
    position: absolute;
    right: -1px;
    width: 10px;
    height: 5px;
    border-radius: 5px;
    background: #fff;
}
.phantomMark span:first-child { bottom: 8px; }
.phantomMark span:last-child { bottom: 1px; width: 15px; }

.phantomButtonText { display: block; min-width: 0; line-height: 1.05; }
.phantomButtonText strong { display: block; font-size: 13px; letter-spacing: .35px; white-space: nowrap; }
.phantomButtonText small { display: block; margin-top: 5px; color: #e4ddff; font-size: 10px; font-weight: normal; }
.phantomArrow { position: absolute; right: 13px; top: 14px; font: 30px/25px Arial; color: #dfd8ff; }

#WalletLoginStatus {
    min-height: 13px;
    margin-top: 5px;
    color: #b9f8ff;
    font-size: 10px;
    line-height: 13px;
    text-align: center;
    text-shadow: 0 1px 2px #001;
}
#WalletLoginStatus.is-error { color: #ffb8c2; }
#WalletLoginStatus.is-success { color: #87ffd0; }

.walletLoginDivider {
    position: relative;
    height: 15px;
    margin-top: 1px;
    text-align: center;
}
.walletLoginDivider:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 7px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107,229,245,.65), transparent);
}
.walletLoginDivider span {
    position: relative;
    display: inline-block;
    padding: 0 8px;
    color: #9fc5cc;
    background: #063745;
    font-size: 9px;
    line-height: 15px;
}

@keyframes phantomPulse { from { opacity: .35; } to { opacity: 1; } }

@media (max-width: 700px), (max-height: 520px) {
    #PhantomLoginButton { min-height: 62px; }
    .phantomButtonText strong { font-size: 14px; }
    .phantomButtonText small, #WalletLoginStatus { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    #PhantomLoginButton { transition: none; }
    #PhantomLoginButton.is-loading .phantomArrow { animation: none; }
}
