
/* =========================================
   NOCQUA RUNTIME CALCULATOR
========================================= */

.nocqua-runtime-calculator {
    width: 100%;
    padding: 65px 25px;
    border-radius: 10px;
    color: #ffffff;
    background:
        radial-gradient(
            ellipse at 80% 50%,
            rgba(31, 104, 132, 0.45),
            transparent 55%
        ),
        linear-gradient(
            120deg,
            #061e27 0%,
            #092d3a 55%,
            #0d4055 100%
        );
    font-family: inherit;
    overflow: hidden;
    box-sizing: border-box;
}

.nocqua-runtime-calculator *,
.nocqua-runtime-calculator *::before,
.nocqua-runtime-calculator *::after {
    box-sizing: border-box;
}

.nocqua-rc-container {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

/* =========================================
   LEFT INFORMATION SECTION
========================================= */

.nocqua-rc-info {
    max-width: 440px;
}

.nocqua-rc-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #c3d0d5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.nocqua-rc-eyebrow span {
    display: inline-block;
    width: 22px;
    height: 2px;
    background: #60c8ed;
}

.nocqua-rc-info h2 {
    color: #ffffff;
    font-size: clamp(27px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.nocqua-rc-info p {
    color: #c4d1d6;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 15px;
}

.nocqua-rc-info .nocqua-rc-note {
    margin-top: 22px;
    color: #94aeb9;
    font-size: 13px;
}

/* =========================================
   CALCULATOR PANEL
========================================= */

.nocqua-rc-calculator {
    position: relative;
    padding: 45px 27px 25px;
    border: 1px solid rgba(102, 194, 226, 0.25);
    border-radius: 22px;
    background: rgba(20, 54, 66, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.nocqua-rc-drag-label {
    position: absolute;
    top: -17px;
    right: 20px;
    padding: 9px 18px;
    border-radius: 30px;
    background: #a0e4f8;
    color: #123746;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 0 18px rgba(100, 207, 244, 0.3);
}

.nocqua-rc-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.nocqua-rc-slider-header > span {
    color: #79cce9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.nocqua-rc-amp-value {
    color: #ffffff;
    font-size: 27px;
    font-weight: 800;
    white-space: nowrap;
}

/* =========================================
   RANGE SLIDER
========================================= */

.nocqua-rc-slider-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

.nocqua-rc-slider {
    display: block;
    width: 100%;
    height: 9px;
    margin: 0;
    padding: 0 !important;
    border: none !important;
    border-radius: 20px !important;
    outline: none;
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    background: linear-gradient(
        to right,
        #49b8e9 0%,
        #49b8e9 var(--range-progress, 40%),
        #425c66 var(--range-progress, 40%),
        #425c66 100%
    ) !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* Chrome / Safari thumb */

.nocqua-rc-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 27px;
    height: 27px;
    border: 4px solid #52c7f3;
    border-radius: 50%;
    background:
        linear-gradient(
            to right,
            #52bde8 0px,
            #52bde8 2px,
            transparent 2px,
            transparent 5px,
            #52bde8 5px,
            #52bde8 7px
        ) center center / 7px 10px no-repeat,
        #d5f5ff;
    box-shadow:
        0 0 0 7px rgba(77, 193, 239, 0.18),
        0 0 15px rgba(77, 193, 239, 0.45);
    cursor: grab;
}

/* Firefox thumb */

.nocqua-rc-slider::-moz-range-thumb {
    width: 19px;
    height: 19px;
    border: 4px solid #52c7f3;
    border-radius: 50%;
    background: #d5f5ff;
    box-shadow:
        0 0 0 7px rgba(77, 193, 239, 0.18);
    cursor: grab;
}

/* Slider thumb hover animation */

/* Chrome / Safari */
.nocqua-rc-slider::-webkit-slider-thumb {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nocqua-rc-slider:hover::-webkit-slider-thumb {
    transform: scale(1.25);
    box-shadow:
        0 0 0 10px rgba(77, 193, 239, 0.22),
        0 0 22px rgba(77, 193, 239, 0.75);
}

/* Firefox */
.nocqua-rc-slider::-moz-range-thumb {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nocqua-rc-slider:hover::-moz-range-thumb {
    transform: scale(1.25);
    box-shadow:
        0 0 0 10px rgba(77, 193, 239, 0.22),
        0 0 22px rgba(77, 193, 239, 0.75);
}

.nocqua-rc-slider:focus-visible {
    outline: 2px solid #a0e4f8;
    outline-offset: 7px;
}

.nocqua-rc-slider-limits {
    display: flex;
    justify-content: space-between;
    margin-top: 17px;
    color: #9aabb1;
    font-size: 10px;
}

/* =========================================
   PRESET BUTTONS
========================================= */

.nocqua-rc-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.nocqua-rc-preset {
    min-width: 48px;
    padding: 8px 12px;
    border: 1px solid #376a7d;
    border-radius: 25px;
    background: rgba(34, 91, 112, 0.35);
    color: #8bd8f1;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nocqua-rc-preset:hover {
    border-color: #8bd8f1;
    background: rgba(72, 170, 207, 0.25);
    color: #ffffff;
}

.nocqua-rc-preset.active {
    border-color: #a4e7fa;
    background: #a4e7fa;
    color: #123746;
    box-shadow: 0 0 15px rgba(100, 207, 244, 0.2);
}

/* =========================================
   BATTERY RESULTS
========================================= */

.nocqua-rc-results {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.nocqua-rc-battery {
    width: 100%;
}

.nocqua-rc-battery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.nocqua-rc-battery-header strong {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.nocqua-rc-runtime {
    color: #a5e8fc;
    font-size: 20px;
    font-weight: 800;
    text-align: right;
}

.nocqua-rc-progress-track {
    height: 14px;
    width: 100%;
    overflow: hidden;
    border: 1px solid #47798b;
    border-radius: 6px;
    background: rgba(2, 22, 30, 0.5);
}

.nocqua-rc-progress-bar {
    position: relative;
    height: 100%;
    width: 0;
    border-radius: 5px;
    background: linear-gradient(
        90deg,
        #35aee0,
        #83dcfa
    );
    box-shadow: 0 0 12px rgba(70, 193, 238, 0.5);
    transition: width 0.35s ease;
    overflow: hidden;
}

.nocqua-rc-progress-bar span {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent 11px,
        rgba(255, 255, 255, 0.35) 12px,
        rgba(255, 255, 255, 0.35) 13px
    );
}

/* =========================================
   DISCLAIMER
========================================= */

.nocqua-rc-disclaimer {
    margin: 24px 0 0;
    color: #8faab4;
    font-size: 10px;
    line-height: 1.6;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media screen and (max-width: 900px) {

    .nocqua-rc-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .nocqua-rc-info {
        max-width: 650px;
    }

    .nocqua-rc-calculator {
        width: 100%;
    }

}

@media screen and (max-width: 600px) {

    .nocqua-runtime-calculator {
        padding: 55px 16px 45px;
    }

    .nocqua-rc-container {
        gap: 35px;
    }

    .nocqua-rc-info h2 {
        font-size: 29px;
    }

    .nocqua-rc-info p {
        font-size: 13px;
    }

    .nocqua-rc-calculator {
        padding: 40px 17px 22px;
        border-radius: 16px;
    }

    .nocqua-rc-slider-header > span {
        font-size: 9px;
    }

    .nocqua-rc-amp-value {
        font-size: 23px;
    }

    .nocqua-rc-presets {
        gap: 6px;
    }

    .nocqua-rc-preset {
        min-width: 43px;
        padding: 8px 10px;
        font-size: 10px;
    }

    .nocqua-rc-runtime {
        font-size: 17px;
    }

    .nocqua-rc-battery-header strong {
        font-size: 11px;
    }

    .nocqua-rc-results {
        gap: 20px;
    }

}
