.page-id-2761 {
    font-family: "Gilmoray", sans-serif;
}
#looks-creator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.canvas-container {
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.looks-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
#loader-overlay {
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; width: 100%; height: 100%;
    display: none;
    font-family: Inter, sans-serif;
}

.loader-backdrop {
    background: rgba(0,0,0,0.5);
    width: 100%; height: 100%;
    position: absolute;
    top: 0; left: 0;
}

.loader-steps {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: #292929;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    text-align: center;
}

.loader-steps p {
    margin: 10px 0;
    font-weight: 500;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.loader-steps .step {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.loader-steps .step[style*="display: block"] {
    opacity: 1;
    transform: translateY(0);
}

.svs-look-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.svs-look-item {
    position: relative;
    padding-top: 100%;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    background-repeat: no-repeat;
    cursor: pointer;
}

.svs-edit-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #5b9bd5;
    color: white;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.svs-look-item:hover .svs-edit-btn {
    opacity: 1;
}
#calendar-loader {
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}

#calendar-loader .loader-backdrop {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
}

#calendar-loader .loader-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-family: Inter, sans-serif;
}
/******************************Karim*******************************************/

/* === Upload Popup Modal === */
/*#upload-popup {*/
/*    position: fixed;*/
/*    top: 20%;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    background: #fff;*/
/*    padding: 30px 20px;*/
/*    border-radius: 8px;*/
/*    border: 1px solid #ccc;*/
/*    z-index: 9999;*/
/*    min-width: 260px;*/
/*    box-shadow: 0 5px 20px rgba(0,0,0,0.15);*/
/*    text-align: center;*/
/*}*/

/*#upload-popup h3 {*/
/*    margin-top: 0;*/
/*    font-size: 20px;*/
/*    color: #444;*/
/*    margin-bottom: 15px;*/
/*}*/

/*#upload-popup button {*/
/*    display: block;*/
/*    width: 100%;*/
/*    margin: 8px 0;*/
/*    padding: 10px;*/
/*    font-size: 14px;*/
/*    border: 1px solid #c83259;*/
/*    color: #c83259;*/
/*    background: white;*/
/*    border-radius: 4px;*/
/*    cursor: pointer;*/
/*    transition: background 0.2s ease;*/
/*}*/

/*#upload-popup button:hover {*/
/*    background: #f2f2f2;*/
/*}*/

/* Match main button (Add your item) style */
/*#open-upload-popup {*/
/*    background-color: #c83259;*/
/*    color: #fff;*/
/*    border: none;*/
/*    padding: 10px 14px;*/
/*    border-radius: 4px;*/
/*    font-weight: 600;*/
/*    cursor: pointer;*/
/*    transition: background 0.2s ease;*/
/*    margin-left: 10px;*/
/*}*/

/*#open-upload-popup:hover {*/
/*    background-color: #a51f45;*/
/*}*/
/*#upload-popup-overlay {*/
/*    display: none;*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: rgba(0,0,0,0.4);*/
/*    z-index: 9998;*/
/*}*/

/* Full screen dim overlay */
#upload-popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
}

#upload-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.upload-popup-box {
    background: white;
    padding: 25px 20px;
    border-radius: 14px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.upload-popup-box h3 {
    margin: 0 0 20px;
    font-weight: 600;
    font-size: 18px;
    color: #231F20;
}

.upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 8px 0;
    padding: 12px;
    font-size: 15px;
    border-radius: 70px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    gap: 6px;
}

.upload-btn.primary {
    color: white;
    background: #00A9A3;
    border: none;
}

.upload-btn.primary {
    color: white;
    background: #00A9A3;
    border: none;
}

.upload-btn.secondary {
    background-color: white;
    color: #c36;
    border: 1px solid #ccc;
}

.upload-btn.secondary:hover {
    background-color: #f8f8f8;
}


/******************************End *******************************************/
.look-user-section {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}
.look-user-section .container
 {
    width: 100%;
    /* margin: 0 auto;
    padding: 0px 20px; */
}
  .sidebar-layout {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
            flex-direction: column;
    }
   .svs-sidebar {
    flex: 0 0 220px;
    background: black;
    padding: 20px;
    border-radius: 8px;
    height: 1000px;
}
    .svs-sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .svs-sidebar li {
        margin-bottom: 10px;
    }
    .svs-sidebar a {
        display: block;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        cursor: pointer;
    }
    .svs-sidebar a:hover {
        color: #5b9bd5;
    }
    .svs-main-content {
        flex: 1;
        min-width: 0;
    }
    li.sidebar-li.active {
    background-color: #00A9A3;
    border-radius: 0px;
    color: white;
}
    li.sidebar-li a,
    li.sidebar-li a:hover{
    color: white;
}
li.sidebar-li:hover {
    background-color: #00A9A3;
    color: white;
}
li.sidebar-li {
    padding: 8px 15px;
    color: white;
}
    @media screen and (max-width: 768px) {
        .sidebar-layout {
            flex-direction: column;
        }
        .svs-sidebar {
            width: 100%;
        }
    }
#svs-upload-popup,
#signature-svs-upload-popup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    max-width: 320px;
    width: 90%;
}

.upload-popup-box {
    text-align: center;
}

.upload-popup-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 16px;
     border-radius: 70px;
    background-color: #fff;
    cursor: pointer;
}

.upload-btn.primary {
    color: white;
    background: #00A9A3;
    border: none;
}
.upload-btn.secondary {
    border-color: #333;
    color: #000;
}

.upload-btn img {
    margin-right: 8px;
}

#svs-upload-backdrop,
#signature-svs-upload-backdrop{
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}
.add-item-button-container {
   display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
}
button#svs-upload-item-btn,
button#signature-svs-upload-item-btn {
    color: white;
    background: #00A9A3;
    border: none;
    border-radius: 70px;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

button#svs-upload-item-btn::before,
button#signature-svs-upload-item-btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.2) 100%);
    transform: skewX(-20deg);
    transition: all 0.6s ease-in-out;
    z-index: 2;
}

button#svs-upload-item-btn:hover::before,
button#signature-svs-upload-item-btn:hover::before{
    left: 125%;
}

#svs-step-backdrop,
#signature-svs-step-backdrop{
    display: none;
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* overlay effect */
}

/* Modal */
.svs-step-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    max-width: 90%;
    width: 400px;
    max-height: 90vh; /* prevents overflow */
    overflow-y: auto;  /* enables scroll */
}

/* Category grid */
#svs-category-options,
#signature-svs-category-options{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    justify-content: center;
}

#svs-category-options .upload-btn,
#signature-svs-category-options .upload-btn{
    width: 100%;
    text-align: center;
    border-radius: 25px;
    padding: 10px;
    font-size: 16px;
}
/* Sub Category grid */
#svs-subcategory-options,
#signature-svs-subcategory-options{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    justify-content: center;
}

#svs-subcategory-options .upload-btn,
#signature-svs-subcategory-options .upload-btn{
    width: 100%;
    text-align: center;
    border-radius: 25px;
    padding: 10px;
    font-size: 16px;
}
.svs-close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: #555;
    cursor: pointer;
}

.svs-close-modal:hover {
    color: #000;
}
.svs-category-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.svs-close-modal:hover{
    background: transparent !important;
}
#svs-category-step h4,
#signature-svs-category-step h4{
    text-align: center;
}
#svs-subcategory-step h4,
#signature-svs-subcategory-step h4{
    text-align: center;
}
#svs-view-backdrop {
    display: none;
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
#svs-view-popup {
    width: 100%;
    max-height: 90vh;
    overflow-y: auto; /* inner content scrolls if needed */
    position: fixed;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 10px;
    z-index: 9999;
    max-width: 420px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 20px;
}
button#svs-save-meta-btn {
    background-color: #00A9A3;
    border: none;
    color: white;
    border-radius: 70px;
    width: 100px;
}
button#svs-delete-item-btn {
    background-color: #00A9A3;
    border: none;
    color: white;
    border-radius: 70px;
    width: 100px;
}
button#svs-add-to-look-btn {
    background-color: #00A9A3;
    border: none;
    color: white;
    border-radius: 70px;
}
.svs-view-image-card {
    height: 200px;
}
button#svs-close-popup,
button#svs-close-popup:hover{
    color: black;
}
.svs-look-item-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.svs-look-item {
    width: 100%;
    height: 100%;
    background-size: contain; /* Changed from cover to contain */
    background-position: center;
    background-repeat: no-repeat; /* Added to prevent image tiling */
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background-color: #f5f5f5; /* Light background to show full image bounds */
}

.svs-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s ease;
    border-radius: 10px;

    /* ✅ This makes overlay transparent to mouse clicks */
    pointer-events: none;
}

.svs-hover-overlay span {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    pointer-events: none; /* ensure text also doesn't block */
}

.svs-look-item-wrapper:hover .svs-hover-overlay {
    opacity: 1;
}

/* Mobile (tabs layout) */

    .svs-sidebar {
        width: 100% !important;
        background-color: transparent !important;
        padding: 0 !important;
        flex: 0px !important;
	margin-bottom: -20px !important;
        height: 100% !important;
    }
    div#svs-user-items {
    margin-top: 0px !important;
}

  .svs-sidebar nav ul {
    display: flex !important;
    justify-content: space-around;
    /* gap: 20px !important; */
  }
  li.sidebar-li {
     padding: 0px !important;
    color: white !important;
}

li.sidebar-li {
    background-color: white !important;
    border-radius: 0px !important;
    color: #00A9A3 !important;
    border: 1px solid #00A9A3 !important;
        border-bottom: transparent !important;
}
li.sidebar-li.active {
    background-color: #00A9A3 !important;
    border-radius: 0px !important;
    color: white !important;
}
  .svs-sidebar nav ul li {
     width: 100% !important;
    text-align: center !important;
    margin: 0 !important;
  }

  .svs-sidebar nav ul li a {
    padding: 12px !important;
    border-radius: 0 !important;
    color: #333 !important;
    background: none !important;
    font-weight: bold !important;
  }

  .svs-sidebar nav ul li.active a {
    color: white !important;
    background: none !important;
  }
  main.svs-main-content {
    height: 100% !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    /* padding: 0px 20px !important; */
}

    .svs-looks-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.svs-look-image-box {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 10px;
}
.svs-look-img-only {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.no-looks-msg {
    margin-top: 30px;
    font-size: 16px;
    color: #777;
}
.svs-look-image-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.svs-hover-overlay-creator {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.svs-look-image-box:hover .svs-hover-overlay-creator {
    opacity: 1;
    cursor: pointer;
}


/*Pagination*/
.svs-pagination {
    margin-top: 30px;
    text-align: center;
}

.svs-pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.svs-pagination .current {
    background-color: #357276;
    color: white;
    border-color: #357276;
}

.svs-pagination .page-numbers:hover {
    background-color: #f0f0f0;
}
#svs-loader {
    font-size: 16px;
    font-family: "Lexend Deca", sans-serif;
    color: #357276;
}
.svs-pagination .current
 {
    background-color: #00A9A3 !important;
    color: white;
    border-color: #00A9A3 !important;
}
button#create-look,
button#back-look,
button#add-multi-looks,
button#back-look-card,
button#from-items,
button#from-signature,
button#back-look-signature,
button#signature-add-to-canvas,
#delete-look-btn,
.edit-look-btn
 {
    color: white;
    background: #00A9A3;
    border: none;
    border-radius: 70px;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
button#create-look::before,
button#back-look::before,
button#add-multi-looks::before,
button#back-look-card::before,
button#from-items::before,
button#from-signature::before,
button#back-look-signature::before,
button#signature-add-to-canvas::before,
#delete-look-btn::before,
.edit-look-btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.2) 100%);
    transform: skewX(-20deg);
    transition: all 0.6s ease-in-out;
    z-index: 2;
}

button#create-look:hover::before,
button#back-look:hover::before,
button#add-multi-looks:hover::before,
button#back-look-card:hover::before,
button#from-items:hover::before,
button#from-signature:hover::before,
button#back-look-signature:hover::before,
button#signature-add-to-canvas:hover::before,
#delete-look-btn:hover::before,
.edit-look-btn:hover::before{
    left: 125%;
}
.edit-look-btn:hover{
    background: #00A9A3;
}
.signature-canvas-button {
    display: flex;
    justify-content: flex-end;
}

/*Create Look*/
.svs-look-builder {
    max-width: 1000px;
    margin: 0 auto;
}
.svs-category-filter {
    text-align: center;
    margin: 15px 0;
}
.svs-category-filter select {
    padding: 6px 12px;
    font-size: 14px;
}
.svs-category-icons {
    text-align: center;
    margin-bottom: 15px;
        display: flex;
    justify-content: center;
    align-items: center;
}
.svs-category-icons button {
    font-size: 16px;
    background: #eee;
    border: none;
    border-radius: 5px;
    margin: 0 3px;
    padding: 5px 10px;
    cursor: pointer;
}
.svs-look-gallery-create-look {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}
.svs-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.svs-selectable-look {
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    cursor: pointer;
}
.svs-grid-8 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}
.svs-grid-item {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.svs-remove {
    position: absolute;
    top: -6px;
    right: -2px;
    background: transparent;
    color: red;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
}
.svs-remove:hover {
    background: transparent;
    color: red;
}

.svs-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.svs-modal-content {
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 350px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.svs-modal-content p {
  font-size: 16px;
  margin-bottom: 20px;
}
.svs-modal-buttons button {
  margin: 0 10px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
}
#exit-confirm-ok {
  background-color: #d9534f;
  color: white;
}
#exit-confirm-close {
  background-color: #ccc;
}
.add-look-canvas {
    display: flex;
    justify-content: flex-end;
}

#svs-look-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#svs-look-modal .modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

#svs-look-modal h2 {
  margin-bottom: 20px;
}

#svs-look-modal .svs-close-icon {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s ease;
}

#svs-look-modal .svs-close-icon:hover {
  color: #000;
}
button#from-items {
    width: 57%;
}
.item-signature-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}


/*Create Look*/
.signature-look-builder {
    max-width: 1000px;
    margin: 0 auto;
}
.signature-category-filter {
    display: flex;
    margin: 15px 0px;
    align-items: center;
    gap: 10px;
}
.signature-category-filter select {
    padding: 6px 12px;
    font-size: 14px;
}
.signature-category-icons {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
button.signature-cat-icon.cat-icon {
    background: transparent !important;
    text-align: center;
    display: flex;
}
button.svs-cat-icon.cat-icon {
    background: transparent !important;
    text-align: center;
    display: flex;
}
.signature-category-icons button,
.svs-category-icons button{
    font-size: 18px;
    background: #eee;
    border: none;
    border-radius: 5px;
    margin: 0 3px;
    padding: 5px 10px;
    color: #00A9A3 !important;
}
.svs-category-icons button:hover,
.svs-category-icons button:focus,
.signature-category-icons button:hover,
.signature-category-icons button:focus{
    font-size: 18px;
    background: #00A9A3;
    border: none;
    border-radius: 5px;
    margin: 0 3px;
    padding: 5px 10px;
    color: white !important;
}
.signature-look-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}
.signature-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.signature-selectable {
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    cursor: pointer;
}
.signature-grid-8 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}
.signature-grid-item {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.signature-remove {
    position: absolute;
    top: -6px;
    right: -2px;
    background: transparent;
    color: red;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 30px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
}
.signature-remove:hover {
    background: transparent;
    color: red;
}
.svs-category-filter {
    display: flex;
    margin: 15px 0;
    align-items: center;
    justify-content: space-between;
}

.svs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.svs-modal-box {
  background: white;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
  text-align: center;
}

.svs-close-icon {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 20px;
  cursor: pointer;
}

#view-look-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.svs-modal-actions button {
  margin: 0 10px;
  padding: 8px 16px;
}
.svs-tags-share-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    justify-content: space-between;
}
span.svs-tag {
    border: 1px solid #00A9A3;
    padding: 0px 10px;
    border-radius: 20px;
}
button#svs-add-tag-btn {
    color: white;
    background: #00A9A3;
    border: none;
    border-radius: 70px;
    padding: 7px 16px !important;
}
.looks-toolbar button {
    color: white !important;
    background: rgb(0, 169, 163) !important;
    border-width: initial !important;
    border-style: none !important;
    border-color: initial !important;
    border-image: initial !important;
    border-radius: 70px !important;
    padding: 10px 20px !important;
}
.looks-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
     margin-top: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.canvas-container {
  width: 100% !important;
  max-width: 800px !important;
  aspect-ratio: 8 / 7 !important; /* Or use 800/700 */
  margin: 0 auto !important;
  position: relative !important;
  background: #e6f1fa !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 24px rgba(91,155,213,0.04) !important;
}

.canvas-container canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block !important;
  position: absolute !important; /* For fabric.js overlay, else relative */
  top: 0; left: 0 !important;
  background: transparent !important;
  border-radius: 12px !important;
}
@media (max-width: 800px) {
  .canvas-container {
    max-width: 98vw !important;
    min-width: 0 !important;

    border-radius: 8px !important;
  }
}

@media (max-width: 766px){
    select#signature-category-select,
    #svs-category-select{
    width: 50%;
}
  .canvas-container {
   height: 400px !important;
  }
}

.calendar-filter-container
 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*Your Item Loader*/
.svs-look-item-loader-overlay {
    position: absolute;
    z-index: 10;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.svs-loader-spinner {
    border: 4px solid #eee;
    border-top: 4px solid #5b9bd5;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    animation: svs-spin 0.8s linear infinite;
}
@keyframes svs-spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
.svs-look-item-wrapper {
    position: relative;
}
.btn-loader {
    display: inline-block;
    vertical-align: middle;
}
.svs-btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid #eee;
    border-top: 3px solid #5b9bd5;
    border-radius: 50%;
    animation: svs-spin 0.8s linear infinite;
}
@keyframes svs-spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
#svs-status-modal {
    position: fixed;
    z-index: 99999;
    left: 0; top: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.svs-status-modal-backdrop {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
}
.svs-status-modal-content {
    position: relative;
    background: #fff;
    padding: 32px 32px 24px 32px;
    border-radius: 12px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.18);
    z-index: 1;
    min-width: 300px;
    max-width: 90vw;
    text-align: center;
    font-family: inherit;
}
#svs-status-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}
#svs-status-message {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 18px;
}
#svs-status-close-btn {
   font-size: 1rem;
    cursor: pointer;
    color: white;
    background: #00A9A3;
    border: none;
    border-radius: 70px;
    padding: 7px 28px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.svs-subcategory-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    border-radius: 16px;
}
.svs-subcategory-spinner {
    width: 36px;
    height: 36px;
    border: 5px solid #eee;
    border-top: 5px solid #5b9bd5;
    border-radius: 50%;
    animation: svs-spin 0.9s linear infinite;
}
@keyframes svs-spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
.svs-subcategory-step {
    position: relative; 
}
.btn-loader {
    display: inline-block;
    vertical-align: middle;
}
.svs-btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid #eee;
    border-top: 3px solid #5b9bd5;
    border-radius: 50%;
    animation: svs-spin 0.8s linear infinite;
}
@keyframes svs-spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
button.svs-add {
    color: white;
    background: #00A9A3 !important;
    border: none;
    border-radius: 70px;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.svs-status-modal-backdrop {
    position: fixed !important;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.svs-status-modal-content {
    position: relative;
    background: #fff;
    padding: 36px 32px 28px 32px;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.16);
    z-index: 2;
    min-width: 320px;
    max-width: 92vw;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: inherit;
}

#svs-status-modal,
#svs-login-required-modal {
    position: fixed;
    z-index: 99999;
    left: 0; top: 0; right: 0; bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-width: 100vw;
    background: none !important; /* No color, handled by backdrop */
}
#svs-status-modal,
#svs-login-required-modal,
#svs-confirm-modal {
    position: fixed;
    z-index: 99999;
    left: 0; top: 0; right: 0; bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-width: 100vw;
    background: none !important; /* No color, handled by backdrop */
}

#svs-status-modal[style*="display: flex"],
#svs-login-required-modal[style*="display: flex"],
#svs-confirm-modal[style*="display: flex"] {
    display: flex !important;
}
#svs-confirm2-modal {
    position: fixed;
    z-index: 99999;
    left: 0; top: 0; right: 0; bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-width: 100vw;
    background: none !important;
}

#svs-confirm2-modal[style*="display: flex"] {
    display: flex !important;
}

.svs-confirm2-backdrop {
    position: fixed !important;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.18);
    z-index: 1;
}

.svs-confirm2-content {
    position: relative;
    background: #fff;
    padding: 32px 32px 24px 32px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    z-index: 2;
    min-width: 300px;
    max-width: 92vw;
    text-align: center;
    margin: 0 auto;
    font-family: inherit;
}
.svs-confirm2-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.16);
    z-index: 1;
    pointer-events: auto;
    transition: background 0.2s;
}
button.signature-cat-icon.cat-icon {
    background: transparent !important;
}

/*Stylist Look*/
.svs-look-item {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
}

.svs-look-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.2em;
    font-weight: bold;
}

.svs-look-item:hover .svs-look-overlay {
    opacity: 1;
}

.svs-modal {
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.svs-modal-content {
    background: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
    max-width: 90%;
    border-radius: 10px;
}

#svs-look-modal-close {
    position: absolute;
    top: 5px; right: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

.svs-look-action-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #5b9bd5;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}
.stylist-look .svs-look-item {
    border: 1px solid rgba(0, 0, 0, 0.5) !important;
}

.signature-filter-icon {
    display: flex;
    justify-content: space-between;
}
@media (min-width: 767px){
    select#signature-category-select,
    #svs-category-select{
    width: 100%;
}
}

aside.svs-sidebar {
    margin-top: 20px;
    margin-bottom: 30px !important;
}


.svs-item-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 10000;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#svs-item-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
}

.svs-modal-close-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.svs-modal-heading {
    text-align: center;
    margin-bottom: 20px;
}

.svs-modal-field {
    margin: 10px 0;
}

.svs-modal-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #5b9bd5;
    color: #fff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
}

.svs-modal-image-wrapper {
    margin-top: 15px;
    text-align: center;
}

.svs-modal-image-wrapper img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.svs-modal-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.svs-modal-actions button {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
}

.tag-container {
   margin-top: 10px;
}
.look-tool-bar-container {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
@media (max-width: 500px) {
.svs-sidebar nav ul li a {
    font-size: 12px !important;
    padding: 9px !important;
  }
}

@media (max-width: 766px) {
.signature-filter-icon {
    flex-direction: column;
    margin-bottom: 10px;
}
.look-tool-bar-container {
    flex-wrap: wrap;
}
}
.signature-category-icons {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 8px;
  scrollbar-width: thin;         /* Firefox */
  scrollbar-color: #aaa #f5f5f5; /* Firefox */
}

/* Optional: Nicer scroll bar for Chrome/Webkit */
.signature-category-icons::-webkit-scrollbar {
  height: 6px;
}
.signature-category-icons::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 10px;
}
.signature-category-icons::-webkit-scrollbar-track {
  background: #f5f5f5;
}
.svs-category-icons {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 8px;
  scrollbar-width: thin;         /* Firefox */
  scrollbar-color: #aaa #f5f5f5; /* Firefox */
}

.svs-category-icons::-webkit-scrollbar {
  height: 6px;
}
.svs-category-icons::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 10px;
}
.svs-category-icons::-webkit-scrollbar-track {
  background: #f5f5f5;
}
/* Share modal backdrop */
#svs-share-modal {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal box */
.svs-share-modal {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  max-width: 90%;
  width: 400px;
  position: relative;
}

/* Blue E branding logo */
.svs-share-modal .branding-logo {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 40px;
  opacity: .8;
}

/* Share buttons */
.svs-share-buttons button {
  margin: 0 8px;
  padding: 8px 16px;
  cursor: pointer;
}
