html, body {
    height: 100%;
    margin: 0;
    background-color: #f0f0f0;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

.container{
    max-width: 1400px;
    padding: 0 10px;
    margin: 0 auto;
    
}
h1{
    font-family: Arial;

}
h3{
    margin-bottom: 100px;
}
.img-logo{
    position: absolute;
    right: 10px;
    top: 45%;
    transform: translateY(-50%);
    width:50px;
    padding: 10px 15px;
    margin-bottom: 40px;


}
#chatNav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;  /* Optional: Add padding for spacing */
}

#reset-button {
    display: flex;
    align-items: center;
    border: none;  /* Optional: Remove button border */
    background: none;  /* Optional: Remove button background */
    cursor: pointer;
}

#reset-button img {
    display: block;
    margin-right: 10px;  /* Add space between the image and the text */
}

#chatNav #line h3 {
    margin: 0;
    text-align: right;  /* Ensure the text aligns properly on the right */
}

    
#banner {
    background-color: white;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    width: 100%;
    
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

h1 {
    color: #333;
    font-size: 16px;
    margin: 0;
}

#refresh-icon {
    position: absolute;
    margin-right: 20px;
    left: 10px;
    /*top: 50%;*/
    /*transform: translateY(-50%);*/
    font-size: 20px;
    cursor: pointer;
}

#profile {
    position: absolute;
    right: 10px;
    top: 55%;
    transform: translateY(-50%);
    width:50px;
    padding: 10px 15px;
    border-radius: 50%;
    
}


#drawer {
    width: 300px;
    background-color: #ffffff;
    height: 100%;
    position: fixed;
    top: 0;
    left: -300px;
    transition: left 0.3s ease-in-out;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow-y: auto;
    margin: 10;
    margin-bottom: 35px;
}

#drawer.show {
left: 0;
}

#drawer .drawer-header {
background-color: #ffffff; 
padding: 20px;
color: #333;
text-align: center;
font-size: 20px; 
font-weight: bold;
border-bottom: 1px solid #e0e0e0; 
position: relative;
}

#drawer .drawer-header .close-btn {
position: absolute;
top: 50%;
left: 10px;
transform: translateY(-50%);
background: none;
border: none;
color: #333; 
font-size: 24px;
cursor: pointer;
outline: none; 
transition: color 0.3s ease;
}

#drawer .drawer-header .close-btn:hover {
color: #d4af37; /* Highlight on hover for interactivity */
}

#drawer .drawer-content {
padding: 20px;
font-size: 16px; 
color: #333; 
line-height: 1.6; 
font-family: 'Arial', sans-serif; 
}

#drawer .drawer-content p {
margin-bottom: 20px; 
}

#drawer .drawer-content a {
color: #d4af37; 
text-decoration: none;
}

#drawer .drawer-content a:hover {
text-decoration: underline;
}

/* Full page overlay when the drawer is open */
#drawer-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Dimmed background */
display: none;
z-index: 999;
}

#drawer-overlay.show {
display: block;
}


.message {
    margin: 10px 0;
    padding: 10px;
    border-radius: 20px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.6;
}

/* Style for reset button */
#reset-button {
position: absolute;

left: 0;
padding: 5px 20px;
margin-right: 20px;
margin-bottom: 30px;
background-color: transparent; /* No background */
border: none; /* Remove any borders */
color: inherit; /* Keeps the text color consistent */
cursor: pointer; /* Makes it look clickable */
}


/* Chat styles */
#chatNav {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: white;
    
    margin: 0 auto;
    margin-top: 30px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 50px;
    border-bottom: 1px solid #e0e0e0;
    display: none;
    position: relative;
}


#webchat  {
    background-color: white;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: calc(100vh - 90px - 120px - 40px);
    overflow-y: auto;
    border-top: none;
    display: none;
    color: #8a6334;
    font-family: Arial, sans-serif;

}

.webchat__send-box__main {

padding: 10px 20px;
margin-left: 20px; /* Changed to margin-left for RTL */
}

/* Send box text box */
.webchat__send-box-text-box.webchat--css-mpabn-titn9n.webchat--css-mpabn-1ig1f67.webchat__send-box__text-box {
border-radius: 30px;
padding: 10px 20px;
margin-left: 20px; /* Changed to margin-left for RTL */
}

/* Icon button shade (Send Button) */


/* Send button icon alignment */
.webchat__send-icon .webchat--css-nyoey-varv44 {
float: left; /* Ensures the send icon stays on the left */
direction: ltr; /* Forces the icon content to flow left-to-right */
}


.webchat__send-box__button {
float: left; /* Move the send button to the left */
direction: ltr; /* Ensure content inside the button is left-to-right */
margin-right: 10px; /* Optional: Add some space between the button and text input */
}

/* Send button icon alignment */
.webchat__icon-button {
float: left; /* Align the button icon to the left */
direction: ltr; /* Ensure the icon inside the button flows left-to-right */
}
/* Send box input */
.webchat__send-box-text-box__input {
border: none;
padding: 10px 20px;
border-radius: 30px;
font-size: 14px;
width: 100%;
text-align: right; /* Text inside input aligns to the right for RTL */
}

/* Icon button shade (Send Button) */
.webchat__icon-button__shade {

color: white;
border: none;
padding: 5px 10px;
border-radius: 50%;
cursor: pointer;
float: left; /* Ensure the button stays on the left */
direction: ltr; /* Force the content direction inside the button to left-to-right */
margin-right: 10px; /* Optional: Add some space between the button and text input */
}

/* Send button icon alignment */
.webchat__send-icon .webchat--css-nyoey-varv44 {
float: left; /* Keep the icon aligned to the left */
direction: ltr; /* Ensure the direction inside the button is left-to-right */
}

a:-webkit-any-link {
color: -webkit-link;
cursor: pointer;
text-decoration: underline;
}
#toggle-chat {
    position: fixed;
    bottom: 40px;
    right: 10px;
    background-color: #d4af37;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
}
#webchat__bubble__content{
    border-radius: 30px;
}
#webchat__bubble__nub-pad{
    border-radius: 30px;
}
#webchat__basic-transcript__activity-body{
    border-radius: 30px;
}

#drawer {
    width: 300px; 
    background-color: #ffffff;
    height: 100%;
    position: fixed;
    top: 0;
    left: -300px;
    transition: left 0.3s ease-in-out;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.15); 
    z-index: 1000;
    overflow-y: auto;
    
}

#drawer.show {
    left: 0;
}

#drawer .drawer-header {
    background-color: #ffffff;
    padding: 20px;
    color: #333;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    
}

#drawer .drawer-header .close-btn {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    outline: none;
    transition: color 0.3s ease;
}

#drawer .drawer-header .close-btn:hover {
    color: #d4af37;
}

#drawer .drawer-content {
    padding: 20px;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

#drawer .drawer-content p {
    margin-bottom: 20px;
}

#drawer .drawer-content a {
    color: #d4af37;
    text-decoration: none;
}

#drawer .drawer-content a:hover {
    text-decoration: underline;
}

#drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

#drawer-overlay.show {
    display: block;
}
#drawer-toggle {
    width: 30px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 40px;
}
.webchat--css-tsbri-p5rovv.webchat__css-custom-properties{
    color:#d4af37
}
a:-webkit-any-link {
color: #d4af37;
cursor: pointer;
text-decoration: underline;
}
