/* public/css/match-ups.css */

/* Custom background pattern for the section */
.bg-pattern-overlay {
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23FFFFFF" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    background-size: 60px 60px; /* Adjust as needed */
}

/* Base styling for card and match details */
.fixture-day-card {
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    /* Add a subtle glow effect */
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.fixture-day-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 25px rgba(0, 0, 0, 0.5);
}

.match-card {
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Subtle inner border */
}

.match-card:hover {
    transform: scale(1.01);
}

/* Ensure images maintain aspect ratio */
.match-card img {
    object-fit: cover;
    flex-shrink: 0; /* Prevent images from shrinking */
}

/* Improve select and input fields within dynamic sections */
select.focus\:ring-accent-orange:focus,
input.focus\:ring-accent-orange:focus {
    outline: none !important;
    border-color: transparent !important;
    box-shadow: 0 0 0 3px rgba(204, 85, 0, 0.4) !important; /* accent-orange with opacity */
}

/* Custom scrollbar for potential long match lists */
.space-y-4 {
    /* If you expect many matches, consider max-height and overflow-y: auto */
    /* max-height: 300px; */
    /* overflow-y: auto; */
    /* padding-right: 10px; /* Space for scrollbar */
}

/* Optional: Custom scrollbar styles (Webkit browsers) */
/*
.space-y-4::-webkit-scrollbar {
    width: 8px;
}
.space-y-4::-webkit-scrollbar-track {
    background: #333;
    border-radius: 10px;
}
.space-y-4::-webkit-scrollbar-thumb {
    background: #fe5451;
    border-radius: 10px;
}
.space-y-4::-webkit-scrollbar-thumb:hover {
    background: #A34300;
}
*/