@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

.match-status {
    color:#fff; 
    font-size:10px;
    background-color: #54535c;
    padding: 2px;
    border-radius: 2px;
}

.match-live {
    display: inline-flex;
    border-radius: 2px;
    overflow: hidden;
    gap: 0;
}

.time-match {
    background:black;
    color: white;
    padding: 0 1px 0 1px;
}
.status-match {
    background:red;
    color: white;
    padding: 0 1px 0 1px;
}

#match-popup-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: none;
}

.card {
    background-color: #3c393ef2;
    border-radius: 1.5rem;
    padding: 1.2rem;
    width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Roboto', sans-serif;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.card.active {
    opacity: 1;
    transform: translateX(0);
}

.multi-match-container {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    max-width: 1100px; /* Adjust based on screen size and number of matches */
    flex-wrap: wrap;
}

.multi-match-card {
    background-color: #3c393ef2;
    border-radius: 1.5rem;
    padding: 1.2rem;
    width: 390px; /* Slightly reduced width for multiple cards */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Roboto', sans-serif;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.multi-match-card.active {
    opacity: 1;
    transform: translateX(0);
}

.header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.header img {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease-in-out;
}

.header img:hover {
    transform: scale(1.1);
}

.header h2 {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    padding-bottom: 3px;
}

.header p {
    margin: 0;
    font-size: 0.8rem;
    color: #d1d5db;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header p i {
    font-style: normal;
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/svgs/solid/map-marker-alt.svg') no-repeat center;
    background-size: contain;
}

.header p strong {
    font-weight: 700;
}

.match {
    background-color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    /* gap: 0.5rem; */
    gap: 0;
    padding: 0.3rem 0.3rem;
    margin-bottom: 0.6rem;
    /* height: 70px; */
}

.match:hover {
    transform: scale(1.02);
}

.team-name {
    color: black;
    font-weight: 600;
    text-align: center;
    max-width: 60px;
    min-width: 60px;
    line-height: 1.2;
    font-size: 9pt;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.team-logo:hover {
    transform: scale(1.1);
}

.vs {
    color: black;
    font-weight: 700;
    font-size: 1.1rem;
    width: 40px;
    text-align: center;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #d1d5db;
}

.btn-notify {
    background: none;
    border: none;
    color: #d1d5db;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.3s ease-in-out;
}

.btn-notify:hover {
    color: #ffffff;
}

.btn-match {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
    background: transparent;
    color: #d1d5db;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.3s ease-in-out;
    font-family: inherit;
}

.btn-match i {
    font-style: normal;
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/svgs/solid/play.svg') no-repeat center;
    background-size: contain;
}

.btn-match:hover {
    background-color: white;
    color: rgb(110, 108, 121)b2;
    transform: scale(1.05);
}

@media (max-width: 1100px) {
    .multi-match-container {
        max-width: 720px; /* Adjust for smaller screens */
    }
    .multi-match-card {
        width: 400px;
    }
}

@media (max-width: 400px) {
    .card, .multi-match-card {
        width: 320px;
        padding: 0.8rem;
    }

    .header img {
        width: 32px;
        height: 32px;
    }

    .header h2 {
        font-size: 0.9rem;
    }

    .header p {
        display: none;
    }

    .match {
        gap: 0.8rem;
        padding: 0.6rem 0.8rem;
        height: 39px;
    }

    .team-name {
        max-width: 80px;
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .team-logo {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }

    .vs {
        font-size: 1rem;
        width: 25px;
    }

    .footer {
        font-size: 0.75rem;
    }

    .btn-match {
        padding: 0.3rem 0.6rem;
    }

    .btn-match i {
        width: 10px;
        height: 10px;
    }

    .multi-match-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.multi-match-card {
    background: #3c393ef2;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
}
}