.ask-jizo-wrapper {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: Inter;
    height: 85vh;
}

.chat-messages-container {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    min-height: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chat-messages::-webkit-scrollbar {
    display: none;
}

.message {
    margin-bottom: 20px;
    display: flex;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 80%;
    padding: 16px 20px;
    border-radius: 20px;
    color: #FFF;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px; 
    word-wrap: break-word;
    position: relative;
}

.user-message .message-bubble {
    background: linear-gradient(270deg, #D76678 0%, #CD5F77 24.04%, #A567B8 51.44%, #7971D3 76.44%, #5A89F3 100%);
    border-bottom-right-radius: 4px;
    margin-left: 20px;
}

.bot-message .message-bubble {
    background: var(--Dark, #052330);
    border-bottom-left-radius: 4px;
    margin-right: 20px;
}

.chat-input-wrapper {
    display: flex;
    align-items: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 20px 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.chat-input-wrapper:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.chat-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    overflow: hidden;
    color: var(--White, #FFF);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 0;
    min-height: 24px;
    max-height: 250px;
    resize: none;
    field-sizing: content;
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.send-button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.send-button:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.send-button:active {
    transform: scale(0.95);
}

/* Prompt examples styling */
.prompt-examples {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 0px;
}

.prompt-button {
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;

    color: var(--BAC8CE, #BAC8CE);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px; /* 131.25% */
    line-height: 23px; /* looks better */
    margin-bottom: 7px;
}

.prompt-button:hover {
    transform: translateY(-1px);
}

.prompt-button:active {
    transform: translateY(0);
}

/* Greeting message styling */
.greeting-message {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.greeting-message .message-bubble {
    border-radius: 12px;
    background: var(--Dark, #052330);
    text-align: left;
    width: 100%;
    max-width: 100%;
    color: #FFF;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px; /* 131.25% */
    margin-right: 0;
}

.greeting-message .message-bubble .message-text-muted {
    color: var(--BAC8CE, #BAC8CE);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px;
}

/* Animation for new messages */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.new-message {
    animation: fadeInUp 0.4s ease-out;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .ask-jizo-wrapper {
        max-width: 100%;
        gap: 16px;
    }
    
    .chat-messages-container {
        min-height: 400px;
        border-radius: 16px;
    }
    
    .chat-input-container {
        border-radius: 16px;
    }
    
    .message-bubble {
        max-width: 85%;
        font-size: 13px;
    }
}

/* Legacy styles for existing components */
#modal-filter-list--ask_jizo-label > span {
    color: var(--White, #FFF);
    font-family: Barlow;
    font-size: 24px;
    font-style: normal;
    font-weight: 800 !important;
    line-height: normal;
    text-transform: uppercase;
}

#modal-filter-list--ask_jizo-label > span > strong {
    color: var(--Orange, #FC6433);
    font-family: Barlow;
    font-size: 24px;
    font-style: normal;
    font-weight: 900 !important;
    line-height: normal;
    text-transform: uppercase;
}

.prompt-examples-list {
    display: block;
    list-style-type: disc;
    padding-inline-start: 25px;
    unicode-bidi: isolate;
}

.prompt-examples-header {
    display: flex;
    padding: 16px 20px;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    border-radius: 12px;
    background: var(--Dark, #052330);
    color: var(--BAC8CE, #BAC8CE);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px; /* 131.25% */
    width: 100%;
}