.uc-credits{
    display: none !important;
}
uc-copyright {
    display: none !important;
}

/* Fix potential Uploadcare display issues */
/* uc-file-uploader-regular {
    display: block !important;
    width: 100% !important;
} */


.uc-my-theme {
    /* Force light theme for all Uploadcare components */
    --uc-color-scheme: light;
    --uc-color-base: #ffffff;
    --uc-color-background: #ffffff;
    --uc-color-background-alternative: #f8f9fa;
    --uc-color-foreground: #333333;
    --uc-color-foreground-muted: #6c757d;
    --uc-color-border: #dee2e6;
    --uc-color-primary: #0d6efd;
    --uc-color-primary-hover: #0b5ed7;
    
    /* Clean theme without potential conflicts */
    --uc-simple-btn-font-family: system-ui;
    
    /* Use standard button colors to avoid visual artifacts */
    --uc-simple-btn-light: #ffffff;
    --uc-simple-btn-hover-light: #f5f5f5;
    --uc-simple-btn-foreground-light: #333333;
    
    --uc-simple-btn-dark: #333333;
    --uc-simple-btn-hover-dark: #555555;
    --uc-simple-btn-foreground-dark: #ffffff;
}

/* Let Uploadcare use its default theme detection */

/* Button */
#qsmzupglobalcontainer{
    font-family: system-ui;
    width: 100%;
    clear: both;
    margin-bottom: 10px;
}

/* Hide default Uploadcare button when we have custom button */
#qsmzupglobalcontainer uc-file-uploader-regular uc-simple-btn {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
}
#qsmzupglobalcontainer > div{
    margin-top: 5px;
    margin-bottom: 5px;
}
.qsmznotescont{
    margin-bottom: 5px;
}
.uc-my-theme-uploader1>:where([uc-simple-btn]) button {
    background-color: rgb(255,0,0);
    color: rgb(255,255,255);
    font-size: 16px;
    border-radius: 1px;
    padding: 10px
}
.uc-my-theme-uploader1>:where([uc-simple-btn]) button:hover {
    background-color: rgb(255, 99, 99);
    color: rgb(255,255,255);
    border-radius: 1px;
    padding: 10px
}
.uc-my-theme-uploader1-label {
    font-family: system-ui;
    font-size: 14px;
    display: inline-block;
    display: block;
    margin-bottom: 5px;
}

/* #imgEditContainer {
    position: fixed;
    width: 80%;
    height: 80%;
    padding: 20px;
    pointer-events: none;
    margin-left: 10%;
    margin-top: 5%;
} */

.qsmzBtnSelectImage{
    background-color: rgb(255,0,0);
    color: rgb(255,255,255);
    font-size: 16px;
    border: 0px;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    margin-top: 5px;
    margin-bottom: 5px;
}
.qsmzthumbcont {
    display: inline-block;
    margin: 10px;
    border: 1px solid #cfcfcf;
}
.qsmzthumbcont > img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}
.qsmzimagecont{
    cursor: pointer;
    margin-top: 5px;
    margin-bottom: 5px;
}