/**
 * Reset mínimo – layout e componentes usam Tailwind nas views
 * WebView: bloqueio de zoom via viewport; imagens estáveis e touch-action
 */
* {
    box-sizing: border-box;
}

/* WebView: reduzir gestos de zoom (mantém scroll e tap) */
html, body {
    touch-action: manipulation;
}

/* Imagens: proporção estável, sem esticamento ao navegar */
img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Bolinha vermelha piscando para indicar cadastro incompleto */
.cadastro-incompleto-badge {
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
    background-color: #ef4444 !important;
    border-radius: 50% !important;
    margin-left: 8px !important;
    animation: blinkRed 1s ease-in-out infinite !important;
    -webkit-animation: blinkRed 1s ease-in-out infinite !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 3px rgba(239, 68, 68, 0.4) !important;
    will-change: opacity, transform !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Posicionamento absoluto para badges em ícones */
.cadastro-incompleto-badge.absolute {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    margin-left: 0 !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 3px rgba(239, 68, 68, 0.5) !important;
    z-index: 20 !important;
}

@keyframes blinkRed {
    0% {
        opacity: 1;
        transform: scale(1);
        background-color: #ef4444;
    }
    50% {
        opacity: 0.3;
        transform: scale(0.75);
        background-color: #dc2626;
    }
    100% {
        opacity: 1;
        transform: scale(1);
        background-color: #ef4444;
    }
}

@-webkit-keyframes blinkRed {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
        background-color: #ef4444;
    }
    50% {
        opacity: 0.3;
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
        background-color: #dc2626;
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
        background-color: #ef4444;
    }
}