:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #7c3aed;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #1f2937;
    --light: #f9fafb;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --border-radius: 16px;
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary)); /* Gradient from style (3) */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.nav-converter {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 14px;
}

.from-format {
    color: #ef4444;
    font-weight: 600;
}

.to-format {
    color: #10b981;
    font-weight: 700;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-home {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-home:hover {
    color: #667eea;
}

.nav-tools {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-tools:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Main Content */
.main-content {
    padding: 30px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 800;
}

.tagline {
    color: #64748b;
    font-size: 18px;
    margin-bottom: 20px;
}

.format-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.badge {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.badge-pdf {
    background-color: #fee2e2;
    color: #dc2626;
}

.badge-excel {
    background-color: #d1fae5;
    color: #059669;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    color: #64748b;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Converter Card */
.converter-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

/* Upload Area */
.upload-area {
    border: 3px dashed #cbd5e1;
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #f8fafc;
    margin-bottom: 30px;
}

.upload-area:hover {
    border-color: #667eea;
    background-color: #f0f5ff;
}

.upload-icon {
    font-size: 60px;
    color: #ef4444;
    margin-bottom: 20px;
}

.upload-title {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 600;
}

.upload-subtitle {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 15px;
}

.upload-info {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 25px;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

/* Files Container */
.files-container {
    margin-bottom: 40px;
}

.file-item {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
}

.file-item:hover {
    border-color: #667eea;
    background: #f0f5ff;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.file-icon {
    color: #ef4444;
    font-size: 24px;
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
    word-break: break-word;
}

.file-size {
    color: #64748b;
    font-size: 14px;
}

.file-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-uploading {
    background: #fef3c7;
    color: #d97706;
}

.status-success {
    background: #d1fae5;
    color: #059669;
}

/* Options */
.section-title {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 25px;
    font-weight: 700;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.option-group {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
}

.option-group h4 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 18px;
}

.format-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.format-option {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.format-option.active {
    border-color: #667eea;
    background: #f0f5ff;
}

.format-option:hover {
    border-color: #667eea;
}

.format-option input {
    position: absolute;
    opacity: 0;
}

.option-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.option-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 16px;
}

.option-desc {
    color: #64748b;
    font-size: 14px;
}

.checkbox-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-option input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.checkbox-option input:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-option input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
}

.checkbox-label {
    font-weight: 500;
    color: #1e293b;
}

.option-hint {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 5px;
    margin-left: 32px;
}

.convert-button-container {
    text-align: center;
    margin-top: 30px;
}

/* Progress */
.progress-container {
    margin: 40px 0;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 6px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: #1e293b;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.progress-details {
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* Results */
.results-container {
    margin-top: 40px;
}

.result-card {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 30px;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.result-icon {
    font-size: 40px;
    color: #059669;
}

.result-title {
    font-size: 22px;
    font-weight: 700;
    color: #065f46;
    word-break: break-word;
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #059669;
    margin-bottom: 5px;
}

.stat-label {
    color: #047857;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 640px) {
    .result-actions {
        flex-direction: row;
    }
}

/* Info Card */
.info-card {
    background: linear-gradient(135deg, #f0f5ff 0%, #e0e7ff 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
}

.info-card h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.steps-list {
    list-style: decimal;
    padding-left: 25px;
    color: #475569;
}

.steps-list li {
    margin-bottom: 10px;
    padding-left: 10px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 20px;
}

.feature-card h4 {
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-card p {
    color: #64748b;
    font-size: 14px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-sub {
    color: #94a3b8;
    margin: 10px 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 20px 25px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: slideIn 0.3s ease;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.toast i {
    font-size: 20px;
}

.toast-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.toast-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.toast-info {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .converter-card {
        padding: 25px;
    }
    
    .upload-area {
        padding: 30px 20px;
    }
    
    .btn-lg {
        width: 100%;
    }
    
    .toast {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .result-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* Additional styles for professional converter */

.warning-box {
    background: #fffbeb;
    border: 2px solid #f59e0b;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #92400e;
}

.warning-box i {
    font-size: 24px;
    color: #f59e0b;
}

.full-width {
    grid-column: 1 / -1;
}

.quality-control {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
}

.quality-item {
    margin-bottom: 25px;
}

.quality-item:last-child {
    margin-bottom: 0;
}

.quality-item label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #374151;
}

.slider-container {
    position: relative;
}

.slider-container input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: #e5e7eb;
    border-radius: 4px;
    outline: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #6b7280;
    font-size: 12px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-header h4 {
    color: #374151;
    font-size: 18px;
}

#progressPercent {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    border: 2px solid #e5e7eb;
}

.step.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.convert-note {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.seo-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.seo-content h2 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 24px;
}

.seo-content p {
    color: #475569;
    margin-bottom: 25px;
    line-height: 1.6;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.content-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #667eea;
}

.content-item h3 {
    color: #374151;
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-item p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 0;
}

/* Preview styles */
.preview-container {
    margin-top: 30px;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    padding: 20px;
    background: #f9fafb;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.preview-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.preview-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.preview-icon {
    font-size: 24px;
    color: #667eea;
    margin-bottom: 10px;
}

.preview-count {
    font-size: 20px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 5px;
}

.preview-label {
    color: #6b7280;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced results */
.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.stat-box.enhanced {
    background: white;
    border: 2px solid #d1fae5;
}

.stat-box.enhanced .stat-value {
    font-size: 28px;
}

/* File preview */
.file-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f0f5ff;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
}

.file-preview-icon {
    font-size: 32px;
    color: #667eea;
}

.file-preview-info h5 {
    color: #374151;
    margin-bottom: 5px;
    font-size: 16px;
}

.file-preview-info p {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
}

/* Loading animation */
.loading-pulse {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #667eea;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Mobile improvements */
@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step {
        width: 100%;
        text-align: left;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* Upload Progress */
.upload-progress {
    margin-top: 8px;
}

.upload-progress .progress-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.upload-progress .progress-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 2px;
    transition: width 0.3s;
}

.upload-progress .progress-text {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
    text-align: right;
}

/* File Name Large */
.file-name-large {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    word-break: break-word;
}

/* Processing State */
.btn.processing {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Toast Close Button */
.toast-close {
    background: none;
    border: none;
    color: white;
    opacity: 0.7;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    transition: opacity 0.3s;
}

.toast-close:hover {
    opacity: 1;
}

/* Warning Tips */
.conversion-tips.warning {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.conversion-tips.warning h5 {
    color: #92400e;
}

.conversion-tips.warning li:before {
    color: #f59e0b;
}

/* Responsive improvements */
@media (max-width: 640px) {
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .file-status {
        align-self: flex-start;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .result-actions .btn {
        width: 100%;
    }
}

/* Animation for file items */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-item {
    animation: fadeIn 0.3s ease-out;
}

/* Loading state for files */
.file-status .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Enhanced progress steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 30px;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
    min-width: 100px;
    text-align: center;
}

.step.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Quality slider enhancement */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.file-type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 10px;
    vertical-align: middle;
}

.file-type-badge.success {
    background-color: #d1fae5;
    color: #059669;
}

.file-type-badge.warning {
    background-color: #fef3c7;
    color: #d97706;
}

.file-type-badge.info {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.preview-method {
    font-size: 10px;
    color: #6b7280;
    margin-top: 3px;
}