﻿
#assistent-knop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #6A4F4B;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 9999;
}

    #assistent-knop:hover {
        background-color: #543D39;
    }


#assistent-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: white;
    border: 2px solid #6A4F4B;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: none; /* Begin standaard verborgen */
    flex-direction: column;
    z-index: 9999;
}

    #assistent-container.open {
        display: flex; /* Wordt zichtbaar bij openen */
    }

#assistent-header {
    background: #6A4F4B;
    color: white;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#sluit-assistent {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

#assistent-gesprek {
    padding: 10px;
    height: 200px;
    overflow-y: auto;
    font-size: 16px;
    background: white;
}
#assistent-input {
    width: 80%;
    padding: 8px;
    border: none;
    border-top: 1px solid #ddd;
    font-size: 16px;
}
#assistent-verzend {
    width: 25%;
    background: #6A4F4B;
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
}
.gebruikers-bericht {
    background: #D5B49E;
    padding: 5px;
    margin: 5px;
    border-radius: 5px;
    text-align: right;
}

.freddy-bericht {
    background: #E6B0AA;
    padding: 5px;
    margin: 5px;
    border-radius: 5px;
    text-align: left;
}
@media (max-width: 768px) {
    #assistent-container {
        width: 90vw;
        max-height: 60%;
        max-width: 70%;
        bottom: 90px;  
        right: 5vw;
        overflow: hidden;
        display: none;
        flex-direction: column;
        border-radius: 15px;
    }
    #assistent-knop {
        bottom: 35px; 
    }
    #assistent-gesprek {
        flex: 1 1 auto;
        max-height: 40vh;
        overflow-y: auto;
        padding: 10px;
        font-size: 16px;
    }
    #assistent-input {
        width: 75%;
        padding: 10px;
        font-size: 16px;  
    }

    #assistent-verzend {
        width: 30%;
        padding: 10px;
        font-size: 16px;
    }

    #assistent-header {
        padding: 10px;
        font-size: 16px;
    }

    #sluit-assistent {
        font-size: 20px;
    }
}
