@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Saira:ital,wght@0,100..900;1,100..900&display=swap');
*{    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}
.agreement-main{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.agreement-main .heading{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
}
.agreement-main .heading>span:first-child{
  font-size: 18px;
  font-weight: bold;
  color: #008994;
}
.agreement-main .heading .recent{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.heading #sample{
  color: blue;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
}
.agreement-main .heading .recent>span:last-child{
  color: white;
  background-color: #2E6C9A;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}
.fetching{
  border-radius: 10px;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.agreement-main .all-details-head{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left:10px ;
}
.agreement-main .all-details-head .org-details{
  display: flex;
  align-items: center;
  gap: 30px;
}
.agreement-main .all-details-head .org-details figure{
  padding: 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #bdbdbd;
}
.all-details-head .org-details figure img{
  background-color: white;
  border-radius: 50%;
  height: 65px;
  width: 65px;
  object-fit: contain;
}
.all-details-head .org-details span{
  font-family: "Saira", sans-serif;
  font-size: 19px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  i{
      font-size: 16px;
  }
}
.agreement-main .all-details-head .this-heading{
  display: flex;
  align-items: center;
  padding:30px 40px;
  border-radius: 40px 0px 0px 40px;
  background-color: #10578B;
  height: 100%;
}
.agreement-main .all-details-head .this-heading div{
  font-size: 18px;
  font-weight: 500;
  color: white;
}
.agreement-main .all-details{
  border-top: 1px solid rgba(27, 31, 35, 0.264);
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  justify-content: space-between;
  font-size: 14px;
  gap: 10px;
}
.agreement-main .organisation-det{
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: rgb(113, 113, 113);
  max-width: 400px;
  width: 100%;
}
.agreement-main .all-details .details{
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  justify-content: flex-start;
  gap: 5px;
  .material-symbols-outlined{
      font-size: 20px;
  }
}

.agreement-main .all-details .enter-det{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  justify-content: space-evenly;
  font-size: 14px;
  color: rgb(113, 113, 113);
}
.all-details .enter-det .client input{
  width: 120px;
  padding: 5px;
  text-align: left;
  border: 1px solid rgb(207, 207, 207);
  border-radius: 3px;
  outline: none;
  color: rgb(113, 113, 113);
}
.enter-det .client span:last-child{
  padding: 0px 7px;
}
.all-details .enter-det .client #fetch-details{
  background-color: #009944;
  color: white;
  padding: 5px;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
}
.all-details .main-client-det{
  display: none;
}
.all-details .cient-det{
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: rgb(113, 113, 113);
}
@media (max-width:768px) {
  .all-details-head{
      flex-direction: column-reverse;
      align-items: center;
      justify-content: right;
      gap: 20px;
  }
  .agreement-main .all-details-head .this-heading{
    padding: 10px 20px;
      border-radius: 30px;
  }
  .agreement-main .all-details{
    justify-content: center;
    gap: 25px;
  }
  
}
.container {
    background-color: #ffffff;
    width: 100%;
    padding: 10px 10px;
    border-radius: 10px;
    border: 1px solid black;
}
.container #word-count{
  font-size: 12px;
}
.container  .options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    justify-content: space-evenly;
  }
.options  button {
    height: 28px;
    width: 38px;
    display: grid;
    place-items: center;
    border-radius: 3px;
    border: none;
    background-color: #dbdbdb;
    outline: none;
    color: #020929;
  }
.options  select {
    padding: 7px;
    border: 1px solid #020929;
    border-radius: 3px;
  }
  .options label,
  .options select {
    font-family: "Poppins", sans-serif;
  }
  .input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  input[type="color"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    width: 40px;
    height: 28px;
    border: none;
    cursor: pointer;
  }
  input[type="color"]::-webkit-color-swatch {
    border-radius: 15px;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #020929;
  }
  input[type="color"]::-moz-color-swatch {
    border-radius: 15px;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #020929;
  }
  #text-input {
    margin-top: 10px;
    border: 1px solid #dddddd;
    padding: 20px;
    height: 50vh;
  }
  .active {
    background-color: #174bd1;
  }
  .agreement-main .list{
    display: flex;
    gap: 5px;
    font-size: 15px;
  }
  .agreement-main .list>span{
    font-weight: 500;
  }
  .agreement-main .list>input{
    outline: none;
    border: none;
    border-bottom: 2px solid black;
  }
  .agreement-main .witness{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }
  .agreement-main .withness-text{
    font-size: 14px;
  }
  .agreement-main .witness>span{
    font-size: 14px;
    font-weight: bold;
    padding: 6px;
    width: 450px;
  }
  .agreement-main .witness>ol{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0px 20px;
  }
  
  .agreement-main .witness>ol>li>input{
    border: none;
    outline: none;
    border-bottom: 1px solid black;
    text-align: center;
    padding: 2px 10px;
    font-size: 14px;
  }
  .agreement-main .witness>ol>li>span{
    font-size: 14px;
  }
  @media (max-width: 450px) {
    .agreement-main .witness {
        align-items: flex-end;
        justify-content: flex-end;
        padding: 15px;
    }

    .agreement-main .witness > span {
        width: 100%;
        font-size: 16px;
    }

    .agreement-main .witness > ol {
        margin: 0;
    }

    .agreement-main .witness > ol > li {
        flex-direction: column;
        gap: 10px;
    }

    .agreement-main .witness > ol > li > input {
        font-size: 14px;
        width: 100%;
    }

    .agreement-main .witness > ol > li > span {
        font-size: 14px;
    }

    .agreement-main .witness > ol > li::before {
        position: static;
        margin-bottom: 5px;
        display: inline-block;
    }
}
  .agreement-main .samples{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
    margin-bottom: 6px;
  }
  .samples #sample1{
    font-size: 16px;
    font-weight: bold;
  }
  .agreement-main .submittion{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-direction: column;

  }
  .agreement-main .submittion>span{
    background-color: #008994;
    padding: 5px 10px;
    color: white;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
  }
  .modal {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
  }
  
  /* Modal Content/Box */
.modal-content {
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 30px 20px;
    border: 1px solid #888;
    width: 80%;
    border-radius: 20px;
}
  
  /* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: relative;
    bottom: 20px;
}
.close:hover,
.close:focus {
    color: rgb(255, 0, 0);
    text-decoration: none;
    cursor: pointer;
}
.main-box{
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 15px;
}
.main-box .agreement{
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.main-box .agreement>ol{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 20px;
}
.main-box .agreement>ol>li>span:first-child{
  border-bottom: 1px solid black;
}
.main-box .agreement>ol>li>span:last-child{
  font-weight: 401;
}
.main-box .agreement>span:first-child{
  font-weight: 500;
}
input[type='number']::-webkit-inner-spin-button,input[type='number']::-webkit-outer-spin-button{
  -webkit-appearance: none;
}
@media (max-width:768px) {
  #text-input {
    height: 800px;
  }
  .form .form-group{
    width: 100%;
  }
  
  .form-group input{
    width: 100%;
  }
  .form-group select{
    width: 100%;
  }
}