/* CSS Minifier Specific Styles */

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

/* Editor Section */
.editor-section {
    margin-bottom: var(--space-6);
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
    flex-wrap: wrap;
    gap: var(--space-3);
}

.editor-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.editor-stats,
.editor-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.stat-badge {
    padding: var(--space-2) var(--space-3);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

.stat-success {
    background: var(--success-bg);
    border-color: var(--success-color);
    color: var(--success-color);
    font-weight: 600;
}

.css-editor {
    width: 100%;
    min-height: 300px;
    padding: var(--space-4);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-primary);
    resize: vertical;
    transition: all 0.2s ease;
}

.css-editor:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color-alpha);
}

.css-editor::placeholder {
    color: var(--text-tertiary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }

    .editor-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .editor-stats,
    .editor-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .css-editor {
        min-height: 250px;
        font-size: 0.8125rem;
    }
}

/* Dark mode specific adjustments */
[data-theme="dark"] .css-editor {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .stat-badge {
    background: var(--bg-tertiary);
}

