.account-panel .info-row { transition: background 0.25s ease, transform 0.25s ease; }
.account-panel .info-row:hover { background: rgba(255,255,255,0.02); }

.account-id-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.account-id-code {
    font-family: 'Consolas', 'Cascadia Mono', monospace;
    font-size: 12px;
    color: #ddd;
    background: #14141a;
    border: 1px solid #2d2d38;
    border-radius: 8px;
    padding: 8px 10px;
    word-break: break-all;
    flex: 1;
    min-width: 180px;
}

.account-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: pageFadeIn 0.25s ease-out both;
}

.account-modal-overlay.open { display: flex; }

.account-modal {
    width: min(92vw, 440px);
    background: #1a1a1f;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.65);
    animation: fadeInScale 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.account-modal h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 18px;
}

.account-modal p {
    margin: 0 0 16px;
    color: #aaa;
    font-size: 13px;
    line-height: 1.5;
}

.account-modal .field {
    margin-bottom: 14px;
}

.account-modal .field label {
    display: block;
    margin-bottom: 6px;
    color: #bbb;
    font-size: 12px;
}

/* input — из rmrp-controls.css; здесь только layout */
.account-modal .field input {
    width: 100%;
}

.account-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.account-modal-actions .ghost-btn,
.account-modal-actions .save-btn,
.account-modal-actions .danger-solid-btn {
    flex: 1;
    justify-content: center;
}

.account-modal-actions .ghost-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid #26262e;
    color: #dcdce2;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-modal-actions .ghost-btn:hover {
    border-color: #e63939;
    color: #fff;
    background: rgba(230,57,57,0.08);
}

.account-modal-actions .save-btn {
    background: #e63939;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-modal-actions .save-btn:hover {
    box-shadow: 0 4px 14px rgba(230,57,57,0.35);
}

.account-modal-actions .danger-solid-btn {
    background: #e63939;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.account-modal-actions .danger-solid-btn:hover {
    box-shadow: 0 6px 18px rgba(230,57,57,0.35);
    background: #d62828;
}

.deletion-banner {
    display: none;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(230,57,57,0.35);
    background: rgba(230,57,57,0.1);
    color: #ffb4b4;
    font-size: 13px;
    line-height: 1.45;
    animation: fadeInUp 0.4s ease-out both;
}

.deletion-banner.visible { display: block; }

.tg-qr-mini {
    text-align: center;
    margin: 12px 0;
}

.tg-qr-mini canvas {
    background: #fff;
    border-radius: 10px;
    padding: 8px;
}

