/* Tool-specific styles only - base styles are in tool-layout.css */

.input-section {
    margin-bottom: 48px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #e5e7eb;
}

.section-actions {
    display: flex;
    gap: 12px;
}

#cssInput {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    min-height: 240px;
    resize: vertical;
}

.conversion-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
}

.pro-option {
    color: #fbbf24;
}

.pro-option:disabled {
    color: #6b7280;
    background-color: #374151;
}

.output-section {
    margin-bottom: 48px;
}

.output-container {
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    overflow: hidden;
}

.output-empty {
    padding: 48px 32px;
    text-align: center;
    color: #9ca3af;
    font-size: 15px;
}

.output-content {
    padding: 24px;
}

.conversion-result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.conversion-result h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: #d1d5db;
}

.conversion-result pre {
    background: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 16px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #e5e7eb;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.preview-section {
    border-top: 1px solid #374151;
    padding-top: 24px;
}

.preview-section h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 500;
    color: #d1d5db;
}

.preview-container {
    background: #1a1a1a;
    border: 1px dashed #374151;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.preview-element {
    padding: 12px 24px;
    background: #374151;
    color: #e5e7eb;
    border-radius: 6px;
    font-size: 15px;
}

.output-error {
    padding: 24px;
    background: #7f1d1d;
    border: 1px solid #dc2626;
    color: #fca5a5;
    border-radius: 6px;
    margin: 16px;
}

.pro-features-section {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid #374151;
}

.pro-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pro-feature {
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.pro-feature h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #e5e7eb;
}

.pro-feature p {
    margin: 0 0 20px 0;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.5;
}

.pro-badge {
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
}

.pro-feature {
    position: relative;
}

.pro-feature::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 8px;
    z-index: -1;
    opacity: 0.1;
}

.bug-icon {
    font-size: 14px;
}

@media (max-width: 768px) {
    .conversion-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .conversion-result {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .section-actions {
        width: 100%;
    }
    
    .section-actions .btn-secondary {
        flex: 1;
    }
    
    .pro-features-grid {
        grid-template-columns: 1fr;
    }
    
    .bug-report-btn {
        bottom: 20px;
        left: 20px;
        right: auto;
    }
}