html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
}

a {
    color: #0077cc;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.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;
}


.password-field {
    position: relative;
}

    .password-field .form-control {
        padding-right: 2.75rem;
    }

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 0.85rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    z-index: 5;
}

    .password-toggle-btn:hover,
    .password-toggle-btn:focus {
        color: #212529;
        outline: none;
    }

.password-eye-icon {
    display: block;
    width: 20px;
    height: 20px;
}

.password-field {
    position: relative;
    overflow: visible;
}

.password-caps-warning {
    position: absolute;
    left: 0;
    top: calc(100% + 0.25rem);
    z-index: 20;
    width: max-content;
    max-width: 100%;
    padding: 0.3rem 0.5rem;
    border-radius: 0.45rem;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    box-shadow: 0 0.35rem 0.8rem rgba(15, 23, 42, 0.12);
    pointer-events: none;
}

    .password-caps-warning.d-none {
        display: none !important;
    }

.pedido-sugestao {
    min-width: 130px;
    text-align: left;
    font-size: 0.78rem;
}

.pedido-sugestao-vazia {
    color: #6c757d;
    text-align: center;
    font-style: italic;
}

.pedido-sugestao-topo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.pedido-sugestao-valor {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-weight: 700;
    white-space: nowrap;
}

.pedido-sugestao-aplicar {
    padding: 0.12rem 0.4rem;
    font-size: 0.72rem;
    line-height: 1.1;
}

.pedido-sugestao-detalhes {
    margin-top: 0.25rem;
    color: #475569;
}

    .pedido-sugestao-detalhes summary {
        cursor: pointer;
        color: #64748b;
        font-size: 0.72rem;
        text-align: center;
    }