.object-remover-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.tool-header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.tool-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.step {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
}

.step.active {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: scale(1.05);
}

.step-number {
    background: currentColor;
    color: #667eea;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
}

/* Step Content */
.step-content {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Upload Section */
.upload-area {
    border: 3px dashed rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(102, 126, 234, 0.05);
}

.upload-area:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.upload-area.dragover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.15);
    transform: scale(1.02);
}

.upload-cloud {
    font-size: 4em;
    margin-bottom: 20px;
}

.upload-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    font-size: 2em;
}

/* Buttons */
.primary-btn, .secondary-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.primary-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.secondary-btn {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.secondary-btn:hover {
    background: rgba(102, 126, 234, 0.2);
}

.primary-btn.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

/* Upload Preview */
.upload-preview {
    margin-top: 30px;
}

.file-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.file-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.file-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.file-preview {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Photo Editor */
.photo-editor-container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    height: 600px;
}

.photo-list-sidebar {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    overflow-y: auto;
}

.photo-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.photo-thumb {
    width: 100%;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-thumb.active {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.photo-thumb img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
}

.photo-editor-main {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.editor-canvas-container {
    position: relative;
    flex: 1;
    background: #2c3e50;
    border-radius: 10px;
    overflow: hidden;
}

#mainCanvas, #maskCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#maskCanvas {
    cursor: crosshair;
}

/* Tool Buttons */
.tool-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tool-btn {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tool-btn.active {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.editor-controls {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.control-btn {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Results Section */
.results-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.results-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.result-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.comparison-image {
    width: 100%;
    border-radius: 5px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
}

/* Tips Section */
.tips-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tip-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.tip-icon {
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
}

/* Support Section */
.support-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.support-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.support-btn {
    padding: 12px 25px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.support-btn:hover {
    background: #667eea;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .object-remover-container {
        padding: 10px;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .photo-editor-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .upload-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .results-stats {
        grid-template-columns: 1fr;
    }
    
    .comparison-container {
        grid-template-columns: 1fr;
    }
    
    .support-buttons {
        flex-direction: column;
    }
}