.cp-factoring-calculator-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
    color: #333;
}

.cp-calc-header {
    text-align: center;
    margin-bottom: 30px;
}

.cp-calc-title {
    color: #004b66;
    /* Izola blue */
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
}

.cp-calc-subtitle {
    color: #555;
    font-size: 16px;
    margin-bottom: 48px;
}

.cp-calc-body {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 30px;
}

.cp-calc-col {
    font-family: "Roboto", sans-serif;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 35px 0px !important;
    flex: 1;
    width: 100%;
    min-height: 490px;
    display: flex;
    flex-direction: column;
}

.cp-calc-col-2 {
    font-family: "Roboto", sans-serif;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 35px 0 0 0 !important;
    flex: 1;
    width: 100%;
    min-height: 490px;
    /* max-width: 500px !important; */
    display: flex;
    flex-direction: column;
}

.cp-calc-inputs {
    padding: 30px;
}

.cp-calc-arrow-col {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
}
.svg-arrow{
    height: 40px !important;
    width: 40px !important;
}
.cp-calc-arrow {
    background: #aad2d6;
    /* Light teal arrow bg */
    color: #fff;
        padding: 15px;
    border-radius: 100%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-inputs-instructions {
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: 300;
        padding: 0px 35px;
    line-height: 20px;
    font-size: 14px;
    text-align: center;
    color: #000;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 5px;
}

.cp-calc-form-group {
    margin-bottom: 20px;
    padding: 0px 25px !important;
}

.cp-calc-form-group label {
    font-family: "Roboto", sans-serif;
    display: block;
        line-height: 26px;
    color: #1D5A7A;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 16px;
    padding-left: 18px;
}

.cp-input-wrap {
    position: relative;
}

.cp-currency-symbol {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #000;
}

.cp-input-wrap input {
    width: 100%;
    padding: 12px 15px 12px 35px;
    border: 1px solid #1D5A7A;
    border-radius: 25px;
    font-size: 16px;
    height: 50px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.cp-input-wrap input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.form-control {
    display: block;
    width: 100%;
    /* padding: .375rem .75rem; */
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.cp-error-msg {
    color: #cc0000;
    /* border: 2px solid #cc0000; */
    /* border-radius: 4px; */
    padding: 6px 12px;
    /* margin-top: 5px; */
    font-size: 12px;
    line-height: 18px;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.cp-calc-action {
    margin-top: 20px;
    text-align: center;
}

.cp-btn {
    background: linear-gradient(180deg, #87C0C6 0%, #1D5A7A 100%);
    color: #fff;
    border: none;
    font-family: "Roboto", sans-serif;
    border-radius: 20px;
    min-width: 120px;
    margin: 10px 10px 0px 10px;
    padding-left: 40px;
    padding-right: 40px;
    font-size: 16px;
    height: 35px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cp-btn:hover {
    text-shadow: 0px 0px 10px #fff !important;
    color: #fff;
}

.cp-rates-date {
    /* margin-top: 15px; */
    font-size: 14px;
    line-height: 26px;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
    color: #212529;
}

.cp-results-title {
    text-align: center;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    line-height: 33px;
    margin-bottom: 13px;
    margin-top: 0;
}

.cp-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.cp-result-retained-row {
    flex-wrap: wrap;
}

.cp-result-retained-row .cp-result-label {
    order: 1;
}

.cp-result-retained-row .cp-result-value {
    order: 2;
}

.cp-result-retained-row .cp-result-note {
    order: 3;
    width: 85% ;
    margin-top: 9px;
}

.cp-result-label {
    color: #1d5a7a;
    line-height: 26px;
    font-size: 16px;
    font-weight: 500;
}

.cp-result-value {
    color: #7c95c2;
    line-height: 33px;
    font-weight: 300;
    /* light blue/gray text for results */
    font-size: 20px;
}

.cp-result-note {
    font-size: 14px;
    color: #212529;
    width: 80% !important;
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 15px;
}

.cp-calc-results {
    padding: 0;
}

.cp-calc-results>*:not(.cp-result-footer) {
    padding-left: 30px;
    padding-right: 30px;
}

.cp-results-title {
    margin-top: 0;
}

.cp-result-footer {
        margin-top: 42px;
    background: #e9ecef;
    /* Gray footer */
       padding: 20px 30px 37px 30px;
    text-align: center;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.cp-footer-label {
    display: block;
    color: #24334e;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 26px;
}

.cp-pill-result {
    background: #fff;

    border: 1px solid #1D5A7A;
    color: #24334E;
    font-size: 26px;
    font-weight: 700;
    /* padding: 10px 30px; */
    min-height: 50px;
    border-radius: 35px;
    display: inline-block;
    min-width: 80%;
    width: 80%;
    padding-top: 7px;
    /* padding-top: 10px; */
}

.cp-mobile-calc-again {
    display: none;
    color: #7a1c4b;
    font-weight: 600;
    font-size: 13px;
    margin-top: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.cp-mobile-calc-again svg {
    width: 14px;
    height: 14px;
}

/* Mobile specific styling */
@media (max-width: 768px) {
    .cp-calc-body {
        flex-direction: column;
    }

    .cp-calc-col,
    .cp-calc-col-2 {
        width: 100%;
        min-height: auto;
        box-sizing: border-box;
    }

    .cp-result-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 25px;
    }

    .cp-result-value {
        margin-top: 5px;
    }

    .cp-result-retained-row .cp-result-label {
        order: 1;
       
    }
    .cp-result-label{
         font-size: 13px;
        line-height: 26px;
        font-weight: 500;
    }

    .cp-result-retained-row .cp-result-note {
        order: 2;
        width: 80%;
    }

    .cp-result-retained-row .cp-result-value {
        order: 3;
        margin-top: -7px;
    }

    .cp-pill-result {
        width: 80%;
    }

    .cp-calc-arrow-col {
        display: none;
        /* Hide arrow on mobile */
    }

    .cp-calc-results {
        display: none;
        /* Hidden by default until calculated */
    }

    .cp-calc-form-group {
    margin-bottom: 15px;
    /* padding: 0px 25px !important; */
}
    .cp-mobile-calc-again {
        display: flex;
        margin-top: 10px;
        /* Show calc again button on mobile footer */
    }

    .cp-show-results .cp-calc-inputs {
        display: none;
    }

    .cp-show-results .cp-calc-results {
        display: flex;
    }
    .cp-calc-action {
        margin-bottom: 50px;
    margin-top: 0px;
    text-align: center;
}
.cp-btn{
            font-size: 14px !important;
            border-radius: 20px !important;
            margin: 10px !important;
            padding: 6px 40px;
            max-width: 260px !important;
        /* white-space: unset !important; */
        height: auto !important;
}
.cp-rates-date{
    margin-bottom: 40px;
    line-height: 0px;
}
}