/* defines the styles for a loading spinner that appears while content is being loaded.  */
#lwip-loader-wrapper {
  position: fixed;
  top: 40%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Simple animation for the loader */
.lwip-loader {
  border: 3px solid #f3f3f3;
  border-radius: 50%;
  border-top: 3px solid #27c4cf;
  width: 25px;
  height: 25px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 0.8s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#lwip-main-div {
  visibility: hidden;
}

.lwip-ant-modal-content {
  display: none;
}

.lwip-error-message {
  color: #ff4d4f;
}

.lwip-error-message-filter {
  color: #ff4d4f;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.lwip-success-message {
  color: green;
}

/* style for instaplug main header  */
.instaplug-header {
  background: #ffffff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: -20px;
}

.instaplug-full-logo {
  height: 100%;
  width: 250px;
}

.instaplug-logo {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  color: #333333;
}

/* Authentication Process Styles */
/* 
This CSS defines the styles for various authentication-related UI elements.
It applies to components displayed during:
- Connect API KEY
*/
.instaplug-connect-btn {
  text-decoration: none;
  background-color: #333333;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.lwip-connect-popup {
  display: none;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #252525;
  padding: 30px;
  width: 390px;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  z-index: 1001;
  color: white !important;
}

.lwip-connect-popup h2 {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.lwip-popup-form input[type="text"] {
  width: calc(100% - 0px);
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  color: black !important;
}

.lwip-popup-form button {
  width: calc(100% - 0px);
  background-color: #27c4cf;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}

.lwip-popup-form button:hover {
  background-color: #48bdc5;
}

.lwip-popup-form a {
  color: white !important;
  text-decoration: none;
}

.lwip-popup-form a:hover {
  color: #27c4cf !important;
}

.lwip-auth-form-txt {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  font-size: 14px;
}

.lwip-auth-form-txt a {
  margin-left: 10px;
  color: white;
}

.lwip-auth-form-txt a:hover {
  color: #4dd7db;
}
/* Create new widget popup styles */
.lwip-open-popup-crt-btn {
  color: #fff;
  background-color: #27c4cf;
  border: none;
  border-radius: 6px;
  width: 142px;
  height: 32px;
  box-shadow: 0 2px 0 rgba(5, 255, 222, 0.06);
  display: flex;
  align-items: center;
}

.lwip-open-popup-crt-btn:hover {
  cursor: pointer;
  background-color: #59c7cf;
}

.lwip-open-popup-crt-btn-txt {
  margin-inline-start: 8px;
  line-height: 1;
}

.lwip-open-popup-plus-svg {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.lwip-popup-image {
  width: calc(100% - 0px);
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  color: black !important;
  background-color: white;
}

.lwip-connect-popup-image {
  width: calc(100% - 5px);
  border: 2px solid white;
}

#lwip-popup {
  font-family: "Nunito", sans-serif;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px 24px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 100;
  transition: opacity 0.3s ease;
}

.lwip-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.lwip-widget-form-header {
  margin-bottom: 0.5em;
  color: rgba(0, 0, 0, 0.88);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
}

#lwip-create-new-widget-frm input[type="text"] {
  height: 32px;
  padding: 6px 12px;
  width: 100%;
  border-width: 1px;
  border-color: #d9d9d9;
  border-style: solid;
  border-radius: 6px;
}

.lwip-widget-form-btns {
  display: flex;
}

.lwip-widget-form-crt-btns {
  padding-left: 4px;
  padding-right: 4px;
}

.lwip-widget-form-cncl-btns {
  padding-left: 4px;
  padding-right: 4px;
}

.ip-create-widget-btn {
  color: #fff;
  background-color: #27c4cf;
  border: none;
  height: 32px;
  width: 180px;
  box-shadow: 0 2px 0 rgba(5, 255, 222, 0.06);
  border-radius: 6px;
}

.ip-cncl-btn {
  color: #fff;
  background-color: #ff4d4f;
  border: none;
  height: 32px;
  width: 180px;
  box-shadow: 0 2px 0 rgba(5, 255, 222, 0.06);
}

.ip-cncl-btn:hover {
  cursor: pointer;
  background-color: #f8686b;
}

.ip-crt-btn:hover {
  cursor: pointer;
  background-color: #69c6cd;
}

.lwip-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  margin: 15px 4px;
  width: max-content;
}

.lwip-checkbox-wrapper input[type="checkbox"] {
  margin: 0;
  height: 16px;
  width: 16px;
}

.lwip-disabled-shoppablefeed-container {
  color: rgba(0, 0, 0, 0.25);
  cursor: not-allowed;
}

#lwip-enable-shopplefeed-checkbox:disabled {
  cursor: not-allowed;
}

/* widget limit premium popup */

.lwip-new-widget-premium-popup {
  display: none;
  font-family: "Nunito", sans-serif;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  background-clip: padding-box;
  padding: 20px 24px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),
    0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
  z-index: 100;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

.lwip-new-widget-premium-modal-content .lwip-new-widget-premium-modal-body {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 14px;
  line-height: 1.5714285714285714;
  word-wrap: break-word;
  padding: 0;
}

.lwip-new-widget-premium-modal-content
  .lwip-new-widget-premium-modal-body
  .widget-count-reached {
  background-color: #ffa0001a;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  padding: 10px;
  text-align: center;
  width: 88px;
}

.lwip-new-widget-premium-modal-content
  .lwip-new-widget-premium-modal-body
  .heading {
  font-size: 24px;
  margin: 0 0 8px;
}

.lwip-new-widget-premium-modal-content
  .lwip-new-widget-premium-modal-body
  .access-info {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.lwip-new-widget-premium-modal-content
  .lwip-new-widget-premium-modal-body
  button {
  background-color: #0ec12f;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  height: 40px;
  padding: 7px 15px;
}

.lwip-new-widget-premium-modal-content
  .lwip-new-widget-premium-modal-body
  button:hover {
  cursor: pointer;
  color: #000;
}

.lwip-text-center {
  text-align: center;
}

.lwip-mt-16 {
  margin-top: 16px;
}

/* Copy button css */
.lwip-tooltip {
  position: relative;
  display: inline-block;
}

.lwip-tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.lwip-upgrade-plan-tooltip .tooltiptext {
  width: 350px;
  bottom: 100%;
  left: 30%;
}

.lwip-tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.lwip-tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.lwip-video-icon svg {
  z-index: 100;
  position: absolute;
  right: 10px;
  top: 10px;
  color: rgb(255, 255, 255);
  fill: rgb(255, 255, 255);
  height: 20px;
  width: 20px;
}

.lwip-video-container-icon video::-webkit-media-controls {
  display: none !important;
}

.lwip-video-container-icon video::-moz-media-controls {
  display: none !important;
}

.lwip-video-container-icon video::-ms-media-controls {
  display: none !important;
}

.lwip-video-container-icon video::-o-media-controls {
  display: none !important;
}

/* Publish/Un-Publish widgets */
.ip-unpublished-widget {
  color: #cf1322;
  background: #fff1f0;
  border-color: #ffa39e;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 20px;
  list-style: none;
  font-family: "Nunito", sans-serif;
  display: inline-block;
  height: auto;
  margin-inline-end: 8px;
  padding-inline: 7px;
  white-space: nowrap;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  opacity: 1;
  transition: all 0.2s;
  text-align: start;
}

.ip-published-widget {
  color: #389e0d;
  background: #f6ffed;
  border-color: #b7eb8f;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 20px;
  list-style: none;
  font-family: "Nunito", sans-serif;
  display: inline-block;
  height: auto;
  margin-inline-end: 8px;
  padding-inline: 7px;
  white-space: nowrap;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  opacity: 1;
  transition: all 0.2s;
  text-align: start;
}

.lwip-member-instagram-connect-button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #d9d9d9;
  padding: 4px 15px;
}

.lwip-member-instagram-connect-button:hover {
  border: 1px solid #4dd7db;
  color: #4dd7db;
}

.lwip-member-instagram-connect-button-span {
  margin-top: 2px;
}

.lwip-member-instagram-connect-button-span-text {
  margin-left: 5px;
}

/* Main page Profile Css */
.lwip-profile-menu {
  position: relative;
  display: inline-block;
}

.lwip-profile-button {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.lwip-avatar {
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  padding: 10px;
  margin-right: 5px;
  font-size: 16px;
  height: 12px;
  width: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lwip-icon {
  font-size: 20px;
}

/* style drop down menus */
.lwip-dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  border-radius: 5px;
  overflow: hidden;
  width: 150px;
  margin-left: -100px;
  z-index: 1;
}

.lwip-dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  cursor: pointer;
}

.lwip-dropdown-item .lwip-icon-container {
  margin-right: 10px;
}

.lwip-dropdown-item:hover {
  background-color: #f0f0f0;
}

.lwip-dropdown-item button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

/* User Profile Process Styles */
/* These styles ensure a consistent and user-friendly design for the profile update interface. */

.lwip-profile-back-btn {
  justify-content: center;
  align-items: center;
  padding: 35px 0 0 0;
  font-weight: 500;
  cursor: pointer;
  font-size: 14px;
  width: 100px;
}

.lwip-profile-back-btn:hover {
  color: #27c4cf;
}

.lwip-profile-back-btn svg {
  vertical-align: middle;
  margin-right: 5px;
}

.lwip-user-profile-container {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 32px;
}

.lwip-user-profile-form-card {
  width: 100%;
  max-width: 40%;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: white;
  border-radius: 10px;
  height: auto;
}

.lwip-user-profile-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #ddd;
}

.lwip-user-profile-form-card-heading {
  font-size: 1.5em;
  margin: 0;
  font-size: 18px;
}

.lwip-user-profile-form-card-body {
  padding: 16px;
}

.lwip-user-profile-form-item {
  margin-bottom: 16px;
  position: relative;
}

.lwip-user-profile-form-item label {
  display: block;
  margin-bottom: 8px;
}

.lwip-user-profile-form-item label::before {
  display: inline-block;
  margin-inline-end: 4px;
  color: #ff4d4f;
  font-size: 14px;
  font-family: SimSun, sans-serif;
  line-height: 1;
  content: "*";
}

.lwip-user-profile-form-item input[type="text"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  height: 22px;
}

.lwip-clear-input {
  position: absolute;
  right: 10px;
  top: 36px;
  border: none;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  border-radius: 100%;
  color: white;
  height: 12px;
  width: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lwip-user-profile-form-item input[type="text"]:focus {
  outline: none;
  border: 1px solid #27c4cf;
  box-shadow: 0 0 0 0.5px #27c4cf;
}

.lwip-user-profile-form-item input[disabled] {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.lwip-user-profile-btn-group {
  display: flex;
  gap: 8px;
}

.lwip-user-profile-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.lwip-btn-primary {
  background-color: #27c4cf;
  color: #fff;
}

.lwip-btn-danger {
  background-color: #ff4d4f;
  color: #fff;
}

.lwip-btn-disabled {
  background-color: #c0c0c0 !important;
  cursor: not-allowed !important;
}

.lwip-input-error {
  border: 1px solid red !important;
  box-shadow: 0 0 0 1px #e93838 !important;
}

.lwip-add-member-err-span {
  display: block;
  margin-top: -10px;
  margin-bottom: 10px;
}

/* Widget Limit bar */

.lwip-widget-dashboard {
  width: 60%;
  margin: auto;
  margin-bottom: 25px;
  margin-left: 0px;
}

/* This CSS defines the styling for the icon representing non-premium or free users.*/

.lwip-widget-free-user-icon {
  font-family: "Nunito", sans-serif;
  border: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  display: flex;
  color: #fff;
  background-color: #0ec12f;
  font-size: 16px;
  font-weight: 600;
  height: 32px;
  padding: 4px 11px;
  border-radius: 4px;
  margin-left: 10px;
}

.lwip-widget-free-user-icon:hover {
  color: #000;
}
.lwip-ant-btn-icon {
  margin-right: 6px;
}

.lwip-widget-header {
  display: flex;
  align-items: center;
  padding: 10px;
}

.lwip-widget-header h1 {
  margin: 0;
  font-size: 24px;
}

.lwip-widget-view-plans {
  font-family: "Nunito", sans-serif;
  padding: 5px 10px;
  background-color: #0ec12f;
  border: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  display: flex;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  height: 32px;
  padding: 4px 11px;
  border-radius: 4px;
  margin-left: 10px;
}

.lwip-widget-view-plans:hover {
  color: #000;
}

.lwip-widget-cards {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.lwip-widget-card {
  flex: 1;
  margin: 0 10px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  background-color: white;
  transition: box-shadow 0.2s, border-color 0.2s;
  border: -0.9px solid #131212;
}

.lwip-widget-card:hover {
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: -0.9px solid #131212;
}

.lwip-widget-card h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

.lwip-widget-badge {
  display: inline-block;
  padding: 5px 10px;
  background-color: #0ec12f;
  color: #fff;
  border-radius: 12px;
  display: none;
}

.lwip-widget-badge-free {
  display: none;
  padding: 5px 10px;
  background-color: rgb(193, 14, 14);
  color: #fff;
  border-radius: 12px;
}

#lwip-free-user-icon {
  display: none;
}

/* Target <td> that contains an <a> with the class 'lwip-user-widget-name' */
td:has(a.lwip-user-widget-name) {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: keep-all;
}

/* The Popconfirm box */
.lwip-popconfirm {
  font-family: "Nunito", sans-serif;
  display: none;
  position: absolute;
  /* Center in viewport */
  transform: translate(-38%, 0%);
  border: 1px solid #d9d9d9;
  width: auto;
  font-size: 14px;
  z-index: 9999;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),
    0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
  padding: 12px;
  background-clip: padding-box;
}

.lwip-popconfirm-content-wrapper {
  display: flex;
}

.lwip-popup-confirm-svg {
  margin-top: 4px;
}

.lwip-popup-confirm-svg path {
  fill: #faad14;
}

.lwip-popconfirm p {
  margin-top: 4px;
  margin-left: 10px;
  color: rgba(0, 0, 0, 0.88);
}

.lwip-popconfirm .buttons {
  text-align: right;
}

.lwip-popconfirm button {
  font-size: 14px;
  line-height: 1.5714285714285714;
  height: 24px;
  padding: 0px 7px;
  border-radius: 4px;
  color: #fff;
  background: #27c4cf;
  border: 1px solid transparent;
  border-color: #d9d9d9;
  box-shadow: 0 2px 0 rgba(5, 255, 222, 0.06);
}

.lwip-popconfirm button.lwip-popupconfirm-cancel {
  background-color: #f1f1f1;
  color: #333;
}

.lwip-popconfirm button:hover {
  cursor: pointer;
  opacity: 0.8;
}

/* Arrow pointing to button */
.lwip-popconfirm::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
}

.lwip-widget-graph svg:hover {
  color: #27c4cf;
  cursor: pointer;
}

.lwip-display-none {
  display: none;
}

/* CTA Popup Style*/
.lwip-add-cta-popup {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.lwip-popup-content {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  width: 520px;
  padding: 20px 24px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  border-radius: 8px;
  transition: transform 1s ease-in-out;
}
/* End CTA Popup Style */

/* Tag Product Popup */
.lwip-tag-product-to-post-main-container,
.lwip-tagged-product-preview-container {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.lwip-tag-product-to-post-container-content,
.lwip-tagged-product-preview-container-content {
  background-color: white;
  width: 80%;
  max-width: 900px;
  height: 500px;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.lwip-tag-product-popup-close-btn,
.lwip-tagged-product-preview-close-btn {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

.lwip-tag-product-content-wrapper {
  display: flex;
  height: 100%;
}

.lwip-tag-product-content-wrapper h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.lwip-tag-product-content-wrapper button:hover {
  cursor: pointer;
}

.lwip-tag-product-image-container,
.lwip-tagged-preview-product-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #ccc;
  padding: 10px;
}

.lwip-tag-product-image-container img,
.lwip-tagged-preview-product-image-container img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  position: relative;
  width: 100%;
}

.lwip-tag-product-right-container {
  flex: 1;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: "Nunito", sans-serif !important;
}

.lwip-tagged-products-list-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lwip-tagged-products-list-container .tagged-products-list ul,
.lwip-tagged-products-preview-list-container .tagged-products-list ul {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 6px;
}

.lwip-no-tagged-products-message {
  display: flex;
  height: 400px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.lwip-submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  height: 32px;
  margin-top: auto;
  background-color: #27c4cf;
  color: #fff;
  border-radius: 6px;
  border: 0;
  padding: 0 12px;
  font-size: 14px;
}

.lwip-submit-button:hover {
  cursor: pointer;
  background-color: #4dd7db;
}

.lwip-normal-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  height: 32px;
  margin-top: auto;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background-color: #ffffff;
  padding: 0 12px;
  font-size: 14px;
}

.lwip-normal-button:hover {
  cursor: pointer;
  border: 1px solid #27c4cf;
  color: #27c4cf;
}

.lwip-add-product-form {
  padding: 0 0 8px;
  font-size: 14px;
}

#lwip-add-product-form .select2-container {
  margin: 5px 0 24px 0;
}

#lwip-add-product-form .select2-container--default .select2-selection--single {
  border: 1px solid #ccc;
}

.lwip-add-product-form-err-span {
  display: block;
  margin-bottom: 10px;
  margin-top: -20px;
}

.lwip-tag-new-product-container {
  flex: 1;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
}

.lwip-tag-new-product-container h2 {
  margin-bottom: 20px;
}

.lwip-img-tag-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

#lwip-tag-new-product-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#lwip-product-select-list {
  padding: 8px;
}

.lwip-tag-new-product-container-btns {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.lwip-tag-new-product-container-btns button {
  flex: 1;
}

.lwip-tag-add-new-btn {
  margin-top: 10px;
}

.lwip-tag-product-image-click-screen {
  display: none;
  align-items: center;
  justify-content: center;
  margin-top: 60%;
}

/* Image Upload */
#lwip-image-upload-container {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.lwip-product-image-preview {
  width: 150px;
  height: 150px;
  border: 1px dashed #d9d9d9;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.lwip-upload-box {
  width: 150px;
  height: 150px;
  border: 1px dashed #d9d9d9;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: #fcfcfc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #000;
  transition: border-color 0.3s;
}

.lwip-upload-box:hover {
  border-color: #27c4cf;
}

.lwip-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #000;
  gap: 4px;
  text-align: center;
}

.lwip-upload-placeholder svg {
  font-size: 20px;
  color: #000;
  margin: 0;
}

.lwip-product-image-preview.selected {
  border-color: #ff4d4f;
}

.lwip-product-image-preview.upload-success {
  border-color: #52c41a !important;
}

.lwip-product-image-preview.upload-failed {
  border-color: #ff4d4f !important;
}

.lwip-product-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lwip-remove-image-btn {
  position: absolute;
  top: 4px;
  right: 6px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 0 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  display: none;
  line-height: 20px;
}

.lwip-product-image-preview:hover .lwip-remove-image-btn {
  display: block;
}

#lwip-product-image-input {
  display: none;
}

.lwip-require-icon {
  margin-right: 5px;
}

.lwip-add-product-label {
  font-size: 14px;
  padding: 0 0 8px;
  line-height: 22px;
}
