/* Resize Video Tool styles */

#videoContainer {
    display: none;
    flex-direction: column;
    gap: 24px;
    margin: 24px auto;
    max-width: 960px;
    align-items: center;
}

.video-preview-wrapper {
    background: #000;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.video-preview-wrapper video {
    max-width: 100%;
    max-height: 480px;
    background: #000;
    border-radius: 6px;
}

.resize-options {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    width: 100%;
    box-sizing: border-box;
}

.resize-options .option-group {
    margin-bottom: 24px;
}

.resize-options label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.resize-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.resize-btn {
    padding: 12px 22px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    transition: all 0.15s ease;
}

.resize-btn:hover:not(:disabled) {
    border-color: #667eea;
    color: #667eea;
}

.resize-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: #fff;
}

.resize-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.resize-current {
    margin-left: auto;
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

#processButton {
    width: 100%;
    margin-top: 8px;
}

#processingStatus {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

#downloadContainer {
    display: none;
    text-align: center;
    margin: 24px auto;
    max-width: 720px;
}

#downloadContainer video {
    width: 100%;
    max-height: 480px;
    background: #000;
    border-radius: 8px;
    margin: 16px 0;
}

@media (max-width: 600px) {
    .resize-buttons { gap: 6px; }
    .resize-btn { flex: 1 1 80px; padding: 10px 12px; }
    .resize-current { flex-basis: 100%; margin: 8px 0 0 0; text-align: center; }
}
