:root {
  --theblue: #477a92;
  --ai-bg: #f1f8e9;
}

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}


body {
	  font-family: "Open Sans", sans-serif;
  	  font-optical-sizing: auto;
  	  font-weight: 300;
  	  font-style: normal;
  	  font-variation-settings: "wdth" 100;

    margin: 0;
    background-color: #CCCCCC;
    color: white;
    min-height: 100vh;
    overflow: hidden;
}

.flex-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #477a92;
    z-index: 1000;
    height: 80px;
    box-sizing: border-box;
}

.header img {
    height: 50px;
    margin-right: 15px;
}

.header h1 {
    margin: 0;
    font-size: 24px;
}

.application-title-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.application-title-link:hover {
    opacity: 0.8;
}

.breadcrumb-logo {
    margin-right: 2rem;
}

.breadcrumb-logo img {
    height: 40px;
    width: auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 1.1em;
}

.breadcrumb-item {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item:hover {
    color: #3498db;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #95a5a6;
}

main {
	margin-top: 80px;
	height: calc(100vh - 80px);
	display: flex;
	overflow: hidden;
	background-color: white;
}

#app {
    display: flex;
    width: 100%;
    flex: 1;
    overflow: hidden;
    background-color: white;
}

.response-container {
    flex: 1.5;
    overflow-y: auto;
    padding: 20px;
    background-color: white;
    color: black;
    box-sizing: border-box;
    height: 100%;
}

.message {
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
}

.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: white;
    border-right: 1px solid #ccc;
    box-sizing: border-box;
    height: 100%;
    overflow: hidden;
}

.chat-history {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    margin-bottom: 20px;
}

.message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  max-width: 700px;
}

.user.message {
  background-color: #555555;
}

.ai.message {
  background-color: var(--theblue);
}

.message::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  background-size: cover;
  flex-shrink: 0;
  border-radius: 50%;
}

.user.message::before {
  background-image: url('/assets/avatar.png');
}

.ai.message::before {
  background-image: url('/assets/Chicken_white_transparent.png');
}



.input-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: black;
}

.textarea-field {
    width: 100%;
    min-height: 100px;
    max-height: 450px;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
    resize: none;
    overflow: hidden;
    background-color: #f7f7f8;
    color: #333;
    box-sizing: border-box;
}

.textarea-field:focus {
    border-color: #5a8fb0;
    background-color: #ffffff;
}

.button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.clear-button, .submit-button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.clear-button {
    background-color: #ccc;
    color: black;
}

.clear-button:hover {
    background-color: #b3b3b3;
}

.submit-button {
    background-color: #5a8fb0;
    color: white;
}

.submit-button:hover {
    background-color: #477a92;
}

a {
    color: white;
    text-decoration: none;
}

a:visited {
    color: white;
}

a:hover {
    text-decoration: underline;
}

a:active {
    color: white;
}


/* fading in the chat messages */
.fade-enter-active {
  transition: opacity 1s;
}
.fade-enter-from {
  opacity: 0;
}
.fade-enter-to {
  opacity: 1;
}

/* Additional breadcrumb styles for app pages */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    color: #2c3e50;
    font-size: 1.5em;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
}

.breadcrumb-text {
    color: #2c3e50;
    font-weight: 500;
}

.breadcrumb-home {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.breadcrumb-home i {
    display: inline-block;
    width: 1em;
    height: 1em;
    text-align: center;
    color: inherit;
    margin-top: 2px;
}

.breadcrumb-home:hover {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-icon {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.2em;
    opacity: 0.6;
    transition: opacity 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    padding-left: 10px;
}

.breadcrumb-icon i {
    display: inline-block;
    width: 1em;
    height: 1em;
    text-align: center;
    color: inherit;
}

.breadcrumb-icon:hover {
    opacity: 1;
    color: #3498db;
    text-decoration: none;
}

