/**  CONTAINER **/
.zen-kaku-gothic-antique-regular {
  font-family: "Zen Kaku Gothic Antique", serif;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Zen Kaku Gothic Antique", serif;
  margin: 0;
  padding: 0;
  background-color: #f4f5f7;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 100vh;
  font-size: 16px;
}

h2 {
  font-family: "Zen Kaku Gothic Antique", serif;
  font-style: normal;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.813rem;
  letter-spacing: 0.438em;
  color: #58866A;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

h3 {
  font-family: 'Zen Kaku Gothic Antique';
  font-style: normal;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.5rem;
  letter-spacing: 0.438rem;
  color: #58866A;
  margin: 1.5rem 0 1rem 0;
}

input.text-input {
  padding: 0.5rem 1.125rem;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  line-height: 26px;
  color: #000000;

}

.div-title-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.div-title-button .resetbutton {
  border: 0px;
  background-color: transparent;
  text-decoration: underline;
  font-weight: 900;
  font-size: 0.9rem;
  line-height: 22px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: color 0.1s ease, text-decoration 0.1s ease;
  color: #58866A;
}

.div-title-button .resetbutton:hover {
  color: #FF8A00;
  text-decoration: none;
}

.div-title-button .resetbutton:active {
  color: #2d4235;
  text-decoration: underline;
}

.femprompt-header {
  height: 56px;
  background-color: #282828 !important;
}

.femprompt-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  height: calc(100vh - 56px);
  box-sizing: border-box;
  grid-template-columns: 1fr 1.5fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;

}

@media (max-width: 775px) {
  .femprompt-content {
display: block;
height: 100%; 
  }
}


.area-1 {
  grid-area: 1/1/3/2;
  background-color: #DCFCE8;
  overflow-y: scroll;
  padding: 1rem 2rem;
  overflow-x:hidden;
}

.area-2 {
  grid-area: 1/2/2/3;
}

.area-3 {
  grid-area: 2/2/3/3;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #FFFFFF;
  color: #444;
  cursor: pointer;
  padding: 1rem;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 0.875rem;
  transition: 0.4s;
  box-sizing: border-box;
  /* Auto layout */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #D3D3D3;
  font-family: "Inter", serif;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5rem;
  color: #000000;
  box-shadow: 0px 1.25rem 50px rgba(0, 0, 0, 0.12);
}

.accordion::after {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 0.875rem;
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="10" viewBox="0 0 24 14" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M23.5227 2.96701L13.1523 13.3375C12.5159 13.9738 11.4841 13.9738 10.8477 13.3375L0.477287 2.96701C-0.159096 2.33063 -0.159096 1.29885 0.477287 0.662466C1.11367 0.0260841 2.14545 0.0260841 2.78183 0.662466L12 9.88064L21.2182 0.662467C21.8546 0.026085 22.8863 0.026085 23.5227 0.662467C24.1591 1.29885 24.1591 2.33063 23.5227 2.96701Z" fill="black"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.accordion.active::after {
  transform: rotate(180deg);
}


.panel {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.panel .button-group {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #D3D3D3;
}

.options-div .panel {
  /* General button styles */
  /* Button hover effect */
  /* Button active styles */
  /* Disabled button styles */
}

.options-div .panel button {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0.5rem 1.125rem;
  gap: 0.5rem;
  background: #E0E0E0;
  border-radius: 4px;
  border: 0px;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 26px;
  color: #000000;
}

.options-div .panel button:active {
  background: red;
}

.options-div .panel .btn {
  transition: background-color 0.1s ease, color 0.1s ease;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0.5rem 1.125rem;
  gap: 0.5rem;
  background: #E0E0E0;
  border-radius: 4px;
  border: 0px;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 26px;
  color: #000000;
}

.options-div .panel .btn:hover {
  background-color: #007bff;
  color: #ffffff;
}

.options-div .panel .btn.active {
  background-color: #FF8A00;
  color: #ffffff;
}

.options-div .panel .btn.disabled {
  background-color: #f1f1f1;
  color: #c0c0c0;
  border-color: #c0c0c0;
  cursor: not-allowed;
}

.area-2 {
  border: 0px;
  border-radius: 0px;
  background-color: #F5F7FE;
  padding: 1rem 2rem;
  display: block;
}

.area-2 h2 {
  color: #4a4a4a;
}

.area-2 .prompt-original {
  font-family: "Zen Kaku Gothic Antique";
  font-style: normal;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1em;
  color: #336948;
  border: 0px;
  background-color: transparent;
  outline: none;
  width: 100%;

  padding: 1rem;
  border: 1px solid grey;
  border-radius: 4px;
  min-height: 8rem;
  background-color: rgb(255, 255, 255, 0.2);
  margin-bottom: 1rem;

}

.area-2 .button-copyprompt {
  background-color: transparent;
}

.area-2 .prompt-action-container {
  display: flex;
  justify-content: flex-end;
}

.area-2 button {
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.area-2 button:hover {
  background-color: #005ea6;
}

.area-3 {
  border: 0px;
  border-radius: 0px;
  display: block;
  background-color: #E9DEFC;
  padding: 1rem 2rem;
  flex-direction: column;
}

.area-3 img {
  max-width: 90%;
  height: auto;
  max-height: 30vh;
  border-radius: 4px;
}

.area-3 h2 {
  color: #8763E0;
}

div#prompt-image {
  display: flex;
  flex-direction: column;
}



/*# sourceMappingURL=styles.css.map */
.prompt-original {
  font-size: clamp(0.8rem, 2vw, 1rem) !important;
  line-height: 1.4 !important;
  overflow-wrap: break-word !important;
}


.prompt-image-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  justify-items: center;
  gap: 1rem;
}

.accordion.active, .accordion:hover {
  background-color: #ccc;
}

/** HEADER **/
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    align-items: center;
  }

  .nav-link {
    color: #E9DEFC;
    margin: 0 1rem;
    font-weight: bold;
  }

  .nav-link:hover {
    color: #E9DEFC;
    text-decoration: underline;

  }
}





.copy-dropdown {
  position: relative;
  display: inline-block;
}

/* Hide mobile tabs by default (desktop) */
.mobile-tabs { display: none; }

.copy-icon {
  background-color: #f0f0f0;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 5px;
}

.copy-dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
  border-radius: 5px;
}

.copy-dropdown-content a {
  color: black;
  padding: 10px 12px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
}

.copy-dropdown-content a:hover {
  background-color: #f5f5f5;
}

.copy-dropdown:hover .copy-dropdown-content {
  display: block;
}


/** tooltip **/
.tooltip-icon {
  display: inline-block;
  margin-left: 4px;
  position: relative;
  cursor: pointer;
  font-weight: bold;
  color: #666;
  font-size: 0.9em;
}

.tooltip-icon:hover .tooltip-text,
.tooltip-icon:focus .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 8px;
  border-radius: 4px;
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 50%;
  /* 👉 Cambios clave: posición a la derecha */
  top: 50%;
  left: 125%;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
  font-size: 0.75rem;
  line-height: 1.2em;
  white-space: normal;
}



.image-container p {
  font-family: 'Zen Kaku Gothic Antique';
  font-style: normal;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.5rem;
  /* letter-spacing: 0.438rem; */
  color: #58866A;
  margin: 1rem 0;

}

div#prompt-alert span {
  background-color: #F2F0D8;
  padding: 1rem;
  font-family: 'Zen Kaku Gothic Antique';
  font-style: normal;
  font-weight: 400;
  font-size: 0.875rem;
  border-radius: 4px;
  display: block;
}

.prompt-imagetext {
  font-family: 'Zen Kaku Gothic Antique';
  font-style: normal;
  font-weight: 500;
  font-size: 0.875rem;
  margin: 1rem 0px 1.5rem 0px;
}
.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prompt-image {
  text-align: center;
}

.prompt-original-events {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

button.navbar-toggler {
    color: white;
    border-color: transparent;
}

span.navbar-toggler-icon {
    background-color: white;
}

@media (max-width: 992px) {

  .navbar-collapse.collapse.show ul.navbar-nav.me-auto.mb-2.mb-lg-0 {
      text-align: right;
      background-color: #282828 !important;
      padding: calc(var(--bs-gutter-x) * .5);
  }

  a.nav-link {
      color: #E9DEFC;
      text-decoration: underline;
      font-weight: bold;
  }
}

@media (max-width: 992px) {

  .femprompt-header{
      position: fixed;
      width: 100%;
      z-index: 1000;
  }
  /* Mobile tabs */
  .mobile-tabs {
      display: flex;
      position: sticky;
      top: 56px; /* below header */
      z-index: 999;
      background: #f4f5f7;
      border-bottom: 1px solid #ddd;
  }

  .mobile-tab-button {
      flex: 1;
      padding: 0.75rem 1rem;
      background: transparent;
      border: none;
      font-weight: 700;
      color: #336948;
      border-bottom: 3px solid transparent;
  }

  .mobile-tab-button.active {
      border-bottom-color: #FF8A00;
      color: #FF8A00;
  }

  /* Show only the active area on mobile */
  .area-1, .area-2, .area-3 { display: none; }
  .area-3 { height: 100%; }
  .area-1.active, .area-2.active, .area-3.active { display: block; }

  .prompt-original {
      font-size: 1rem !important;
      line-height: auto !important;
  }
}