/* Background Remover Specific Styles */

.preview-header {
    margin: 24px 0 16px;
    text-align: center;
}

.preview-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #e5e7eb;
}

.preview-container {
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(45deg, #1e293b 25%, transparent 25%, transparent 75%, #1e293b 75%, #1e293b),
                linear-gradient(45deg, #1e293b 25%, transparent 25%, transparent 75%, #1e293b 75%, #1e293b);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    background-color: #0f172a;
    border-radius: 12px;
    border: 1px solid #1f2937;
}

.preview-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.preview-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#preview-section {
    display: none;
}

#preview-section.active {
    display: block;
}

/* Light theme support */
[data-theme="light"] .preview-image-wrapper img {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.preview-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0;
}

.btn-download {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(30, 41, 59, 0.8);
    color: #e5e7eb;
    border: 1px solid #374151;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: #4b5563;
}

.converter-tip {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    margin-top: 24px;
    font-size: 14px;
    color: #cbd5e1;
}

.converter-tip svg {
    flex-shrink: 0;
    color: #60a5fa;
}

.converter-tip strong {
    color: #e5e7eb;
    display: block;
    margin-bottom: 4px;
}

.converter-tip a {
    color: #60a5fa;
    text-decoration: none;
}

.converter-tip a:hover {
    text-decoration: underline;
}
