.preview-content .ql-size-small {
    font-size: 14px;
    line-height: 1.4;
}

.preview-content p {
    font-size: 16px;
    line-height: 1.6;
}

.preview-content .ql-size-large {
    font-size: 20px;
    line-height: 1.6;
}

.preview-content .ql-size-huge {
    font-size: 32px;
    line-height: 1.4;
}

.ql-font-monospace {
    font-family: monospace, "Courier New", Courier;
}

.ql-font-sans-serif {
    font-family: sans-serif, Arial, Helvetica;
}

.ql-font-serif {
    font-family: serif, Georgia, "Times New Roman";
}


.preview-content img {
    height: 150px;
}

/* for alignment */
.preview-content .ql-align-right {
    text-align: right;
    /* Aligns text to the right */
}

.preview-content .ql-direction-rtl {
    direction: rtl;
    /* Sets text direction to right-to-left */
    margin-right: 25px;
}

.preview-content .ql-align-center {
    text-align: center;
    /* Aligns text to the right */
}

/* indentation of quill editor */

/* Base class for indentation (default no indent) */
.preview-content .ql-indent {
    margin-left: 0%;
    overflow-wrap: break-word;
    /* Starting indent at 10% */
}

/* Increase indentation by 1 level (10% more) */
.preview-content .ql-indent-1 {
    margin-left: 10%;
    overflow-wrap: break-word;
}

/* Increase indentation by 2 levels (20% more) */
.preview-content .ql-indent-2 {
    margin-left: 20%;
    overflow-wrap: break-word;
}

/* Increase indentation by 3 levels (30% more) */
.preview-content .ql-indent-3 {
    margin-left: 30%;
    overflow-wrap: break-word;
}

/* Increase indentation by 4 levels (40% more) */
.preview-content .ql-indent-4 {
    margin-left: 40%;
    overflow-wrap: break-word;
}

/* Increase indentation by 5 levels (50% more) */
.preview-content .ql-indent-5 {
    margin-left: 50%;
    overflow-wrap: break-word;
}

/* Increase indentation by 6 levels (60% more) */
.preview-content .ql-indent-6 {
    margin-left: 60%;
    overflow-wrap: break-word;
}

/* Increase indentation by 7 levels (70% more) */
.preview-content .ql-indent-7 {
    margin-left: 70%;
    overflow-wrap: break-word;
}

/* Increase indentation by 8 levels (80% more) */
.preview-content .ql-indent-8 {
    margin-left: 80%;
    overflow-wrap: break-word;
}

.help-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    font-style: italic;
}


/* image swatch tooltip  */

.imageSwatchImages {
    transition: border-color 0.3s ease;
}

.imageSwatchImages:hover {
    border: 3px solid #66b3ff !important;
}

/* tooltip */
.tooltip {
    position: relative;
    display: inline-block;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #ffffff;
    color: #333;
    text-align: center;
    font-size: 14px;
    border-radius: 8px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 135%;
    left: 50%;
    margin-left: -70px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); 
    transform: translateY(10px); 
  }
  
  .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent; 
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }