.dengi-header {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
}

.btn-back {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.user-header-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-grow: 1;
}

.avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info-compact {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.user-info-compact span:first-child {
    font-weight: 600;
    font-size: 1rem;
}

.user-info-compact span:last-child {
    font-size: 0.9rem;
    color: #555;
}

.wallet-section-dengi,
.deposit-section,
.transactions-section-dengi {
    margin-bottom: 20px;
}

.deposit-section h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.deposit-card {
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 0;
}

.network-info {
    display: flex;
    gap: 6px;
    margin-bottom: 2px;
    align-items: center;
}

.network-badge,
.currency {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
}

.network-badge {
    background: #e3f2fd;
    border-color: #90caf9;
    color: #1976d2;
}

.currency {
    background: #e8f5e8;
    border-color: #81c784;
    color: #388e3c;
}

.deposit-address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    padding: 12px;
    background: linear-gradient(135deg, #002eff 0%, #764ba2 100%);
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.deposit-address span {
    flex: 1;
    word-break: break-all;
    line-height: 1.3;
    color: #ffffff;
    min-width: 0;
}

.btn-copy {
    background: none;
    color: white;
    border: none;
    padding: 5px 7px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0;
    font-size: 0.8rem;
    width: auto;
    border: solid 1px;
}

.btn-copy:hover {
    background: #0056b3;
}

.deposit-instructions {
    position: relative;
    background: linear-gradient(135deg, #fff8dc 0%, #ffeaa7 100%);
    border: 2px solid #fdcb6e;
    border-radius: 6px;
    padding: 12px;
    margin-top: 10px;
    color: #2d3436;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(253, 203, 110, 0.2);
    text-align: left;
}

.deposit-instructions p {
    margin: 0 0 8px 0;
    font-weight: 700;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 6px;
}

.deposit-instructions ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.deposit-instructions li {
    margin-bottom: 6px;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
    font-size: 1rem;
}

.deposit-instructions li::before {
    content: '💠';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9em;
}

.deposit-instructions li:last-child {
    margin-bottom: 0;
}

.deposit-instructions span {
    font-weight: 700;
    color: #000000;
    background: rgba(225, 112, 85, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Live Monitor UI */
.monitor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.monitor-header h3 {
    margin: 0;
}

.live-monitor-bar {
    background: rgba(0, 255, 0, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.pulse-icon {
    width: 8px;
    height: 8px;
    background-color: #00ff00;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(0, 255, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

#monitor-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #a8d8ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Payment Overlay */
.payment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    width: 320px;
}

.blockchain-loader {
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top-color: #4CAF50;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
    position: relative;
}

.blockchain-loader::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 3px solid transparent;
    border-top-color: #2196F3;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.overlay-content h4 {
    color: #4CAF50;
    margin: 10px 0;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.overlay-content p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.processing-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 10px;
}

.hidden {
    display: none !important;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .monitor-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .live-monitor-bar {
        width: 100%;
        justify-content: center;
    }
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fd5151;
    cursor: pointer;
}

.close-btn:hover {
    color: #000;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .deposit-address span {
        word-break: break-all;
        font-size: 0.8rem;
    }

    .network-info {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.notification.pending {
    background: #ff9800;
    color: white;
    max-width: 400px;
    padding: 12px;
}

.pending-transaction-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 8px;
    margin: 4px 0;
}

.pending-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.pending-amount {
    font-weight: bold;
    font-size: 1rem;
}

.pending-confirmations {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.pending-hash {
    opacity: 0.8;
    font-size: 0.75rem;
}

.notification.warning {
    background: #ff9800;
}