.ld-custom-icon {
  position: relative;
  width: 150px;
  float: right;
  height: 40px;
  z-index: 9999;
  font-size: 13px;
}

.ld-custom-icon:hover {
  color: #00A79D;
}
/* 
.ld-custom-icon .ld-icon {
  color: #fffcf8;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 900;
} */
/* Animation for sliding from the right */
@keyframes slideInFromRight {
  0% {
      transform: translateX(100%); /* Start off-screen to the right */
  }
  100% {
      transform: translateX(0); /* Slide into the normal position */
  }
}
.animate-slide-in {
  animation: slideInFromRight 0.5s ease-out forwards; /* Apply the sliding animation */
}
/* General Styles for the Popup */
.support-popup {
  display: none;
  position: fixed;
  bottom: 1%;
  left: 63%;
  width: 100%;
  max-width: 37%;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-radius: 10px 0px 0px 10px;
  z-index: 99000;
  animation-delay: 0.2s;
}

/* Popup Content */
.popup-content {
  padding: 20px;
}

/* Popup Header */
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.popup-header h2 {
  font-size: 1.5rem;
  color: #333;
  margin: 0;
}

.popup-close {
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.3s;
  background: #AE3033;
  border-radius: 3px;
}
.popup-close:hover {

  background: #df4749;
  color: #f8f6f6;
}



/* Form Styles */
#support_popup-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 5px;
}

.input-group input,
.input-group select,
textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
  color: #333;
}

textarea {
  resize: vertical;
  height: 100px;
}
.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.input-group {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.input-group input {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

.input-group input:focus {
  border-color: #007bff;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}

@media (max-width: 768px) {
  .two-column {
      flex-direction: column;
  }
}

/* File input container */
.file-input-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#ticket-screenshoot {
  font-size: 14px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  flex-grow: 1;
}

#ticket-screenshoot:focus {
  border-color: #007bff;
  outline: none;
}

.screenshot-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Styling for the capture button */
#capture-screenshot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  background-color: #F7941D;
  color: white;
  font-size: 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 14%;
}

#capture-screenshot:hover {
  background-color: #00A79D;
}

.icons_item_inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Screenshot preview container */
#screenshot-preview {
  padding: 5px;
  background-color: #e9ecef;
  border-radius: 47px;
  border: 1px solid #ddd;
  min-height: 28px;
  width: 60px;
  height: 60px;
  margin-left: 15px;
}

#screenshot-preview img {
  max-height: unset;
  object-fit: cover;
  border-radius: 50px;
  height: 49px;
}

#image-modal-preview {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

#close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

/* Submit Button */
#support_popup-form button[type="submit"] {
  padding: 10px 20px;
  background-color: #F7941D;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#support_popup-form button[type="submit"]:hover {
  background-color: #00a79d;
}





/* Responsive Styles */
@media (max-width: 768px) {
  .tow-column {
    flex-direction: column;
    gap: 10px;
  }

  .popup-content {
    padding: 15px;
  }

  .popup-header h2 {
    font-size: 1.25rem;
  }
}

/* Small screen adjustments */
@media (max-width: 780px) {
  .file-input-container {
    flex-direction: column;
  }

  .file-input {
    width: 100%;
  }

  .capture-btn {
    width: 100%;
    margin-top: 10px;
  }
  /* .kwf-header {
    display: none !important;
} */
}

div#pedagogic_support_btn {
  font-size: 15px;
  border-color: transparent;
  width: auto;
  max-width: 200px;
  background: #AE3033;
  height: 34px;
  color: aliceblue;
  font-weight: 500;
  border-radius: 29px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  border: 1px solid #ccc;
  padding: 10px;
}
div#pedagogic_support_btn .support_icon_li {
  margin-right: 5px;
}

div#ticket-screenshot-group small {
  font-size: 12px;
}


.screenshot-group {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  width: 100%;
}

#upload-button {
  padding: 3px 10px 3px 5px;
  background-color: #f7941d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
#upload-button i {
  font-size: 25px;
}
#upload-button:hover {
  background-color: #00a79d;
}

.image-preview {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  
}

.image-preview img {
  max-width: 60px;
  max-height: 60px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 5px;
}

.remove-icon {
  position: absolute;
  font-size: 20px;
  color: #ffffff;
  cursor: pointer;
  right: 0px;
  top: 1px;
  background: #D32F2F;
  border-radius: 39px;
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
}
.ld-item-list-actions {
  flex-direction: row-reverse;
}
.support_icon_li {
  font-size: 20px;
  border-radius: 3px;
  color: #ffffff;
  font-weight: 500;
}
#pedagogic_support_li {
  width: 50px;
  height: 50px;
  background-color: #00A79D;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: visible;
  opacity: 1;
  transform: translateX(2px);
  order: 0;
  position: relative;
  z-index: 999;
  background: #AE3033;
  padding: 5px 9px;
  font-size: 14px;
  border-radius: 30px;
  color: #fff;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
}
