.matchbox-ui-wrapper {
    max-width: 100% !important;
    overflow-x: auto;
	 -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;    /* Firefox */
    background: var(--matchbox-main-container-bg-color, #fdfdfd);
    padding: 20px 10px;
    box-shadow: inset 0 1px 2px #eee;
}
.matchbox-ui-wrapper::-webkit-scrollbar {
  display: none;       /* Chrome, Safari, Opera */
}
.matchbox-ui-track {
    display: flex;
	 flex-wrap: wrap;
    gap: 16px;
    min-width: max-content;
}
.matchbox-ui-card {
    background: #fff;
    min-width: 280px;
    max-width: 320px;
    flex-shrink: 0;
    border: 1px solid #e4e4e4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}
.matchbox-ui-card:hover {
    transform: translateY(-2px);
}
.matchbox-ui-header {
    background: #f8f9fa;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    color: var(--matchbox-text-color, #555) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.matchbox-ui-type {
    background: var(--matchbox-primary-color, #228B22);
    color: white !important;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
}
.matchbox-ui-body {
    padding: 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.matchbox-ui-team {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}
.matchbox-ui-status {
    font-size: 13px;
    color: var(--matchbox-text-color, #e53935) !important;
}
.matchbox-ui-status.green {
    color: var(--matchbox-primary-color, #228B22) !important;
}
.matchbox-ui-footer {
    background: var(--matchbox-secondary-color, #eaf7e7);
    padding: 10px 14px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #d4e8d1;
}
.matchbox-ui-footer a {
    color: var(--matchbox-link-color, #228B22) !important;
    text-decoration: none;
    font-weight: 600;
}

.matchbox-ui-team span
{
color: var(--matchbox-text-color, #000) !important;
font-size:12px !important;
}

.matchbox-ui-team-name {
    color: var(--matchbox-text-color, #000) !important;
    font-weight: 600;
}

.matchbox-ui-team-score {
    color: var(--matchbox-text-color, #000) !important;
    font-weight: 600;
}

.matchbox-ui-header-text {
    color: var(--matchbox-text-color, #555) !important;
    font-weight: 500;
}

.matchbox-ui-footer-schedule {
    color: var(--matchbox-text-color, #666);
}

.matchbox-ui-footer-points {
    color: var(--matchbox-link-color, #228B22);
    font-weight: 600;
}

.matchbox-ui-header div:first-child {
	color: var(--matchbox-text-color, #555) !important;
	font-weight:500 !important;
}

.matchbox-ui-header div:nth-child(2) {
    color: var(--matchbox-background-color, #fff) !important; 
  
}

/* Responsive Design */
@media (max-width: 1200px) {
    .matchbox-ui-card {
        min-width: 260px;
        max-width: 300px;
    }
}

@media (max-width: 992px) {
    .matchbox-ui-wrapper {
        padding: 15px 8px;
    }
    .matchbox-ui-card {
        min-width: 240px;
        max-width: 280px;
    }
    .matchbox-ui-header {
        padding: 8px 12px;
        font-size: 11px;
    }
    .matchbox-ui-body {
        padding: 10px 12px;
    }
    .matchbox-ui-footer {
        padding: 8px 12px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .matchbox-ui-wrapper {
        padding: 12px 5px;
    }
    .matchbox-ui-track {
        gap: 12px;
    }
    .matchbox-ui-card {
        min-width: 220px;
        max-width: 260px;
    }
    .matchbox-ui-header {
        padding: 8px 10px;
        font-size: 10px;
    }
    .matchbox-ui-body {
        padding: 8px 10px;
        gap: 6px;
    }
    .matchbox-ui-team span {
        font-size: 11px !important;
    }
    .matchbox-ui-status {
        font-size: 12px;
    }
    .matchbox-ui-footer {
        padding: 8px 10px;
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .matchbox-ui-wrapper {
        padding: 10px 5px;
    }
    .matchbox-ui-track {
        gap: 10px;
        justify-content: center;
    }
    .matchbox-ui-card {
        min-width: 200px;
        max-width: 240px;
    }
    .matchbox-ui-header {
        padding: 6px 8px;
        font-size: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .matchbox-ui-type {
        font-size: 9px;
        padding: 2px 6px;
    }
    .matchbox-ui-body {
        padding: 8px;
        gap: 5px;
    }
    .matchbox-ui-team {
        font-weight: 500;
    }
    .matchbox-ui-team span {
        font-size: 10px !important;
    }
    .matchbox-ui-status {
        font-size: 11px;
    }
    .matchbox-ui-footer {
        padding: 6px 8px;
        font-size: 9px;
    }
}

@media (max-width: 400px) {
    .matchbox-ui-card {
        min-width: 180px;
        max-width: 220px;
    }
    .matchbox-ui-header {
        padding: 6px;
    }
    .matchbox-ui-body {
        padding: 6px;
    }
    .matchbox-ui-team span {
        font-size: 9px !important;
    }
    .matchbox-ui-footer {
        padding: 6px;
        font-size: 8px;
    }
}