#minimized-chatbot {
    position: fixed;
    bottom: 20px;
	right: 20px;
    z-index: 99999;
    border-radius: 80px;
    padding: 5px;
	background-color: #D3D3D3;
	/*background-image: url('https://dementieintheater.nl/wp-content/uploads/2025/02/roos.webp');*/
	background-image: url('https://dementieintheater.nl/wp-content/uploads/2025/10/chatbot-suzanne.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	-webkit-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.75);
	box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.75);
}

.text-balloon {
    display: inline-block;
    background: white;
    color: black;
    padding: 10px 20px;
    border-radius: 20px;
    position: fixed;
    font-size: 16px;
    max-width: 300px;
	z-index: 99999;
	cursor: pointer;
	-webkit-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.75);
	box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.75);
}

.text-balloon::after {
    content: "";
    position: absolute;
    bottom: -15px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid black;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.text-balloon::before {
    content: "";
    position: absolute;
    bottom: -12px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid white;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

@media (max-width: 768px){
	#minimized-chatbot {
		height: 75px;
		width: 75px;
	}
	
	.text-balloon{
		bottom: 108px;
        right: 15px;
	}
	
	.text-balloon::before {
		left: 73%;
	}
	
	.text-balloon::after {
		left: 73%;
	}
	
	#icb-stop-chat {
		font-size: 12px;
	}
}

@media (min-width: 768px){
	#minimized-chatbot {
		height: 150px;
		width: 150px;
	}
	
	.text-balloon{
		bottom: 183px;
		right: 20px
	}
	
	.text-balloon::before {
		left: 50%;
	}
	
	.text-balloon::after {
		left: 50%;
	}
	
	#icb-stop-chat {
		font-size: 16px;
	}
}

/*#minimized-chatbot img{
	height: 75px;
	width: 100px;
}*/

#icb-send-button{
	display: inline;
	margin-left: 10px;
	margin-right: 10px;
	cursor: pointer;
}

@media (max-width: 768px){
	#icb-chatbot {
		height: 500px;
		width: 330px;
		max-height: 90%;
		right: 50px;
	}
	
	#bovenbalk img{
		height: 30px;
		width: 30px;
	}
	
	#icb-chatbot-messages {
		height: 390px;
		max-height: 85%;
		font-size: 14px;
	}
	
	#icb-user-input {
		width: 80%;
		font-size: 16px;
	}
	
	.chatbericht-bot, .chatbericht-klant, .chatbericht-typing {
		margin-bottom: 30px;
	}
}

@media (min-width: 768px) and ( max-height: 500px ){
		#icb-chatbot {
		height: 500px;
		width: 330px;
		max-height: 85%;
		right: 50px;
	}
	
	#bovenbalk img{
		height: 30px;
		width: 30px;
	}
	
	#icb-chatbot-messages {
		height: 450px;
		max-height: 80%;
		font-size: 14px;
	}
	
	#icb-user-input {
		width: 60%;
	}
	
	.chatbericht-bot, .chatbericht-klant, .chatbericht-typing {
		margin-bottom: 30px;
	}
}

@media (min-width: 768px) and ( min-height: 501px ){
	#icb-chatbot {
		height: 720px;
		width: 450px;
		max-height: 95%;
		right: 10px;
	}
	
	#icb-chatbot-messages {
		height: 525px;
		max-height: 85%;
		font-size: 18px;
	}
	
	#icb-user-input {
		width: 80%;
	}
	
	.chatbericht-bot, .chatbericht-klant, .chatbericht-typing {
		margin-bottom: 50px;
	}
	
	.chatbericht-typing {
		animation-name: slideInLeft;
		animation-duration: 3s;
		opacity: 0;
		animation-fill-mode: both;
	}
}

#icb-chatbot {
    position: fixed;
    bottom: 10px;
    background-color: #ffffff;
    border: 1px solid #ccc;
	border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 9999;
}

#roos-contact{
	cursor: pointer;
}

#bovenbalk {
	float: right;
	cursor: pointer;
}

#icb-start-new-chat{
	font-size: 18px;
	cursor: pointer;
}

#icb-chatbot-messages {
    overflow-y: auto;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
	color: black;
}

#icb-user-input {
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
	color: black;
	display: inherit;
    max-height: 40px;
    vertical-align: top;
}

#icb-stop-chat {
    color: white;
    background-color: #FEA502;
    font-family: "vag-rnd-std-thn", Sans-serif;
    font-weight: bold;
    padding: 10px;
    letter-spacing: 1.2px;
    border-color: #FEA502;
    border-radius: 20px;
	margin-top: 10px;
}


#icb-stop-chat:hover{
	border-color: #CC0060;
	background-color: #CC0060;
	color: #FEA502;
}

.chatbericht-bot, .chatbericht-klant, .chatbericht-typing {
	padding: 10px;
    border-radius: 20px;
    position: relative;
}

.chatbericht-bot, .chatbericht-klant{
	animation-duration: 0.5s;
	opacity: 0;
	animation-fill-mode: both;
}



@keyframes slideInRight {
   0% {
      transform: translateX(100%); /* Begin buiten het scherm rechts */
      opacity: 0;
   }
   100% {
      transform: translateX(0); /* Eindig op de normale plaats */
      opacity: 1;
   }
}

@keyframes slideInLeft {
   0% {
      transform: translateX(-100%); /* Begin buiten het scherm links */
      opacity: 0;
   }
   100% {
      transform: translateX(0); /* Eindig op de normale plaats */
      opacity: 1;
   }
}

.chatbericht-typing {
	float: right;
}

.chatbericht-bot {
    background-color: #cc0060;
    width: 80%;
    float: right;
    margin-right: 20px;
	animation-name: slideInRight;
	font-family: "meta-serif-st-lght", Sans-serif;
	color: white;
}

.chatbericht-bot a{
	color: white !important;
	text-decoration: underline;
}

.chatbericht-klant{
    background-color: #fea502;
    width: 80%;
    float: left;
    margin-left: 20px;
	animation-name: slideInLeft;
	font-family: "meta-serif-st-lght", Sans-serif;
}

.chatbericht-klant a{
	color: black;
}

.chatbot-control{
	display: inline;
}

.right-point, .left-point {
    border-left: 2vh solid transparent;
    border-right: 2vh solid transparent;
    border-top: 10vh solid;
    position: absolute;
	top: 100%;
    z-index: -1;
}

.right-point {
    border-top-color: #cc0060;
    right: 20px;
    transform: translateY(-50%) rotate(-60deg);
}

.left-point {
    border-top-color: #fea502;
    left: 20px;
    transform: translateY(-50%) rotate(60deg);
}