.pdf-converter-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
}

#imageUpload, #addMoreBtn, #generatePdfBtn {
    margin: 10px 5px;
    padding: 10px 16px;
    font-size: 15px;
    cursor: pointer;
}

#generatePdfBtn {
    background-color: #d9534f;
    color: #fff;
    border: none;
    border-radius: 5px;
}

#addMoreBtn {
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
}

#generatePdfBtn:hover,
#addMoreBtn:hover {
    opacity: 0.9;
}

#imagePreview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.image-item {
    position: relative;
    margin: 10px;
    text-align: center;
}

.image-item img {
    max-width: 150px;
    max-height: 150px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 5px;
}

.image-buttons {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.crop-btn, .remove-btn {
    font-size: 13px;
    padding: 4px 8px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.crop-btn {
    background-color: #5bc0de;
    color: white;
}

.remove-btn {
    background-color: red;
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding-top: 50px;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    margin: auto;
    padding: 20px;
    background-color: white;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

.crop-btn, .remove-btn {
    font-size: 13px;
    padding: 4px 10px;
    border: none;
    border-radius: 4px;
    background-color: #6c757d;
    color: white;
    cursor: pointer;
}

.crop-btn:hover {
    background-color: #5a6268;
}

.remove-btn {
    background-color: #dc3545;
}

.remove-btn:hover {
    background-color: #c82333;
}
