/*#bella-chat-icon {*/
/*    background-image: url('https://dashboard.ngaze.io/v1/images/Bella.png');*/
    /* Add any additional styling for the chat icon here */
/*}*/



/* Scope everything to Ngaze forms only */
.ngaze-form {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.ngaze-form .ngaze-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.ngaze-form .ngaze-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ngaze-form .ngaze-field-full {
  grid-column: 1 / -1;
}

.ngaze-form label {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0;
}

.ngaze-form input,
.ngaze-form select,
.ngaze-form textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  line-height: 1.2;

  /* Modern sizing */
  padding: 8px 8px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 10px;

  /* Consistent height */
  min-height: 44px;

  /* Smooth UX */
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  outline: none;
  background: transparent;
}

/* Ensure selects match height */
.ngaze-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 38px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(0,0,0,0.55) 50%),
    linear-gradient(135deg, rgba(0,0,0,0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* Textarea sizing */
.ngaze-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Number field spinner handling */
.ngaze-form input[type="number"] {
  padding-right: 12px;
}

/* Remove odd input inner styling in some browsers */
.ngaze-form input[type="date"],
.ngaze-form input[type="time"] {
  padding: 10px 12px;
}

/* Better focus state (neutral, not colored) */
.ngaze-form input:focus,
.ngaze-form select:focus,
.ngaze-form textarea:focus {
  border-color: rgba(0,0,0,0.35);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.08);
}

/* Hover (subtle) */
.ngaze-form input:hover,
.ngaze-form select:hover,
.ngaze-form textarea:hover {
  border-color: rgba(0,0,0,0.28);
}

/* Placeholder */
.ngaze-form ::placeholder {
  opacity: 0.7;
}

/* Submit area */
.ngaze-form .ngaze-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  margin-top: 6px;
}

/* Button modern */
.ngaze-form button[type="submit"] {
  font: inherit;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.25);
  background: transparent;
  cursor: pointer;
  min-height: 44px;
  transition: transform 120ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.ngaze-form button[type="submit"]:hover {
  border-color: rgba(0,0,0,0.38);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.ngaze-form button[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Notification modern (no colors) */
.ngaze-notification {
  max-width: 720px;
  margin: 0 auto 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.18);
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.ngaze-notification.ngaze-hide {
  opacity: 0;
  transition: opacity 400ms ease;
}

/* Honeypot: keep hidden but not breaking layout */
.ngaze-form input[name="website"] {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* Mobile */
@media (max-width: 680px) {
  .ngaze-form .ngaze-grid {
    grid-template-columns: 1fr;
  }
}



/* General styles for the modal */
.custom_popup_modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 96%;
}

/* Modal content styles */
.modal_content {
    position: relative;
    background-color: #000;
    /*padding: 20px;*/
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    width: 100%;
    max-height: 90%;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Close button styles */
.close_button {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 22px;
    background-color: white;
    color: red;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 15px;
}

.close_button:hover,
.close_button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Content container styles */
/*.content_container {
    margin-top: 20px;
}*/

/* Responsive styles */
@media (min-width: 768px) {
    .modal_content {
        max-width: 600px;
    }
}

@media (min-width: 992px) {
    .modal_content {
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
    .modal_content {
        max-width: 1000px;
    }
}



#bella-chat-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

#bella-chat-icon {
  cursor: pointer;
}
#bella-chat-default{
    width:100%;
    float:left;
}
.bella-chat-default_top{
    background-color:#e06666;
    width:100%;
    float:left;
    border-radius:5px;
    color:white;
    padding:15px;
    line-height: 15px;
    /*margin-bottom:10px;*/
}
.zpt_user_question{
    background-color:#f3f3f3;
    padding:10px;
    width:75%;
    float:left;
    color:black;
    border-radius:5px;
    margin-bottom:10px;
}
.zpt_user_answer{
    background-color:#e06666;
    padding:10px;
    width:89%;
    float:right;
    color:white;
    border-radius:5px;
    margin-bottom:10px;
}.zpt_user_loder{
    
    padding:10px;
    width:75%;
    float:right;
    color:#e06666;
    text-align:center;
    /*border-radius:5px;*/
    /*margin-bottom:10px;*/
}
.zpt_user_answer_container{
    width:90%;
    float:right;
}

.zpt_loader_svg {
    fill: #e06666;
  }
.zpt_user_error{
    width: 89%;
    float: left;
    line-height: 15px;
    color: red;
    font-size: 10px;
    margin-bottom: 10px;
    padding: 0px 10px 0px 10px;
}

.bella-chat-default_logo{
    width:15%;
    float:left;
}.bella-chat-default_text{
    width:85%;
    float:left;
}.bella-chat-default_bot{
    width:100%;
    float: left;
    padding: 0px 10px 0px 10px;

}
#bella-chat-container {
    display: none;
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 350px;
    height: 500px;
    background-color: white;
    border: 1px solid grey;
    border-radius:5px;
}

#bella-chat-header {
    position: absolute;
    right: -2px;
    top: -35px;
    color: red;
}
#bella-chat-send{
    background-color: transparent;
    width: 20px;
    height: 20px;
    padding: 0px;
    position: absolute;
    right: 20px;
    border:none;
    margin:0px;
}#bella-chat-form{
    padding:10px;
}
/*#bella-chat-close {*/
/*  cursor: pointer;*/
/*  font-size: 20px;*/
/*    font-weight: 900;*/
/*}*/
.close-container {
  position: relative;
  margin: auto;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.leftright {
  height: 4px;
  width: 15px;
  position: absolute;
  margin-top: 24px;
  background-color: #e06666;
  border-radius: 2px;
  transform: rotate(45deg);
  transition: all .3s ease-in;
  cursor: pointer;
}

.rightleft {
  height: 4px;
  width: 15px;
  position: absolute;
  margin-top: 24px;
  background-color: #e06666;
  border-radius: 2px;
  transform: rotate(-45deg);
  transition: all .3s ease-in;
  cursor: pointer;
}

.close-container label {
  color: #e06666;
  font-size: 10px;
  transition: all .3s ease-in;
  opacity: 0;
  bottom:2px;
  cursor: pointer;
  top: 10px;
    font-weight: 900;
    right: 5px;
}

#bella-chat-close {
  position: absolute;
}

.close-container:hover .leftright,
.close-container:hover .rightleft {
  transform: rotate(-45deg);
  background-color: #e06666;
  opacity: 0;
}

.close-container:hover label {
  opacity: 1;
}

.close-container:hover #bella-chat-close {
  opacity: 1;
}

#bella-chat-messages {
    height: 340px;
    overflow-y: auto;
    padding:10px;
    transition: 0.5s smooth;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

#bella-chat-input {
  display: flex;
  align-items: center;
}

#bella-chat-message-input {
    flex-grow: 1;
    background-color: #f3f3f3;
    margin:0px;
    font-size: 15px;
    padding: 7px;
  /*margin-right: 10px;*/
}
