.sec-revenue-calculator{
    position: relative;
    background: 
        radial-gradient(
            ellipse 70% 50% at 50% 0%,
            hsl(234 89% 60% / 0.08),
            transparent 70%
        ),
        radial-gradient(
            ellipse 50% 40% at 85% 20%,
            hsl(28 95% 58% / 0.07),
            transparent 70%
        ),
        radial-gradient(
            ellipse 50% 40% at 15% 30%,
            hsl(265 85% 62% / 0.07),
            transparent 70%
        );
}

.sec-revenue-calculator::after{
    position: absolute;
    content: "";
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    background-image:
        linear-gradient(
            hsl(var(--border) / 0.6) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            hsl(var(--border) / 0.6) 1px,
            transparent 1px
        );

    background-size: 44px 44px;
}

#rc-form.rc-calculator {
    --rc-bg: #f2f4f7;
    --rc-card: #ffffff;
    --rc-text: #0a1f44;
    --rc-muted: #60708a;
    --rc-line: #d9e0ea;
    --rc-primary: #081a3d;
    --rc-primary-hover: #11295e;
    max-width: 900px;
    margin: 0 auto;
    /* padding: 24px; */
    border-radius: 24px;
    /* background: var(--rc-bg); */
    background: transparent;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    font-family: inter, Sans-serif;
}

#rc-form .rc-progress-header {
    max-width: 680px;
    margin: 0 auto 24px;
}

#rc-form .rc-progress-meta {
    font-family: inter, Sans-serif;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    line-height: 16px;
    color: #677183;
    margin-bottom: 8px;
    letter-spacing: 0.1px;
}

#rc-form .rc-progress-track {
    height: 6px;
    background: #f6f7f9;
    border-radius: 999px;
    overflow: hidden;
}

#rc-form #rc-progress-fill {
    display: block;
    height: 100%;
    width: 13%;
    background: var(--rc-primary);
    transition: width 0.25s ease;
}

#rc-form .rc-step {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

#rc-form .rc-step.active {
    display: block;
    animation: rcFadeUp 1s ease forwards;
}

@keyframes rcFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#rc-form .rc-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px;
    background: var(--rc-card);
    border: 1px solid var(--rc-line);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(9, 32, 68, 0.08);
}

#rc-form .rc-card .rc-step-heading {
    margin: 0;
    font-family: inter, Sans-serif;
    color: #0f1729;
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

#rc-form .rc-card p {
    margin: 12px 0 0;
    font-family: inter, Sans-serif;
    color: #677183;
    font-size: 16px;
    line-height: 24px;
}

#rc-form .rc-input-wrap {
    position: relative;
    margin-top: 32px;
}

#rc-form .rc-input-wrap input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    /* height: 96px; */
    /* padding: 8px 0x 8px 0px; */
    text-align: center;
    font-family: inter, Sans-serif;
    color: #0f1729;
    font-size: 48px;
    line-height: 1px;
    font-weight: 700;
    background: #fafbfc;
}

#rc-form .rc-unit {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-family: inter, Sans-serif;
    color: #677183;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}


#rc-form .rc-unit-left {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-family: inter, Sans-serif;
    color: #677183;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

#rc-form .rc-nav {
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

#rc-form button {
    font-family: inherit;
}

#rc-form .rc-back {
    border: none;
    background: transparent;
    color: #9ca8ba;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

#rc-form .rc-back:hover {
    color: #61718c;
}

#rc-form .rc-back svg {
    width: 16px;
    height: 16px;
}

#rc-form .rc-back:disabled {
    cursor: not-allowed;
    color: #9ca8ba;
}

#rc-form .rc-next {
    border: none;
    background: #0f1729;
    color: #ffffff;
    border-radius: 16px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    min-width: 190px;
    height: 64px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 14px 24px rgba(8, 26, 61, 0.22);
    transition: transform 0.15s ease, background-color 0.2s ease;
}

#rc-form .rc-next:hover {
    transform: translateY(-1px);
    background: #323948;
}

#rc-form .rc-next svg {
    width: 16px;
    height: 16px;
}

#rc-form .rc-next:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

#rc-form .rc-hidden {
    display: none !important;
}

#rc-form #rc-loader {
    width: 100%;
    display: none;
    min-height: 520px;
    align-items: flex-start;
    justify-content: center;
    padding: 112px 0 24px;
}

#rc-form #rc-loader.is-open {
    display: flex;
}

#rc-form .rc-loader-content {
    width: min(100%, 900px);
    background: transparent;
    border: none;
    padding: 0;
    text-align: center;
    box-shadow: none;
}

#rc-form .rc-loader-spinner {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 26px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(10, 24, 52, 0.2);
}

#rc-form .rc-loader-spinner::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 5px solid #0c1a36;
    border-right-color: transparent;
    border-radius: 50%;
    animation: rc-spin 0.95s linear infinite;
}

#rc-form .rc-loader-content h3 {
    margin: 0;
    color: #0f1729;
    font-size: 26px;
    line-height: 30px;
    letter-spacing: -0.02em;
    font-weight: 800;
}

#rc-form .rc-loader-list {
    margin: 18px auto 0;
    /* padding-left: 26px; */
    padding: 0;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#rc-form .rc-loader-line {
    font-family: inter, Sans-serif;
    font-weight: 500;
    color: #5c6f8d;
    font-size: 14px;
    line-height: 20px;
    margin: 3px 0;
    opacity: 0.68;
    transition: opacity 0.24s ease, color 0.24s ease;

    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.24s ease,
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

#rc-form .rc-loader-line.is-active {
    color: #000000;
    opacity: 1;
    transform: translateX(0);
}


#rc-form #rc-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000000cc;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#rc-form #rc-popup.is-open {
    display: flex;
}

/* #rc-form .rc-popup-content {
    width: min(100%, 448px);
    background: #ffffff;
    border-radius: 24px;
    padding: 22px 25px 14px;
    border: 1px solid #dbe2ec;
    box-shadow: 0 18px 36px rgba(5, 20, 45, 0.2);
    width: 100%;
    max-width: 448px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    box-sizing: border-box;
    background-clip: padding-box;
}

#rc-form .rc-popup-content::-webkit-scrollbar {
    width: 6px;
}

#rc-form .rc-popup-content::-webkit-scrollbar-thumb {
    background: #e5e6e9;
    border-radius: 10px;
}

#rc-form .rc-popup-content::-webkit-scrollbar-track {
    background: transparent;
}


#rc-form .rc-popup-content::-webkit-scrollbar-thumb:hover {
    background-color: #dadadb;
} */


#rc-form .rc-popup-content {
    width: 100%;
    max-width: 448px;
    max-height: calc(100vh - 80px);
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #dbe2ec;
    box-shadow: 0 18px 36px rgba(5, 20, 45, 0.2);
    overflow: hidden;
}

#rc-form .rc-popup-scroll {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 22px 25px 14px;
    box-sizing: border-box;
}

/* SCROLLBAR */

#rc-form .rc-popup-scroll::-webkit-scrollbar {
    width: 6px;
}

#rc-form .rc-popup-scroll::-webkit-scrollbar-track {
    margin-block: 16px;
    background: transparent;
}

#rc-form .rc-popup-scroll::-webkit-scrollbar-thumb {
    background: #e5e6e9;
    border-radius: 999px;
}

#rc-form .rc-popup-scroll::-webkit-scrollbar-thumb:hover {
    background: #dadadb;
}

#rc-form .rc-popup-lock {
    width: 48px;
    height: 48px;
    margin: 2px auto 16px;
    border-radius: 14px;
    background: #091b40;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 18px rgba(8, 26, 61, 0.25);
}

#rc-form .rc-popup-content h3 {
    margin: 0;
    font-family: inter, Sans-serif;
    color: #0f1729;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
}

#rc-form .rc-popup-subtitle {
    margin: 10px 0 6px 0;
    font-family: inter, Sans-serif;
    color: #677183;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    line-height: 20px;
}

#rc-form .rc-popup-grid {
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

#rc-form .rc-field label {
    display: block;
    margin-bottom: 6px;
    color: #0f1729;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

#rc-form .rc-popup-grid input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    padding: 9px 12px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #677183;
    background: #fcfdff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#rc-form .rc-popup-grid input:focus {
    outline: none;
    border-color: #3f57ff;
    box-shadow: 0 0 0 2px rgba(63, 87, 255, 0.22);
}

#rc-form .rc-popup-grid input.is-invalid {
    border-color: #d63939;
    box-shadow: 0 0 0 2px rgba(214, 57, 57, 0.18);
}

#rc-form .rc-popup-grid input::placeholder {
    color: #8793a6;
}

#rc-form .rc-field-error {
    min-height: 0px;
    margin: 0px 0px 0;
    color: #d63939;
    font-size: 13px;
    line-height: 1.3;
}

#rc-form .rc-form-error {
    color: #b42318;
    /* min-height: 20px; */
    margin: 8px 0 0;
    font-size: 13px;
    text-align: left;
}

#rc-form .rc-popup-actions {
    display: flex;
    margin-top: 6px;
}

#rc-form .rc-popup-actions .rc-next {
    width: 100%;
    min-width: 100%;
    border-radius: 14px;
    background: linear-gradient(180deg, #9da4b0 0%, #8e96a3 100%);
    box-shadow: none;
    font-size: 14px;
    padding: 12px 24px;
    height: auto;
}

#rc-form .rc-popup-actions .rc-next:hover {
    background: linear-gradient(180deg, #8f98a6 0%, #818a98 100%);
}

#rc-form .rc-popup-note {
    margin: 12px 0 0;
    text-align: center;
    color: #677183;
    font-size: 12px;
}




@media (min-width: 993px) and (max-width: 1023px) {
    #rc-form .rc-popup-grid {
        margin-top: 15px;
    }

    #rc-form .rc-card .rc-step-heading {
        font-size: 30px;
        line-height: 38px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    #rc-form .rc-popup-grid {
        margin-top: 20px;
        /* max-height: 300px;
        overflow-y: auto;
        overflow-x: hidden; */
        padding: 0 10px 0 7px;
    }

    #rc-form .rc-card .rc-step-heading {
        font-size: 26px;
        line-height: 34px;
    }
}


@media (max-width: 768px) {
    #rc-form.rc-calculator {
        margin: 0 auto;
        border-radius: 16px;
    }

    #rc-form .rc-progress-meta {
        font-size: 14px;
    }

    #rc-form .rc-card {
        padding: 24px 18px;
    }

    #rc-form .rc-card h2 {
        font-size: 34px;
    }

    #rc-form .rc-card p {
        font-size: 16px;
    }

    #rc-form .rc-input-wrap input {
        /* height: 76px; */
        font-size: 36px;
        line-height: 46px;
        padding-right: 100px;
    }
    #rc-form .rc-input-wrap input[type="range"] {
        padding-right: 0px;
    }


    #rc-form .rc-unit {
        right: 16px;
        font-size: 14px;
        line-height: 20px;
    }

    #rc-form .rc-next {
        min-width: 160px;
        height: 56px;
        font-size: 14px;
    }

    #rc-form .rc-back {
        font-size: 14px;
    }

    #rc-form .rc-loader-content {
        width: min(100%, 620px);
    }

    #rc-form .rc-loader-spinner {
        width: 50px;
        height: 50px;
        margin-bottom: 18px;
    }

    #rc-form .rc-loader-content h3 {
        font-size: 24px;
        line-height: 32px;
    }

    #rc-form .rc-loader-list {
        margin-top: 14px;
        max-width: 420px;
    }

    #rc-form .rc-loader-line {
        font-size: 14px;
        line-height: 20px;
    }

    #rc-form .rc-loader-line:nth-child(2) {
        margin-left: 16px;
    }

    #rc-form .rc-loader-line:nth-child(3) {
        margin-left: 32px;
    }

    #rc-form #rc-loader {
        min-height: 360px;
        padding-top: 40px;
    }

    #rc-form .rc-popup-content {
        /* padding: 18px 16px 12px; */
        border-radius: 20px;
    }

    #rc-form .rc-popup-content h3 {
        font-size: 24px;
        line-height: 32px;
    }

    #rc-form .rc-popup-subtitle {
        font-size: 14px;
        line-height: 20px;
    }

    #rc-form .rc-field label {
        font-size: 14px;
        line-height: 20px;
    }

    #rc-form .rc-popup-grid input {
        font-size: 14px;
        line-height: 20px;
    }

    #rc-form .rc-field-error {
        font-size: 12px;
    }

    #rc-form .rc-popup-actions .rc-next {
        font-size: 14px;
    }

    #rc-form .rc-popup-note {
        font-size: 15px;
    }

    #rc-form .rc-card .rc-step-heading {
        font-size: 24px;
        line-height: 32px;
    }

    #rc-form .rc-popup-grid {
        margin-top: 20px;
        /* max-height: 250px;
        overflow-y: auto;
        overflow-x: hidden; */
        padding: 0 10px 0 7px;
    }

    #rc-form .rc-popup-grid::-webkit-scrollbar {
        width: 6px;
    }

    #rc-form .rc-popup-grid::-webkit-scrollbar-track {
        background: transparent;
    }

    #rc-form .rc-popup-grid::-webkit-scrollbar-thumb {
        background-color: #e5e6e9;
        border-radius: 10px;
    }

    #rc-form .rc-popup-grid::-webkit-scrollbar-thumb:hover {
        background-color: #dadadb;
    }
}

@media (max-width: 575px) {
    #rc-form .rc-popup-grid {
        margin-top: 20px;
        /* max-height: 200px; */
    }

    #rc-form .rc-next {
        min-width: 140px;
        height: 48px;
    }
}

@keyframes rc-spin {
    to {
        transform: rotate(360deg);
    }
}





#rc-form #rc_submit_lead {

    background: #a0a7b4;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

#rc-form #rc_submit_lead.is-ready {

    background: #000000;
}

#rc-form input[type="number"]::-webkit-outer-spin-button,
#rc-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#rc-form input[type="number"] {
    -moz-appearance: textfield;
}

#rc-form .rc-next.is-disabled {

    opacity: 0.5;

    cursor: not-allowed;

    pointer-events: none;
}



/* =========================
   PREMIUM RANGE UI
========================= */

#rc-form .rc-range-ui {

    margin-top: 30px;
}

#rc-form .rc-range-top {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 28px;

    gap: 20px;
}

#rc-form .rc-range-value {

    display: flex;

    align-items: flex-end;

    gap: 6px;
}

#rc-form .rc-range-number {
    font-size: 64px;
    line-height: 1;
    font-weight: 700;
    color: #635bff;
    letter-spacing: -0.04em;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-image: linear-gradient(135deg, hsl(234 89% 60%), hsl(265 85% 62%) 55%, hsl(28 95% 58%));
}

#rc-form .rc-range-symbol {

    font-size: 24px;

    font-weight: 700;

    color: #677183;

    margin-bottom: 10px;
}

#rc-form .rc-range-label {

    font-size: 15px;

    line-height: 22px;

    color: #677183;

    /* max-width: 200px; */

    text-align: right;
}

/* TRACK */

#rc-form .rc-range {

    width: 100%;

    height: 10px;

    border-radius: 999px;

    appearance: none;

    -webkit-appearance: none;

    background: linear-gradient(
        to right,
        #0b1533 0%,
        #0b1533 70%,
        #e7ebf0 70%,
        #e7ebf0 100%
    );

    outline: none;

    cursor: pointer;
}

/* THUMB */

#rc-form .rc-range::-webkit-slider-thumb {

    -webkit-appearance: none;

    width: 24px;

    height: 24px;

    border-radius: 50%;

    background: #ffffff;

    border: 3px solid #0b1533;

    cursor: pointer;

    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

#rc-form .rc-range::-moz-range-thumb {

    width: 24px;

    height: 24px;

    border-radius: 50%;

    background: #ffffff;

    border: 3px solid #0b1533;

    cursor: pointer;

    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

/* MIN MAX */

#rc-form .rc-range-values {

    margin-top: 16px;

    display: flex;

    justify-content: space-between;

    color: #677183;

    font-size: 15px;

    font-weight: 500;
}

#rc-form .rc-input-hidden input[type="number"],
#rc-form .rc-input-hidden .rc-unit {

    display: none;
}







/* =====start css 08-05-2026-may===page revenue-calculator===== */

.sec-revenue-calculator{
  width: auto;
}

.sec-revenue-calculator .losing{
    background: linear-gradient(
        135deg,
        hsl(234, 89%, 60%),
        hsl(265, 85%, 62%) 55%,
        hsl(28, 95%, 58%)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sec-revenue-calculator .revenue{
  font-weight: bold;
  color: #222222;
}

.sec-revenue-calculator .rupee-bg{
  display: flex;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 7px !important;
  background: #ffffff;
  box-shadow: 0px 0px 1px #bbbbbb;
  border-radius: 8px;
}
/* =====end css 08-05-2026-may===page revenue-calculator===== */