html, body, #root, .App {
  height: 100%;
}

header{
    display: block;
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .1);
}
.header-container {
    display: block;
    width: 96%;
    margin: 0 2%;
    padding: 0 1em;
}
.App {
    display: flex;
    flex-direction: column;
}
body {
  font-family: "Open Sans", Arial, sans-serif;
  background: rgb(226,230,242);
  background: linear-gradient(49deg, rgba(226,230,242,1) 0%, rgba(229,229,244,1) 32%, rgba(255,255,255,1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
}
.marca-politie {
    height: 5rem;
    float:left;
}
.back-btn {
    font-size: 1rem;
    line-height:4rem;
    padding:.5rem;
    display: inline-block;
    font-weight:700;
    float:left;
    color: #006dbb;
}
.head-name{
    color: rgb(0,109,187);
    font-size: 1rem;
    line-height:4rem;
    padding:.5rem;
    font-weight: 700;
    float:left;
}

#chat_app {
  display: flex;
  flex-direction: column;
  float: left;
  height: calc(100vh - 90px);
  padding-bottom: 3rem;
  width: 80%;
  margin: 0 auto;
}
#response-list {
  border: none;
  overflow-y: auto;
  flex: 1;
}
#response-list .response-container {
  margin-top: 5px;
    color: #212121;
    padding: 10px;
    font-size: 1rem;
    display: flex;
    width: 90%;
    margin-left: 5%;
    border-radius: 18px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 1px rgb(202 214 236);
}
.chatgpt-response {
  background-color: #ebf2ff !important;
  margin-right: 0;
    margin-left: 10% !important;
}
.my-question {
  background-color: #edf8ff;
    margin-left: 0 !important;
}
#footer {
  padding: 5px 0;
  font-size: .9rem;
  color: #006dbb;
}
#input-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: #ebf2ff;
  border-radius: 5px;
  line-height: 1;
    box-shadow: inset 1px 1px 2px 0px rgba(0, 0, 0, .2);
  margin-top: 20px;
  margin-top: 20px;
      border: solid 3px #006dbb;
}
#submit-button {
  background: transparent url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='blue' d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/></svg>") no-repeat center center;
  color: white;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  justify-content: flex-end;
}
#regenerate-button-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 10px;
}
#regenerate-response-button {
  color: white;
  border: none;
  background: #10A37F;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
}
.loading {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
#model-select-container {
  margin: 10px 200px;
  color: white;
}
#model-select-container select {
  background: transparent;
  border: none;
  outline: none;
  color: white;
}
#model-select-container select option:not(:checked) {
  background: rgba(32,33,35,.8);
}
#model-select-container select option {
  background: rgba(32,33,35,.5);
}
#prompt-input {
    flex-grow: 1;
  padding: 10px;
  border-radius: 5px;
  min-height: 20px;
  color: #49658b;
  overflow: auto;
  font-weight: 500;
}
#prompt-input:focus, #prompt-input:focus{
  outline: none;
}
#response-list .response-container.chatgpt-response {
  background-color: rgba(68, 70, 84, 1);
}
#response-list .response-container .prompt-content p:first-child {
  margin-top: 0;
  margin-bottom: .5rem;
}
#response-list .response-container .avatar-image {
  width: 30px;
  height: 30px;
  margin-right: 15px;
}
.loader {
  width: 35px;
  aspect-ratio: 2;
  --_g: no-repeat radial-gradient(circle closest-side,#99b1de 90%,#0000);
  background:
      var(--_g) 0%   50%,
      var(--_g) 50%  50%,
      var(--_g) 100% 50%;
  background-size: calc(100%/3) 50%;
  animation: l3 1s infinite linear;
}
@keyframes l3 {
  20%{background-position:0%   0%, 50%  50%,100%  50%}
  40%{background-position:0% 100%, 50%   0%,100%  50%}
  60%{background-position:0%  50%, 50% 100%,100%   0%}
  80%{background-position:0%  50%, 50%  50%,100% 100%}
}
.ai_bt {
  background-color: #392b3c;
    padding: 5px 12px;
    border-radius: 18px;
    color: #fff;
    /* clear: both; */
    float: left;
    font-size: .9rem;
    margin: 0 .3rem .3rem 0;
    line-height: 1.4;
}
.ai_bt:hover {
  background-color: #0056b3;
    color: #fff !important;
    text-decoration: none !important;
}
.alert {
    padding: 6px 12px;
    border-radius: 20px;
    float: left;
    font-size: .9rem;
}

/* HTML: <div class="loader"></div> */
.loader {
  width: 35px;
  aspect-ratio: 2;
  --_g: no-repeat radial-gradient(circle closest-side,#EEE 90%,#0000);
  background:
          var(--_g) 0%   50%,
          var(--_g) 50%  50%,
          var(--_g) 100% 50%;
  background-size: calc(100%/3) 50%;
  animation: l3 1s infinite linear;
}
@keyframes l3 {
  20%{background-position:0%   0%, 50%  50%,100%  50%}
  40%{background-position:0% 100%, 50%   0%,100%  50%}
  60%{background-position:0%  50%, 50% 100%,100%   0%}
  80%{background-position:0%  50%, 50%  50%,100% 100%}
}

@media (max-width:1000px) {
    .head-name {
        display:none;
    }
    .marca-politie {
        float:right;
    }
    #chat_app {
    height: calc(100vh - 90px);
    width: 90%;
    margin: 0 auto;
  }
}