.ai-chat-holder {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.message-container {
    overflow-y: scroll;
    min-height: calc(100vh - 220px);
    padding-bottom: 90px;
    scroll-behavior: smooth;
    width: 100%;
}

.message-container-sender,
.message-container-receiver {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    width: 100%;
    padding: 0 20px;
}

.message-container-sender .message-text,
.message-container-receiver .message-text {
    padding: 0 10px;
}

.message-container-sender {
    flex-direction: row-reverse;
}

.message-container-receiver p,
.message-container-sender p {
    background-color: #647589;
    color: white;
    font-size: 22px;
    font-weight: 400;
    padding: 15px;
    border-radius: 12px;
    display: inline-block;
}

.message-container-sender p {
    background-color: #4CAF50;
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin-right: 15px;
    margin-left: 15px;
    flex-shrink: 0;
    flex-grow: 0;
}

.message-container-sender .icon-container {
    margin-left: 15px;
    margin-right: 0;
}

.message-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.chat-input-holder {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    /* border: 2px #647589 solid; */
    border-radius: 20px;
    position: relative
}

.chat-input {
    flex: 1;
    padding: 10px;
    border: none;
    margin-left: 10px;
    font-size: 18px;
    color: #647589;
    background: transparent;
}

.chat-send-button {
    outline: none;
    background: transparent;
    border: none;
    margin-right: 20px;
    width: 40px ;
    &:disabled {
        color: #abaeb3;
        pointer-events: none;
    }
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.generated-image {
    max-width: 100%;
    height: auto;
}

.download-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.8;
}
