.tah_chat-wrapper {
    margin: auto;
    margin-top: 30px;
    display: block;
    position: relative;    
    padding: 10px;    
}
.tah_messages {
    min-height: 150px;
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-top: 10px;
    position: relative;
}
.tah_messages::-webkit-scrollbar {
    width: 4px;
}
.tah_messages::-webkit-scrollbar-track {
    background-color: transparent;
}
.tah_messages::-webkit-scrollbar-thumb {
    background-color: rgba(45,112,130,0.62);
    border-radius: 4px;
}
.tah_messages::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.tah_message-content {
    font-size: 16px;
}
.tah_user-message,
.tah_response-message {
    border-radius: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 15px;    
    clear: both;
    overflow-wrap: break-word;
    max-width: 85%;
    border: 1px solid rgba(226,233,236,0.49);
    line-height: 1.3;
}
.tah_user-message {
        float: right;
}
.tah_response-message {
    
    float: left;
}
.tah_form {
    display: flex;
    align-items: flex-end;
    margin-bottom: 5px;
}
.tah_form input {
    width: 90%;
    height: 50px;    
    background: transparent;
    margin-right: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #ffffff;    
    border: 1px solid #ccc;
    border-radius: 8px;
}
.tah_form button {
    height: 50px;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    background-color: #3498db;
    color: #ffffff;
    cursor: pointer;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#startChatButton  {
    position: absolute;
    top: 20px; 
    background-color: rgb(36, 106, 226);
    color: rgb(255, 255, 255);
    font-size: 20px;
    border-radius: 6px;
    display: block;
    opacity: 1;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    border: none;
}
.tarot-horoscope-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
@media only screen and (max-width: 768px) {
    .tah_chat-wrapper {
        width: 100%!important;
        margin-top: 20px;
    }
}