.youtube-tags-generator {
    max-width: 800px;
    margin: 30px auto;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.youtube-tags-generator .container {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.youtube-tags-generator h2 {
    color: #333;
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.char-counter {
    text-align: right;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.generate-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #FF0000, #FF5252);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.generate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.results-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    min-height: 60px;
}

.tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid #bbdefb;
    cursor: pointer;
    transition: all 0.3s;
}

.tag:hover {
    background: #1976d2;
    color: white;
    transform: scale(1.05);
}

.actions {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.action-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.copy-btn {
    background: #4CAF50;
    color: white;
}

.clear-btn {
    background: #f44336;
    color: white;
}

.action-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.preview-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.preview-box h4 {
    margin-bottom: 10px;
    color: #333;
}

#tagsPreview {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: monospace;
    font-size: 14px;
    resize: vertical;
    background: white;
}

/* Responsive */
@media (max-width: 600px) {
    .youtube-tags-generator {
        padding: 15px;
        margin: 15px;
    }
    
    .youtube-tags-generator .container {
        padding: 20px;
    }
    
    .actions {
        flex-direction: column;
    }
}