.phantom-payment-panel {
    margin: 18px 0 14px;
    padding: 16px;
    border: 1px solid rgba(132, 110, 255, 0.42);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(102, 76, 255, 0.13), rgba(31, 216, 255, 0.06));
    text-align: left;
}

.phantom-payment-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.phantom-payment-heading strong {
    color: #fff;
    font-size: 16px;
}

.phantom-payment-network {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #d9ddff;
    font-size: 12px;
    white-space: nowrap;
}

.phantom-payment-network::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #61f8bc;
    box-shadow: 0 0 10px rgba(97, 248, 188, 0.8);
    content: '';
}

.phantom-payment-wallet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 13px;
    background: rgba(5, 8, 25, 0.58);
}

.phantom-payment-label {
    color: #9fa8c9;
    font-size: 12px;
}

.phantom-payment-address {
    overflow: hidden;
    color: #eef0ff;
    font: 600 13px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.phantom-payment-balance {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.phantom-pay-button {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    background: linear-gradient(100deg, #7957f6, #4b7cff);
    box-shadow: 0 10px 28px rgba(100, 81, 245, 0.28);
    color: #fff;
    cursor: pointer;
    font: 700 15px/1.2 inherit;
    transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.phantom-pay-button:hover:not(:disabled) {
    box-shadow: 0 13px 34px rgba(100, 81, 245, 0.42);
    transform: translateY(-1px);
}

.phantom-pay-button:disabled {
    cursor: wait;
    opacity: 0.6;
}

.phantom-pay-button:focus-visible {
    outline: 3px solid rgba(146, 220, 255, 0.9);
    outline-offset: 3px;
}

.phantom-payment-status,
.phantom-payment-help {
    margin: 10px 2px 0;
    color: #c9cee8;
    font-size: 12px;
    line-height: 1.45;
}

.phantom-payment-status.is-error {
    color: #ff9caa;
}

.phantom-payment-status.is-success {
    color: #73efb7;
}

.phantom-payment-help {
    color: #929bbd;
}

@media (max-width: 560px) {
    .phantom-payment-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .phantom-payment-wallet {
        grid-template-columns: minmax(0, 1fr);
    }

    .phantom-payment-balance {
        grid-column: 1;
        grid-row: auto;
    }
}
