/* Dashboard Page Styles */
/* < 150 regels conform project-standards.md */

.dashboard-header {
    text-align: center;
    margin: 2rem 0;
}

.dashboard-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Team Stats */
.team-stats {
    margin: 1rem 0;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.stat:last-child {
    border-bottom: none;
}

.stat-label {
    color: #666;
}

.stat-value {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.team-actions {
    margin-top: 1.5rem;
}

.team-actions .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Ranking Preview */
.ranking-preview {
    margin: 1rem 0;
}

.rank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.rank-item:last-child {
    border-bottom: none;
}

.rank-pos {
    font-weight: bold;
    color: var(--primary-color);
    width: 30px;
}

.rank-name {
    flex: 1;
    margin-left: 10px;
}

.rank-points {
    font-weight: bold;
    color: #666;
}

.rank-item.current-user {
    background: rgba(151, 188, 98, 0.1);
    border-radius: var(--border-radius);
    padding: 12px;
    margin: 5px 0;
}

.rank-item.current-user .rank-pos,
.rank-item.current-user .rank-points {
    color: var(--accent-color);
}

/* Fixtures Grid */
.fixtures-grid {
    display: grid;
    gap: 10px;
    margin: 1rem 0;
}

.fixture {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.fixture-date {
    font-size: 0.9rem;
    color: #666;
    width: 80px;
}

.fixture-match {
    flex: 1;
    font-weight: 500;
    margin: 0 10px;
}

.fixture-time {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Updates List */
.updates-list {
    margin: 1rem 0;
}

.update-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.update-item:last-child {
    border-bottom: none;
}

.update-time {
    font-size: 0.8rem;
    color: #999;
    width: 100px;
    flex-shrink: 0;
}

.update-text {
    margin-left: 15px;
    color: #333;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .team-actions .btn {
        width: 100%;
        margin-right: 0;
    }
    
    .fixture {
        flex-direction: column;
        text-align: center;
    }
    
    .fixture-date,
    .fixture-match,
    .fixture-time {
        width: 100%;
        margin: 2px 0;
    }
    
    .update-item {
        flex-direction: column;
    }
    
    .update-time {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .update-text {
        margin-left: 0;
    }
}