
/* Frontend styles for extra addons */

.custom-extra-addons-frontend-wrapper {

    margin-top: 20px;

    padding: 15px;

    border: 1px solid #ccc;

    background-color: #fafafa;

    border-radius: 6px;

    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

}



/* Addon Option Box */

.custom-extra-addon-option {

    margin-bottom: 15px;

    padding: 12px;

    border: 1px solid #ccc;

    background-color: #ffffff;

    border-radius: 5px;

    transition: none;

}



.custom-extra-addon-option label {

    display: flex;

    align-items: center;

    cursor: pointer;

    font-weight: 500;

    color: #333;

}



.custom-extra-addon-option input[type="checkbox"] {

    margin-right: 10px;

    flex-shrink: 0;

}



/* Addon details */

.addon-details {

    margin-top: 10px;

    padding-left: 30px;

    border-top: 1px solid #ddd;

    padding-top: 10px;

    font-size: 14px;

    color: #555;

}



/* Container for base and overlay images */

.addon-image-container {

    position: relative;

    display: inline-block;

    margin: 10px auto;

    max-width: 100%;

    height: auto;

}



/* Main base image */

.addon-base-image,

.addon-current-color-image {

    display: block;

    max-width: 100%;

    height: auto;

}



/* Overlay uploaded design */

.addon-design-overlay-image {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    max-width: 80%;

    max-height: 80%;

    object-fit: contain;

    display: none;

    pointer-events: none;

    z-index: 10;

}



/* Color selection */

.addon-colors {

    margin-top: 10px;

}



.addon-color-option {

    display: inline-flex;

    align-items: center;

    margin-right: 15px;

    margin-bottom: 5px;

    cursor: pointer;

}



.addon-color-option input[type="radio"] {

    margin-right: 6px;

}



.color-swatch {

    width: 20px;

    height: 20px;

    border: 1px solid #bbb;

    border-radius: 50%;

    background-color: #ccc;

}



/* Design upload */

.addon-design-upload {

    margin-top: 10px;

}



.file-upload-status {

    display: block;

    margin-top: 5px;

    font-size: 13px;

    color: #666;

}

