* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Nunito", serif;
    font-weight: 400;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100dvh;
}

.popup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden; /* Initially hidden */
    opacity: 0;
    transition: visibility 0s, opacity 0.3s;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

button {
    margin-top: 15px;
    padding: 12px;
    background-color: #21c2d1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}
/*
button:hover {
    background-color: #ff681a;
}
*/

/*
.choice-btn-yes.choice-btn-no {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    max-width: 20%;
    font-size: 16px;
}*/

.choice-btn-yes{
    background-color: #55C286;
    padding: 10px 20px;
    margin: 5px;
    border: none;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
}

.choice-btn-no{
    background-color: #EC8A8A;
    padding: 10px 20px;
    margin: 5px;
    border: none;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
}


.choice-btn:hover {
    background-color: #2980b9;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: white;
}

.left-panel {
    width: 25%;
    display: block;
   /** justify-content: center;
    align-items: center;**/
    padding: 5px;
    border-right: 1px solid #f4f4f4;
    background-image: url("fond_tais.png");
    background-size: cover;
}


.top-panel-container {
    height: 0%;
    background-color: #fff;
    display: flex;
    padding: 0px;
    top: 0;
    position: relative;
}

.bottom-panel-container {
    height: 0%;
    background-color: #fff;
    padding: 0px;
    top: 0;
    position: relative;
    text-align: center;
    font-size: 10px;
    color: #7f8280;
}

.logo-left{
    margin-top:15%;
    display: flex;
    justify-content: center;
}

.logo {
    max-width: 60%;
    height: auto;
}

.logo-placetrip-left{
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    margin-bottom: 10px;
    margin-left: 20px;
}

.logo-placetrip {
    width: 30%;
}

.message-info{
    padding: 20px;
    font-size: 15px;
}

.message-info-user{
    color: #fff;
    margin-top:40px;
}

.message-info-pro{
    color: #fff;
    margin-top:15%;
}

.button-contact-left{
    margin-top:20px;
}

.button-contact{
    padding: 12px 20px;
    background-color: #21c2d1;
    color: #fff;
    font-family: Nunito;
    font-weight: 600;
    font-size: 15px;
    border:transparent;
}

.button-contact:hover{
    background-color: #474747;
}

.logo-mobile {
    height: 50px;
}

.right-panel {
    width: 75%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.chat-box {
    flex-grow: 1;
    background-color: #fff;
    border-radius: 10px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 5px;
}

.input-section {
    display: flex;
    box-shadow: 6px 3px 20px 10px #c7bbb373;
    padding: 8px;
    border-radius: 35px;
}

input[type="text"] {
    flex-grow: 1;
    padding: 10px;
    border-radius: 25px;
    border: 1px solid #fff;
    margin-right: 10px;
    padding: 15px;
    font-size: 16px;
}

button.send-btn {
    padding: 10px;
    background-color: #21c2d1;
    border: none;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

button.send-btn:hover {
    background-color: #2980b9;
}

/* General message container */
.message-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.sender-name-left {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 2px;
    text-align: left;
}

.sender-name-right{
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 2px;
    text-align: right;
}


/* Message bubbles */
.message {
    padding: 10px 20px 15px 20px;
    max-width: 70%;
    word-wrap: break-word;
    font-size: 17px;
}

/* Tais's message (left-aligned) */
.tais-message {
    background-color: #eeeeee;
    color: #505050;
    text-align: left;
    align-self: flex-start;
    border-radius: 0px 30px 30px 30px;
}

/* User's message (right-aligned) */
.user-message {
    background-color: #21c2d1;
    color: white;
    text-align: right;
    align-self: flex-end;
    margin-left: auto;
    border-radius: 30px 0px 30px 30px;
}

@media screen and (min-width: 768px) {
    
    .bottom-panel-container {
    visibility: hidden;
}

    body {
   /* background-image: url("see.jpg");
    background-size: cover;*/
}

    .top-panel {
    display: none;
    position: absolute;
    left: 70%;
    height: 100%;
    width: 70%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

    .choice-btn-yes{
        width: 20%;
    }
    .choice-btn-no{
        width: 20%;
    }

}

@media screen and (max-width: 768px) {
    .container {
        display: flex;
        width: 100%;
        height: 89%;
        bottom: 0;
        border-radius: 0px;
    }

    .left-panel {
        width: 0%;
        padding: 0;
        display: none;
    }

    .right-panel {
        width: 100%;
        padding: 0% 3% 3% 3%;
    }

    .top-panel-container {
        height: 8%;
        width: 100%;
        display: flex;
        padding-left: 10%;
        border-bottom: 1px solid #f4f4f4;
        margin-top:20px;
    }
    
    .tais-online {
        float: right;
        padding-left: 15px;
    }
    
    .tais-logo-mobile{
        color: #21c2d1;
        font-size: 30px;
        font-weight: 600;
    }
    
    .status-online {
        color: #0ee90e;
        font-size: 15px;
        margin-top: -5px;
    }

    .bottom-panel-container {
        height: 50px;
        width: 100%;
        background-color: transparent;
        color: #474747;
    }

    .chat-box {
        margin-bottom: 0px;
    }
    
    .choice-btn-yes{
        width: 50%;
    }
    .choice-btn-no{
        width: 50%;
    }


    
    body {
        background-color:transparent;
    }
}
