html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.form-check-input-pontos:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/* ===============================
   TOGGLE MOSTRAR PONTOS
   =============================== */

.indicator-card__toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.indicator-card__toggle-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .indicator-card__toggle-text h3 {
        margin: 0;
    }

.indicator-card__subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
}

.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
        position: absolute;
    }

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background-color: #bfbfbf;
    border-radius: 999px;
    transition: 0.2s ease;
}

    .slider::before {
        content: "";
        position: absolute;
        width: 18px;
        height: 18px;
        left: 3px;
        top: 3px;
        background-color: #ffffff;
        border-radius: 50%;
        transition: 0.2s ease;
    }

.switch input:checked + .slider {
    background-color: #22c55e;
}

    .switch input:checked + .slider::before {
        transform: translateX(18px);
    }
