#image2print-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
}

#image2print-modal > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.image2print-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
    transition: all 0.2s ease;
}

.image2print-close:hover {
    background: #e0e0e0;
    color: #333;
}

#image2print-upload-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#image2print-upload-form input[type="file"] {
    padding: 8px;
    border: 2px dashed #ccc;
    border-radius: 4px;
    background: #f9f9f9;
}

#image2print-upload-form input[type="file"]:hover {
    border-color: #0073aa;
    background: #f0f8ff;
}

#image2print-upload-form input[type="submit"] {
    padding: 12px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#image2print-upload-form input[type="submit"]:hover {
    background: #005a87;
}

#image2print-upload-container p {
    margin: 10px 0;
}

#image2print-upload-another {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.2s ease;
}

#image2print-upload-another:hover {
    background: #005a87;
}

.image2print-menu-btn, .image2print-header-btn, .image2print-shortcode-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.image2print-menu-btn:hover, .image2print-header-btn:hover, .image2print-shortcode-btn:hover {
    background: #005a87;
    color: white;
    text-decoration: none;
}

#image2print-results-container {
    display: none;
    text-align: center;
}

#image2print-results-container img {
    max-width: 100%;
    max-height: 300px;
    margin: 0 auto 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

#image2print-results-container table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

#image2print-results-container th, 
#image2print-results-container td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: center;
}

#image2print-results-container th {
    background-color: #f2f2f2;
}

#image2print-results-container button {
    margin-top: 15px;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
/* Menu button style */
.image2print-menu-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 15px;
}

.image2print-menu-btn:hover {
    background: #005a87;
}