/* Admin Panel Styles */
.admin-container {
    max-width: 100%;
    padding: 1rem;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

.admin-tab-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.admin-tab-btn.active {
    background: #007bff;
    color: white;
}

.admin-tab-btn:hover {
    background: #e0e0e0;
}

.admin-tab-content {
    padding: 1rem 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    margin: 0;
    font-size: 2rem;
    color: #007bff;
}

.stat-card p {
    margin: 0.5rem 0 0 0;
    color: #666;
}

/* User List */
.user-item, .admin-item, .channel-item, .queue-item {
    background: white;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    justify-content: between;
    align-items: center;
}

.user-info, .admin-info, .channel-info {
    flex: 1;
}

.user-actions, .admin-actions, .channel-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Forms */
.form-input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary { background: #007bff; color: white; }
.btn-danger { background: #dc3545; color: white; }
.btn-success { background: #28a745; color: white; }
.btn-warning { background: #ffc107; color: black; }
.btn-info { background: #17a2b8; color: white; }
.btn-secondary { background: #6c757d; color: white; }

.btn-primary, .btn-danger, .btn-success, .btn-warning, .btn-info, .btn-secondary {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover { background: #0056b3; }
.btn-danger:hover { background: #c82333; }
.btn-success:hover { background: #218838; }
.btn-warning:hover { background: #e0a800; }
.btn-info:hover { background: #138496; }
.btn-secondary:hover { background: #545b62; }

/* Badges */
.admin-badge, .owner-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.admin-badge {
    background: #ffc107;
    color: black;
}

.owner-badge {
    background: #28a745;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-tabs {
        flex-direction: column;
    }
    
    .user-item, .admin-item, .channel-item {
        flex-direction: column;
        text-align: center;
    }
    
    .user-actions, .admin-actions, .channel-actions {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}