
/*calculator*/

.form-tab {
    border-radius: 10px;
    overflow: hidden;
}

@media only screen and (max-width: 767px) {
    .form-tab {
        margin-top: 20px;
    }

 
}

.form-tab .nav-tabs {
    border: none;
}

    .form-tab .nav-tabs li {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        text-align: center;
    }

    .form-tab .nav-tabs a {
    
        background-color: #fff;
        color: #8a8a8a;
        display: block;
        font-size: 20px;
        font-weight: 700;
        padding: 20px 10px;
        text-transform: capitalize;
    }

@media only screen and (max-width: 767px) {
    .form-tab .nav-tabs a {
        font-size: 18px;
    }
}

.form-tab .nav-tabs a.active {
    background: #CAD0EE;

    border-color: transparent;
    color: #102f75;
}

.form-tab .currency-form {
    padding-top: 25px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.form-tab .form-field {
    border: 1px solid #dadada;
    border-radius: 5px;
}

    .form-tab .form-field label {
        background-color: #f0f0f0;
        border-bottom: 1px solid #dadada;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        color: #2f2f35;
        margin-bottom: 0;
        padding: 7px 15px;
    }

    .form-tab .form-field .join-field {
        border: none;
    }

    .form-tab .form-field select, .form-tab .form-field .nice-select {
        border: none;
    }

.form-field {
    position: relative;
    margin-bottom: 20px;
}

    .form-field label {
        color: #6c6c6f;
        display: block;
        font-size: 16px;
        font-weight: 500;
        text-transform: capitalize;
        margin-bottom: 7px;
    }

    .form-field input {
        border: none;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        padding: 10px 15px;
        width: 100%;
    }

    .form-field select, .form-field .nice-select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: 1px solid #dadada;
        border-radius: 5px;
        display: block;
        width: 100%;
        text-transform: capitalize;
    }

    .form-field .nice-select {
        width: 100%;
        height: 50px;
        line-height: 50px;
    }

        .form-field .nice-select .list {
            width: 100%;
        }

    .form-field .curr-select {
        border: 1px solid #dadada;
        border-radius: 5px;
        -ms-flex-preferred-size: 30%;
        flex-basis: 30%;
        position: relative;
        padding: 10px 15px;
    }

        .form-field .curr-select img {
            display: inline-block;
            max-width: 25px;
            height: 25px;
            margin-right: 10px;
            vertical-align: top;
        }

        .form-field .curr-select span, .form-field .curr-select a {
            color: #2f2f35;
            display: block;
            font-size: 16px;
            text-transform: uppercase;
            position: relative;
        }

        .form-field .curr-select ul {
            background-color: #fff;
            -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
            box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
            display: none;
            padding: 10px 20px;
            position: absolute;
            left: 0;
            top: 100%;
            width: 100%;
            z-index: 1;
        }

            .form-field .curr-select ul li:first-child {
                margin-bottom: 10px;
            }

    .form-field .join-field {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        border: 1px solid #dadada;
        border-radius: 5px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

        .form-field .join-field .nice-select {
            width: auto;
            border: none;
            border-left: 1px solid #dadada;
            border-radius: 0;
        }

@media screen and (max-width: 575px) {
    .form-field .join-field .nice-select {
        width: 100%;
        border-left: 0;
        border-top: 1px solid #dadada;
    }
}

.form-field .join-field .input__add,
.form-field .join-field input, .form-field .join-field select {
    -ms-flex-preferred-size: 70%;
    flex-basis: 70%;
    max-width: 70%;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .form-field .join-field .input__add,
    .form-field .join-field input, .form-field .join-field select {
        -ms-flex-preferred-size: 60%;
        flex-basis: 60%;
        max-width: 60%;
    }
}

@media screen and (max-width: 479px) {
    .form-field .join-field .input__add,
    .form-field .join-field input, .form-field .join-field select {
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        max-width: 50%;
    }
}

.wrapper {
    width: 370px;
    height: auto;
    padding: 30px 17px;
    border-radius: 0 0 0 0;
    position: relative;
    background: #CAD0EE;
    box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.05);
  }
  .wrapper header {
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    background: transparent;
    border-bottom: none;
  }
 
  form :where(input, select, button) {
    width: 100%;
    outline: none;
    border-radius: 5px;
    border: none;
  }
  form p {
    font-size: 18px;
    margin-bottom: 5px;
  }
  form input {
    height: 55px;
    font-size: 17px;
    padding: 0 15px;
    border: 1px solid #999;
  }
  form input:focus {
    padding: 0 14px;
    border: 2px solid #675afe;
  }
  form .drop-list {
    display: flex;
    margin-top: 20px;
    align-items: center;
    justify-content: space-between;
  }
  .drop-list .select-box {
    display: flex;
    width: 210px;
    height: 56px;
    align-items: center;
    border-radius: 5px;
    justify-content: center;
    border: 1px solid #999;
    background: #675afe61;

  }
  .flag {
    max-width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-left: 5px;
   
  }
  .select-box select {
    max-width: 86%;
    font-size: 16px;
    background: none;
    margin: 0 -5px 0 5px;
    outline: 1px solid #ddd;
    padding: 13px 0;
    /* background: #675afe61; */
  }
  .select-box select::-webkit-scrollbar {
    width: 8px;
  }
  .select-box select::-webkit-scrollbar-track {
    background: #fff;
  }
  .select-box select::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 8px;
    border-right: 2px solid #ffffff;
  }
  .drop-list .icon {
    cursor: pointer;
    margin-top: 1px;
    font-size: 22px;
  }
  form .exchange-rate {
    font-size: 17px;
    margin: 20px 0 30px;
  }
  form button {
    height: 52px;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    background: #675afe;
    transition: 0.3s ease;
  }
  form button:hover {
    background: #4534fe;
  }
  
  .clac-flex{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }

  .refresh-img{
    width: 15px;
    font-weight: bold;
  }

  .nice-select2{
    width: 30px;
    height: 47px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;

  }

 
element.style {
  background: #3f66f345;
}
.input-group-text{
  height: 46px;
  padding: 0 5px 0 0;
}

  @media  screen and (max-width: 767px) {
    .clac-flex{
       flex-direction: column;
       gap: 0;
      }
      .refresh-img{
        margin: 10px 0;
      }
    
     
  }

  @media  screen and (max-width: 500px) {
    .drop-list .select-box {
        max-width: 140px;
  }

  }


  @media screen and (max-width: 1194px){
    .drop-list .select-box {
        max-width: 150px;
        height: 35px;
  }
  }

  .how__worksection2{
  position: relative;

}

.how__worksection2::before{
  position: absolute;
  content: "";
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #1A4DBE 0%, #AE5EBE 100%);
  opacity: 0.1;
  z-index: -1;
}

.top__reted{
  position: relative;
}

.top__reted::before{
  position: absolute;
  content: "";
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #1A4DBE 0%, #AE5EBE 100%);
  opacity: 0.1;
  z-index: -1;
}

