

.predictions-container {
    
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 80%;
    margin: auto;
    margin-top: 15px;
}

.predictions-card {
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

.predictions-card h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 700;
}

.prediction-card {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px;
    margin-bottom: 12px;

    border-radius: 12px;
    background: #f8f9fa;

    transition: .2s ease;
}

.prediction-card:hover {
    transform: translateY(-2px);
    background: #f1f3f5;
}

.match-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 90px;
}

.team img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.team span {
    font-weight: 600;
}

.score {
    font-size: 1.2rem;
    font-weight: 700;
    min-width: 80px;
    text-align: center;
}

.points {
    background: #198754;
    color: white;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
}

.live {
    border-left: 5px solid #dc3545;
    background: #fff5f5;
}

.live-badge {
    background: #dc3545;
    color: white;
    font-size: .8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    animation: pulse 1.5s infinite;
}

.empty-message {
    color: #6c757d;
    text-align: center;
    padding: 15px;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}
.prediction-header {
    background: linear-gradient(135deg, #3f3f3f, #555555);
    color: white;

    padding: 25px 30px;
    margin-bottom: 25px;

    border-radius: 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.prediction-header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.prediction-header span {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(5px);

    padding: 10px 18px;
    border-radius: 999px;

    font-size: 1rem;
    font-weight: 600;
}

.user {
    display: flex;
    flex-direction: column;

    padding: 10px 16px;

    background: linear-gradient(135deg, #f8f9fa, #eef2f6);

    border-left: 4px solid #198754;
    border-radius: 10px;

    min-width: 200px;
}

.user span:first-child {
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
}

.user span:last-child {
    margin-top: 4px;
    font-size: .85rem;
    color: #495057;
}

@media (max-width: 840px){
    .prediction-card{
        flex-direction: column;
    }
    .match-info{
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}