/* Video Compressor Styles */
.tool-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #333;
}

.tool-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tool-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.tool-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.upload-area:hover {
    border-color: #6e8efb;
    background-color: #f5f7ff;
}

.upload-icon {
    font-size: 2.5rem;
    color: #6e8efb;
    margin-bottom: 1rem;
}

.upload-area h3 {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
    color: #2c3e50;
}

.upload-area p {
    color: #95a5a6;
    margin: 1rem 0;
}

.btn-primary {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 142, 251, 0.3);
}

/* File Preview */
.file-preview {
    margin-bottom: 2rem;
    display: none;
}

/* Options Container */
.options-container {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.options-container h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.option-group input[type="range"] {
    width: 100%;
    margin-bottom: 0.5rem;
}

.option-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.hint {
    display: block;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 0.25rem;
}

/* Results Section */
.compression-results {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.compression-results h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

#resultsContainer {
    margin-bottom: 1.5rem;
}

/* How It Works */
.how-it-works {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.how-it-works h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    margin-bottom: 1rem;
}

.step-number {
    width: 36px;
    height: 36px;
    background: #6e8efb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-weight: bold;
}

.info-box {
    background: rgba(110, 142, 251, 0.05);
    border-left: 3px solid #6e8efb;
    padding: 1rem;
    border-radius: 0 6px 6px 0;
}

.info-box h4 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box h4 i {
    color: #6e8efb;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 1.5rem;
    }
}