/* Wallet Info Dialog */
#wallet-info-dialog .dialog-content {
    /* max-width: 900px; */
    background: #E3A7A7;
    color: #eee;
    padding: 20px;
    border-radius: 12px;
    overflow-y: auto;
    max-height: 80vh;
}

#wallet-info-dialog #wi-address {
    background-color: #333;
    color: #65FF00;
}


#wallet-info-dialog .wallet-section {
    margin-bottom: 16px;
}

#wallet-info-dialog .wallet-table {
    width: 100%;
    border-collapse: collapse;
}

#wallet-info-dialog .wallet-table th,
#wallet-info-dialog .wallet-table td {
    border: 1px solid #444;
    padding: 6px 12px;
    text-align: left;
    font-family: monospace;
}

#wallet-info-dialog .wallet-table th {
    background: #B4A5A5;
    color: #fff;            /* ensure text is readable */
}

#wallet-info-dialog .wallet-table tr:nth-child(even) {
    background-color: #333; /* dark background for even rows */
    color: #65FF00;            /* ensure text is readable */
}

#wallet-info-dialog .wallet-table tr:nth-child(odd) {
    background-color: #222; /* dark background for odd rows */
    color: #65FF00;
}

#wallet-info-dialog .collapsible-header {
    cursor: pointer;
    background-color: #222;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 4px;
}

#wallet-info-dialog .collapsible-content {
    display: none;
    padding: 6px 12px;
    border-left: 2px solid #444;
    background: #111;
    margin-bottom: 8px;
}

#wallet-info-dialog button {
    cursor: pointer;
    padding: 4px 8px;
    background: #444;
    border: none;
    border-radius: 4px;
    color: #eee;
}

#wallet-info-dialog button:hover {
    background: #666;
}

/* OBJECT INSPECT */
/* MODAL STYLING */
#object-inspect-modal .dialog-content {
    max-width: 900px;
    background: #222;
    color: #eee;
    padding: 20px;
    border-radius: 12px;
    overflow-y: auto;
    max-height: 80vh;
}

.json-container {
    font-family: monospace;
    font-size: 14px;
    line-height: 1.4;
    white-space: pre-wrap;
}

.json-key {
    color: #8ecdfc;
    cursor: pointer;
}

.json-value {
    color: #f1f1f1;
}

.json-object,
.json-array {
    margin-left: 20px;
    border-left: 1px dashed #444;
    padding-left: 10px;
}

.collapse-toggle {
    color: #aaa;
    cursor: pointer;
    margin-right: 6px;
}
