.find-replace-tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: auto;
}

textarea {
    flex-basis: 100%;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid gray;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: auto;
    resize: both;
    min-height: 300px;
    width: 100%;
}

input {
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid gray;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
}

#replace-button {
    background-color: #4CAF50;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    border: none;
    margin-top: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

#replace-button:hover {
    background-color: #45a049;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 1rem;
}

.input-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

@media screen and (max-width: 600px) {
    .find-replace-tool {
        width: 100%;
        padding: 1rem;
    }

    textarea {
        width: 100%;
    }

    button#replace-button {
        width: 90%;
    }
}
