/* ===========================================================
   ESTILOS PARA EVENTOS PRIVADOS - LISTA DE CONVIDADOS
   =========================================================== */

/* Aviso de evento privado */
.private-event-notice {
    background: #00ae9d;
    color: #FFF;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 25px;
    animation: slideDown 0.4s ease-out;
}

.private-event-notice p {
    margin: 5px 0;
    line-height: 1.5;
}

.private-event-notice strong {
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

/* Convidado encontrado */
.convidado-found-notice {
    background: #61c032;
    color: #FFF;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 25px;
    animation: slideDown 0.4s ease-out;
}

.convidado-found-notice p {
    margin: 5px 0;
    line-height: 1.5;
}

.convidado-found-notice strong {
    font-size: 1.1em;
}

/* Animação de entrada */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading no campo CPF */
#cpf.loading {
    background-image: linear-gradient(
        90deg,
        #f0f0f0 0%,
        #e0e0e0 50%,
        #f0f0f0 100%
    );
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .private-event-notice,
    .convidado-found-notice {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .private-event-notice strong,
    .convidado-found-notice strong {
        font-size: 1em;
    }
    
    .form-group.cpf-only-mode input {
        font-size: 1.1em;
        padding: 15px 12px;
    }
}

/* Transições suaves */
.form-group {
    transition: all 0.3s ease;
}