* {
    box-sizing: border-box;
    font-family: outfit;
}

body {
    margin: 0;
    padding: 0;
    background-color: #846C5B;
}




.full-ui {
    display: flex;
    margin: 0;
    height: 100vh;
    padding: 4rem;
}



.left-component {
    flex-basis: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-right: 0.5rem;
}

.title-card {
    flex-basis: 0;
    flex-grow: 1;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    color: #443742;
}
.title-card > h1 {
    margin: 0 0 0.5rem 0;
    padding: 0;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 1rem;
    font-size: 4rem;
}
.title-card > h2 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

.info-panel {
    flex-basis: 0;
    flex-grow: 7;
    margin-top: 0.5rem;
    border-radius: 25px;
    padding: 2rem;
    background-color: #CEA07E;
    color: #443742;
}
.info-panel > h2 {
    margin: 0 0 1.5rem 0;
    padding: 0;
    font-weight: normal;
    font-size: 2.5rem;
}
.info-panel > p {
    margin: 0;
    padding: 0;
    font-size: 1.3rem;
}


.right-component {
    flex-basis: 0;
    flex-grow: 2;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
    border-radius: 25px;
    padding: 2rem;
    font-size: 1.3rem;
    background-color: #CEA07E;
}

.chat-title {
    flex-grow: 1;
    position: absolute;
    width: 100%;
    z-index: 3;
    padding: 0 0 2rem 3rem;
    margin-left: -2rem;
    margin-bottom: -1rem;
    color: #443742;

    background-image: linear-gradient(to bottom, #CEA07EFF, #CEA07EFF, #CEA07E00);
}

.chat-messages {
    flex-grow : 8;
    flex-basis: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-height: 0;
    padding: 2.5rem 2rem 2rem 0.5rem;
    color: #443742;
    scrollbar-color: #EDD9A3 #CEA07E;
}
.chat-messages > div > p {
    margin: 0;
    overflow-wrap: break-word;
    white-space: pre-line;
}
.ai-message {
    padding: 1rem 1.5rem;
    width: 100%;
    align-self: flex-start;
}
.user-message {
    padding: 1rem 1.5rem;
    max-width: 75%;
    align-self: flex-end;
    border-radius: 25px;
    background-color: #EDD9A3;
}

.chat-input {
    display: flex;
    align-items: center;
    border-radius: 25px;
    padding: 1.5rem;
    background-color: #EDD9A3;
}

#user-input {
    width: 100%;
    resize: none;
    font-size: inherit;
    border: none;
    outline: none;
    background: transparent;
    color: #443742;
    scrollbar-color: #CEA07E #EDD9A3;
}

.send-button {
    margin: -0.5rem 0 -0.5rem 0;
    padding: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
}
.button-style:hover {
    opacity: 0.5;
}   

.popup-overlay {
    position: fixed;
    display: none;
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
}
.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 15px;
    padding: 20px;
    background-color: #CEA07E;
}
.popup-content {
    text-align: center;
}
.popup button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #EDD9A3;
    box-shadow: 0 4px 0 #a78321;
    transition: all 0.05s ease
}
.popup button:hover {
    filter: brightness(110%)
}
.popup button:active {
    background-color: #f2e4bf;
    transform: translateY(4px);
    box-shadow: 0 0 0 #a78321;
}