/* Custom styles for the fixture scraper application */

.team-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: invert(1);
}

.fixture-item {
    background: transparent !important;
    border: none !important;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bs-border-color) !important;
}

.fixture-item:last-child {
    border-bottom: none !important;
}

.team-info {
    flex-grow: 1;
}

.team-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.vs-text {
    text-align: center;
    font-size: 0.8rem;
    margin: 0.25rem 0;
}

.match-time {
    font-size: 0.85rem;
    color: var(--bs-info);
    white-space: nowrap;
    margin-left: 1rem;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-name {
        font-size: 0.9rem;
    }
    
    .match-time {
        font-size: 0.8rem;
        margin-left: 0.5rem;
    }
    
    .fixture-item {
        padding: 0.75rem 0;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Error states */
.team-logo[src*="help-circle"] {
    filter: invert(0.5);
}

/* Hover effects */
.fixture-item:hover {
    background-color: var(--bs-secondary-bg) !important;
    border-radius: 0.375rem;
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    transition: all 0.2s ease;
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Custom alert styling */
.alert {
    border: none;
    border-radius: 0.5rem;
}

/* Icon styling */
.fa-vs::before {
    content: "⚡";
    font-family: inherit;
    font-style: normal;
}

/* Prediction grid color styling */
.prediction-correct-score {
    background-color: #fd7e14 !important;
    color: white !important;
}

.prediction-correct-result {
    background-color: #ffc107 !important;
    color: #000 !important;
}

/* Print styles for prediction grids */
@media print {
    .no-print {
        display: none !important;
    }
    
    .prediction-grid {
        font-size: 0.8rem;
    }
    
    .table th, .table td {
        padding: 0.25rem;
        font-size: 0.7rem;
    }
}
