button.rise-fc-chatbot {
    display: flex;
	justify-content: center;
	align-items: center;
    padding: 0 !important;
    border: none;
    background: transparent !important;
}
.rise-fc-chatbot svg circle{
    transition:0.5s ease all;
}
.rise-fc-chatbot svg:hover circle{
    fill:#E7A52F !important;
}
#open-chat {
    width:95px;
    z-index: 111;
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #007bff00;
    color: #fff;
    padding: 10px;
    cursor: pointer;
}
span.ai-header-2 {
    display: flex;
    flex-direction: column;
	width: 100%;
	justify-content: start;
	align-items: flex-start;
}
#ai-chat-container {
    box-shadow: 0px 0px 10px 5px #00000026;
    border-radius: 15px;
    z-index:114;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    animation: zoomIn 0.5s ease-in-out;
    width: 26vw;
    display: none;
}
@keyframes zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
#ai-chat-container.closing {
    animation: zoomOut 0.5s ease-in-out;
}
@keyframes zoomOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0);
        opacity: 0;
    }
}
#ai-chat-header p {
    margin: 0px !important;
    padding: 5px;
    font-size: 30px;
    line-height: 30px;
    color: white !important;
}
#ai-chat-header button {
    background: #80808000;
    font-size: 22px;
    color: White;
    padding: 10px;
}
#minimize-chat {
    letter-spacing: -4px;
}
.ai-chat-header-1 img {
	width: 18%;
}
.closing-mini button {
	border: none;
	cursor: pointer;
}
.closing-mini button svg path,.closing-mini button svg rect{
	fill:#fff !important;
}
div#ai-chat-window {
	background: #fff;
	font-weight: 400;
}
#ai-chat-header {
    border-radius: 10px 10px 0px 0px;
    background: var(--ccf-custom-chatbot-primary-bg-color);
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}
#ai-chat-window {
    padding: 20px 10px 20px 23px;
    height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-bottom: 1px solid #ccc;

}
#ai-chat-input-form {
    padding: 2%;
    margin-bottom: 0%;
    border: 0px solid;
    overflow: hidden;
    border-radius: 15px !important;
    display: flex;
}
#ai-chat-input-form input {
    border: 0px solid !important;
}
#ai-chat-input-form button {
    color: white;
    border-radius: 27px;
}
div#ai-chat-window div {
    font-family: 'Montserrat';
}
input#ai-chat-input::placeholder {
    font-size: inherit;
    font-family: 'Montserrat';
    font-weight: 400;
    color: rgb(153 153 153);
}
input#ai-chat-input {
    font-size: inherit;
    font-family: 'Montserrat';
    font-weight: 400;
    color: #333;
}
#ai-chat-input {
    flex: 1;
    padding: 5px;
}
.main-ai-response a {
    color: #fff;
    word-break: normal;
    text-decoration: underline !important;
}
.main-ai-response a:hover{
    color:#E7A52F !important;
}
#ai-chat-window p {
    margin: 5px 0;
	word-break: break-word !important;
}

div.main-ai-response {
    text-align: -webkit-right;
}
input#ai-chat-input:focus {
	outline: none;
}
pre.ai-response,
p.ai-response {
    font-size: 16px;
    margin: 0;
    padding: 10px 12px;
    width: 100% !important;
    border-radius: 5px;
    font-family: 'Montserrat' !important;
    text-align: start;
    background: var(--ccf-custom-chatbot-primary-bg-color);
    color: var(--ccf-custom-chatbot-primary-text-color);
}
/* pre.ai-response a:hover {
color: #fff !important;
} */
pre.ai-response {
    white-space: pre-line;
}
p.user-query {
    background: var(--ccf-custom-chatbot-secondary-bg-color);
	color: var(--ccf-custom-chatbot-secondary-text-color);
	font-family: 'Montserrat';
	text-align: start;
	font-size: 16px;
	padding: 10px 12px;
	border-radius: 5px;
}
.main-ai-response:before {
    content: '';
    width: 32px;
    height: 32px;
    background: url('https://www.risefcsoccer.com/wp-content/uploads/2023/12/risefcsoccer-logo.png');
    position: absolute;
    z-index: 2;
    left: -8%;
    bottom: 0;
    border-radius: 25px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.main-ai-response {
    margin-left: 23px;
    position: relative;
}
.editingbro svg circle {
    stroke:rgb(17, 46, 28) !important;
}
.loading {
    width: fit-content;
    font-size: 16px;
    margin: 0;
    padding: 18px 10px 10px 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 5px;
    font-family: 'Inter' !important;
    text-align: start;
    background: rgb(17, 46, 28);
    color: white;
}
.main-ai-response.current_request {
    display: flex;
}
.ai-chat-header-1 {
    display: flex;
    justify-content: start;
    gap: 20px;
    align-items: center;
}

span.ai-header-2 {
    font-size: 18px;
    font-family: 'Montserrat';
}

span.chatbot-name {
    line-height: normal;
	font-size: 20px;
    font-weight: 700;
}

span.chatbot-name-2 {
    font-size: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1.6px;
	padding-top: 5px;
    line-height: normal;
    font-weight: 400;
}
.closing-mini {
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-user-query {
    margin-left: 23px;
	display: flex;
	justify-content: end;
	align-items: center;
}
.loading div {
    background-color: #fff;
    width: 8px;
    height: 8px;
    margin: 5px;
    border-radius: 5px;
    animation: loading 0.8s infinite alternate;
}
@keyframes loading {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10px);
    }
}
/* Delay the animations */
.loading div:nth-child(1) {
    animation-delay: 0s;
}
.loading div:nth-child(2) {
    animation-delay: 0.2s;
}

.loading div:nth-child(3) {
    animation-delay: 0.4s;
}

@media (min-width:767px) {
    .main-ai-response {
        width: 85%;
    }
    .main-ai-response:before {
        left:-40px !important;
    }
    .main-user-query {
        width: 85%;
        display: flex;
        justify-content: flex-end;
        align-items: end;
        margin: 0 0 0 auto;
    }
}
@media (max-width:768px){
     #open-chat {
         width:85px;
    }
	#ai-chat-container {
		width: 70% !important;
    }
    #ai-chat-container {
        right:0 !important;
        bottom:0!important;
    }
    #open-chat {
        bottom: 60px;
		right: 0px;
    }
}
@media (max-width:1024px) {
    #ai-chat-container {
        width: 47vw;
    }
}

@media (max-width:425px) {
     #open-chat {
         width:85px;
    }
    span.ai-header-2 {
        font-size: 14px;
    }
	#ai-chat-container {
		width: 100% !important;
    }
    span.ai-header-2 {
        font-size: 12px;
    }
    .main-ai-response:before {
        left: -12%;
    }
	pre.ai-response, p.ai-response {
		width: 95% !important;
	}
    input#ai-chat-input {
        font-size: 18px;
    }
}
.ai-response.markdown-response {
    white-space: normal;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
}
.ai-response.markdown-response h1,
.ai-response.markdown-response h2,
.ai-response.markdown-response h3 {
    font-weight: bold;
}
.ai-response.markdown-response code {
    background: #f0f0f0;
    padding: 2px 4px;
    border-radius: 4px;
}
.ai-response.markdown-response pre {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
    overflow-x: auto;
}
.ai-response.markdown-response a {
    color: #fff;
    text-decoration: underline;
}
.main-ai-response h1,.main-ai-response h2,.main-ai-response h3,.main-ai-response h4 {
    color: #fff;
}
.markdown-response table {
  border-collapse: collapse;
  margin: 1em 0;
  font-family: inherit;
  overflow: auto !important;
  font-size: 14px;
}

.markdown-response th,.markdown-response td {
  padding:5px !important;
  border: 1px solid #656565;
  text-align: left;
}

.markdown-response th {
  background-color: #dadada;
  font-size:14px !important;
  font-weight: bold;
}

.markdown-response tr td {
  border: 1px solid #656565;
  min-width:140px !important;
}
