
@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

  .rem-budget{
    margin-left:8px; padding:2px 8px; border-radius:6px;
    background:#111; color:#fff; font-size:.9em; font-weight:600;
  }
  .no-money-anim { animation: blink 0.6s; }
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }


        .player-container {
            position: relative;
            display: inline-block;
            margin: 5px;
            cursor: pointer;
        }

        .player-container img {
            width: 100px;
            object-fit: cover;
            border-radius: 10px;
        }

        .price-tag {
            position: absolute;
            bottom: 5px;
            right: 5px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            font-size: 14px;
            padding: 3px 6px;
            border-radius: 5px;
        }

        .selected {
            opacity: 0.5;
        }

        .placeholder {
            opacity: 0.3;
        }
        

.player-name {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 14px;
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.player-container:hover .player-name {
    opacity: 1;
}

                #capture {
            width: 800px;
            margin: auto;
            text-align: center;
        }

        #loading {
            display: none;
            margin-left: 10px;
            width: 20px;
            height: 20px;
            border: 3px solid #ccc;
            border-top: 3px solid #007bff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }
        
        .players-group {
    text-align: center;
    margin-top: 30px;
}

.players-group h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.players {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

