﻿.prediction-item {
    position: relative;
    background: #1a1d20;
    border-radius: 12px;
    border: 1px solid #333;
    padding: 20px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

    .prediction-item:hover {
        border-color: #ffcc00;
        transform: translateY(-3px);
    }

.status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    margin: 0 !important;
    min-width: 90px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding: 4px 12px;
    border-radius: 50rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 5;
}

.status-pending {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.status-win {
    background: #198754;
    color: #fff;
}

.status-lost {
    background: #dc3545;
    color: #fff;
}

.match-teams-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    overflow: hidden;
    line-height: 1.2;
}

.team-name-row {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 800;
    color: #fff;
    font-size: 0.9rem;
    display: block;
    width: 100%;
}

.prediction-box {
    transition: background 0.5s ease;
}

    .prediction-box .fs-4 {
        margin-bottom: 15px;
    }

.final-score-in-box {
    border-top: 1px solid rgba(255,255,255,0.25);
    padding-top: 10px;
    margin-top: 5px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #fff !important;
}

.chat-bubble {
    position: relative;
    background: #23272b;
    border-radius: 12px;
    padding: 12px 15px;
    color: #ced4da;
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 20px;
    border: 1px solid #343a40;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

    .chat-bubble::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 25px;
        width: 12px;
        height: 12px;
        background: #23272b;
        border-bottom: 1px solid #343a40;
        border-right: 1px solid #343a40;
        transform: rotate(45deg);
    }

.mini-stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 15px;
    min-width: 90px;
    transition: 0.3s;
}

    .mini-stat-box:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 204, 0, 0.5);
    }
