/* General Styles */

/* Drag & Drop Upload Box */
#drop-zone {
    margin-top: 20px; /* Adds space above the drag & drop area */
    border: 2px dashed #ff5600;
    padding: 20px;
    cursor: pointer;
    margin-bottom: 20px;
    background-color: white;
    transition: 0.3s;
}


#drop-zone:hover {
    background-color: #ff894d;
}

/* Image Preview */
#preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.preview-img {
    max-width: 500px;
    max-height: 500px;
    border: 1px solid #ccc;
    padding: 5px;
    background-color: white;
    position: relative;
}

/* Image Container (for delete/rotate buttons) */
.img-container {
    position: relative;
    display: inline-block;
    margin: 5px;
    padding: 10px;
    background: white;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Buttons inside Image Preview */
.delete-btn, .rotate-btn {
    cursor: pointer;
    font-size: 14px;
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    transition: 0.3s;
    margin: 5px; /* Adds space between buttons */
}

.delete-btn {
    background: red;
}

.rotate-btn {
    background: #007bff;
}

.delete-btn:hover {
    background: darkred;
}

.rotate-btn:hover {
    background: #0056b3;
}

/* Controls Box (Options) */
.controls {
    margin: 20px auto;
    padding: 15px;
    background: white;
    display: inline-block;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Labels & Select Inputs */
.controls label {
    margin-right: 10px;
    font-weight: bold;
}

.controls select, .controls input {
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #ccc;
    outline: none;
}

/* Convert Button Section */
.convert-container {
    margin-top: 20px; /* Adds space between controls & button */
    text-align: center;
}

#convert-btn {
    padding: 12px 18px;
    border: none;
    background: #ff5600;
    color: white;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: bold;
}

#convert-btn:hover {
    background: #ff894d;
}
