/*
 * pmc-style.css
 * Styling voor de Posingmat™ Configurator.
 * Versie: 21.0
 */
#pmc-canvas, .canvas-container { width: 100%; max-width: 700px; max-height: 500px; margin: 0 auto; display: block; border: 1px solid #ddd; background-color: #f8f8f8; box-sizing: border-box; }
.pmc-configurator-wrap { margin: 20px 0; padding: 15px; border: 1px solid #eee; border-radius: 5px; background-color: #f9f9f9; display: flex; flex-direction: column; align-items: center; overflow: visible; }
.pmc-controls-wrap { margin-top: 20px; padding-top: 15px; border-top: 1px dashed #ddd; width: 100%; max-width: 700px; box-sizing: border-box; }
.pmc-hidden { display: none !important; }
.pmc-color-group, .pmc-option-group { margin-bottom: 15px; }
.pmc-color-group h3, .pmc-option-group h3 { font-size: 1.1em; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 5px; }
#pmc-controls label { display: flex; align-items: center; margin-bottom: 8px; font-weight: bold; color: #333; justify-content: space-between; }
.pmc-option-group label { justify-content: flex-start; cursor: pointer; }
.pmc-option-group input[type="checkbox"] { width: 1.2em; height: 1.2em; margin-right: 8px; }
#pmc-controls input[type="color"] { margin-left: 10px; max-width: 150px; height: 30px; border: 1px solid #ccc; border-radius: 3px; padding: 0; }
#pmc-controls input[type="text"], #pmc-controls input[type="number"] { flex-grow: 1; margin-left: 10px; padding: 8px; border: 1px solid #ccc; border-radius: 3px; font-size: 1em; }
#pmc-controls input[type="number"] { max-width: 80px; text-align: center; }
#pmc-controls input[type="file"] { display: none; }
.pmc-upload-button { display: inline-block; padding: 8px 15px; background-color: #007bff; color: white; border-radius: 4px; cursor: pointer; margin-right: 10px; font-size: 0.9em; }
.pmc-upload-button:hover { background-color: #0056b3; }
.pmc-file-name { margin-top: 5px; font-size: 0.85em; color: #555; }
.pmc-reset-logo-button { display: inline-block; padding: 6px 12px; background-color: #dc3545; color: white; border-radius: 4px; cursor: pointer; font-size: 0.85em; border: none; margin-left: 5px; }
.pmc-reset-logo-button:hover { background-color: #c82333; }
.pmc-logo-actions { display: flex; align-items: center; margin-top: 10px; }
form.cart .quantity, form.cart .single_add_to_cart_button { display: none !important; }
.pmc-final-step-wrap { text-align: center; margin: 20px 0; padding: 15px; border-top: 2px solid #007bff; border-bottom: 2px solid #007bff; background-color: #f0f8ff; }
.pmc-primary-button, .pmc-secondary-button { padding: 12px 25px; font-size: 1.1em; font-weight: bold; border-radius: 5px; border: none; cursor: pointer; transition: all 0.2s ease; }
.pmc-primary-button { background-color: #007bff; color: white; }
.pmc-primary-button:hover { background-color: #0056b3; }
.pmc-primary-button:disabled, .pmc-secondary-button:disabled { background-color: #a0a0a0; cursor: not-allowed; }
.pmc-secondary-button { background-color: #6c757d; color: white; }
.pmc-secondary-button:hover { background-color: #5a6268; }
.pmc-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.75); display: flex; justify-content: center; align-items: center; z-index: 10000; }
.pmc-modal-content { background-color: #fff; padding: 25px; border-radius: 8px; width: 90%; max-width: 800px; max-height: 90vh; overflow-y: auto; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); position: relative; text-align: center; }
.pmc-modal-content h2 { margin-top: 0; color: #0056b3; }
.pmc-modal-preview-image-wrap { margin: 20px 0; border: 2px dashed #ccc; padding: 10px; background-color: #f9f9f9; }
#pmc-modal-preview-image { max-width: 100%; height: auto; }
.pmc-modal-approval-wrap { margin: 20px 0; font-size: 1.1em; }
.pmc-modal-approval-wrap label { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pmc-modal-approval-wrap input[type="checkbox"] { width: 1.3em; height: 1.3em; margin-right: 10px; }
.pmc-modal-actions { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.pmc-cart-previews-wrap { margin: 40px 0; padding-top: 30px; border-top: 3px double #eee; clear: both; }
.pmc-cart-previews-wrap h2 { text-align: center; margin-bottom: 25px; }
.pmc-cart-previews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.pmc-cart-preview-item { border: 1px solid #ddd; border-radius: 5px; padding: 15px; text-align: center; background-color: #f9f9f9; }
.pmc-cart-preview-item h3 { font-size: 1em; margin-top: 0; margin-bottom: 10px; }
.pmc-cart-preview-item img { max-width: 100%; height: auto; border: 1px solid #ccc; }
.pmc-progress-container { margin: 20px 0 10px 0; }
.pmc-progress-container p { font-size: 0.9em; color: #555; margin-bottom: 8px; }
.pmc-progress-bar { width: 100%; background-color: #e0e0e0; border-radius: 4px; overflow: hidden; height: 20px; }
.pmc-progress-bar-inner { width: 100%; height: 100%; background-color: #007bff; animation: pmc-progress-animation 4s ease-in-out forwards; }
@keyframes pmc-progress-animation { from { transform: translateX(-100%); } to { transform: translateX(0); } }