body {
    background-color: transparent;
}

.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
#chat-widget-container {
    all: initial;
    position: fixed;
    z-index: 9999;
    bottom: 0;
    right: 0;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}
#chat-bubble {
    position: fixed;
    bottom: 15px;
    transform: translateY(0);
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
    opacity: 1;
    visibility: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px 8px 30px 30px;
    line-height: 2.25rem;
    cursor: pointer;
    border: none;
    width: auto !important;
}
#chat-bubble:focus {
    outline: none;
}
.chat-bubble:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 .21429rem rgba(255,255,255,0.4);
}
.chat-icon{
    height: 1.8rem;
}
.chat-text {
    display: inline-block;
    font-size: 1.1rem;
    margin-left: 0.5rem;
    font-weight: 800;
}
#chat-bubble.hidden {
    transform: translateY(100%);
    opacity: 0;
}
#chat-bubble.visible {
    transform: translateY(0);
    opacity: 1;
}
#chat-popup {
    height: 100vh;
    max-height: 100vh;
    transition: all 0.7s;
    overflow: hidden;
    display: flex;
    position: absolute;
    right: 0;
    bottom: 0;
    flex-direction: column;
    width: 24rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    background-color: #ffffff;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
#chat-popup.visible {
    transform: translateX(0);
}
#chat-header {
    display: block;
    padding: 0.5rem;
    text-align: right;
    color: #ffffff;
}
#close-popup {
    background-color: transparent;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 2px 2px 0px 6px
}
#close-popup:focus {
    outline: none;
}
#close-popup:focus-visible {
    border: 2px solid #2B3E5370;
    border-radius: 6px;
}
.close-icon {
    width: 1.2rem;
}
#fullscreen-popup {
    background-color: transparent;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 5px 5px 0px 5px;
}
#fullscreen-popup:focus {
    outline: none;
}
#fullscreen-popup:focus-visible {
    border: 2px solid #2B3E5370;
    border-radius: 6px;
}
.fullscreen-icon {
    width: 1rem;
}
.fullscreen-icon-hidden {
    display: none;
}
#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}
#chat-input-container {
    padding: 0.5rem 0.3rem;
    margin: 0.5rem;
    border-radius: 0.5rem;
    background-color: #F3F4F6;
}
.input-container {
    padding: 0.1rem 0.5rem 0 0.5rem;
    border-radius: 9999px;
}
#chat-input {
    min-height: 42px;
    max-height: 150px;
    height: auto;
    width: 100%;
    padding: 5px;
    background: transparent;
    border: 0;
    resize: none;
    overflow-y: auto;
    box-sizing: border-box;
    outline-style: none;
    transition: height 0.2s ease-in-out;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 16px;
    box-sizing: border-box;
    outline: none;
}
textarea, input {
    outline: none;
}
textarea:focus-visible, input:focus-visible {
    outline: none;
}
#chat-input:focus {
    min-height: 42px;
    height: auto;
    outline: none;
}
#chat-submit {
    padding: 0.4rem 0.42rem 0.2rem 0.4rem;
    border-radius: 9999px;
    color: #ffffff;
    background-color: #2B3E53;
    cursor: pointer;
    float: right;
    border: none;
    border: 2px solid transparent;
}
#chat-submit:focus {
    outline: none;
}
#chat-submit:focus-visible {
    border: 2px solid #ffffff70;
}
.user-message-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}
.user-message {
    background-color: #2d3748;
    color: #ffffff;
    border-radius: 12px;
    padding: 10px 10px 8px 12px;
    max-width: 70%;
    word-wrap: break-word;
    margin-right: -0.5rem;
}
.chatbot-reply-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}
.chatbot-icon {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    flex-shrink: 0;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -0.5rem;
}
.chatbot-icon-svg {
    width: 1.5rem;
    fill: #2d3748;
}
.chatbot-reply {
    background-color: aliceblue;
    color: #2d3748;
    white-space: pre-line;
    border-radius: 12px;
    padding: 0px 10px 12px;
    max-width: 70%;
    word-wrap: break-word;
}
#chat-popup.fullscreen {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    transform: translateX(0);
    transition: transform 0.7s ease-in-out, width 0.5s ease-in-out;
}
#chat-messages.fullscreen {
    width: 50%;
    margin: 0 auto;
    padding: 1rem;
    height: calc(100% - 100px);
    overflow-y: auto;
}

#chat-input-container.fullscreen {
    width: 50%;
    padding: 0.5rem 0.3rem;
    margin: 0.5rem auto;
}
@media (max-width: 768px) {
#chat-popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
}
}