/*
 * Custom CSS — NOT managed by Tailwind.
 * These rules were previously embedded in output.css and got deleted
 * when Tailwind was rebuilt. Now they live here permanently.
 *
 * DO NOT put these in output.css — Tailwind rebuild will delete them.
 */

/* ── Speed test gauge / canvas ─────────────────────── */
.circle-height {
    margin-top: -100px;
}

div.testArea {
    display: inline-block;
    width: 18em;
    height: 16.5em;
    position: relative;
    box-sizing: border-box;
}

.aspect-ratio {
    height: 0;
    padding-bottom: 50%;
}

.btn-gradient-1 {
    border-width: 2px;
    border-style: solid;
    border-radius: 50em;
    -o-border-image: linear-gradient(to right, #00e9bf, #7fd13a) 1;
    border-image: linear-gradient(to right, #00e9bf, #7fd13a) 1;
}

.header-height {
    max-height: 300px;
    overflow-x: auto;
    scrollbar-width: thin;
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #4caf50;
    transform-origin: left bottom;
    transform: rotate(-180deg);
}

.px-both {
    padding-left: 15px;
    padding-right: 15px;
}

/* ── Running speed page layout ─────────────────────── */
.running-speed-container {
    margin-left: auto;
    margin-right: auto;
    width: 95%;
}

.toggle-dropDown {
    visibility: visible;
    transition: color, background-color, border-color,
        text-decoration-color, fill, stroke, opacity, box-shadow, transform,
        filter, backdrop-filter;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* SVG gradient stops */
.stop1 { stop-color: #7fd13a; }
.stop2 { stop-color: #00e9bf; }

/* ── Responsive overrides ──────────────────────────── */
@media (min-width: 640px) {
    div.testArea {
        width: 22em;
        height: 20.5em;
    }
}

@media (min-width: 1024px) {
    .circle-height {
        margin-top: 0px;
    }
    .running-speed-container {
        width: 1400px;
    }
    .running-speed-providers {
        display: none;
    }
}
