/* === Basestyles === */
/*:root {*/
  
/*}*/
/*html {*/
  /*font-size: 100%;*/ /* Base font is set to user's browser default typical 16px */
/*}*/
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  /*font-size: 100%;*/
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 0;
  background-color: #a6b2b9;
}

@media only screen and (max-width: 768px) {
  /* 0px < Small < 768px */
  #startContainer, #reportContainer {
    width: 95%;
  }
}
@media only screen and (min-width: 769px) {
  /* 769px < Large < inf */
  #startContainer, #reportContainer {
    width: 730px;
  }
}

/* Start screen */
#startContainer {
  position: fixed;
  inset: 0px;
  height: fit-content;
  margin: auto;
}

/* Main container */
#reportContainer {
  position: fixed;
  inset: 0px;
  height: 100vh;    /* Fallback for older browser not supporting dvh */
  height: 100dvh;   /* Override height if supported*/
  margin: auto;
  display: flex;
  flex-direction: column;
}

/* Chat container */
#chatContainer {
  flex: 1;
  overflow: auto;
  min-height: 0;
  padding: 0.75rem;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-sizing: border-box;
  background-color: #ffffff;
}
.user-content {
  justify-self: center;
  width: 100%;
  margin: 0 0 0.5rem 0;
  border-right: 0.25rem solid #00695c;
  background-color: #eceff1;
}
.ai-content {
  justify-self: center;
  width: 100%;
  margin: 0 0 0.5rem 0;
  border-left: 0.25rem solid #c62828;
  background-color: #eceff1;
}
.user-content .card-content,
.ai-content .card-content {
  padding: 0.75rem;
}



/* Container for input field, upload image and send to AI */
#bottomContainer {
  /*max-height: 25dvh;*/
  margin: 0.5rem 0 0.5rem 0;
  padding: 0.75rem;
  border-radius: 10px;
  box-sizing: border-box;
  background-color: #ffffff;
}
.btn-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
  height: auto;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.child {
  display: block;
  width: 31.5%;
  margin: 0;
  padding: 0;
}
.input-container {
  position: relative;
  align-content: end;
  overflow-y: auto;
  bottom: 0;
  min-height: 4.5rem;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.input-field {
  margin: 0;
}
.input-field .prefix.active {
  color: #00695c !important;
}
.file-path-wrapper {
  display: none;
}
textarea#description.materialize-textarea {
  /*margin-bottom: 0;*/
}
textarea.materialize-textarea:focus:not([readonly])+label {
  color: #00695c;
}
input:focus,
textarea:focus {
  border-bottom: 1px solid #00695c !important;
  box-shadow: 0 1px 0 0 #00695c !important;
}
.overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
}



.btn-large {
  font-size: 1.2rem;
  height: auto;
  width: 100%;
  padding: 1.0rem;
  display: flex;
  align-items: center;
}
.btn {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0;
  border-radius: 10px;
}
.material-icons {
  margin: 0 0.5rem 0 0.5rem !important;
}




/* Arrow + text overlay */
#arrowOverlay {
  display: flex;
  position: relative;
}
.handwriting-text {
  font-family: 'Patrick Hand', cursive;
  font-size: 1.2rem;
  color: #333;
  position: absolute;
  pointer-events: none;
  opacity: 0.95;
}
.handwriting-left {
  bottom: 12.0rem;
  left: 2.1rem;
  transform: rotate(-4deg);
}
.handwriting-right {
  bottom: 11.5rem;
  right: 1.5rem;
  transform: rotate(10deg);
  text-align: right;
}
.arrow {
  position: absolute;
  width: 60px;
  opacity: 0.8;
  z-index: 100;
}
.arrow-left {
  top: 1.5rem;
  left: 0%;
  transform: rotate(5deg);
}
.arrow-right {
  top: 90%;
  right: 20%;
  transform: rotate(60deg);
}



/*button:focus,
a.btn:focus,
.btn:focus {
  outline: 3px solid #ff98aa;
  outline-offset: 4px;
  border-radius: 8px;
}*/
button:focus-visible,
a.btn:focus-visible,
.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.6); /* soft glow */
  outline: none;
}