﻿* {
    box-sizing: border-box;
}

.novin-server-list {
    font-family: "Vazirmatn", "Tahoma", sans-serif;
    direction: rtl;
    text-align: right;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.novin-server-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s ease;
}

.novin-server-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.novin-server-logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.novin-server-info {
    flex: 1;
}

.novin-server-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #2c3e50;
}

.novin-server-mode {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.novin-mode-minecraft {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.novin-mode-fivem {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.novin-mode-samp {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #333;
}

.novin-server-players {
    margin: 8px 0;
}

.novin-player-count {
    font-weight: bold;
    color: #27ae60;
}

.novin-server-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.novin-status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.novin-status-online {
    background-color: #27ae60;
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.5);
}

.novin-status-offline {
    background-color: #e74c3c;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.5);
}

.novin-last-update {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 5px;
}

.novin-refresh-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.novin-loading {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 768px) {
    .novin-server-card {
        flex-direction: column;
        text-align: center;
    }
    
    .novin-server-logo {
        width: 60px;
        height: 60px;
    }
    
    .novin-server-name {
        font-size: 1.1rem;
    }
}

