/* --- GLOBAL WRAPPER --- */
.im-wrapper {
    max-width: 933px;
    margin: 2px auto;
    padding: 10px;
    background: #e5e6e5;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: "system-ui";
}

.im-wrapper h3 {
    text-align: left;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- DROP ZONE --- */
#im-dropZone {
    border: 2px dashed #6c63ff;
    background: #f6f5ff;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 15px;
    color: #4b47c2;
    font-size: 16px;
    transition: 0.3s ease;
}

#im-dropZone:hover {
    background: #eceaff;
    border-color: #584de7;
    cursor: pointer;
}

/* --- FILE INPUT --- */
#im-files {
    margin: 10px 0 20px 0;
    width: 100%;
}

/* --- IMAGE LIST --- */
#im-list {
    margin: 15px 0;
    padding: 0;
}

#im-list li {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    list-style: none;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#im-list li:hover {
    background: #f0f0ff;
}

/* --- SELECT, INPUT, BUTTON STYLES --- */
#im-layout,
#im-watermark {
    width: 100%;
    padding: 10px 12px;
    margin: 10px 0;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: 0.2s;
}

#im-layout:focus,
#im-watermark:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 4px rgba(108, 99, 255, 0.3);
    outline: none;
}

/* --- BUTTONS --- */
#im-mergeBtn,
#im-download,
#im-pdfBtn {
    width: 48%;
    padding: 12px;
    border: none;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.25s ease;
}

#im-mergeBtn {
    background: #6c63ff;
    color: #fff;
}

#im-mergeBtn:hover {
    background: #584de7;
}

#im-pdfBtn {
    background: #ff6b3d;
    color: white;
}

#im-pdfBtn:hover {
    background: #e85a30;
}

/* --- BUTTON ROW --- */
.im-btn-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* --- CANVAS --- */
#im-canvas {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    margin-top: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
