#aiContainer {
    height: 71.5vh;
    padding-inline: 30px;
}

.chatcontainer {
    height: 66%;
    padding-inline: 10px;
    margin-bottom: 5px;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recommendations {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    max-height: 450px;
    max-width: 390px;
    margin: auto;
    align-self: center;
    gap: 10px;
}
  
.recommendedOptions {    
    padding: 15px;
    max-width: 150px;
    margin: auto;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.noDisplay {
    display: none;
}

.userTextBox {
    align-self: flex-end;
    padding: 0px 12px;
    max-width: 90%;
    width: fit-content;
}

.aiTextBox {
    padding: 0px 12px;
    max-width: 90%;
    width: fit-content;
}

.text {
    line-height: 24px;
    max-width: 100%;
    overflow-wrap: break-word;
}

.prompt-area {
    display: flex;
    flex-direction: column;
    gap: 3px;
}



#prompt {
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    resize: none;
    outline: none;
    max-height: 63px;
    font-size: 16px;
}

.funArea {
    display: flex;
    margin: 0px;
    padding-inline: 3px;
    height: 30px;
    justify-content: space-between;
    align-items: center;
}

.btn {
    border-radius: 50%;
    padding-block: 1px;
    padding: 1.5px;
    margin: 2.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-symbols-outlined {
    font-size: 20px;
}

.unselectable {
    user-select: none;
}

.loader {
    position: relative;
    width: 25px;
    height: 8px;
}

.loader:before , .loader:after{
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #007bff;
    box-shadow: 16px 0 #79b9fa;
    left: 0;
    top: 0;
    animation: ballMoveX 1s linear infinite;
}

.loader:after {
    box-shadow: none;
    transform-origin: 20px 0;
    transform: rotate(-153deg);
    animation: rotateLoader 1s linear infinite;
}

@keyframes rotateLoader {
    0% , 10%{ transform: rotate(-153deg); }
    90%, 100% { transform: rotate(0deg); }
}

@keyframes ballMoveX {
    0% , 10%{  transform: translateX(0) }
    90%, 100% { transform: translateX(16px) }
}

@media (max-width: 768px) {
    .funArea {
        display: flex;
        margin: 0px;
        padding-inline: 3px;
        height: 30px;
        justify-content: space-between;
        align-items: center;
    }

    .btn {
        border-radius: 50%;
        width: 25px;
        padding-block: 1px;
        padding-inline: 1.5px;
        margin: 2.5px;
    }
}

@media (max-width: 480px) {
    #aiContainer {
        height: 73vh;
        padding-inline: 15px;
    }

    .chatcontainer {
        height: 70%;
        padding-inline: 10px;
    }
}