/* Styles scoped only to the converter tool */
.converter-tool {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
    margin: 0 auto; /* Center the tool horizontally */
}

.converter-tool h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #333;
}

.converter-tool .upload-box {
    margin-bottom: 1.5rem;
}

.converter-tool .upload-box input[type="file"] {
    display: none;
}

.converter-tool .upload-label {
    display: block;
    padding: 1.5rem;
    border: 2px dashed #007bff;
    border-radius: 8px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.converter-tool .upload-label:hover {
    background-color: #e6f0ff;
}

.converter-tool .upload-label span {
    font-size: 1rem;
    color: #007bff;
}

.converter-tool .file-name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.converter-tool .quality-control {
    margin-bottom: 1.5rem;
}

.converter-tool .quality-control label {
    font-size: 1rem;
    color: #333;
}

.converter-tool .quality-control input[type="range"] {
    width: 100%;
    margin-top: 0.5rem;
    accent-color: #007bff;
}

.converter-tool .download-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.converter-tool .download-button:hover {
    background-color: #0056b3;
}