:root {
    --valve-flowing-color: rgba(0, 153, 0, 0.65);
    --valve-shut-in-color: rgba(204, 0, 0, 0.65);
    --valve-all-color: #646464;
    --nav-height: 80px;
    --footer-height: 60px;
    --vft-color: #3b9968;
}
td {
    padding-right: 25px;
}
.form-check-input:focus,
.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0.1rem 0.2rem rgba(40, 167, 69, 0.1);
}
.util-button {
    display: inline-block;
    align-items: center;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #000;
    padding: 0.25rem 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.25rem;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-weight: 500;
}

    .util-button:hover {
        background-color: #F9FAFB;
    }

    .util-button .icon {
        margin-right: 0.25rem;
    }

.util-button-disabled {
    background-color: #e0e0e0;
    display: inline-block;
    align-items: center;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.25rem;
    cursor: default;
    transition: background-color 0.2s ease;
    font-weight: 500;
}

.util-button-blue {
    background-color: #3498db;
    display: inline-block;
    align-items: center;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-weight: 500;
}

    .util-button-blue:hover {
        background-color: #1475b6;
    }

    .util-button-blue .icon {
        margin-right: 0.25rem;
    }

.util-button-primary {
    background-color: #484848;
    display: inline-block;
    align-items: center;
    white-space: nowrap;
    font-size: 0.875rem;
    color: white;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(27, 31, 35, 0.15);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-weight: 500;
}

    .util-button-primary:hover {
        background-color: #474747;
    }

    .util-button-primary .icon {
        margin-right: 0.25rem;
    }

.util-button-danger {
    background-color: #d52727;
    display: inline-block;
    align-items: center;
    white-space: nowrap;
    font-size: 0.875rem;
    color: white;
    padding: 0.25rem 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-weight: 500;
}

    .util-button-danger:hover {
        background-color: #ba2424;
    }

    .util-button-danger .icon {
        margin-right: 0.25rem;
    }

.util-button-green {
    background-color: #3b9968;
    display: inline-block;
    align-items: center;
    white-space: nowrap;
    font-size: 0.875rem;
    color: white;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(27, 31, 35, 0.15);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-weight: 500;
}

    .util-button-green:hover {
        background-color: #389464;
    }

    .util-button-green .icon {
        margin-right: 0.25rem;
    }

.color-rectangle {
    width: 50%;
    height: 10px;
    border: 1px solid black;
}

.custom-loader {
    width: 16px;
    height: 16px;
    display: grid;
    border-radius: 50%;
    -webkit-mask: radial-gradient(farthest-side,#0000 40%,#000 41%);
    background: linear-gradient(0deg,#1F6A4780 50%,#1F6A47FF 0) center/2px 100%, linear-gradient(90deg,#1F6A4740 50%,#1F6A47BF 0) center/100% 2px;
    background-repeat: no-repeat;
    animation: s3 1s infinite steps(12);
}

    .custom-loader::before,
    .custom-loader::after {
        content: "";
        grid-area: 1/1;
        border-radius: 50%;
        background: inherit;
        opacity: 0.915;
        transform: rotate(30deg);
    }

    .custom-loader::after {
        opacity: 0.83;
        transform: rotate(60deg);
    }

@keyframes s3 {
    100% {
        transform: rotate(1turn)
    }
}

.pill-container {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 10px; /* 1/8 of the pill width */
}


.chart-button {
    background-color: white;
    border: none;
    padding: 0.4rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    color: black;
    text-wrap: nowrap;
}

    .chart-button:hover {
        background-color: #1d1e1f0e;
        cursor: pointer;
        color: black;
    }

.chart-nav .chart-button {
    border: none;
    position: relative;
    display: inline-block;
    color: #212529;
}

.tab-area-open .chart-nav .chart-button.active::after {
    content: "";
    display: block;
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2.5px;
    background: #000;
    border-radius: 0;
}

.chart-select {
    border: none;
}


.alert-overlay {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

input[type="checkbox"].btn-check:checked + .util-button {
    border-color: #2a9b61;
    background-color: #e3f7eb;
    color: #023319;
}

.chart-button.form-select:focus {
  box-shadow: none !important; /* removes Bootstrap focus glow */
  outline: none;               /* optional: removes the outline too */
}