/* Moved CSS code from photo-frame-display.blade.php and photo-frame-canvas.blade.php */

.main-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    
}
.content-wrapper > .content > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}




.canvas-container {
    max-width: 704px;
    width: 600px;
    height: 600px;
    max-height: 700px;
    position: relative;
    user-select: none;
    border: 1px solid #eee;
    box-shadow: none; /* Remove drop shadow */
    z-index: 1; /* Ensure canvas is above labels */
    background-color: transparent; /* Remove semi-transparent background */
}

.shapes-container {
    width: 69.34px;
    min-height: 408.62px;
    display: flex;
    flex-direction: column;
    align-items: center;    
    background: #fff;
    
    box-shadow: none; /* Remove drop shadow */
}

.shape-image {
    width: 50px;
    height: 50px;
    cursor: pointer;
    padding: 5px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: none; /* Remove drop shadow */
}

.shape-image:hover {
    transform: scale(1.05);
}

.shape-image.selected {
    border-color: #346EFF;
    background-color: rgba(52, 110, 255, 0.1);
    fill: #45D7FF; /* Apply fill color for selected shape */
}

.canvas-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
}

.width-label {
    width: 190px;
    height: 31px;
    border-radius: 0px 0px 15px 15px;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 16.94px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    padding: 7px 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0; /* Restore original z-index */
}

.height-label {
    width: 184px;
    height: 24px;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 16.94px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    padding: 4px 0;
    position: absolute;
    left: -169px;
    top: 34%;
    transform: rotate(-90deg) translateY(-50%); /* Changed translateX to translateY */
    transform-origin: top right;
    z-index: 2; /* Same z-index as width label */
    border-radius: 0px 0px 15px 15px;
}

.preview-info-container {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
}



.product-details-container {
   
    height: auto;
    gap: 0px;
    border-radius: 10px 10px 10px 0px;
    display: flex;
    flex-direction: column;
    /* Align contents to the top */
     /* Add margin to the left */
}

.flipped-icon {
    transform: scaleX(-1);
}

.image-quality-text {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.perfect-text {
    color: #009847;
}

.product-info {
    background-color: #EEF0F0;
    padding: 10px;
    border-top-right-radius: 15px;
}

.product-name {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #000000;
    text-align: left;
}

.size-section, .thickness-section {
    gap: 8px;
}

.size-label, .thickness-label {
    font-weight: 600;
    font-size: 20px;
    line-height: 24.2px;
    color: #000000;
    width: 104px;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px; /* Add gap between text and icon */
}

.size-label {
    width: 200px;
}

.down-arrow-icon {
    width: 22px;
    height: 11px;
}

.size-buttons, .thickness-buttons {
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
}

.price-display {
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    line-height: 29.05px;
    margin: 0;
    text-align: left;
}

.original-price {
    color: #A6A6A6;
    text-decoration: line-through;
    font-weight: 400;
}

.sale-price, .current-price {
    color: #000000;
    font-weight: 700;
}

.stock-info {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

.stock-count {
    color: red;
}

.button-container {
    width: 530px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-left:20px;
    padding-right:20px;
}

.action-button {
    width: 240px;    
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 21px;
    font-weight: 600;
    text-align: center;
}

.add-to-cart {
    background: #15BE42;
    color: #ffffff;
}
.add-to-cart:hover {
    background: #0BB137;
    transition: background 0.3s; /* Add transition effect for background color */
    color:#fff;
}   

.buy-now {
    background: #FFBF00;
    color: #000000;
}
.buy-now:hover {
    background: #FFA500;
    transition: background 0.3s; /* Add transition effect for background color */
    color:#000000;
}

.size-thickness-btn {
    width: 81px;
    height: 35px;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 21px; /* Changed font size */
    font-weight: 600;
    line-height: 29.05px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    border: none;
}

.active-size {
    background-color: #c7c7c7;
}


.inactive-size {
    color: #000;
    border: 0.3px solid #000;
}
.inactive-size:hover {
    color: #000;
    border: 0.5px solid #000;
}

.size-label, .thickness-label {
    font-family: 'Inter', sans-serif;
}
.image-quality-text{
    margin-bottom: 0rem;
    font-family: 'Inter', sans-serif;
}

.product-name, .price-display, .stock-info {
    font-family: 'Inter', sans-serif;
    
}

.size-thickness-info {
    background-color: #EEF0F0;
    padding: 10px;
    margin-top: 10px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.upload-file-button {
    width: 170px;
    height: 56px;
    background-color: #346EFF;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 29.05px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
    margin-top: 0px;
    border: 0.3px solid #000000;
}
.upload-file-button:hover {
    background-color: #264EEE;
    cursor: pointer;
}


.upload-icon {
    width: 29px;
    height: 30px;
}

.next-to-upload {
    
    height: 42px;
    border: 0.3px solid #000000;
    display: flex;
    margin-left: 10px; /* Add margin to the left to separate from upload button */
    margin-top: 5px;
}

.transparent-background {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    
    background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), 
                      linear-gradient(-45deg, #ccc 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, #ccc 75%), 
                      linear-gradient(-45deg, transparent 75%, #ccc 75%);
    background-size: 20px 20px; /* Size of each square */
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px; /* Positioning the squares */
    
}

.transparent-background i {
    color: transparent; /* Make the icon itself transparent */
}

.white-background {
    width: 67px;
    height: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.white-background .fas {
    font-size: 24px;
}

.change-background-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 15.73px;
    text-align: center;
    margin-top: 2px;
    margin-left:10px;
}

.zoom-controls {
    width: 100px;
    height: 42px;
    border: 0.3px solid #000000;
    display: flex;
    margin-left: 10px; /* Add margin to the left to separate from previous div */
    margin-top: 5px;
}

.zoom-out, .zoom-in {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-in {
    border-left: 0.3px solid #000000;
}

.zoom-out .fas, .zoom-in .fas {
    font-size: 24px;
    color:#8D918F
}
.zoom-out:hover, .zoom-in:hover {
    background-color: #e0dcdc;
    cursor: pointer;
}

.zoom-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 15.73px;
    text-align: center;
    margin-top: 2px; 
    margin-left: 10px;

}

.text-controls {
    width: 50px;
    height: 42px;
    border: 0.3px solid #000000;
    display: flex;
    margin-left: 10px; 
    margin-top: 5px;
}

.text-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-icon .fas {
    font-size: 24px;
    color:#8D918F
}
.text-icon:hover {
    background-color: #e0dcdc;
    cursor: pointer;
}

.text-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 15.73px;
    text-align: center;
    margin-top: 2px; 
    margin-left:10px;
}

.elements-controls {
    width: 64px;
    height: 42px;
    border: 0.3px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px; 
    margin-top: 5px;
}
.elements-controls:hover {
    background-color: #e0dcdc;
    cursor: pointer;
}

.elements-icon img {
    width: 100%;
    height: auto;
}


.elements-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 15.73px;
    text-align: center;
    margin-left:10px;
    margin-top: 2px; /* Reduce margin to the top to minimize gap */
}

.size-guide-controls {
    width: 73px;
    height: 42px;
    border: 0.3px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    
    margin-top: 5px;
}
.size-guide-controls:hover {
    background-color: #e0dcdc;
    cursor: pointer;
}

.size-guide-icon img {
    width: 100%;
    height: auto;
}
.notes-controls:hover{
    background-color: #e0dcdc;
    cursor: pointer;
}
.size-guide-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 15.73px;
    text-align: center;
    margin-top: 2px;
    margin-left:10px;
}

.btn-link {
    text-align: left; /* Align text to the left */
    width: 100%; /* Make button full width */
}
.rating-info {
    
    background-color: #EEF0F0; /* Background color for the rating section */
    border-radius: 10px 10px 10px 0; /* Rounded corners */
    padding: 0px 15px;
    padding-top:5px;
    display: flex;
    
    position: relative; /* Ensure it stays above the vector image */
     /* Adds spacing between the rating and the product info */
    
}

.rating-info .delivery-info,
.rating-info .rating {
    display: flex;
    align-items: center;
}

.rating-info .delivery-info span {
    margin-left: 5px;
    font-weight: bold;
}

.rating-info .rating span {
    margin-left: 5px;
    font-weight: bold;
}

.terms-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-top: 10px;
}

.terms-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 16.94px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #2F39F4 !important; /* Ensure the color is applied */
}

.location-check {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.location-pin-icon {
    width: 20px;
    height: auto;
    margin-left: 20px;
}

.location-input {
    width: 225px;
    height: 39px;
    border: 0.5px solid #8D918F;
    margin-left: 5px;
    padding: 0;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 24.2px;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #8D918F;
}

.location-input::placeholder {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 24.2px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #8D918F;
}

.check-button {
    width: 188px;
    height: 39px;
    background-color: #000000;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 24.2px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

.icon-container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-left: 150px;    
    position: absolute;
    right: 10px;
    top: -5px;
}

.icon-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.icon-photo {
    width: 14px;
    height: auto;
}

.icon-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 24.2px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #346EFF;
}

.delivery-info-text {
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
    display: flex;
    padding-left:40px;
    gap: 8px;
}

.delivery-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delivery-date-section {
    text-align: left;
}

.delivery-date {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.order-time {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    margin: 0;
    text-align: right;
}

.cost-details {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vertical-bar {
    width: 42px;    
    border:2px solid #000 !important;
    opacity: 0.5;
    border:2px;
    rotate:-90deg;
}

.delivery-cost {
    font-size: 15px;
    font-weight: 600;
    color: #0BB137;
    margin: 0;
}

.delivery-cost-strike {
    font-size: 15px;
    font-weight: 700;
    color: #8D918F;
    margin: 0;
    text-decoration: line-through;
}

.policy-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.policy-link {
    font-size: 14px;
    font-weight: 500;
    color: #264EEE;
    text-decoration: none;
}

.policy-link:hover {
    text-decoration: underline;
}

.photo-frame-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.accordion-container {
    width: 100%;
   /* max-width: 800px;*/
    margin: 20px 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    width: 640px;
    height: 38px;
    gap: 0px;
    border-radius: 7px;
    background-color: #EEF0F0;
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 18.15px;
    color: #264EEE;
    text-align: left;
    text-underline-position: from-font;
    text-decoration: none;
    cursor: pointer;
}

.accordion-header:hover {
    background-color: #d9dede;
}

.arrow-icon {
    font-size: 16px;
    color: #264EEE;
    transition: transform 0.3s ease;
}

.accordion-header.active .arrow-icon {
    transform: rotate(180deg); /* Rotates the arrow when active */
}

.accordion-content {
    display: block;
    padding: 10px 0px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #333;
    background-color: #fff;
    border-top: 1px solid #ccc;
}

.sku{
    font-family: Inter;
    font-size: 16px;
    font-weight: 800;
    line-height: 19.36px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-top:2px;
    margin-left: -5px;
}
.sku-separator{
    width: 2px;
    height: 20px;
    
    gap: 0px;
    background-color: #000000;
    margin-left: 15px;
  margin-right: 15px;

}

#stickerEditorOverlay {
    display: none;
    position: absolute;
    top: 100px;
    right: 150px;
    width: 426px;
    height: 507px;
    background: #fff;
    padding: 20px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 10px;
}

.sticker-preview img {
    width: 50px;
    height: 50px;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sticker-preview img:hover {
    transform: scale(1.1);
}

.size-guide-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.size-guide-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 1000px;
    text-align: center;
}

.size-guide-modal-content img {
    width: 100%;
    height: auto;
}

.size-guide-modal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.size-guide-modal .close:hover,
.size-guide-modal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.shape-image {
    width: 50px;
    height: 50px;
    margin: 5px;
    cursor: pointer;
    transition: outline 0.3s ease;
}
.shapes-container object {
    width: 50px;
    height: 50px;
    margin: 5px;
    cursor: pointer;
}

.shape-image path {
    fill: #000000;
    transition: fill 0.3s ease;
}

.shape-image.selected path {
    fill: #45DDFF;
}
.notes-controls {
    border: 0.3px solid #000000;
    margin-left: 10px;
    margin-top: 5px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 42px;
    width:60px;
    display: flex;
}
.notes-icon img {
    width: 100%;
    height: 24px;
   
}
.notes-label{
    font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 15.73px;
  text-align: center;
  margin-top: 2px;
  margin-left: 10px;
}
.notes-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.notes-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {

    .share.icon-item{
        position: relative;
    }
    .share-dropdown-mobile {
        display: none;
        position: absolute;
        top: 23px;
        right: -5px;
        padding: 5px 10px;
        box-shadow: 2px 2px 10px #0000001a;
        border-radius: 5px;
        width: 150px;
    
    }
    
    .share-dropdown-mobile.show {
        display: block;
    }
    .main-container {
        flex-direction: column;
        max-width: 100%;
        padding: 0 15px;
        width:100vh
    }
    .toolbar{
        padding-right:10px;
    }

    .canvas-container {
        width: 100%;
        height: auto;
        aspect-ratio: 704/704;
       
        
    }

    .shapes-container {
        width: 100%;
        min-height: auto;
        flex-direction: row;
        padding: 10px;
        overflow-x: auto;
        justify-content: left;
    }
    .zoom-controls {
        margin-left:0px;
    }
    .form-group.upload{
        background-color:#F0F0F0;
        border:0.3px #000;
        padding:5px;
        border-radius:7px;
        margin-top:5px;
        margin-bottom:5px;

    }
    .notes-container{
        background-color:#F0F0F0;
        border:0.3px #000;
        padding:5px;
        border-radius:7px;
        margin-top:5px;
        margin-bottom:5px;
    }

    .shape-image {
        margin: 0;
    }

    .width-label {
        width: 150px;
        font-size: 12px;
    }

    .height-label {
        width: 150px;
        font-size: 12px;
        left: -135px;
    }
    .sku-separator {
        width: 2px;
        height: 20px;
        gap: 0px;
        background-color: #000000;
        margin-left: 7px;
        margin-right: 9px;
    }

    .product-details-container {
        width: 100%;
        border-radius: 10px;
        margin-left: 0; /* Remove left margin for mobile view */
    }

    .button-container {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .action-button {
        width: 100%;
        margin-bottom: 10px;
    }
    .canvas-wrapper {
        margin: 0; /* Remove any margin */
        padding: 0; /* Remove any padding */
       
        width: 100vw; /* Full viewport width */
        margin-left:-25px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden; /* Prevent overflow */
        box-sizing: border-box; /* Ensure padding doesn’t add extra width */
    }
    .search-bar-container.hide-searchbar{
        display:none;
    }
    .accordion-container {
        width: 100%;
        /* max-width: 800px; */
        margin: 0px;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
    }
    .location-pin-icon {
        width: 20px;
        height: auto;
        margin-left: 0px;
    }
    .order-time {
        font-size: 12px;
        font-weight: 400;
        color: #666;
        margin: 0;
        text-align: left;
    }
    .delivery-info-text {
        margin-top: 10px;
        font-family: 'Inter', sans-serif;
        display: flex;
        padding-left: 0px;
        gap: 8px;
    }
    .size-guide-modal-content {
        background-color: #fefefe;
        margin: 60% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        max-width: 1000px;
        text-align: center;
    }
    .price-display {
        font-weight: 700;
        font-family: 'Inter', sans-serif;
        font-size: 18px;
        line-height: 29.05px;
        margin: 0;
        text-align: left;
    }
    
    
    
}


@media (min-width: 1366px) {
    .col-xl-6 {
        width: 50%;
    }
    .col-xxl-6 {
        width: 50%;
    }
}