/* Download button: black background, white text */
.modal-download .download {
  background: #18181b !important;
  color: #fff !important;
  border: none !important;
  padding: 10px 24px !important;
  border-radius: 6px !important;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.modal-download .download:hover {
  background: #000 !important;
  color: #fff !important;
}
/* Add black background and white text for the Generate button */
.generate-button-blackwhite {
  background: #18181b !important;
  color: #fff !important;
  border: none !important;
}
.generate-button-blackwhite .button-label {
  color: #fff !important;
}
.logo img {
  height: 48px;
  width: auto;
  max-width: 180px;
  display: block;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.2s;
}
.logo img:hover {
  transform: scale(1.06);
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

main {
  display: flex;
}

.header {
  padding: 8px;
  display: flex;
  flex-direction: column;
  -webkit-box-align: stretch;
  align-items: stretch;
  border-right: 0.5px solid rgb(212, 212, 216);
  background-color: #f9fbff;
  z-index: 1303;
  height: auto;
  overflow: auto;
}
*,
body {
  box-sizing: border-box;
}
body {
  background: rgb(247, 247, 248);
  font-family: Manrope, sans-serif;
  line-height: 1.5;
}
.nav-item.active,
.nav-item:hover {
  background: #dbeafe;
  border-radius: 5px;
}
.content {
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  position: relative;
  width: min-content;
  padding: 0px 8px 80px;
  flex: 1;
  padding-top: 40px;
}

.prompt-label {
  margin: 0px;
  color: rgb(39, 39, 42);
  padding-bottom: 16px;
  padding-top: 8px;
  font-size: 32px;
  font-weight: 700;
  line-height: 125%;
  letter-spacing: -1.28px;
  text-align: center;
  z-index: 1333;
}

.prompt-heading img {
  max-width: 48px;
  height: 48px;
  margin-right: 10px;
  border-radius: 0;
  box-shadow: none;
}

.prompt-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
}

.prompt-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 700;
  font-size: 20px;
}
.input-container {
  max-width: 860px;
  display: flex;
  width: 100%;
  background: rgb(255, 255, 255);
  border-radius: 10px;
  outline: rgb(222, 222, 224) solid 0.5px;
  flex-direction: column;
  border: solid 1px #4d6bfe69;
  box-shadow: 0 2px 5px 2px #4d6bfe30;
}

.header-content a {
  min-width: 64px;
  min-height: 64px;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  cursor: pointer;
}

.header-content button {
  margin-bottom: 5px;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  cursor: pointer;
  width: 64px;
  aspect-ratio: 1/1;
  background: transparent;
  outline: none;
  border: none;
  color: #52525b;
  font-size: 11px;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 5px;
}

.header-content button p {
  display: block;
  width: 100%;
}

.input-container .textarea-container textarea {
  width: 100%;
  border: transparent;
  background: transparent;
  font-size: 18px;
  outline: none;
  resize: none;
}

.nav-tab button,
.nav-category button {
  display: inline-flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  vertical-align: middle;
  appearance: none;
  text-transform: none;
  user-select: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.56px;
  min-width: 0px;
  color: rgb(24, 24, 27);
  fill: rgb(24, 24, 27);
  outline: 0px;
  border-width: 0px;
  border-style: initial;
  border-color: initial;
  border-image: initial;
  margin: 0px;
  text-decoration: none;
  border-radius: 6px;
  gap: 8px;
  white-space: nowrap;
  transition: background-color cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 12px;
  background: #fff;
}
.nav-tab button.active,
.nav-category button.active {
  background: #dbeafe;
  color: #4d6bfe;
}
.nav-tabs {
  display: flex;
  gap: 5px;
}

.nav-container {
  width: 100%;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-right: auto;
  width: fit-content;
}

.nav-categories {
  display: flex;
  align-items: center;
  gap: 5px;
}

.divider.vertical {
  margin: 0 2px;
}

.options-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.options-inner .option-group:last-child {
  margin-left: auto;
}

.options-inner .option-group button {
  font-size: 14px;
  background: transparent;
  border: transparent;
  min-width: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 7px;
  margin: 0 2.5px;
  border-radius: 5px;
  cursor: pointer;
}
.options-inner .option-group button:hover {
  color: rgb(38, 39, 43);
  background-color: rgba(28, 28, 38, 0.03);
}
.option-spacer {
  height: 25px;
  width: 1px;
  background: #ebebeb;
}
.option-group-generate {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.options-inner .option-group button .option-label {
  display: flex;
  gap: 3px;
}
.options-inner .option-group-generate .generate-button {
  font-size: 16px;
  position: relative;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  outline: 0px;
  border: 0px;
  margin: 0px;
  cursor: pointer;
  vertical-align: middle;
  appearance: none;
  text-decoration: none;
  text-transform: none;
  user-select: none;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.75;
  min-width: 64px;
  display: flex;
  width: 91px;
  height: 36px;
  padding: 6px 12px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  border-radius: 6px;
  box-shadow: rgba(9, 9, 11, 0.05) 0px 1px 2px 0px;
  text-align: center;
  transition: none;
  background-color: #dbeafe;
  color: #4d6bfe;
}
.option-group-generate .upload-button {
  background: transparent;
  outline: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.input-inner {
  padding: 12px;
}

.options-container,
.options-image {
  margin-top: 5px;
}
.options-image:empty {
  display: none;
}
#file-image {
  display: none;
}
.options-inner .option-group {
  position: relative;
  z-index: 100;
  color: rgb(88, 89, 100);
}
.option-selectors {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
}
.option-selectors.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  display: block;
}
.option-selectors[type="ratios"] {
  position: absolute;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  outline: rgb(228, 228, 231) solid 0.5px;
  color: rgb(88, 89, 100);
  font-size: 14px;
  z-index: 100;
  padding: 10px 15px;
  min-width: 470px;
  top: calc(100% + 10px);
}
.option-selectors[type="ratios"] .option-group .option-image .images {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 203px;
}
.option-selectors[type="ratios"] .option-group {
  display: flex;
  gap: 20px;
}
.option-selectors[type="ratios"] .option-chooses {
  display: flex;
  flex-wrap: wrap;
}

.option-selectors[type="ratios"] .option-chooses .option-type-title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5px;
  margin-bottom: 10px;
  padding: 6px 10px;
}

.option-selectors[type="ratios"] .option-chooses .option-type-title span {
  display: block;
  width: 100%;
  font-weight: 700;
}

.option-selectors[type="ratios"] .option-chooses .options {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 5px;
}

.option-selectors[type="ratios"] .option-chooses .options .option {
  padding: 6px 10px;
  border-radius: 5px;
  cursor: pointer;
}
.option-selectors[type="ratios"] .option-chooses .options .option:hover,
.option-selectors[type="ratios"] .option-chooses .options .option.active {
  background: rgba(9, 9, 11, 0.05);
}
.option-selectors[type="ratios"] .option-selectors[type="ratios"]--title {
  margin-bottom: 10px;
  font-weight: 700;
}

.option-selectors[type="ratios"] .option-group .option-image {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  padding-bottom: 6px;
}

.option-selectors[type="ratios"] .option-group .option-image .sizes {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.option-selectors[type="ratios"] .option-group .option-image .sizes strong {
  font-weight: 700;
  margin-right: 5px;
}
.option-selectors[type="ratios"] .option-group .option-image .image {
  position: relative;
  z-index: 100;
  margin-bottom: 15px;
  display: none;
}
.option-selectors[type="ratios"] .option-selectors--title {
  margin-bottom: 15px;
}
.option-selectors[type="ratios"] .option-group .option-image .image .label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
}

.option-selectors[type="images-models-renders"] {
  font-size: 14px;
  position: absolute;
  top: calc(100% + 10px);
  background: #fff;
  min-width: 232px;
  padding: 10px 15px;
  box-shadow: rgba(9, 9, 11, 0.1) 0px 4px 6px -1px, rgba(9, 9, 11, 0.1) 0px 2px 4px -2px;
  border-radius: 10px;
  outline: rgb(228, 228, 231) solid 0.5px;
}

.option-selectors[type="images-models-renders"] .option-selectors--title {
  color: rgb(88, 89, 100);
  margin-bottom: 10px;
  font-weight: 600;
}
.option-selectors[type="images-models-renders"] .models .model:hover,
.option-selectors[type="images-models-renders"] .models .model.active {
  background: #f4f4f5;
}
.option-selectors[type="images-models-renders"] .group-images {
  display: flex;
  background-color: rgb(244, 244, 245);
  padding: 2px;
  box-shadow: rgba(9, 9, 11, 0.05) 0px 2px 4px 0px;
  border-radius: 8px !important;
  justify-content: space-between;
}

.option-selectors[type="images-models-renders"] .group-images .number {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 35px;
  color: rgb(39, 39, 42) !important;
}

.option-selectors[type="images-models-renders"] .hr {
  margin: 20px auto;
  height: 1px;
  width: 100%;
  background: rgb(222, 222, 224);
}

.option-selectors[type="images-models-renders"] .group-images .number:hover,
.option-selectors[type="images-models-renders"] .renders .render.active,
.option-selectors[type="images-models-renders"] .group-images .number.active {
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.option-selectors[type="images-models-renders"] .models {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.option-selectors[type="images-models-renders"] .models .model {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px 10px;
  border-radius: 5px;
}

.option-selectors[type="images-models-renders"] .models .model span {
  font-size: 12px;
  color: rgb(111, 111, 120);
}
.option-selectors[type="images-models-renders"] .renders {
  display: flex;
  background-color: rgb(244, 244, 245);
  padding: 2px;
  border-radius: 8px !important;
  justify-content: space-between;
  margin-bottom: 15px;
}

.option-selectors[type="images-models-renders"] .renders .render {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 35px;
  color: rgb(39, 39, 42) !important;
  border-radius: 5px;
  transition: 0.3s all 0s;
}

.option-selectors[type="images-models-renders"] .notes {
  font-size: 10px;
  color: rgb(111, 111, 120);
  display: flex;
  justify-content: space-between;
  line-height: 1.1;
}

.option-selectors[type="images-models-renders"] .renders .render:hover {
  background: #fff;
  cursor: pointer;
}
.option-selectors[type="prompts"] {
  position: absolute;
  top: calc(100% + 5px);
  background: #fff;
  padding: 10px 15px;
  z-index: 100;
  min-width: 252px;
  border-radius: 10px;
  outline: rgb(228, 228, 231) solid 0.5px;
  font-size: 14px;
}
.option-selectors[type="prompts"] .prompts .prompt svg {
  display: none;
}
.option-selectors[type="prompts"] .option-selectors--title {
  margin-bottom: 10px;
  padding: 0 10px;
  font-weight: 600;
}

.option-selectors[type="prompts"] .prompts {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.option-selectors[type="prompts"] .prompts .prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  transition: 0.3s all 0s;
}
.option-selectors[type="prompts"] .prompts .prompt:hover {
  fill: rgb(24, 24, 27);
  color: rgb(38, 39, 43);
  background-color: rgba(28, 28, 38, 0.03);
  border-radius: 5px;
}

.option-selectors[type="styles"] {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: #fff;
  padding: 10px 15px;
  font-size: 14px;
  min-width: 388px;
  border-radius: 10px;
  outline: rgb(228, 228, 231) solid 0.5px;
}

.option-selectors[type="styles"] .option-selectors--title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.option-selectors[type="styles"] .option-selectors--title .styles {
  display: flex;
}

.option-selectors[type="styles"] .styles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}

.option-selectors[type="styles"] .styles .style {
  display: flex;
  gap: 8px;
  border-radius: 6px;
  border: 0.5px solid rgba(28, 28, 38, 0.31);
  color: rgb(88, 89, 100);
  cursor: pointer;
  -webkit-box-align: center;
  align-items: center;
  fill: rgb(111, 111, 120);
  padding: 8px 10px;
}
.option-selectors[type="styles"] .styles .style:hover,
.option-selectors[type="styles"] .styles .style.active {
  background-color: rgba(28, 28, 38, 0.06);
  border: 0.5px solid rgb(26, 26, 30);
}
.option-selectors[type="styles"] .style-note {
  padding: 12px;
  background-color: rgba(28, 28, 38, 0.06);
  border-radius: 6px;
}

.option-selectors[type="colors"] {
  position: absolute;
  top: calc(100% + 5px);
  background: #fff;
  min-width: 300px;
  font-size: 14px;
  padding: 10px 15px;
  outline: rgb(228, 228, 231) solid 0.5px;
  border-radius: 10px;
}

.option-selectors[type="colors"] .colors {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.option-selectors[type="colors"] .colors .color {
  padding: 5px 10px;
  color: #fff;
  border-radius: 5px;
  transition: 0.3s all 0s;
  border: solid 1px transparent;
  cursor: pointer;
}

.option-selectors[type="colors"] .option-selectors--title {
  font-weight: 600;
  margin-bottom: 15px;
}

.option-selectors[type="colors"] .colors .color.active {
  border-color: #040404;
}

.gallery .gallery-columns {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}
.gallery-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.gallery-item {
  position: relative;
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item .gallery-item--image img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item .gallery-item--user {
  position: absolute;
  bottom: 5px;
  left: 5px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-item .gallery-item--user img {
  width: 30px;
  object-fit: cover;
  border-radius: 50%;
  aspect-ratio: 1/1;
}

.gallery-item .gallery-item--user .gallery-item--name {
  display: flex;
  flex-direction: column;
  color: #fff;
  gap: 0;
  line-height: 1.4;
}

.gallery-item .gallery-item--user .gallery-item--name strong {
  font-size: 14px;
  font-weight: 700;
}

.gallery-item .gallery-item--user .gallery-item--name strong span {
  opacity: 0.8;
}

.gallery-item--like {
  position: absolute;
  bottom: 5px;
  right: 5px;
}

.gallery-item .gallery-item--user .gallery-item--name span {
  font-size: 12px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: calc(100% - 89px);
  margin-left: auto;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background-color: rgb(247, 247, 248);
  padding-top: 10px;
  padding-right: 10px;
}
.modal.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.modal .modal-content {
  display: flex;
}
.modal .modal-content .modal-image {
  display: flex;
  align-items: flex-start;
  flex: 1;
}

.modal .modal-content .modal-image .back {
  min-width: 40px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  margin-right: 10px;
  cursor: pointer;
  background-color: #4d6bfe;
}

.modal .modal-content .modal-image .image {
  flex: 1;
  text-align: center;
}
.modal .modal-content .modal-image .image img {
  max-height: 97.5vh;
  border-radius: 5px;
}
.modal .modal-content .modal-specs {
  max-width: 372px;
  width: 100%;
  margin-left: auto;
  background: rgb(255, 255, 255);
  border-style: solid solid solid solid;
  border-width: 0.5px;
  border-color: rgb(228, 228, 231);
  border-radius: 8px;
  scrollbar-color: transparent transparent;
  padding: 10px 15px;
  overflow-y: auto;
  max-height: 97.5vh;
  padding-bottom: 30px;
}
.specs-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.specs-head .modal-user img {
  width: 45px;
  aspect-ratio: 1/1;
  border-radius: 50%;
}

.specs-head .modal-user .modal-user--name {
  font-size: 14px;
  color: rgb(63, 63, 70);
}

.specs-head .modal-user .modal-user--time {
  font-size: 12px;
  color: rgb(88, 89, 100);
}

.specs-head .modal-download {
  background: #4d6bfe;
  color: #fff;
  fill: rgb(111, 111, 120);
  text-decoration: none;
  border-radius: 30px;
  padding: 7px 10px;
  font-size: 14px;
  font-weight: 600;
}

.modal .modal-content .modal-specs .specs-covers {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 15px;
}

.modal .modal-content .modal-specs .specs-covers .spec-cover {
  flex: 1;
  aspect-ratio: 1/1;
}

.modal .modal-content .modal-specs .specs-covers .spec-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 5px;
  opacity: 0.6;
}
.modal .modal-content .modal-specs .specs-caption,
.modal .modal-content .modal-specs .specs-prompt {
  font-size: 14px;
  margin-bottom: 15px;
  color: rgb(88, 89, 100);
}
.modal .modal-content .modal-specs .specs-caption .title,
.modal .modal-content .modal-specs .specs-prompt .title {
  font-size: 14px;
  color: rgb(63, 63, 70);
  margin-bottom: 5px;
  font-weight: 500;
}
.modal .modal-content .modal-specs .hr {
  height: 1px;
  width: 100%;
  background: rgb(228, 228, 231);
  margin: 15px auto;
}

.modal .modal-content .modal-specs .specs-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  font-size: 14px;
}

.modal .modal-content .modal-specs .specs-info .info strong {
  display: block;
  font-weight: 600;
}

.modal .modal-content .modal-specs .specs-info .info span {
  color: rgb(88, 89, 100);
}
.modal .modal-content .modal-specs .specs-covers .spec-cover.active img {
  opacity: 1;
}

[data] .value {
  border: solid thin #252525;
  margin: auto;
  cursor: pointer;
}
.option-selectors[type="ratios"] .option-group .option-image .image.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  display: flex;
}
[data="1:3"] .value {
  width: 40px;
  height: 200px;
}

[data="9:16"] .value {
  width: 90px;
  height: 160px;
}

[data="1:2"] .value {
  width: 100px;
  height: 200px;
}

[data="10:16"] .value {
  width: 100px;
  height: 160px;
}

[data="2:3"] .value {
  width: 100px;
  height: 150px;
}

[data="3:4"] .value {
  width: 120px;
  height: 160px;
}

[data="3:1"] .value {
  width: 200px;
  height: 66.67px;
}

[data="2:1"] .value {
  width: 200px;
  height: 100px;
}

[data="4:5"] .value {
  width: 160px;
  height: 200px;
}
[data="5:4"] .value {
  width: 200px;
  height: 160px;
}

[data="16:9"] .value {
  width: 200px;
  height: 112.5px;
}

[data="16:10"] .value {
  width: 200px;
  height: 125px;
}

[data="3:2"] .value {
  width: 150px;
  height: 100px;
}

[data="4:3"] .value {
  width: 200px;
  height: 150px;
}

#magic-prompt {
  font-weight: 700;
  margin-left: 3px;
}

.tab-panels {
  width: 100%;
}
.tab-panels .tab-panel {
  display: none;
}

.tab-panels .tab-panel.is-show {
  display: block;
}

#galleryCreations {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  max-width: 1200px;
  gap: 15px;
}

.gallery-user--item .gallery-item--image img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  display: block;
}

.gallery-user--item {
  position: relative;
  z-index: 10;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-user--item .gallery-item--user {
  position: absolute;
  bottom: 5px;
  left: 5px;
  display: flex;
  gap: 5px;
  color: #fff;
  align-items: center;
}

.gallery-user--item .gallery-item--user .gallery-item--name {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.3;
}

.gallery-user--item .gallery-item--user .gallery-item--name strong {
  font-weight: 600;
}

.gallery-user--item .gallery-item--user img {
  width: 30px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
}

.modal-ai {
  position: fixed;
  bottom: 2px;
  right: 2px;
  z-index: 100;
  max-width: 600px;
  width: 100%;
  background: #fff;
  font-size: 14px;
  border-radius: 5px;
  padding: 10px 15px;
  outline: solid thin #ebebeb;
  transition: 0.3s all 0s;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal-ai.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.modal-ai.is-show.down {
  transform: translateY(100%);
}
.modal-ai .modal-ai--header {
  padding-bottom: 7.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  border-bottom: solid thin #ebebeb;
}

.modal-ai .modal-ai--header .modal-ai--title {
  margin-right: auto;
}
.modal-ai .modal-download {
  display: none;
}

.modal-ai .modal-ai-down,
.modal-ai .modal-close {
  width: 25px;
  aspect-ratio: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-ai .modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.modal-ai .modal-body .image-wrapper {
  border: solid thin #ebebeb;
  padding: 10px;
  border-radius: 5px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  aspect-ratio: 1/1;
}

.modal-ai .modal-body .image-wrapper img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  opacity: 0.1;
  transform: translate(-50%, -50%);
}

.modal-ai .modal-body .image-wrapper .image-progress-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.modal-ai .modal-download.active {
  display: block;
}

.modal-ai .modal-download.active a {
  text-decoration: none;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  width: fit-content;
  border-radius: 5px;
  font-weight: 700;
  margin-top: 15px;
  background-color: #dbeafe;
  color: #4d6bfe;
}
@media (max-width: 1024px) {
  .gallery .gallery-columns {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .gallery .gallery-columns {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .options-inner {
    row-gap: 15px;
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-color: transparent;
    width: 100%;
    right: 0;
    outline: solid thin #ebebeb;
  }

  .header .header-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header .header-content .navigation {
    display: flex;
    gap: 10px;
  }

  .content {
    padding-top: 90px;
  }
  .nav-tabs {
    flex-wrap: wrap;
  }
  .options-inner .option-group {
    position: static;
  }

  .option-selectors[type="styles"],
  .option-selectors[type="colors"],
  .option-selectors[type="ratios"],
  .option-selectors[type="images-models-renders"],
  .option-selectors[type="prompts"] {
    position: fixed;
    bottom: 2px;
    top: unset;
    left: 10px;
    right: 10px;
  }
}
@media (max-width: 576px) {
  .gallery .gallery-columns {
    grid-template-columns: 1fr 1fr;
  }
}
#creations .nav-container {
  max-width: 1200px;
  margin: auto;
}

#creations #galleryCreations {
  margin: auto;
}
.header-content .logo {
  aspect-ratio: 1/1;
  width: 60px;
  border-radius: 7.5px;
  margin-bottom: 15px;
}

.header-content .logo img {
  max-width: 60px;
}
