#apply-bulk-options {
    color:#00aae7;
    background: #fff;
    border:1px solid #00aae7;
    box-shadow:none;
    border-radius:0;
    height:50px;
    padding:15px;
}

.bulk-edit-options .button.danger {
    background:transparent;
    color:#e87887;
    font-size:15px;
}

.bulk-edit-options {
    justify-content:center;
    align-items:center;
}

   button#submit-order-btn {
       border-radius:0;
       background: #00aae7;
       font-weight: 600;
       min-width: 120px;
       padding: 15px;
    }


#bulk-edit-bar {
    background: #f6fafd;
    border:0!important;
    margin-bottom:30px;
    padding: 20px;
}

.bulk-edit-bar-wrapper {
    max-width:1200px;
    margin:auto;
}
#bulk-edit-bar {
    display:none;
}
#bulk-edit-bar.is-checked {
    display:none!important;
}



.fo-btn, .delete-btn {transform:translateX(-8px);}

.duplicate-btn,
.crop-btn {
transform:translateX(8px)
}

.top-actions button:hover, 
.bottom-actions button:hover{
    color:#00aae7;
    background:transparent;
    box-shadow: none;
}

.top-actions, .bottom-actions {
    display:flex;
    justify-content:space-between;
}

.info-btn {
    min-width:100px;
    display:flex;;
    align-items:center;
}
.photo-price {
    font-size:12px;
    padding-left:8px;
}

.top-actions button, .bottom-actions button {
    width:36px;
    height:36px;
    font-size: 20px;
    text-align:center;
    padding:0;
    background: transparent;
    color: #3E4551;
    box-shadow: none;
    line-height:0;
}

.custom-upload-btn {
    display: flex;
    flex-direction: column;
    width: 94%;
    height: 50vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 14px 22px;
    font-size: 18px;
    cursor: pointer;
    max-width: 960px;
    border-radius: 8px;
    margin: 50px auto;
    background: #f6fafd;
    transition: 0.3s ease;
    color: #364f6b;
    min-height: 280px;
    font-weight: 600;
    border: 3px dashed;
    border-color: #e2e8f0;
}

.custom-upload-btn i {font-size:3rem;color: #03a6ea;}


.ImageUpload_svg__image-upload-button {
    transition:0.2s ease;
    /* transform: translate3d(100px, 100px, 10px); */
}


#upload-limit-message {
    text-align:center;
    display: none;
    width: 100%;
    justify-content: center;
}

#photo-preview-area {
    display:flex;
    flex-wrap:wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}



.qty-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    justify-content: center;
}

.qty-wrapper input[type="number"] {
    width: 50px;
    text-align: center;
    padding: 5px;
    font-size: 15px;
}

/* For WebKit browsers (Chrome, Safari, Edge, Opera) */
.qty-wrapper input[type="number"]::-webkit-outer-spin-button,
.qty-wrapper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
.qty-wrapper input[type=number] {
  -moz-appearance: textfield;
    max-width:40px;
}

.qty-wrapper button {
    width: 60px;
    padding:0;
    height: 60px;
    font-size: 22px;
    line-height: 0;
    background-color: transparent;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 0px solid;
    color: #00aae7;
    border-color: transparent;
    box-shadow: none;
}

.qty-wrapper button:hover {
    background-color: transparent;
    color: #00aae7;
}


.select-container select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  width: 100%;
  padding: 8px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  outline: none;
}

.select-container:after {
  content: "\25BC";
  font-size: 1em;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #333; /* Arrow color */
} 

#photo-summary-bar {
    display: flex;
    padding: 10px 20px;
    background: #1a202c;
    font-weight: 500;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 90px;
    line-height: 1.4;
    text-align: center;
    box-shadow: -1px -6px 6px #00000047;
}
.summary-left i {
    color:#00aae7;
    margin-right: 5px;
    font-size: 17px;
}


.summary-left {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    margin: auto 0;
    text-transform: uppercase;
}

.summary-right {
    align-self: flex-end;
    margin: auto 0 auto auto;
}

#total-price  {
    font-weight:bold;
    color: #80d383;
    margin-left:15px;
    font-size: 16px;
    font-weight: 600;
}

#photoprint-editor {
    margin: auto;
    font-family: Arial, sans-serif;
    padding-bottom: 100px;
    width: 100%;
}

#photo-upload {
    display: block;
    margin-bottom: 20px;
}

.add-photos-block,
.photo-block {
    border: 2px solid #e2e8f0;
    padding: 5px 15px 15px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 0;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    width: 23%;
}

.add-photos-block {
    background: #f6fafd;
    flex-direction:column;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:none;
    cursor:pointer;
    transition:  0.3s ease;
    color:#364f6b;
    min-height: 280px;
    font-weight:600;
    border: 3px dashed ;
     border-color: #e2e8f0;
 
}

.add-photos-block:hover {
      border-color: #4db8e5;
    background-color: #e0f3fb;
 
}

.add-photos-block img {
    margin-bottom:15px;
}


.cropper-overlay {
    display:flex;
    position:fixed;
    z-index: 9999;
    width:100%;
    height:100%;
    left:0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #f6fafd;
    background-image: url(./images/loading.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50px;
}

.cropper-modal {
  background: url(./images/cropping_overlay.png);
    opacity:0.7!important;

}

#image-preview-wrapper {
    display:flex;
    height: 180px;
    justify-content:center;
    align-items: center;
    background: #51596200;
    /* padding: 15px; */
    background-image: url(./images/cropping_overlay.png);
    background-repeat:repeat;
    border: 1px solid #d2d4d5;
}


.preview-image {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    transition: transform 0.3s ease;
    cursor: move;
}

.edit-tools {
    margin-bottom: 10px;
}

.edit-tools button {
    margin-right: 10px;
    padding: 6px 12px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    background-color: #e0e0e0;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: background-color 0.2s ease;
}

.edit-tools button:hover {
    background-color: #333;
    color: #fff;
}

.photo-options {
    display: flex;
    flex-wrap: wrap;
    flex-flow: column;
    gap: 10px;
}

.photo-options label {
    flex: 1 1 45%;
    margin-bottom: 4px;
    font-size: 14px;
    text-align: center;
}

#photoprint-editor .label-slug {
    display:none;
}

#photoprint-editor select,
#photoprint-editor input[type="number"],
#photoprint-editor input[type="checkbox"] {
    width: 100%;
    padding: 5px;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    margin-top: 0px;
    font-family": a";
    font-family: Arial, sans-serif;
    color: #333;
    font-size: 13px;
}

#photoprint-editor select {
   -webkit-appearance: none;
   appearance: none;
   background: #ffffff;
   background-size: 8px 7px, 8px 7px;
   background-repeat: no-repeat;
   background-position: calc(100% - 17px),
    calc(100% - 10px);
   padding: .2rem .6rem;
   background-image: linear-gradient(45deg, transparent 50%, #00aae7 50%), 
    linear-gradient(135deg, #00aae7 50%, transparent 50%);
}



button[type="submit"] {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button[type="submit"]:hover {
    background-color: #005c8a;
}

.upload-status {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    display:none;
}
/*
/* Upload spinner animation 
.upload-status::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #ccc;
    border-top: 2px solid #0073aa;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
*/

.cropper-wrap-box {
    background-color: #ffffff!important;
}

/*
.cropper-modal {
    background-color: transparent!important;
}*/
 



.crop-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f6fafd;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.crop-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #000; */
    max-width: 100vw;
    max-height: 100vh;
}

.crop-container {
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    margin:auto;
    transition: 0.2s ease;
}

.crop-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}


/* Dragging ghost effect */
.dragging {
    opacity: 0.6;
}


.crop-modal-controls {
    padding: 12px;
    /* background: #f4f4f4; */
    display: flex;
    justify-content: center;
    gap: 10px;
    /* border-top: 1px solid #ddd; */
    transition: 0.2s ease;
}
.crop-modal-controls button {
    padding: 10px 15px;
    border: none;
    border-radius:0;
    background:#00aae7;
    color: white;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    gap: 5px;
    text-align: center;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

.bulk-edit-options label {
    flex: 1 1 150px;
    text-align:center;
}


.bi-info-circle {
      color: #00aae7;;
}

.bi-pencil-fill,
.cropped .bi-pencil {
    display:none
}
.bi-pencil, 
.cropped .bi-pencil-fill{
    display:block;
}


#upload-progress-bar-wrapper {
  width:100%; max-width: 200px; height:8px; margin-bottom: 10px; background:#e0e0e0; border-radius:4px; overflow:hidden;"
}
#upload-progress-bar {
    background:#03a6ea;
}

#upload-progress-popup {
    position: fixed;
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    top: 0;
    bottom: 0;
    left: 0;
    background: rgb(255 255 255);
    padding: 16px 24px;
    z-index: 9999;
    font-size: 16px;
    font-weight:600;
    flex-direction: column;
    color:#1a202c;
    text-align: center;
}

#upload-progress-popup img {
    max-width:80px;
}

#upload-progress-popup i  {
    color: #39f;
    font-size: 32px;
}

.page-id-480 .bulk-edit-options label:first-child,
.page-id-480 .bulk-edit-options label:nth-child(4),
.page-id-480 .photo-options,
#bundle-selector{
    display:none;
} 

.select-paper-border,
.select-paper-type,
.select-clipbook-color,
.select-clipbook-size {
    cursor:pointer;
}

.select-paper-border.selected .fl-col-content,
.select-paper-type.selected .fl-col-content,
.select-clipbook-color.selected  .fl-col-content,
.select-clipbook-size.selected  .fl-col-content {
    box-shadow: 0 0 10px 1px #939393;
    border-radius: 8px;
position:relative;
    transition:0.2s ease;
}

.select-paper-border.selected .fl-col-content:after,
.select-paper-type.selected .fl-col-content:after,
.select-clipbook-color.selected .fl-col-content:after,
.select-clipbook-size.selected .fl-col-content:after {
    content:'\F26A';
      color: #00aae7;
    margin-right: 5px;
    font-size: 26px;
       display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position:absolute;
    top:10px;
    right:10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px 4px #ffffff59;
}


/* Responsive styles */
@media (max-width: 768px) {
    
   .add-photos-block,
    .photo-block {
        padding: 10px;
        width:100%;
        min-height:280px;
    }

    .edit-tools button,
    .photo-options label {
        font-size: 12px;
    }

    .photo-options {
        grid-template-columns: 1fr;
    }

#photo-preview-area {
    flex-direction:column;
    padding: 20px;
    gap: 10px;
}


    #submit-order-btn {
        padding: 15px;
    }

    #apply-bulk-options {
        width:100%;
    }

    .crop-modal-controls {
        position:absolute;
        width: 100%;
        text-align:center;
        margin:auto;
    }
}

@media (max-width: 600px) {
    .crop-modal {
        width: 100%;
        height: 100%;
    }

    .crop-apply {
        width: 100%;
    }


    
}
