﻿.pdv-quantidade-host {
    position: relative;
}

.pdv-quantidade-loading {
    opacity: 0.65;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.pdv-quantidade-feedback {
    position: absolute;
    top: 50%;
    right: 40.5%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}

.pdv-quantidade-spinner {
    width: 28px;
    height: 28px;
    border: 2px solid rgba(0, 0, 0, 0.25);
    border-top-color: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
    animation: pdvQuantidadeSpin 0.7s linear infinite;
}

.pdv-quantidade-check {
    font-size: 22px;
    line-height: 1;
    opacity: 0;
    transform: scale(0.85);
    animation: pdvQuantidadeCheckIn 0.2s ease forwards;
}

.pdv-quantidade-check--ok {
    color: #198754;
}

.pdv-quantidade-check--erro {
    color: #dc3545;
}

@keyframes pdvQuantidadeSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pdvQuantidadeCheckIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
