.asterisk {
    color: Red;
    font-weight: bolder;
    margin-right: 0;
    line-height: 18px;
    vertical-align: top;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    /* semi-transparent background */
    z-index: 1000;
}

.p-multiselect .p-component .p-inputwrapper {
    height: 35px !important;
    width: 220px !important;
}

.p-multiselect-items-wrapper>ul {
    padding-left: 0% !important;
}

.p-multiselect .p-multiselect-label {
    padding: 8px 10px !important;
}

.p-component {
    font-size: 0.8rem !important;
}

.p-multiselect {
    background: none;
    width: 100% !important;
    margin-bottom: 15px;
}

.p-multiselect:not(.p-disabled).p-focus {
    box-shadow: none;
}

.p-multiselect-items-wrapper>ul {
    padding-left: 0%;
}

.p-multiselect .p-multiselect-label.p-placeholder {
    color: #6c757d;
}

.p-multiselect-panel .p-multiselect-items .p-multiselect-item {
    color: #000000;
}

.p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-multiselect-filter-icon {
    right: 0.75rem;
}

.p-multiselect-panel .p-multiselect-items {
    padding: 0rem 0 !important;
}

.p-multiselect-panel .p-multiselect-items .p-multiselect-item {
    margin: 0;
    padding: 0.50rem 1rem;
    order: 0 none;
    color: #4b5563;
    background: transparent;
    transition: box-shadow 0.2s;
    border-radius: 0;
}

.p-multiselect:not(.p-disabled):hover {
    border-color: #C6C6C6 !important;
}

/* .image-preview {
    width: 100%;
    max-width: 300px;
    height: 200px;
    border: 2px dashed #ced4da;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #f8f9fa;
    position: relative;
    cursor: pointer;
  }
  
  .image-preview img {
    max-width: 100%;
    max-height: 100%;
    display: block;
  } */

  .qr-preview {
    border: 2px dashed #ddd;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
  }

  .preview-qrimage {
    width: 150px;
    height: 100px;
    object-fit: cover;
    /* border: 1px solid #ddd; */
    border-radius: 5px;
  }
  
  .image-preview {
    border: 2px dashed #ddd;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
  }
  
  .image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
  }
  
  .image-container {
    position: relative;
    display: inline-block;
  }
  
  .preview-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  .icon-gradient-btn {
    background: transparent;
    border: none;
    padding: 0.4rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .icon-gradient-btn i {
    font-size: 24px;
    background: linear-gradient(45deg, #ff6ec4, #7873f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.2s;
  }

  .icon-gradient-btn:hover i {
    transform: scale(1.2);
  }
  
  .remove-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4d4d;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
  }
  
  .remove-btn:hover {
    background-color: #ff1a1a;
  }
  
  .placeholdertext {
    color: #6c757d;
    text-align: center;
    font-size: 14px;
  }

  .text-wrap {
    white-space: normal; /* Allows text to wrap */
    word-wrap: break-word; /* Breaks long words to fit within the column */
    word-break: break-word; /* Ensures word breaking for long unbroken text */
  }

  .gap10 {
    gap: 10px;
  }

  .header-padding {
    padding-left: 0px !important;
  }

  .modal-body img {
    min-width: 75%;
    max-width: 75%;
    min-height: 75%;
    max-height: 75%;
    border: 1px solid #ccc;
    border-radius: 8px;
  }

  .invalid-feedback-custom {
    width: 100%;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875em;
    color: var(--bs-form-invalid-color);
  }

  .is-invalid-custom {
    border-color: var(--bs-form-invalid-border-color) !important
  }

  /* Zoomed view (floating area) */
.zoomed-area {
    position: absolute;
    width: 600px;
    height: 500px;
    border: 2px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    pointer-events: none;
    background-repeat: no-repeat;
    background-color: #fff;
    z-index: 10;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .zoomed-area {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .zoomed-area {
        width: 100px;
        height: 100px;
    }
}