/* TeamSpeak Otomasyon Eklentisi CSS */

.teamspeak-container {
    margin: 10px 0;
}

.teamspeak-server-info {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.teamspeak-server-info h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.teamspeak-stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.teamspeak-stat {
    flex: 1;
    min-width: 150px;
    margin: 5px;
    padding: 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    text-align: center;
}

.teamspeak-stat strong {
    display: block;
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
}

.teamspeak-stat span {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.teamspeak-form {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.teamspeak-form h3 {
    margin: 0 0 15px 0;
    color: #333;
}

.teamspeak-form input[type="text"],
.teamspeak-form input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 10px;
}

.teamspeak-form button {
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.teamspeak-form button:hover {
    background: #45a049;
}

.teamspeak-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.teamspeak-table th,
.teamspeak-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.teamspeak-table th {
    background: #f5f5f5;
    font-weight: bold;
    color: #333;
}

.teamspeak-table tr:hover {
    background: #f9f9f9;
}

.teamspeak-action-btn {
    padding: 5px 10px;
    margin: 2px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.teamspeak-kick-btn {
    background: #ff9800;
    color: white;
}

.teamspeak-kick-btn:hover {
    background: #f57c00;
}

.teamspeak-ban-btn {
    background: #f44336;
    color: white;
}

.teamspeak-ban-btn:hover {
    background: #d32f2f;
}

.teamspeak-delete-btn {
    background: #9c27b0;
    color: white;
}

.teamspeak-delete-btn:hover {
    background: #7b1fa2;
}

.teamspeak-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.teamspeak-error {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828;
    padding: 10px;
    border-radius: 3px;
    margin: 10px 0;
}

.teamspeak-success {
    background: #e8f5e8;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
    padding: 10px;
    border-radius: 3px;
    margin: 10px 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .teamspeak-stats {
        flex-direction: column;
    }
    
    .teamspeak-stat {
        min-width: auto;
    }
    
    .teamspeak-table {
        font-size: 12px;
    }
    
    .teamspeak-table th,
    .teamspeak-table td {
        padding: 5px;
    }
} 