/* ARK Server Status - Estilos */
.ark-servers-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.ark-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.ark-stats-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    align-items: center;
    background: #f5f5f5;
    padding: 15px 20px;
    border-radius: 12px;
}

.ark-stat {
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ark-stat-label {
    font-size: 12px;
    color: #666;
    display: block;
}

.ark-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

.ark-refresh-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    margin-left: auto;
    transition: all 0.3s;
}

.ark-refresh-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.ark-servers-grid {
    display: grid;
    gap: 20px;
}

.ark-server-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.ark-server-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ark-server-header {
    background: #2c3e50;
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ark-server-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.ark-server-icon {
    font-size: 20px;
}

.ark-server-status {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.ark-server-status.online {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.ark-server-status.empty {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
}

.ark-server-status.offline {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.ark-server-body {
    padding: 16px;
}

.ark-player-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 15px;
}

.ark-count {
    font-size: 28px;
    font-weight: 800;
    color: #3498db;
}

.ark-label {
    font-size: 13px;
    color: #666;
}

.ark-players-list {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.ark-players-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.ark-players-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ark-players-list li {
    font-size: 13px;
    padding: 4px 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.ark-more {
    color: #999;
    font-style: italic;
}

.ark-connect-info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.ark-ip {
    background: #f0f0f0;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-family: monospace;
    cursor: pointer;
    display: inline-block;
    transition: all 0.2s;
}

.ark-ip:hover {
    background: #3498db;
    color: white;
}

/* Connect Info Container */
.ark-connect-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.ark-connect-container h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.ark-connect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.ark-connect-item {
    background: white;
    padding: 10px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    border: 1px solid #e0e0e0;
}

.ark-game-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #e74c3c;
    color: white;
}

.ark-connect-string {
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-family: monospace;
    cursor: pointer;
    margin-left: auto;
}

.ark-connect-string:hover {
    background: #3498db;
    color: white;
}

/* Error */
.ark-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

/* Loading */
.ark-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .ark-servers-grid {
        grid-template-columns: 1fr !important;
    }
    
    .ark-stats-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ark-refresh-btn {
        margin-left: 0;
    }
    
    .ark-connect-grid {
        grid-template-columns: 1fr;
    }
}

/* Toast para copiar */
.ark-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    transition: transform 0.3s;
    z-index: 9999;
}

.ark-toast.show {
    transform: translateX(-50%) translateY(0);
}