.legal_box{
    /*width: 350px;*/
    /*background: #0c426ff5;*/
    /*position: fixed;*/
    /*right: 100px;*/
    /*bottom: 80px;*/
    /*border-radius: 10px;*/
    /*z-index: 1000;*/
    /* border: 1px solid #0c426f; */
    /*box-shadow: 1px 2px 5px;  */
      height: 444px;
    }

    #legal_query_form {
        /* position: absolute; */
        bottom: 0;
        left: 0;
        width: 100%;
    }

    .legal_box .legal-header{
      border-radius: 10px 10px 0 0;
      color: #0c426f;
      font-weight: bold;
      /* background-color: #0c426f !important; */
      border-top: 0 solid;
      border-bottom: 5px solid;
      text-align: center;
      margin: 0 !important;
      background: #FFF; 
        
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;

    }
    

    .legal_box .title{ 
      color: #0c426f;
      font-weight: bold;
      width: 100%;
      margin-top: 4px;
      text-align : center ;
      
    }
    
    .legal_box .close_btn{
      
      float: right;
      font-size: large;
      background: #FFF;
      /* border-radius: 50%; */
      margin-right: 0px !important;
      font-weight: 800;
      color: #0c426f; 
      border: none;
       border-radius: 50%; 
      /* margin-top: -5px;
      /* width: 20%; */

    position: absolute;
    right: 0;
    }
    .legal_box  .sub_title{
      font-size: 10px;
    font-weight: 500;
    /* position: absolute; */
    bottom: 1px;
    left: 0;
    border-top: 1px solid lightgray;
    width: 100%;
    color: #0c426f !important;
    padding-top: 2px;
    width:100%;

    }

    .legal_box .answerandnewchats {
      border: 1px solid #0c426f;
    border-radius: 10px;
    padding: 5px !important;
    font-weight: 800;
    color: #0c426f !important;
    font-family: math;
    display: block;
    /* margin: auto; */
    text-align: center;
    }

    .legal_box .df_msg {

    border: 1px solid #FFF;
    background: #fffffffa;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 12px;
    text-align: center;
    /* text-indent: 25%; */
    color: #0c426f;
    font-weight: 700;
    margin-bottom: 10px;
    }
    .legal_box .chatinput{
        
      border: none;
      border-right: 1px solid #0c426f;
      /* border-radius: 20px; */
      padding-left: 10px;
      text-align: center;
      color: #0c426f;
      font-weight: 700;
    }
    /* General form styles */
    .legal_box .input_box {
      border: 1px solid #0c426f; /* Blue border */
      border-radius: 12px; /* Rounded corners for a smoother look */
      /* padding-left: 10px; */
      text-align: center;
      color: #0c426f;
      font-weight: 700;
      /* background-color: #f0f8ff;  */
    }

/* Input field styles */
.legal_box input[type="text"] {
  border: 1px solid #0c426f; /* Blue border */
  border-radius: 5px;
  padding: 5px;
  color: #0c426f; /* Text color */
  
}

.legal_box input[type="text"]::placeholder {
  color: #0c426f; /* Placeholder text in blue */
  opacity: 0.8;
}

.legal_box .input-addon button {
  border-radius: 0 12px 11px 0;
  padding: 3px 10px;
  margin-right: 3px;
}
.legal_box .btn-dark {
  background-color: #0c426f; /* Dark blue for submit button */
  border-color: #0c426f;
}

.legal_box .btn-success {
  background-color: #0c426f; /* Dark blue for success button */
  border-color: #0c426f;
}

.legal_box .btn-sm {
  color: #fff; /* White text color for buttons */
}

.legal_box .text-danger {
  color: #c0392b; /* Red color for error messages */
}
button, input, optgroup, select, textarea {
  margin: 0;
  /* font-family: inherit; */
  font-size: inherit;
  line-height: inherit;
}