/* ==========================================================================
   TrueOps EU - Recovery Estimator slider
   Namespaced with .azzeu- so it can never collide with the original TrueOps
   widget styles. All assets are local; no third-party CDN is referenced.
   ========================================================================== */

.azzeu-wrap {
    --azzeu-c1: #00c4f0;
    --azzeu-c2: #9642f7;
    --azzeu-bg: #1a0f29;
    --azzeu-shield-w: 92px;

    font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--azzeu-bg);
    color: #fff;
    text-align: center;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 1rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 3.75rem 5rem;
    position: relative;
}

.azzeu-headline {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.15;
}

/* ---------- slider ------------------------------------------------------ */

/* Horizontal padding reserves room for the handle so it never overflows.
   .azzeu-rail is an in-flow child, so its width IS the usable travel -
   pointer maths and handle placement therefore share one coordinate space. */
.azzeu-slider {
    width: 100%;
    /* The handle is anchored to the rail but rises above it by 0.78 x its
       height, and the shield is 257/231 as tall as it is wide - so it
       overhangs the top of this box by ~0.87 x the shield width. Reserving
       that here keeps a real gap under the headline at any handle size,
       instead of letting the shield collide with the text. */
    margin-top: calc(var(--azzeu-shield-w) * 0.87 + 2rem);
    margin-bottom: 3.25rem;
    padding: 0 calc(var(--azzeu-shield-w) / 2);
    position: relative;
}

.azzeu-rail {
    position: relative;
    height: 2px;
    border-radius: 2px;
    background-color: rgba(245, 245, 245, .15);
    cursor: pointer;
}

.azzeu-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: 2px;
    background-image: linear-gradient(90deg, var(--azzeu-c1), var(--azzeu-c2));
    pointer-events: none;
}

.azzeu-endpoint {
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background-color: whitesmoke;
}

.azzeu-endpoint--min { left: -3px; }
.azzeu-endpoint--max { right: -3px; }

.azzeu-limit {
    position: absolute;
    top: 100%;
    transform: translateY(18px);
    color: #f5f5f5bf;
    letter-spacing: .75px;
    font-size: .6875rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid #ffffff26;
    border-radius: 40px;
    padding: .3rem .55rem;
}

.azzeu-limit--min { left: 0; transform: translate(-50%, 18px); }
.azzeu-limit--max { left: 100%; transform: translate(-50%, 18px); }

.azzeu-hint {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 20px);
    color: #f5f5f5bf;
    letter-spacing: .75px;
    text-transform: uppercase;
    font-size: .6875rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

/* ---------- handle ------------------------------------------------------ */

/* Positioned by its centre (translateX(-50%)) so `left` is the true value
   position - the JS never has to compensate for the handle's own width. */
.azzeu-handle {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--azzeu-shield-w);
    /* 78% == the white dot inside the shield, so the dot rides the rail */
    transform: translate(-50%, -78%);
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    line-height: 0;
}

.azzeu-handle:active { cursor: grabbing; }

.azzeu-handle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
    border-radius: 6px;
}

.azzeu-shield {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.azzeu-handle-img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

/* The value that changes while dragging - deliberately large and high
   contrast, this is the number people actually read. */
.azzeu-badge {
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.2px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .28);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    pointer-events: none;
}

/* ---------- result ------------------------------------------------------ */

.azzeu-result {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    column-gap: .5rem;
    row-gap: .25rem;
    font-size: 1.5rem;
}

.azzeu-result-label {
    color: var(--neutrals--neutrals-light-grey, #f5f5f5);
    opacity: .75;
}

.azzeu-result-range {
    display: inline-flex;
    align-items: baseline;
    column-gap: .5rem;
    color: #fff;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.azzeu-dash { opacity: .5; font-weight: 400; }

.azzeu-final {
    color: var(--neutrals--neutrals-light-grey, #f5f5f5);
    opacity: .75;
}

.azzeu-final:empty { display: none; }

/* ---------- CTA --------------------------------------------------------- */

.azzeu-cta { margin-top: 1rem; }

.azzeu-button {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    column-gap: .25rem;
    overflow: hidden;
    background-color: var(--azzeu-bg);
    color: whitesmoke;
    text-align: center;
    text-decoration: none;
    letter-spacing: -.18px;
    border-radius: 2.5rem;
    padding: 1rem 1rem 1rem 1.5rem;
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.5;
    transition: all .4s;
}

.azzeu-button-gradient {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(105deg, var(--azzeu-c1), var(--azzeu-c2));
}

.azzeu-button-sheen {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    z-index: 0;
    border-radius: 2.5rem;
    background-image: linear-gradient(90deg, var(--azzeu-c1) 50%, #ffffff00);
    transition: width .5s ease;
}

.azzeu-button:hover .azzeu-button-sheen { width: 150%; }

.azzeu-button-text { position: relative; color: #fff; }

.azzeu-button-arrow {
    position: relative;
    left: 0;
    opacity: .5;
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5rem;
    height: 1.5rem;
    transition: left .3s ease;
}

.azzeu-button:hover .azzeu-button-arrow { left: 5px; }

/* ---------- responsive -------------------------------------------------- */

@media (max-width: 1024px) {
    .azzeu-wrap { row-gap: .5rem; border-radius: 1rem; padding: 3rem; }
    .azzeu-headline { font-size: 2.25rem; }
}

@media (max-width: 767px) {
    .azzeu-wrap {
        --azzeu-shield-w: 78px;
        row-gap: .5rem;
        border-radius: 1rem;
        padding: 2rem;
    }
    .azzeu-headline { font-size: 1.75rem; }
    .azzeu-badge { font-size: 1rem; }
    .azzeu-result { font-size: 1.125rem; }
    .azzeu-slider { margin-bottom: 3rem; }
    .azzeu-hint { font-size: .625rem; }
}

/* Below ~620px the centred hint would collide with the min/max pills, so it
   drops underneath them instead of overprinting. */
@media (max-width: 620px) {
    .azzeu-slider { margin-bottom: 4.5rem; }

    .azzeu-hint {
        transform: translate(-50%, 48px);
        font-size: .625rem;
        letter-spacing: .4px;
        white-space: normal;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .azzeu-button, .azzeu-button-sheen, .azzeu-button-arrow { transition: none; }
}

/* SVG gradient stops - themed here rather than via presentation attributes,
   because var() is only reliable inside a genuine CSS declaration. */
.azzeu-shield .azzeu-stop-1 { stop-color: var(--azzeu-c1); }
.azzeu-shield .azzeu-stop-2 { stop-color: var(--azzeu-c2); }
