.metro-status {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    color: #333;
}

.metro-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #ff122d;
    color: white;
}

.metro-status-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.metro-refresh-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.metro-refresh-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.metro-server-info {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

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

.info-item i {
    color: #ff122d;
    font-size: 1.1rem;
}

.info-item span {
    font-size: 0.8rem;
    color: #666;
}

.info-item strong {
    font-size: 1rem;
    font-weight: 600;
}

.metro-players-section {
    padding: 15px 20px;
}

.players-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.players-header h4 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.players-count {
    color: #ff122d;
    font-weight: 600;
}

.auto-refresh-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #666;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4caf50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.players-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.team-column {
    background: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
}

.team-header {
    padding: 10px 15px;
    color: white;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.team1 .team-header {
    background: #3a7bd5;
}

.team2 .team-header {
    background: #ff122d;
}

.team-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.player-grid-header {
    display: grid;
    grid-template-columns: 40px 30px 1fr 60px 50px 50px 50px;
    gap: 8px;
    padding: 8px 15px;
    background: #f0f0f0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    align-items: center;
}

.player-row {
    display: grid;
    grid-template-columns: 40px 30px 1fr 60px 50px 50px 50px;
    gap: 8px;
    padding: 8px 15px;
    align-items: center;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

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

.player-row:hover {
    background: #f5f5f5;
}

.col-country img {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.col-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.col-score {
    font-weight: 600;
    color: #333;
    text-align: center;
}

.col-kills, .col-deaths, .col-ping, .col-rank {
    text-align: center;
    font-weight: 600;
}

.team1 .col-kills {
    color: #3a7bd5;
}

.team2 .col-kills {
    color: #ff122d;
}

.col-deaths {
    color: #666;
}

.metro-status-footer {
    padding: 10px 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    justify-content: flex-end;
}

.last-update {
    display: flex;
    align-items: center;
    gap: 8px;
}

.last-update i {
    color: #ff122d;
}

.metro-error {
    padding: 20px;
    text-align: center;
    color: #d32f2f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.no-players {
    padding: 20px;
    text-align: center;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .players-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .player-grid-header,
    .player-row {
        grid-template-columns: 30px 25px 1fr 50px 40px 40px 40px;
        font-size: 0.8rem;
        gap: 5px;
        padding: 8px 10px;
    }
}
