/* Wrapper da Seção */
.remove-bg-wrapper {
    margin: 40px 0;
}

/* Estilos para o Conversor de Fundo */
.remove-bg-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.remove-bg-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

/* Estilo para a área de upload */
.file-upload-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.upload-button {
    padding: 10px 20px;
    background-color: #2575fc;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.upload-button:hover {
    background-color: #1d63cc;
}

#file-name-display {
    font-size: 0.9rem;
    color: #555;
}

/* Estilo para as opções de cores */
.color-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.color-circle {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.color-circle:hover {
    transform: scale(1.2);
}

.color-circle.selected {
    border: 3px solid #333;
}

/* Estilo para o resultado */
#result {
    margin-top: 20px;
    text-align: center;
}

#result canvas {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Estilo para o botão de download */
.download-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease-in-out;
}

.download-link:hover {
    background-color: #45a049;
    transform: scale(1.1);
}

/* Responsividade */
@media (max-width: 600px) {
    .color-options {
        flex-wrap: wrap;
    }

    .color-circle {
        margin: 5px;
    }

    .file-upload-wrapper {
        gap: 5px;
    }
}
