﻿.contenedor {
    width: 450px;
    height: 550px;
    /* margin: 50px auto;
    padding: 20px; */
    position: fixed;
    border-radius: 10px;
    box-shadow: #64646f33 0px 7px 29px 0px;
    background: #31363F;
    bottom: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chat-header {
    background-color: #007bff;
    color: #fff;
    padding: 15px 0 15px 18px;
    /* padding: 15px; */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    font-size: 18px;
}

#closeChat {
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 100%;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chat-container {
    width: 100%;
    height: 70%;
    background-color: rgb(45, 52, 59);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 16px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccccf5 transparent;
}

#chatButton {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 70px;
    height: 70px;
    /* background-color: #007bff; */
    background-color: rgb(91, 103, 168);
    /* color: white; */
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000;
    /* border-radius: 50%;
    box-shadow: 0 1px 20px 1px #007bff; */
    border-radius: 0px 40px 40px 40px;
    box-shadow: 2px 2px 15px black;
}

.user-chat-box {
    width: 70%;
    position: relative;
    left: 30%;
}

.ai-chat-box {
    width: 70%;
    position: relative;
}

.user-chat-area {
    width: 90%;
    padding: 20px;
    background-color: black;
    color: rgba(255, 255, 255, 0.639);
    border-radius: 40px 0px 40px 40px;
    box-shadow: 2px 2px 10px black;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.chooseimg {
    width: 30%;
    border-radius: 30px;
}

.ai-chat-area {
    /* width: 90%; */
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.361);
    position: relative;
    left: 10%;
    color: rgba(255, 255, 255, 0.639);
    border-radius: 0px 40px 40px 40px;
    box-shadow: 2px 2px 10px black;
}

#userImage {
    position: absolute;
    right: 0;
    filter: drop-shadow( 2px 2px 10px black);
}

#aiImage {
    position: absolute;
    left: 0;
    filter: drop-shadow( 2px 2px 10px black);
}

.prompt-area {
    width: 100%;
    height: 20%;
    background-color: rgb(45, 52, 59);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px
}

    .prompt-area input {
        /* width: 50%;
    height: 80px; */
        width: 70%;
        background-color: black;
        outline: none;
        border: none;
        border-radius: 50px;
        padding: 20px;
        color: white;
        font-size: 20px;
        box-shadow: 2px 2px 10px black;
    }

    .prompt-area button {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background-color: black;
        border: none;
        box-shadow: 2px 2px 10px black;
        cursor: pointer;
        transition: all 0.5s;
    }

        .prompt-area button:hover {
            background-color: rgba(0, 0, 0, 0.338);
        }

.load {
    filter: drop-shadow( 2px 2px 10px black)
}

.choose {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

#image {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width:600px) {

    .contenedor {
        width: 90%;
        bottom: 20px;
        right: 5%;
        border-radius: 10px;
    }

    .prompt-area {
        /* width: 90%; */
        height: 20%;
    }

        .prompt-area button {
            width: 50px;
            height: 50px;
        }

        .prompt-area input {
            width: 70%;
            background-color: black;
            outline: none;
            border: none;
        }
    /* .prompt-area input{
        width: 50%;
        background-color: black;
        outline: none;
        border:none;
    }
    .prompt-area button{
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: black;
        border:none;
        box-shadow: 2px 2px 10px black;
        cursor: pointer;
        transition: all 0.5s;
    } */

    .user-chat-box {
        width: 80%;
        left: 20%
    }

    .ai-chat-box {
        width: 80%;
    }
}
