/* css/resizer.css - Upload page styles only */

main {
    padding: 2rem 1rem;
    background-color: var(--bg-main);
}

/* Main resizer tool section */
.resizer-tool-section {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    padding: 1.5rem;
    background-color: var(--bg-surface);
    border-radius: 12px;
    box-shadow: var(--shadow-main-medium);
    border: 1px solid var(--border-main);
}

/* Upload area styles */
.upload-area {
    border: 2px dashed var(--border-main);
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--bg-main);
    transition: all .2s ease;
    cursor: pointer;
    margin-bottom: 2rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--accent-main);
    background: var(--bg-subtle);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--accent-main-rgb), 0.15);
}

.upload-icon {
    width: 64px;
    height: 64px;
    color: var(--accent-main);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.upload-area:hover .upload-icon {
    transform: scale(1.1);
    opacity: 1;
}

.upload-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-headings);
    margin: 0;
}

.upload-subtext {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
}

.upload-formats {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Loading state for upload */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-main);
    border-top-color: var(--accent-main);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Content sections below the tool */
.page-content-below-tool {
    background-color: var(--bg-main);
}

.how-to-use-resizer {
    background-color: var(--bg-wash);
}

/* Step items without images - more compact */
.how-to-use-resizer .step-item {
    padding: 1.5rem 1.25rem;
}

.how-to-use-resizer .step-item p {
    margin-bottom: 0;
}

.features-section.resizer-features {
    background-color: var(--bg-surface);
}

.resizer-features .feature-item .feature-icon-alt {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.testimonials-section.resizer-testimonials {
    background-color: var(--bg-wash);
}

.resizer-testimonials .testimonial-rating {
    margin-bottom: .75rem;
    font-size: 1rem;
    color: #f59e0b;
}

.resizer-testimonials .testimonial-rating .verified-badge {
    font-size: .8rem;
    color: var(--text-secondary);
    margin-left: 8px;
    font-weight: 500;
    background-color: var(--bg-subtle);
    padding: 2px 6px;
    border-radius: 4px;
}

.resizer-testimonials .testimonial-card h4 {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    margin-bottom: .5rem;
    color: var(--text-headings);
}

.faq-section.resizer-faq {
    background-color: var(--bg-surface);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    main {
        padding: 1rem 0.5rem;
    }
    
    .resizer-tool-section {
        padding: 1rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
        min-height: 150px;
    }
    
    .upload-icon {
        width: 48px;
        height: 48px;
    }
    
    .upload-text {
        font-size: 1.1rem;
    }
    
    .upload-subtext {
        font-size: 0.9rem;
    }
    
    .spinner {
        width: 32px;
        height: 32px;
        border-width: 3px;
    }
    
    .loading-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .upload-area {
        padding: 1.5rem 1rem;
    }
    
    .upload-icon {
        width: 40px;
        height: 40px;
    }
    
    .upload-text {
        font-size: 1rem;
    }
    
    .upload-subtext {
        font-size: 0.85rem;
    }
    
    .upload-formats {
        font-size: 0.8rem;
    }
}