@font-face {
    font-family: 'Area InkTrap';
    src: url("../fonts/AreaInktrapSemibold/AreaInktrap-Semibold.woff2") format('woff2'),
        url("../fonts/AreaInktrapSemibold/AreaInktrap-Semibold.woff") format('woff');
    font-weight: 400;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: 'Area InkTrap';
    overflow: hidden;
    color: #00f256;
}

body::before {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(28, 98, 42, 1), rgba(0, 0, 0, 1) 18%);
    pointer-events: none;
    z-index: -1;
}

#container {

    display: flex;
    flex-direction: row;
    height: 100%;
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    display: flex;
}

#prompt-interface {
    flex: 1;
    width: 500px;
    margin: 40px 0px;
}


#text2imagepanel {
    flex: 3;
    display: flex;
    /* height: 400px; */
    margin: 0px 0px;
    height: 100%;
    align-items: flex-end;

}



.image_model_inner_div {
    height: 100%;
    /* width: 100%; */
    display: flex;
    align-items: flex-end;
}

.image_model_inner_div {
    height: 100%;
    display: flex;
    align-items: flex-end;

}

.image_model_inner_image_div {
    height: 100%;
    display: flex;
    align-items: flex-end;
}
#text2image_output { position: relative; width: 100%; height: 100%; }

.large_image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;   /* or 'cover' if you prefer */
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 20s ease-in-out;
  animation: t2i-zoom 20s ease-in-out forwards;
}

#gradient_overlay {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 20s ease-in-out;
  animation: t2i-zoom 20s ease-in-out forwards;

  background-image:
    linear-gradient(to top,    rgba(0,0,0,0.95), transparent 20%),
    linear-gradient(to bottom, rgba(0,0,0,0.95), transparent 20%),
    linear-gradient(to left,   rgba(0,0,0,0.95), transparent 20%),
    linear-gradient(to right,  rgba(0,0,0,0.95), transparent 20%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

:root { --t2i-zoom-from: 1.0; --t2i-zoom-to: 1.08; --t2i-y: 0; }
@keyframes t2i-zoom {
  from { transform: translateY(var(--t2i-y)) scale(var(--t2i-zoom-from)); }
  to   { transform: translateY(var(--t2i-y)) scale(var(--t2i-zoom-to)); }
}



#sentence {
    margin: 50px 0 0 0;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) calc(100% - 150px), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) calc(100% - 150px), rgba(0, 0, 0, 0));
}

h1 {
    font-size: 30px;
    margin: 0px 0px 4px 0px;
}

.generate-button {
    background-color: #0fec6a;
    border: none;
    color: black;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 26px;
    font-weight: 400;
    float: right;
    position: relative;
    margin: 70px 160px 0 0;
    border-radius: 5px;
}

.generate-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.indented {
    margin-left: 40px;
    position: relative;
}

.small {
    font-size: 16px;
}

#text2image_queue_progress_bar {
    background-color: #0fec6a;
    height: 5px;
    width: 0%;
    bottom: 0px;
    margin: -4px 0 0px 0;
    position: absolute;
    z-index: 99;
}

.prompt-header {
    display: flex;
    align-items: center;
    margin-left: 40px; /* Matches your indentation */
    position: relative;
}

.prompt-text {
    font-size: 16px;
    line-height: 1.2;
    position: relative;
}

/* === Language dropdown === */
#language-toggle-container {
    padding: 5px ;
    display: flex;
    align-items: center;
}

/* Base select styling */
#language-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    font-family: 'Area InkTrap';
    font-size: 16px;
    line-height: 1;
    color: #00f256;                 /* green text */
    background: #000;               /* black background */
    border: none;                   /* no border */
    border-radius: 6px;
    padding: 8px 40px 8px 12px;     /* right padding for arrow */
    cursor: pointer;
    outline: none;
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;

    /* Custom arrow (green) */
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"%3E%3Cpath fill="%2300f256" d="M7 10l5 5 5-5z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
}

/* Hover/active feedback */
#language-select:hover {
    box-shadow: 0 0 0 1px #0fec6a inset; /* subtle inner glow using your lighter green */
}
#language-select:active {
    transform: translateY(1px);
}

/* Focus state (accessible but subtle) */
/* #language-select:focus-visible {
    box-shadow: 0 0 0 2px #0fec6a;
} */

/* Disabled state */
#language-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Option styling (note: popup styling varies by OS/browser) */
#language-select option {
    background: #000;   /* many browsers respect this */
    color: #00f256;
}


#scenario-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-icon {
  width: 54px;
  flex: 0 0 54px; /* reserves space; no wrap-through */
}


/* Optional: small variant to match your .small text */
#language-select.small {
    font-size: 16px;
    padding: 6px 36px 6px 10px;
}



/* Button reset */
/* #language-toggle {
    border: none;
    background: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color:#00f256;
    display: true; 
} */

/* Language Toggle Container */
/* #language-toggle-container {
    padding: 5px 55px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color:#005927;
} */

/* Active language */
/* .lang-active {
    color:#00f256;
    opacity: 1;
} */

/* Inactive language */
/* .lang-inactive {
    opacity: 0.5;
} */


/* Align header and toggle */
#scenario-header {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between text and toggle */
}

.lang-en { 
    display: block; 
}

.lang-nl { 
    display: none; 
}
