/* Team Pages CSS - Minimal Styling */

.team-header {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.team-name {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.team-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.info-value {
    font-size: 1.125rem;
    color: #2c3e50;
    font-weight: 600;
}

/* Schedule Section */
.schedule-section {
    margin-bottom: 2rem;
}

.schedule-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.schedule-table {
    display: flex;
    flex-direction: column;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.schedule-header {
    display: grid;
    grid-template-columns: 80px 1fr 200px 80px 80px;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #343a40;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.schedule-row {
    display: grid;
    grid-template-columns: 80px 1fr 200px 80px 80px;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dee2e6;
    align-items: center;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row.completed {
    background: white;
}

.schedule-row.upcoming {
    background: #f8f9fa;
}

.schedule-row:hover {
    background: #e9ecef;
}

/* Column alignment */
.col-location {
    font-weight: 500;
}

.col-opponent {
    font-weight: 600;
    color: #2c3e50;
}

.col-result {
    font-size: 0.875rem;
}

.col-ats, .col-ou {
    text-align: center;
    font-size: 0.875rem;
}

/* Result styling */
.win {
    color: #28a745;
    font-weight: 600;
}

.loss {
    color: #dc3545;
    font-weight: 600;
}

.tie {
    color: #6c757d;
    font-weight: 600;
}

.ats-win {
    color: #28a745;
    font-weight: 600;
}

.ats-loss {
    color: #dc3545;
    font-weight: 600;
}

.ats-push {
    color: #6c757d;
}

.ou-over {
    color: #007bff;
    font-weight: 600;
}

.ou-under {
    color: #17a2b8;
    font-weight: 600;
}

.ou-push {
    color: #6c757d;
}

/* Preview Section */
.preview-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.preview-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.narrative-team {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.narrative-item {
    padding: 1rem;
    background: white;
    border-radius: 4px;
    border-left: 4px solid #007bff;
}

.narrative-title {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 1rem;
}

.narrative-description {
    margin: 0;
    color: #495057;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .schedule-header,
    .schedule-row {
        grid-template-columns: 60px 1fr 150px 60px 60px;
        gap: 0.5rem;
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .team-name {
        font-size: 1.5rem;
    }
    
    .team-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
