@font-face {
    font-family: 'Inter';
    src: url(../font/Inter-VariableFont_opsz\,wght.ttf);
}
:root{
  --dark-blue: #212529;
  --accent-blue: #2B6EDA;
  --green: #8EAF90;
  --orange-yellow: #fd7e14;
  --light-gray: #F3F3F3;
  --light-gray-hover: #f4f4f4;
  --light-gray-text: #C9C9C9;
  --smooth: 0.27s;
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter';
}
.shadow-1 {
    box-shadow: 0px 4px 9px 0px rgba(0, 0, 0, 0.03), 0px 17px 17px 0px rgba(0, 0, 0, 0.03), 0px 39px 23px 0px rgba(0, 0, 0, 0.02), 0px 68px 27px 0px rgba(0, 0, 0, 0), 0px 107px 30px 0px rgba(0, 0, 0, 0);
}
.shadow-2 {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
a{
  color: var(--dark-blue);
}
footer{
  background-color: var(--dark-blue);
  border-radius: 1rem 1rem 0rem 0rem;
}
.nav-link{
  color: var(--dark-blue);
}
.nav-pills .nav-link.active{
  background-color: var(--orange-yellow);
}
.nav-link:focus, .nav-link:hover{
  color: var(--orange-yellow);
}
.accordion-button:focus{
  box-shadow: none;
}
#about-us-declaration, #mot-text{
  width: auto;
  padding: 5rem 1rem;
}

/* Logo & profile section */
#profile-container{
  border-color: var(--light-gray) !important;
  transition: var(--smooth);
}
#logo img{
    height: 30px;
}
#tokens{
    background-color: var(--dark-blue);
    font-weight: 300;
    padding: 2px 15px 2px 15px;
}
.icon-link{
    gap: 0.8rem;
    color: var(--dark-blue);
}
#logout img{
    transition: var(--smooth);
}
#logout:hover img {
    transform: scale(1.15);
}
#profile-content a{
    display: block;
    text-decoration: none;
    padding: 10px 15px;
    transition: var(--smooth);
}
#profile-content a, #profile-mobile a{
    color: var(--dark-blue);
}
#profile-content a:first-of-type{
    border-radius: 0.4rem 0.4rem 0 0;
}
#profile-content a:last-of-type{
    border-radius: 0 0 0.4rem 0.4rem;
}
#profile-content a:hover{
    background-color: var(--light-gray-hover);
}
#profile-content{
    white-space: nowrap;
    display: none;
    position: absolute;
    top: 40px;
    right: -10px;
    background-color: #fff;
    z-index: 1000;
}
#profile-content, #profile-content .border-top{
  border-color: var(--light-gray) !important;
}


/* From Uiverse.io by Shoh2008 */ 
.loader {
  width: 64px;
  height: 64px;
  position: relative;
  background: #FFF;
  border-radius: 4px;
  overflow: hidden;
}
.loader:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  transform: rotate(45deg) translate(30%, 40%);
  background: var(--light-gray-hover); /*ff9371*/
  box-shadow: 32px -34px 0 5px var(--dark-blue); /*ff3d00*/
  animation: slide 2s infinite ease-in-out alternate;
}
.loader:after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--dark-blue);
  transform: rotate(0deg);
  transform-origin: 35px 145px;
  animation: rotate 2s infinite ease-in-out;
}


/* From Uiverse.io by AqFox */ 
.spinner {
 width: 44px;
 height: 44px;
 animation: spinner-y0fdc1 4s infinite ease;
 transform-style: preserve-3d;
}
.spinner > div {
 background-color: rgba(232, 232, 232, 0.2);
 height: 100%;
 position: absolute;
 width: 100%;
 border: 2px solid var(--dark-blue);
}
.spinner div:nth-of-type(1) {
 transform: translateZ(-22px) rotateY(180deg);
}
.spinner div:nth-of-type(2) {
 transform: rotateY(-270deg) translateX(50%);
 transform-origin: top right;
}
.spinner div:nth-of-type(3) {
 transform: rotateY(270deg) translateX(-50%);
 transform-origin: center left;
}
.spinner div:nth-of-type(4) {
 transform: rotateX(90deg) translateY(-50%);
 transform-origin: top center;
}
.spinner div:nth-of-type(5) {
 transform: rotateX(-90deg) translateY(50%);
 transform-origin: bottom center;
}
.spinner div:nth-of-type(6) {
 transform: translateZ(22px);
}

@keyframes spinner-y0fdc1 {
 0% {
  transform: rotate(45deg) rotateX(-25deg) rotateY(25deg);
 }

 50% {
  transform: rotate(45deg) rotateX(-385deg) rotateY(25deg);
 }

 100% {
  transform: rotate(45deg) rotateX(-385deg) rotateY(385deg);
 }
}
@keyframes slide {
  0% , 100% {
    bottom: -35px
  }

  25% , 75% {
    bottom: -2px
  }

  20% , 80% {
    bottom: 2px
  }
}
@keyframes rotate {
  0% {
    transform: rotate(-15deg)
  }

  25% , 75% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(25deg)
  }
}

/* From Uiverse.io by kennyotsu */
.loader-words {
  color: var(--light-gray-text);
  font-weight: 600;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 60px;
  padding: 10px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 8px;
}
.words {
  overflow: hidden;
  position: relative;
}
.words::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
}
.word {
  display: block;
  height: 100%;
  padding-left: 6px;
  color: var(--dark-blue);
  animation: spin_4991 8s infinite ease;
}

@keyframes spin_4991 {
  10% {
    -webkit-transform: translateY(-102%);
    transform: translateY(-102%);
  }

  25% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  35% {
    -webkit-transform: translateY(-202%);
    transform: translateY(-202%);
  }

  50% {
    -webkit-transform: translateY(-200%);
    transform: translateY(-200%);
  }

  60% {
    -webkit-transform: translateY(-302%);
    transform: translateY(-302%);
  }

  75% {
    -webkit-transform: translateY(-300%);
    transform: translateY(-300%);
  }

  85% {
    -webkit-transform: translateY(-402%);
    transform: translateY(-402%);
  }

  100% {
    -webkit-transform: translateY(-400%);
    transform: translateY(-400%);
  }
}
#char-counter, #select-size{
  padding: .375rem .75rem;
}

/* Nesto */
.form-control:disabled{
  background-color: transparent !important;
}
.image-placeholder, .image-placeholder img{
  /* max-width: 450px; */
  max-height: 450px;
}
.form-control:focus{
  /* box-shadow: 0 0 0 .15rem rgb(243 243 243) !important; */
  box-shadow: none;
}
#form-prompt {
  border-color: var(--light-gray) !important;
  bottom: 50px;
  transform: translateY(0);
  will-change: transform;
}
#new-prompt{
  bottom: 50px;
  transform: translateY(0);
  will-change: transform;
}
textarea#text-prompt{
  border: none;
  resize: none;
}
#form-prompt, #answer-box{
  width: 600px;
  background-color: #FFF;
}
#answer-box{
  min-height: 300px;
}
#answerModal .modal-dialog{
  padding: 20px;
}
#form-prompt .form-check-input:checked{
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
}
#form-prompt .form-check-input:focus{
  box-shadow: none;
}

/* Gallery background - HERO */
#gallery-carousel{
  width: 500px;
  height: 300px;
  border: 1px solid;
}
.gallery-wrapper {
  height: 360px;
  width: 500px;
  overflow: hidden;
  position: relative;
}
.gallery-carousel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: scrollVertical 10s linear infinite;
}
.gallery-carousel img {
  width: 250px;
  object-fit: cover;
  display: block;
}
#hero-section h1{
  letter-spacing: 2px;
}
#hero-section p{
  max-width: 500px;
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.gallery {
  overflow: hidden;
  white-space: nowrap;
  position: absolute;
  top: 60px;
  opacity: 0.7;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%)
}
.gallery-slide {
  display: inline-block;
  animation: 100s slide infinite linear;
}
.gallery-slide img {
  height: 700px;
  margin: 0 10px;
}
#main-container, .gallery-slide img{
  height: 90dvh;
  max-height: 1100px;
}

/* Tutorial */
/* .tutorial-step {
  margin-top: 6rem;
  margin-bottom: 6rem;
}
.tutorial-step .d-flex.flex-column{
  height: -webkit-fill-available;
} */
.step-number {
  display: block;
  font-size: 12rem; 
  font-weight: 800; 
  color: #f0f0f0; 
  line-height: 0.8; 
  z-index: 1;
  @media (min-width: 992px) {
    position: absolute;
    top: -3rem;
    left: -3rem;
    transform: translateY(-50%);
    top: 50%;
  }
  @media (max-width: 991.98px) {
    font-size: 8rem;
    margin-bottom: 1rem;
    color: #e9e9e9;
  }
}
.step-number-2 {
  font-weight: 800; 
  color: var(--dark-blue); 
  line-height: 0.8;
}
.step-content {
  position: relative;
  z-index: 2;
  @media (min-width: 992px) {
    padding-left: 3rem;
  }
}
.step-subtitle {
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: 0.5px;
  font-size: 1.2rem;
  text-transform: uppercase;
}
.step-image {
  background-color: #fff;
  border-radius: 1.5rem;
  /* object-fit: contain; */
  height: 100%;
  /* min-height: 400px; */
  max-height: 550px;
}
 
/* Gallery section */
.scrollable-gallery {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Mobile touch */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scroll-behavior: smooth;
}
.scrollable-gallery::-webkit-scrollbar { 
  display: none; /* Safari and Chrome */
}
.gallery-card {
  flex-shrink: 0;
  width: 22.66667%;
  padding: 0 8px;
  position: relative;
}

/* Gallery card responsive */
@media (max-width: 1400px) {
  .gallery-card {
      width: 23.66%; /* 5 imgs */
  }
}
@media (max-width: 1200px) {
  .gallery-card {
      width: 27.66%; /* 4 imgs */
  }
}
@media (max-width: 992px) {
  .gallery-card {
      width: 36.333%; /* 3 imgs */
  }
}
@media (max-width: 768px) {
  .gallery-card {
      width: 50%; /* 2 imgs */
  }
}
@media (max-width: 576px) {
  .gallery-card {
      width: 80%; /* 1 full and a part of the second */
  }
}
.gallery-card .card-img {
  object-fit: cover;
  height: 400px;
  transition: transform 0.3s ease;
}
.card-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  padding: 1rem;
  background: linear-gradient(to top, 
                rgba(33, 37, 41, 1) 0%, 
                rgba(54, 60, 67, 0.6) 23%, 
                rgba(63, 71, 78, 0.51) 33%, 
                rgba(74, 83, 92, 0.4) 45%, 
                rgba(115, 129, 143, 0) 60%
            );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}
.gallery-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 13px;
}
.card-text-truncate {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  font-size: 14px;
  height: 2.8em; /* line-height * broj linija */
  font-weight: 300;
}
.gallery-row-wrapper {
  position: relative;
}
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  opacity: 0; /* Hidden arrows by default */
  transition: opacity 0.3s ease;
}

/* Show arrows */
.gallery-row-wrapper:hover .scroll-btn {
  opacity: 1;
}
.scroll-btn-left {
  left: -20px;
}
.scroll-btn-right {
  right: -20px;
}
@media (max-width: 768px) {
    .scroll-btn {
        display: none;
    }
    .gallery-card {
        padding: 0 4px; /* Smanji razmak na mobilnom */
    }
}

/* Feedback/Contact us */
#feedback, #after-hero{
  /* background-image: linear-gradient(to top, var(--dark-blue), var(--accent-blue)); */
  background-image: linear-gradient(to top, #d26000, var(--orange-yellow))
}
#after-hero-images img:nth-child(1){
  width: 100px;
  z-index: 3;
}
#after-hero-images img:nth-child(2){
  width: 240px;
  z-index: 2;
}
#after-hero-images img:nth-child(3){
  width: 340px;
  z-index: 1;
}

/* Register/Login page */
#register-left, 
#login-left{
  max-width: 350px;
  height: 700px;
  background-size: cover;
  background-position: center;
  position: relative;
}
#register-left{
  background-image: url(../images/2048px-Caspar_David_Friedrich_-_Wanderer_above_the_Sea_of_Fog.webp);
}
#login-left{
  background-image: url(../images/2048px-Great_Wave_off_Kanagawa2.webp);
}
#register-left figure, #register-left h4, #register-left img#register-logo,
#login-left figure, #login-left h4, #login-left img#login-logo{
  z-index: 2;
}
#register-left::before, #register-left::after,
#login-left::before, #login-left::after{
  content: "";
  width: 100%;
  height: 250px;
  position: absolute;
  border-radius: 0.375rem;
}
#register-left::before, 
#login-left::before{
  top: 0;
  left: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0), #000);
  display: none;
}
#register-left::after,
#login-left::after{
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #000);
}
#register-right, 
#login-right{
  max-width: 400px;
}
#register-errors ul, #login-errors ul{
  font-size: 14px;
}

/* Glass card */
.glass-card {
  background: rgba(255, 255, 255, 0.37);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  position: relative;
  overflow: hidden;
  width: fit-content;
}

.highlighted-text {
  background-color: var(--dark-blue);
  color: #fff;
  padding: 3px 13px;
}

@keyframes scrollVertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Responsive */

/* Tablet */
@media (max-width: 768px) {
  #form-prompt, .gallery-wrapper{
    width: 95%;
  }
}

@media (max-width: 760px) {
  #register-container, 
  #login-container{
    height: auto !important;
  }
  #register-left,
  #login-left{
    height: 400px;
  }
  #login-left, #login-right{
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 576px) {
 .gallery{
  border-radius: 0 !important;
 } 

 .col-lg-8 .fs-5{
  font-size: 16px !important;
 }
}


.prompt-box {
background-color: #fff;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border-radius: 10px;
padding: 14px 20px;
width: 500px;
display: flex;
align-items: center;
justify-content: space-between;
}

.prompt-box input {
border: none;
outline: none;
width: 100%;
font-size: 16px;
color: #333;
}

.prompt-box input::placeholder, .profile-container input::placeholder, #login-form input::placeholder, #register-form input::placeholder {
color: #888;
}

.send-btn {
background-color: #000;
border: none;
color: white;
border-radius: 50%;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s ease;
}

.send-btn:hover {
background-color: #333;
}

.send-btn i {
font-size: 16px;
}

.btn-floating.contact-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    z-index: 1050;
}

/* For screens wider than the largest container */
@media (min-width: 1400px) {
    .btn-floating.contact-fab {
        right: calc((100vw - 1320px) / 2 + var(--bs-gutter-x, 0.75rem));
    }
}

.profile-container {
    max-width: 1200px;
    margin: 40px auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.sidebar-link:hover {
    background-color: #f8f9fa;
    color: #333;
}

.sidebar-link.active {
    background-color: #fff;
    color: #fd7e14;
    /* Orange color */
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.sidebar-link i {
    margin-right: 12px;
    font-size: 1.1rem;
}

.main-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 30px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background-color: #ffe8cc;
}

.form-control-custom {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 15px;
}

.form-control-custom:focus {
    border-color: var(--orange-yellow);
    box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25);
}

.btn-orange {
    background-color: var(--dark-blue);
    color: white;
    font-weight: normal;
    padding: 6px 22px;
    border-radius: 6px;
    border: 1px solid var(--dark-blue);
}

.btn-orange-outline{
    color: var(--dark-blue);
    background-color: transparent;
    border-color: var(--dark-blue);
}

.btn-orange:hover, .btn-orange-outline:hover, .btn-orange:focus-visible, .btn-orange:active {
    background-color: var(--orange-yellow) !important;
    color: white !important;
    border-color: var(--orange-yellow) !important;
}

.btn-outline-custom {
    border: 1px solid #dee2e6;
    color: #333;
    background: white;
    padding: 8px 20px;
    border-radius: 6px;
}

.btn-outline-custom:hover {
    background-color: #f8f9fa;
}

.btn-icon-only {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffe8cc;
    background-color: #fff5eb;
    color: #fd7e14;
    border-radius: 8px;
}

.verified-badge {
    color: #198754;
    margin-left: 10px;
}

.plan-card {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s;
    cursor: pointer;
}

.plan-card:hover,
.plan-card.active {
    border-color: #fd7e14;
    background-color: #fffbf8;
}

.plan-card.active {
    box-shadow: 0 0 0 1px #fd7e14;
}

/* Input group text fix */
.input-group-text {
    background: transparent;
    border-right: none;
}

.input-group .form-control {
    border-left: none;
}

.text-orange {
    color: #fd7e14 !important;
}

.form-control:focus, .form-control:focus-visible, .form-check-input:focus{
  border-color: var(--orange-yellow);
  box-shadow: none;
}
.form-check-input:checked{
  background-color: var(--orange-yellow);
  border-color: var(--orange-yellow);
}


.target-area {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.modal {
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

/* Bento Gallery Section */
.bento-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 500px;
}

.bento-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-large {
  grid-row: span 2;
}

.bento-small-top,
.bento-small-bottom {
  overflow: hidden;
}

.bento-gallery a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s ease;
}

@media (max-width: 991.98px) {
  .bento-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }
  
  .bento-large {
    grid-column: span 2;
    grid-row: span 1;
    height: 300px;
  }
  
  .bento-small-top,
  .bento-small-bottom {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .bento-gallery {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .bento-large {
    grid-column: span 1;
    height: 250px;
  }
  
  .bento-small-top,
  .bento-small-bottom {
    height: 180px;
  }
}

/* Playground Page Styles */
.playground-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Dotted background wrapper for playground - extends behind footer */
body:has(.playground-main) {
  background-color: #f5f5f5;
  background-image: radial-gradient(circle, #d1d1d1 1px, transparent 1px);
  background-size: 20px 20px;
}

.playground-prompt-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.playground-prompt {
  background-color: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  width: 100%;
  max-width: 600px;
}

#playground-prompt-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.playground-input-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#playground-prompt-input {
  flex: 1;
  border: none;
  background-color: transparent;
  padding: 8px 0;
  font-size: 14px;
  color: #333;
  resize: none;
  font-family: inherit;
  line-height: 1.5;
  min-height: 32px;
  max-height: 120px;
  overflow-y: auto;
}

#playground-prompt-input::placeholder {
  color: #bbb;
}

#playground-prompt-input:focus {
  outline: none;
}

.playground-prompt-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

.playground-size-options {
  display: flex;
  align-items: center;
  gap: 8px;
}

.size-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #888;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #e5e5e5;
  background-color: #fff;
  transition: all 0.2s ease;
}

.size-option:hover {
  border-color: #ccc;
  color: #555;
}

.size-option:has(input:checked) {
  background-color: #f5f5f5;
  border-color: #d0d0d0;
  color: #333;
}

.size-option input[type="radio"] {
  display: none;
}

.size-option span {
  font-weight: 400;
}

.playground-prompt-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.playground-clear:hover {
  background-color: #f5f5f5;
  color: #666;
}

#playground-prompt-send {
  width: 40px;
  height: 40px;
  background-color: var(--dark-blue);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 24px;
}

#playground-prompt-send:hover {
  background-color: var(--orange-yellow);
}

#playground-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

#playground_images_chatgpt {
  max-width: 600px;
  width: 100%;
}

#playground_suggestions_chatgpt {
  max-width: 600px;
  width: 100%;
  margin-top: 16px;
}

/* Responsive adjustments for playground */
@media (max-width: 576px) {
  .playground-prompt {
    padding: 14px 16px;
    border-radius: 12px;
  }
  
  .playground-prompt-controls {
    align-items: stretch;
    gap: 12px;
  }
  
  .playground-size-options {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .size-option {
    padding: 5px 10px;
    font-size: 12px;
  }

  #playground-prompt-send {
    width: 32px;
    height: 32px;
  }
  
  .playground-prompt-actions {
    justify-content: flex-end;
  }
}

.fade-out-top{-webkit-animation:fade-out-top 0.7s cubic-bezier(.25,.46,.45,.94) both;animation:fade-out-top 0.7s cubic-bezier(.25,.46,.45,.94) both}

@-webkit-keyframes fade-out-top{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}100%{-webkit-transform:translateY(-50px);transform:translateY(-50px);opacity:0}}@keyframes fade-out-top{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}100%{-webkit-transform:translateY(-50px);transform:translateY(-50px);opacity:0}}

.fade-in-bottom{-webkit-animation:fade-in-bottom 0.7s cubic-bezier(.25,.46,.45,.94) both;animation:fade-in-bottom 0.7s cubic-bezier(.25,.46,.45,.94) both}

@-webkit-keyframes fade-in-bottom{0%{-webkit-transform:translateY(50px);transform:translateY(50px);opacity:0}100%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes fade-in-bottom{0%{-webkit-transform:translateY(50px);transform:translateY(50px);opacity:0}100%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}

.prompt-pill {
  font-size: 0.95rem;
  color: var(--dark-blue);
  max-width: 80vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

#playground-results {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

#playground-results.show {
  opacity: 1;
}

.playground-prompt-container::before{
  display: none;
  content: "Please enter a prompt first.";
  background-color: red;
  padding: 5px 10px;
}

/* Toast positioning and z-index */
.toast-container {
  z-index: 1060; /* Higher than modal (1055) if needed */
}

#loading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40vh;
}

#loading-wrapper .loader {
  margin: 0 auto;
}

.hidden-element {
  opacity: 0;
  visibility: hidden;
}

/* From Uiverse.io by Shoh2008 */ 
.loader {
  width: 64px;
  height: 64px;
  position: relative;
  background: #FFF;
  border-radius: 4px;
  overflow: hidden;
}

.loader:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  transform: rotate(45deg) translate(30%, 40%);
  background: #ebb589;
  box-shadow: 32px -34px 0 5px var(--orange-yellow);
  animation: slide-loader 2s infinite ease-in-out alternate;
}

.loader:after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange-yellow);
  transform: rotate(0deg);
  transform-origin: 35px 145px;
  animation: rotate-loader 2s infinite ease-in-out;
}

@keyframes slide-loader {
  0% , 100% {
    bottom: -35px
  }

  25% , 75% {
    bottom: -2px
  }

  20% , 80% {
    bottom: 2px
  }
}

@keyframes rotate-loader {
  0% {
    transform: rotate(-15deg)
  }

  25% , 75% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(25deg)
  }
}
  