/* Withdraw: loading skeleton (greyboxes) */
.panel-withdraw-loading-skeleton .panel-withdraw-skeleton {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}
.panel-withdraw-skeleton-circle {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
}
.panel-withdraw-skeleton-line {
    display: block;
    height: 1em;
}
.panel-withdraw-skeleton-title {
    width: 140px;
    margin-left: 12px;
}
.panel-withdraw-skeleton-label {
    width: 80px;
    margin-bottom: 8px;
    height: 12px;
}
.panel-withdraw-skeleton-pill {
    display: inline-block;
    width: 72px;
    height: 38px;
    margin-right: 10px;
    vertical-align: middle;
}
.panel-withdraw-skeleton-input {
    width: 100%;
    height: 48px;
    margin-bottom: 16px;
}
.panel-withdraw-skeleton-amount {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}
.panel-withdraw-skeleton-min {
    width: 100px;
    height: 48px;
    margin-left: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.panel-withdraw-skeleton-fee {
    width: 100px;
    height: 18px;
}
.panel-withdraw-skeleton-btn {
    width: 100%;
    height: 48px;
    margin-top: 8px;
}

/* Withdraw: Fee row with help tooltip */
.panel-withdraw-fee-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 6px;
    margin-top: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}
.panel-withdraw-fee-label {
    font-weight: 600;
}
.panel-withdraw-fee-value {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}
.panel-withdraw-fee-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.panel-withdraw-fee-help:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Withdraw: inline error values (separate spans from translated text) */
.panel-withdraw-error-value {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

/* Withdraw: confirm button loading state */
.panel-withdraw-confirm-btn.is-loading {
    opacity: 0.8;
    pointer-events: none;
}

/* Investments: Cancel Fee row - 1:1 like panel-deposit-address-row */
.panel-investments-cancel-fee-left {
    flex: 1;
    min-width: 0;
    padding:  4px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
}
.panel-investments-cancel-fee-label {
    color: rgba(255, 255, 255, 0.7);
}
.panel-investments-cancel-fee-value-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.panel-investments-cancel-fee-value {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}
.panel-investments-cancel-fee-pct {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}
.panel-investments-cancel-fee-row {
    margin-top: 24px;
}
.panel-investments-cancel-fee-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}
.panel-investments-cancel-fee-help:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 999px) {
    .panel-deposit-address-row {
        flex-wrap: wrap;
    }
    .panel-deposit-address-value {
        width: 100%;
        order: 1;
    }
    .panel-deposit-copy-min-wrap {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 12px;
        order: 2;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
    .panel-deposit-copy-btn {
        width: 100%;
        max-width: 200px;
        border-left: none;
        border-radius: 8px;
    }
    .panel-deposit-min-box {
        width: 100%;
        max-width: 280px;
        justify-content: space-between;
        border-left: none;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    /* Withdraw: keep desktop layout on mobile */
    .panel-index-section--withdraw .panel-deposit-address-row {
        flex-wrap: nowrap;
    }
    .panel-index-section--withdraw .panel-deposit-address-value {
        width: auto;
        order: 0;
    }
    .panel-index-section--withdraw .panel-deposit-min-box {
        width: auto;
        max-width: none;
        justify-content: flex-start;
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 0;
        background: rgba(255, 255, 255, 0.08);
    }
}