body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
}

.password-update-error {
  text-align: center;
}

.loading-spinner {
  text-align: center;
  padding: 20px;
}
.tatted-support {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    flex-direction: row;
    align-items: center;
}
h3.auth-heading {
  text-align: center;
  text-transform: capitalize;
   font-weight: bold;
  font-size: 38px;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #f96;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px auto;
}
button#remove-image {
  position: absolute;
  right: 2px;
  top: 3px;
  background: black;
  color: white;
  padding: 0px 6px 8px 6px;
  border-radius: 50px;
  width: 25px;
  width: 25px;
  cursor: pointer;
  height: 25px;
  /* font-size: 18px; */
}
#remove-image:hover {
  background: #f96;
  color: black;
}
.upload-wrapper {
  position: relative;
  width: 100%;
}

#form-field-img_upload {
  display: none;
}

.custom-upload-btn {
  /* height: 48px;
     */
  width: fit-content;
  padding: 5px 25px;
  border: 1px solid #69727d;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: #eceae0;
}

.custom-upload-btn:hover {
  border-color: #000;
  background: #f96;
}

div#tattoo-image-preview {
  border: 1px solid #80808047;
  width: fit-content;
  padding: 12px 12px;
  border-radius: 8px;
  position: relative;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

div#tatted-result {
  display: flex;
  justify-content: center;
  text-shadow: none;
}

.tatted-generated {
  max-width: 800px;
  /* margin: 20px auto; */
  /* padding: 20px; */
  /* background: #fff; */
  border-radius: 8px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.tatted-generated h3 {
  text-align: center;
  margin-bottom: 20px;
}

.tatted-generated img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  /* border-radius: 15px !important; */
  /* border: 3px solid hsla(240, 7%, 62%, 1) !important; */
}
.tatted-image-container img {
  /* min-width: 495px; */
  /* border: 2px dotted rgba(0, 0, 0, 0.2) !important; */
}
.tatted-details {
  margin-top: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 4px;
}

.tatted-details p {
  margin: 5px 0;
}

.error-message {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 15px;
  border-radius: 4px;
  margin: 20px 0;
  text-align: center;
}

button.tatted-download-button,
.tatted-btn,
.download-image-btn {
  /* padding: 10px 15px; */
  padding: clamp(14px, 0.8em, 18px) clamp(18px, 1.8em, 36px);
  margin-top: 30px;
  border-radius: 6px 6px 6px 6px;
  font-family: "DM Sans", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: None;
  line-height: 1em;
  letter-spacing: 0em;
  color: var(--e-global-color-uicore_headline);
  background-color: var(--e-global-color-uicore_primary);
  border-style: solid;
  border-width: 2px 2px 2px 2px;
  border-color: var(--e-global-color-uicore_headline);
  cursor: pointer;
}
.tattoo-modal-content .checkout.woocommerce-checkout {
  flex-direction: column;
  display: flex;
  align-items: flex-start;
  text-align: left;
}
#premium-upsell-modal .tattoo-modal-content {
  max-width: 600px !important;
}
div#premium-upsell-modal h2 {
  font-size: 38px;
}
button#upgrade-premium-btn {
  width: 100%;
  padding: 20px 33px;
}
#premium-upsell-modal {
  text-align: center;
}

.tatted-download-button:hover,
.tatted-btn:hover,
.download-image-btn:hover {
  background-color: #eda6e6 !important;
  color: black !important;
}
button.download-image-btn {
  padding: 18px 33px;
}
.tatted-image-container {
  text-align: right;
}

.tatted-buttons {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.tatted-buttons button {
  max-width: 50%;
  display: flex;
  justify-content: center;
}

.default-img img {
  min-width: 570px;
  /* margin-left: 5px; */
}
.tatted-image-container img {
  min-width: 570px;
}
.my-tatteds,
.dashboar-my-tatteds {
  /* text-align: center; */
  margin: 20px 0;
}

.my-tatteds h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  font-family: var(--uicore-typography--h2-f, "Inter");
  font-weight: var(--uicore-typography--h2-w, "600");
  line-height: var(--uicore-typography--h2-h, "1.2");
  letter-spacing: var(--uicore-typography--h2-ls, "-0.027em");
  text-transform: var(--uicore-typography--h2-t, "none");
  font-style: var(--uicore-typography--h2-st, "normal");
  color: var(--uicore-typography--h2-c, "#070707");
  font-size: var(--uicore-typography--h2-s, "10px");
  margin-bottom: 100px;
}

.tatteds-grid {
  display: flex;
  justify-content: space-between;
  gap: 0px;
  flex-wrap: wrap;
}
.tatted-favourite-icon {
  position: absolute;
  top: 5px;
  right: 15px;
}
.dashboard-tatteds-grid {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.tatted-item {
  width: 285px;
  /* height: 185px; */
  overflow: hidden;
  /* border-radius: 8px; */
  margin-bottom: 15px;
  /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); */
}

.dashboard-tatted-item {
  width: 270px;
  /* height: 185px; */
  position: relative;
  overflow: hidden;
  /* border-radius: 38px; */
  margin-bottom: 15px;
  text-align: right;
  /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); */
}

.dashboard-tatted-item img,
.tatted-item img {
  border-radius: 8px !important;
}

.tatted-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-tatted-download,
.upgrade-button {
  /* padding: 20px 36px 20px 36px !important; */
  padding: clamp(14px, 0.8em, 18px) clamp(18px, 1.8em, 36px) !important;
}

.tatted-delete-button {
  background-color: white !important;
}

.woocommerce-MyAccount-content-wrapper {
  background: transparent !important;
}

.credits-dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.e-my-account-tab__dashboard {
  display: none;
}

div#overlay_popup_tatto {
  left: 0;
  right: 0;
  max-width: 80%;
  margin: auto;
}

.credits-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 30px;
}

.credits-header h4 {
  margin: 0;
  color: #333;
  font-size: 1.5em;
}

.uicore-navbar nav.uicore ul.sub-menu:not(.uicore-megamenu) {
  padding: 5px 0 !important;
}

.credits-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

button#place_order {
  height: auto;
  padding: 20px 36px 20px 36px;
  line-height: 0px !important;
  height: 60px !important;
  font-size: 16px !important;
  /* display: block; */
}

.credits-amount {
  text-align: center;
}

.credits-number {
  font-size: 3em;
  font-weight: bold;
  color: #f96;
  display: block;
}

.credits-label {
  color: #666;
  font-size: 0.9em;
}

.credits-info {
  flex: 1;
  padding-left: 30px;
}

.credits-low {
  color: #f44336;
  font-weight: bold;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.package-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.package-card:hover {
  transform: translateY(-5px);
}

.package-card h5 {
  color: #333;
  margin: 0 0 15px 0;
  font-size: 1.2em;
}

.package-details {
  margin: 15px 0;
}

.package-details .credits {
  display: block;
  font-size: 1.5em;
  color: #f96;
  font-weight: bold;
}

.package-details .price {
  display: block;
  color: #666;
  margin-top: 5px;
}
.tattoo-quick-edits {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 0px 8px;
}

.quick-edit-btn,
.quick-edit-more {
  padding: 15px 15px;
  border-radius: 10px;
  border: 1px solid #000;
  background: #fffaf0;
  color: #000000;
  font-size: 12px;
  cursor: pointer;
  min-width: 84px;
  transition: all 0.2s ease;
}

.quick-edit-btn:hover,
.quick-edit-more:hover {
  background: #000;
  color: #fff;
}

.quick-edit-extra {
  display: none;
}
.tattoo-ideas-wrap {
  position: relative;
  width: 100%;
}

.tattoo-ideas-trigger {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 13px;
  cursor: pointer;
  opacity: 0.6;
  z-index: 5;
}
.tattoo-ideas-trigger svg {
  width: 16px;
  height: 16px;
  fill: gray;
}
.btn-ghost {
  background: transparent;
  border: 1px solid #ccc;
  color: #333;
  padding: 18px 20px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  margin-top: 12px;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
}

.tattoo-ideas-wrap:hover .tattoo-ideas-trigger,
.tattoo-ideas-wrap:focus-within .tattoo-ideas-trigger {
  opacity: 1;
}

.tattoo-ideas-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #eceae0;
  border: 1px solid #69727d;
  border-radius: 8px;
  padding: 10px;
  z-index: 999;
}

.tattoo-ideas-category {
  margin-bottom: 10px;
}

.tattoo-ideas-category strong {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}

.tattoo-idea-chip {
  display: inline-block;
  padding: 4px 8px;
  margin: 3px;
  font-size: 14px;
  border-radius: 20px;
  cursor: pointer;
  color: #1b1c1d;
}

.tattoo-idea-chip:hover {
  color: #f96;
}
span.share_close_btn {
  position: absolute;
  top: 0;
  right: 15px;
  cursor: pointer;
}
/* Share Menu Modal */
#tattoo-share-menu {
  display: none;
  position: fixed;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #f5f3ea;
  border: 1px solid #f5f3ea;
  border-radius: 12px;
  padding: 24px;
  width: 480px;
  max-width: 90vw;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 10000;
}

/* Overlay */
#share-overlay {
  display: none;
  position: fixed;
  top: 0;
  text-align: center;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

/* Header */
.share-header {
  margin-bottom: 8px;
}

.share-header h2 {
  font-size: 30px;
  /* font-weight: 600; */
  margin: 0 0 8px 0;
  color: #000;
  font-family: "DM Serif Text";
}

.share-description {
  font-size: 16px;
  color: #606060;
  margin: 0 0 20px 0;
  line-height: 1.5;
  font-family: "DM Sans";
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.social-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-label {
  font-size: 12px;
  color: #606060;
  font-weight: 500;
}

/* Icon colors */
.icon-x {
  background: #000000;
}

.icon-pinterest {
  background: #e60023;
}

.icon-instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.icon-email {
  background: #0072c6;
}

/* URL Input Section */
.url-section {
  display: flex;
  gap: 8px;
  align-items: center;
}

.url-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 14px;
  background: #f9f9f9;
  color: #606060;
  outline: none;
}

.url-input:focus {
  border-color: #065fd4;
  background: #fff;
}

.copy-btn {
  padding: 10px 20px;
  background: black;
  border: 1px solid black;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.tattoo-pagination,
.favourite-tattoo-pagination {
  text-align: center;
  display: flex;
  justify-content: center;
}
textarea#form-field-tatto_object {
  min-height: 75px;
}
ul.page-numbers {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.copy-btn:hover {
  background: #f96;
  color: black;
}

.copy-btn:active {
  transform: scale(0.98);
}

/* Success message */
.copy-success {
  display: none;
  font-size: 12px;
  color: #065fd4;
  margin-top: 8px;
  font-weight: 500;
}

.copy-success.show {
  display: block;
}

/* Instagram message */
.instagram-message {
  display: none;
  padding: 12px;
  background: #f0f0f0;
  border-radius: 6px;
  font-size: 13px;
  color: #333;
  margin-top: 12px;
}

.instagram-message.show {
  display: block;
}
svg.e-font-icon-svg.e-eicon-share-arrow {
  display: none;
}
@media (max-width: 768px) {
  .credits-content {
    flex-direction: column;
    text-align: center;
  }
  .tatted-image-container img {
    min-width: auto;
  }

  .credits-info {
    padding-left: 0;
    margin-top: 20px;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-tatted-item {
    width: 90%;
  }

  .dashboard-tatteds-grid {
    justify-content: center;
  }
}

.menu-item-847 {
  display: block !important;
}

.menu-item-34709 {
  display: block !important;
}

.menu-item-848 {
  display: none !important;
}

.logged-in .menu-item-848 {
  display: block !important;
}

.logged-in .menu-item-847,
.logged-in .menu-item-33752,
.logged-in .menu-item-34709 {
  display: none !important;
}

@media print {
  .tatted-image-container {
    display: none !important;
  }
}

.elementor-widget-woocommerce-my-account
  .e-my-account-tab:not(.e-my-account-tab__dashboard--custom)
  .woocommerce
  a {
  color: black !important;
}

.test {
  background-color: #ffd7c3;
  columns: #ff9966;
}

/* Full-screen overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* semi-transparent black */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.load_more_div {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
button.load-more-tattoos {
  background: black;
  border: 2px solid black;
  font-family: sans-serif;
  color: white;
  padding: 15px 15px;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.load-more-tattoos:hover {
  background: #f96;
  color: black;
}
/* Centering the loading spinner */
.loading-spinner {
  background-color: #f5f3ea;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

button.tatted-download-button {
  padding: 20px 36px 20px 36px;
}

.menu-item-33753 {
  display: none !important;
}

.logged-in .menu-item-33753 {
  display: block !important;
}

.upgrade-overlay-container {
  position: relative;
  margin: 20px 0;
}

.upgrade-message {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px 30px 60px 30px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.credits-info p {
  margin: 0px;
}

.upgrade-message h3 {
  margin-bottom: 35px;
  color: #333;
}

.tatted_login_form a {
  font-size: 20px !important;
  font-weight: 400;
}

.upgrade-message p {
  margin-bottom: 20px;
  color: #666;
}

p.form-row.woocommerce-SavedPaymentMethods-saveNew.woocommerce-validated {
  width: 100%;
}

.blur_form form {
  opacity: 0.1;
}

.custom-account-settings {
  /* max-width: 500px; */
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 0 auto;
  justify-content: space-between;
  padding: 20px;
  /* background-color: #f9f9f9; */
  border-radius: 8px;
  flex-wrap: wrap;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.custom-account-settings h2 {
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.settings-section {
  background-color: #f5f3ea;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 20px;
  width: 49%;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #555;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.btn-change-password,
.btn-delete-account {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-change-password {
  background-color: #4caf50;
  color: white;
}

.btn-delete-account {
  background-color: #f44336;
  color: white;
  margin-top: 10px;
}

.btn-change-password:hover {
  background-color: #45a049;
}

.btn-delete-account:hover {
  background-color: #d32f2f;
}

.activation-message {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.activation-message.success {
  background-color: #dff0d8;
  color: #3c763d;
  border: 1px solid #d6e9c6;
}

.activation-message.error {
  background-color: #f2dede;
  color: #a94442;
  border: 1px solid #ebccd1;
}

/* Password recovery form */

.password-recovery-form-container,
.password-update-form-container {
  /* max-width: 400px; */
  margin: 0px auto;
  padding: 20px;
  background: #f5f3ea;
  border-radius: 3px;
  /* border: 1px solid #e1dfd6; */
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}
.password-update-form-container {
  max-width: 450px;
}
.form-group input {
  height: 50px;
  width: 80%;
  font-size: 25px !important;
}
.password-recovery-form-container h3 {
  margin-bottom: 20px;
  color: #333;
  margin-top: 0px;
  font-weight: bold;
  font-size: 38px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #555;
}

.form-group input {
  width: 100%;
  /* padding: 8px; */
  border: 1px solid #ddd;
  border-radius: 4px;
}

.button-primary {
  background: #0073aa;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

.button-primary:hover {
  background: #005177;
}

.password-recovery-error {
  color: #dc3232;
  padding: 10px;
  margin-bottom: 20px;
  background: #fff;
  border-left: 4px solid #dc3232;
}

.password-recovery-success {
  color: #46b450;
  padding: 10px;
  margin-bottom: 20px;
  background: #fff;
  border-left: 4px solid #46b450;
}

@media (max-width: 480px) {
  .password-recovery-form-container {
    margin: 10px;
    padding: 15px;
  }

  .tatted-generated {
    min-width: 330px;
    padding: 0px;
  }
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 20px;
  color: #000;
  margin-bottom: 8px;
  font-weight: normal;
}

.form-group input {
  width: 100%;
  /* padding: 12px; */
  border: none;
  background-color: #f8f8f8;
  border-radius: 4px;
  font-size: 16px;
  color: #333;
}

.register-button {
  /* width: 100%; */
  padding: 12px;
  background-color: #ff9b7b;
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: background-color 0.3s;
}

.register-button:hover {
  background-color: #ff8a65;
}

.form-footer {
    /* text-align: center; */
    font-size: 20px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
}

.footer-link {
  color: #ff9b7b;
  text-decoration: none;
  transition: color 0.3s;
}
.password-recovery-form-container .footer-link {
    display: block;
    margin-top: 20px;
}
.footer-link:hover {
  color: #ff8a65;
}

.separator {
  color: #ff9b7b;
  margin: 0 8px;
}

/* Messages styling */
.error {
  background-color: #fee2e2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.success {
  background-color: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #059669;
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.woocommerce-additional-fields {
  display: none;
}

h3#order_review_heading {
  display: none;
}

/*
div#custom-checkout-form-tatteds {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
}

 */
form.checkout.woocommerce-checkout {
  /* display: flex !important; */
  visibility: hidden;
}

.checkout h3 {
  font-size: 20px;
  font-weight: bold;
}

.woocommerce
  form.woocommerce-checkout
  .woocommerce-checkout-review-order-table {
  padding: 0px 40px 0px 0px !important;
}

ul.wc_payment_methods.payment_methods.methods,
.form-row.place-order {
  padding: 20px 0px 0px 0px !important;
}

/* Popup Container */
.tatted-ai-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Popup Content */
.tatted-ai-modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: white;
  text-align: center;
}

/* Close Button */
.tatted-ai-close-btn {
  color: #f96;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.tatted-ai-close-btn:hover {
  color: black;
}
div#tattedAIModal h2 {
  font-size: 25px;
}
/* Popup Inner Content */
.tatted-ai-modal-inner {
  padding: 20px;
  /* background-color: white; */
  color: black;
  /* border-radius: 8px; */
  margin-top: 15px;
}

button.tatted-btn.delete-no-button.btn.btn-secondary {
  background: white;
}

/* primium modal */
.upsell-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.upsell-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.upsell-modal-content {
  background: white;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
}

.upsell-modal-overlay.show .upsell-modal-content {
  transform: scale(1) translateY(0);
}

.upsell-header {
  padding: 25px 25px 0;
  position: relative;
  text-align: center;
}

.upsell-header h3 {
  margin: 0;
  font-size: 24px;
  color: #333;
  font-weight: 600;
  max-width: 300px;
  margin: auto;
}

.modal-close {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #ff6b35;
  line-height: 1;
}

.modal-close:hover {
  color: #333;
}

.upsell-body {
  padding: 20px 25px;
}

.upsell-body p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #555;
}

.premium-features {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.premium-features h4 {
  margin: 0 0 15px 0;
  color: black;
  font-size: 18px;
}

.premium-features ul {
  margin: 0;
  padding-left: 20px;
}

.premium-features li {
  margin-bottom: 8px;
  color: #333;
}

.upgrade-text {
  font-weight: 500;
  color: #333;
  text-align: center;
}

.upsell-actions {
  padding: 0 25px 25px;
  display: flex;
  gap: 15px;
  flex-direction: column;
}

.btn-upgrade {
  background: #f96;
  color: black;
  border: none;
  padding: 15px 25px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid black;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-upgrade:hover {
  background: #eda6e6;
}

.btn-continue-free {
  background: transparent;
  color: #666;
  border: 2px solid #ddd;
  padding: 15px 25px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-continue-free:hover {
  border-color: #eda6e6;
  color: #333;
}

.premium-badge {
  text-align: center;
  margin-top: 15px;
}

.premium-badge span {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
}

.free-version-alert {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
}

.free-version-alert p {
  margin: 0 0 10px 0;
  color: #155724;
  font-weight: 500;
}

.free-version-alert button {
  background: #28a745;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.elementor-field-subgroup input[type="radio"] {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 2px solid #0e101a;
  border-radius: 100%;
  width: 1px;
  cursor: pointer;
  height: 1px;
  max-width: 1px;
  max-height: 1px;
  padding: 7px;
  top: 10px;
  margin-top: 8px;
}
.elementor-field-subgroup label {
  cursor: pointer;
}
.elementor-field-subgroup input[type="radio"]:checked {
  background: #f96;
}
.dashboard-my-tatteds .tatted-buttons {
  display: none;
}
.tattoo-download-button,
.tattoo_share_btn,
.tattoo_favourite_btn,
.get-rights-btn,
.tatted-favourite-icon {
  cursor: pointer;
}
.tatto_button_hover_issue
  a.elementor-button.elementor-button-link.elementor-size-sm:hover {
  border: 1px solid;
}
img.tatted-generated-image {
  display: none;
}
.dashboard-tatted-item img {
  width: 100%;
}
.tatted-favourite-btn.is-favourite {
  background: #eda6e6;
  color: #fff;
}
.tatted-favourite-btn {
  margin-top: 0px;
}
.get-rights-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.get-rights-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.get-rights-content {
  position: relative;
  max-width: 420px;
  margin: 10vh auto;
  background: #f5f3ea;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}

.get-rights-content h2 {
  margin-bottom: 10px;
  font-size: 30px;
}

.modal-actions {
  margin-top: 20px;
}

.btn-primary {
  display: block;
  background: #000;
  color: #fff;
  padding: 10px 36px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid black;
}
.btn-primary:hover {
  background-color: #f96;
  color: #000;
}
.btn-secondary {
  margin-top: 0px;
  position: absolute;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
  right: 10px;
  top: 10px;
}
.tattoo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;

  /* IMPORTANT */
  overflow-y: auto;
}

/* #premium-upsell-modal {
    height: fit-content;
    position: absolute;
    height: 100%;
    top: 0%;
} */
.woocommerce-form-coupon-toggle {
  display: none;
}
tr.cart-subtotal {
  display: none;
}

.tattoo-modal.active {
  display: flex;
}

.tattoo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.tattoo-modal-content {
  position: relative;
  background: #f5f3ea;
  border-radius: 16px;
  margin: auto;
  padding: 24px;

  width: 100%;
  max-width: 500px;

  /* 🔥 HEIGHT CONTROL */
  max-height: 90vh;
  overflow-y: auto;

  animation: tattooFadeUp 0.3s ease;
}

.tattoo-modal-close {
  position: absolute;
  top: -15px;
  right: 2px;
  font-size: 60px;
  border: 0;
  background: none;
  cursor: pointer;
}
.tattoo_remix button {
  background: black;
  color: white;
  cursor: pointer;
  padding: 3px 13px;
  border-radius: 3px;
  margin-bottom: 1px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid black;
}
.tattoo_remix button:hover {
  background: #f96;
  color: black;
}
@keyframes tattooFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tattoo_remix {
  display: flex;
  justify-content: right;
  width: 100%;
}
.tattoo-loader {
  position: fixed;
  inset: 0;
  background: #ccccccbf;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.tattoo-spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #ff7a00;
  border-radius: 50%;
  animation: tattoo-spin 1s linear infinite;
  position: absolute;
  right: 50%;
  top: 25%;
}

@keyframes tattoo-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .upgrade-message {
    padding: 10px 10px 45px 10px;
  }
  .tattoo-modal-content {
    margin: 0px 10px !important;
  }
  h3.auth-heading {
    font-size: 22px;
  }
  .get-rights-modal {
    padding: 20px;
  }
  div#overlay_popup_tatto {
    max-width: 90%;
  }

  .default-img img {
    min-width: 350px;
  }

  .tatted-item {
    width: 100%;
    height: auto;
    overflow: hidden;
    /* border-radius: 8px; */
    margin-bottom: 15px;
    box-shadow: none;
  }

  .settings-section {
    width: 100%;
  }
  .upsell-modal-content {
    width: 95%;
    margin: 20px;
  }

  .upsell-actions {
    flex-direction: column;
  }
}

/* Responsive Design */
@media screen and (max-width: 600px) {
  .tatted-ai-modal-content {
    width: 90%;
    margin: 25% auto;
  }
  .tattoo-quick-edits {
    justify-content: space-evenly;
  }
}
