/**
 * Balance Display Component Styles
 * Arcade-themed styling for unified balance component
 */

.balance-display {
    background: #fff;
    border: 4px solid #1a1a1a;
    border-radius: 0;
    padding: 20px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
}

.balance-header {
    border-bottom: 3px solid #1a1a1a;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.balance-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.balance-wallet {
    margin: 0;
    font-size: 0.9em;
    color: #666;
    font-weight: bold;
}

.balance-content {
    margin: 20px 0;
}

.balance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    border: 3px solid #1a1a1a;
    background: #f5f5f5;
}

.balance-item.balance-mnm {
    border-color: #4a90e2;
    background: #e3f2fd;
}

.balance-item.balance-tickets {
    border-color: #d4423e;
    background: #ffebee;
}

.balance-label {
    font-size: 1.1em;
    font-weight: bold;
    color: #1a1a1a;
    text-transform: uppercase;
}

.balance-value {
    font-size: 1.3em;
    font-weight: bold;
    color: #1a1a1a;
}

.balance-footer {
    border-top: 2px dashed #ccc;
    padding-top: 15px;
    margin-top: 15px;
}

.balance-note {
    margin: 0;
    font-size: 0.85em;
    color: #666;
    text-align: center;
}

/* Disconnected state */
.balance-disconnected {
    background: #f5f5f5;
    border-style: dashed;
}

.balance-message {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 1.1em;
}

/* Connected state animation */
.balance-connected {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .balance-display {
        padding: 15px;
        margin: 15px 0;
    }

    .balance-header h3 {
        font-size: 1.2em;
    }

    .balance-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
    }

    .balance-label {
        font-size: 1em;
        margin-bottom: 5px;
    }

    .balance-value {
        font-size: 1.2em;
    }
}

/* Loading animation (optional - can be added later) */
.balance-loading {
    opacity: 0.6;
    pointer-events: none;
}

.balance-loading::after {
    content: "Loading...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #1a1a1a;
}
