/* ================================================================
 * 超级管理员资金划转页
 * ============================================================== */

#super-funds-transfer-entry[hidden] { display: none !important; }

.funds-transfer-nav .nav-title { flex: 1; }



.funds-transfer-body { padding: 0 var(--page-gutter) var(--section-gap); }
.funds-transfer-admin {
    display: flex;
    align-items: center;
    grid-gap:7px;gap: 7px;
    margin: 0 3px 14px;
    color: var(--text-secondary);
    font-size: var(--body-font-size);
}
.funds-transfer-admin .icon {
    width: 16px;
    height: 16px;
    color: var(--text-brand);
}
.funds-transfer-label {
    display: block;
    margin: 0 3px 8px;

}
.funds-transfer-account {
    width: 100%;
    margin-bottom: var(--space-lg);
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px 14px;
}

.funds-balance-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr);
    align-items: center;
    min-height: 150px;
    margin-bottom: 20px;
    padding: var(--space-lg) var(--space-md);
}

.funds-wallet {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.funds-wallet-icon {
    margin-bottom: 8px;
}
.funds-wallet-name {
    margin-bottom: 5px;
    color: var(--text-secondary);
    font-size: var(--caption-font-size);
}
.funds-wallet strong {
    max-width: 100%;
    overflow: hidden;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-650);
    text-overflow: ellipsis;
    white-space: nowrap;
}
.funds-wallet small {
    margin-top: 2px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: var(--meta-font-size);
}
.funds-swap-button {
    justify-self: center;
    display: grid;
    place-items: center;
}

.funds-swap-button .icon { width: 18px; height: 18px; }

.funds-direction {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap:5px;gap: 5px;
    margin-bottom: 20px;
    padding: 5px;
    border-radius: var(--surface-inset-radius);
    background: var(--bg-panel-muted);
}

.funds-amount-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap:12px;gap: 12px;
}
.funds-amount-head > span {
    margin: 0 3px 8px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: var(--meta-font-size);
}
.funds-amount-box {
    min-height: 60px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    grid-gap:10px;gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--surface-inset-radius);
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}
.funds-amount-box input {
    min-width: 0;
    width: 100%;
    padding: 12px 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: var(--font-size-20);
    font-weight: var(--font-weight-650);
}
.funds-amount-box input::placeholder { color: var(--text-secondary); }
.funds-amount-box > span {
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: var(--body-font-size);
}

.funds-amount-box input:disabled { cursor: default; opacity: var(--control-disabled-opacity); }

.funds-transfer-note {
    display: flex;
    align-items: flex-start;
    grid-gap:8px;gap: 8px;
    margin: var(--space-md) 0 var(--space-lg);
    color: var(--text-secondary);
    font-size: var(--meta-font-size);
    line-height: 1.55;
}
.funds-transfer-note .icon {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 1px;
    color: var(--text-brand);
}
.funds-transfer-submit {
    width: 100%;
}

.funds-transfer-pending {
    padding-top: 10px;
    color: var(--text-secondary);
    text-align: center;
    font-size: var(--meta-font-size);
}

#confirm-msg { white-space: pre-line; }
