/*-------------------------------------
 ================ sec-2 starts =============
 -------------------------------------- */

.calculator-bg {
    background-image: url('https://cdn.transactbridge.com/authorization-rate-calculator/calculator-bg-img.png');
    background-position: center;
    background-repeat: no-repeat;
}

.calc-wrapper {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
}

.calc-box {
    background: #f6f6f6;
    padding: 20px 16px;
    border-radius: 14px;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
}
.sec-2 .form-label {
    color: #819fbf !important;
    font-size: 12px;
}
.result-box {
    background: #fff;
    border-left: 4px solid var(--colorBlue);
    width: 90%;
}
@media (min-width: 668px) {
    .calc-box {
        padding: 35px 30px;
    }
    .sec-2 .form-label {
        font-size: 14px;
    }
    .result-box {
        width: 100%;
    }
}
.range-value-box {
    width: 140px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    text-align: right;
    font-size: 14px;
    float: right;
}

.main-btn {
    background: #007bff;
    color: white;
    padding: 8px;
    border-radius: 6px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    border: none;
}

label {
    font-weight: 600;

    font-size: 14px;
}

.sec-2 p {
    color: #555;
}

.sec-2 .form-control,
.form-control::placeholder {
    color: #cbcbcb;
}

input[type='range'] {
    -webkit-appearance: none;
    width: 100%;
    position: relative;
}

input[type='range']::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 10px;
    background: linear-gradient(to right, #007aff var(--value), #eaeaea var(--value));
}

input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 22px;
    width: 22px;
    background: #ffffff;
    border: 3px solid #007aff;
    border-radius: 50%;
    margin-top: -8px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.styled-wrapper {
    position: relative;
    width: 60px;
}
@media (min-width: 568px) {
    .styled-wrapper {
        width: 80px;
    }
}
@media (min-width: 768px) {
    .styled-wrapper {
        width: 100px;
    }
}

.styled-input {
    width: 100%;
    text-align: center;
    color: transparent;
    caret-color: transparent;
}

.styled-overlay {
    position: absolute;
    inset: 0;
    text-align: center;
    font-size: 1rem;
    line-height: 38px;
    font-family: inherit;
}

.styled-overlay .percent {
    font-weight: bold;
    color: gray;
}
#currentRateDisplay,
#expectedIncreaseDisplay {
    color: transparent;
}
#currentRateStyled,
#expectedIncreaseStyled {
    color: #cbcbcb;
}
/*-------------------------------------
 ================ sec-2 ends =============
 -------------------------------------- */

/*-------------------------------------
 ================ sec-3 starts =============
 -------------------------------------- */
.sec-3 {
    background-color: #f6f6f6;
    height: 335px;
}
.sec-3 .card {
    border: none;
}

/*-------------------------------------
 ================ sec-3 ends =============
 -------------------------------------- */

/*-------------------------------------
 ================ sec-4 starts =============
 -------------------------------------- */
.title {
    padding: 1rem;
}
@media (min-width: 968px) {
    .title {
        padding: 4rem 16rem 2rem 16rem;
    }
}

.challengePart {
    background-color: #eff7ff;
    height: 100%;
}
.solutionPart {
    background-color: #e0e8f1;
}
.challengePart p,
.solutionPart p {
    font-size: 12px !important;
}
.challenge,
.solution {
    color: #b2b2b2;
}

@media (min-width: 768px) {
    .challengePart {
        min-height: 165px;
    }
}

/*-------------------------------------
 ================ sec-4 ends =============
 -------------------------------------- */

/*-------------------------------------
=============== sec-5 start ===============
--------------------------------------*/
.sec-5 .bg-wrapper {
    background-image: url('https://cdn.transactbridge.com/crm-software-payment-solution-india/banner.png');
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: bottom;
    border-radius: 0 0 8px 8px;
}

.sec-5 .bg-img-container {
    max-height: 400px;
    height: 70vh;
}

@media (min-width: 576px) {
    .sec-5 .bg-img-container {
        max-height: unset;
        height: unset;
    }
}
@media (min-width: 576px) and (max-width: 991px) {
    .sec-5 .bg-wrapper {
        border-radius: 0 8px 8px 0;
    }
}

@media (min-width: 992px) {
    .sec-5 .container .row {
        height: 350px;
    }
    .sec-5 .container .row .content {
        height: 100%;
    }
    .sec-5 .content-text {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .sec-5 .bg-wrapper {
        background-image: url('https://cdn.transactbridge.com/crm-software-payment-solution-india/banner.png');
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        border-radius: 0 8px 8px 0;
    }
}
/*-----------------------------------------
=============== sec-5 end ===============
------------------------------------------*/
