/* Estilos para reCAPTCHA Badge y Avisos */

/* Aviso de reCAPTCHA en formularios */
.recaptcha-notice {
    text-align: center;
 padding: 1rem;
    background-color: #f8f9fa;
  border-radius: 8px;
    border: 1px solid #d4d2c8;
    margin-top: 1rem;
 transition: opacity 0.3s ease;
}

/* Aviso de advertencia (cuando faltan claves) */
.recaptcha-notice.warning {
    background-color: #fff3cd;
    border-color: #ffc107;
}

.recaptcha-notice i.fa-shield-alt {
 color: #323176;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.recaptcha-notice i.fa-exclamation-triangle {
    color: #856404;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.recaptcha-notice small {
    display: block;
    line-height: 1.6;
    color: #6c757d;
}

.recaptcha-notice small.text-warning {
    color: #856404;
}

.recaptcha-notice small code {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
}

.recaptcha-notice a {
    color: #323176;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.recaptcha-notice a:hover {
    color: #ff6b35;
    text-decoration: underline;
}

/* Badge flotante de Google reCAPTCHA (personalización) */
.grecaptcha-badge {
    z-index: 9998 !important;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .recaptcha-notice {
   padding: 0.75rem;
    }

  .recaptcha-notice small {
   font-size: 0.8rem;
    }

    .grecaptcha-badge {
        bottom: 14px !important;
 right: -6px !important;
transform: scale(0.9);
    }
}

/* Estado oculto */
.recaptcha-notice[style*="display: none"] {
    display: none !important;
}

/* Animación suave al mostrar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recaptcha-notice {
    animation: fadeIn 0.3s ease;
}
