.bg-remover-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin-bottom: 20px;
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #0066ff;
    background: #f0f7ff;
}

.upload-button {
    background: #0066ff;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.upload-button:hover {
    background: #0052cc;
}

.preview-area, .output-area {
    display: none;
    margin-top: 20px;
}

.preview-area img, .output-area img {
    max-width: 100%;
    height: auto;
}

.controls {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.size-options {
    margin-bottom: 20px;
}

.size-options label {
    font-weight: bold;
    margin-right: 10px;
}

.size-options select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

@media (max-width: 768px) {
    .bg-remover-container {
        margin: 0px;
        padding: 10px;
    }
    
    .controls {
        flex-direction: column;
    }
}

.dragover {
    border-color: #0066ff;
    background: #f0f7ff;
}

.loader {
    text-align: center;
    padding: 20px;
    font-weight: bold;
    color: #0066ff;
}

.element .style .h2 {
font-size: 30px;
}

.options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.size-options, .format-options {
    flex: 1;
    margin-right: 10px;
}

.size-options label, .format-options label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.size-options select, .format-options select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}