/* Wallet Connection in Check Results Modal */

.wallet-status-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    margin-right: 2rem;
}

.btn-connect-wallet-mini {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-connect-wallet-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.wallet-connected-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.wallet-icon {
    font-size: 1.2rem;
}

.wallet-address-mini {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 500;
}

.btn-disconnect-mini {
    background: rgba(239, 68, 68, 0.2);
    border: none;
    color: #ffffff;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.btn-disconnect-mini:hover {
    background: rgba(239, 68, 68, 0.4);
    transform: scale(1.1);
}

/* User Tickets Section */

.user-tickets-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-tickets-section .section-title {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.tickets-summary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.ticket-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.ticket-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.ticket-item.confirmed {
    border-color: rgba(76, 175, 80, 0.3);
}

.ticket-item.pending {
    border-color: rgba(255, 193, 7, 0.3);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.ticket-number {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}

.ticket-status {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ticket-status.confirmed {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.ticket-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.ticket-numbers {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #ffffff;
    word-break: break-all;
}

.ticket-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.ticket-info span {
    display: block;
}

/* No Tickets State */

.no-tickets-state {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.no-tickets-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-tickets-state p {
    margin: 0.5rem 0;
}

.no-tickets-state .hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-style: italic;
}

/* Powerball Numbers Display */

.powerball-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.number-ball {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.number-ball.powerball {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.powerball-separator {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
}

/* Responsive */

@media (max-width: 768px) {
    .wallet-status-mini {
        flex-direction: column;
        margin-right: 0;
        gap: 0.5rem;
    }

    .tickets-grid {
        grid-template-columns: 1fr;
    }
}
