.honeycatch {
    position: relative;
    margin: 1rem 0;
    padding: 0.75rem 1rem !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    max-width: 350px;
}

/* État de chargement */
.honeycatch--loading {
    border-color: rgba(0, 123, 255, 0.3);
    background: rgba(0, 123, 255, 0.05);
}

/* État validé - encart vert avec icône */
.honeycatch--solved {
    /*border-color: #28a745;
    background: #d4edda;*/
}

.honeycatch--solved .honeycatch__status {
    font-size: 0.9em;
}

.honeycatch--solved .honeycatch__status::before {
    content: "✓ ";
    font-weight: bold;
    margin-right: 0.25rem;
}

/* État d'erreur - encart rouge */
.honeycatch--error {
    border-color: #dc3545;
    background: #f8d7da;
    padding: 0.5em;
}

.honeycatch--error .honeycatch__status {
    color: #721c24;
    font-weight: 600;
}

.honeycatch--error .honeycatch__status::before {
    content: "✗ ";
    font-weight: bold;
    margin-right: 0.25rem;
}

.honeycatch__label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.honeycatch__status {
    margin: 0;
    font-size: 0.875rem;
}

.honeycatch__spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-top-color: rgba(0, 0, 0, 0.45);
    animation: honeycatch-spin 1s linear infinite;
    margin-top: 0.5rem;
}

.honeycatch--solved .honeycatch__spinner {
    display: none;
}

.honeycatch__honeypot-label {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.honeycatch__honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: block !important;
}

.honeycatch__noscript {
    color: #b81c1c;
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
}

/* Gravity Forms - forcer le conteneur parent en flex column */
.gform_footer,
.gform_page_footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
}

.gform_footer .honeycatch,
.gform_page_footer .honeycatch {
    width: 100%;
    max-width: 600px;
}

@keyframes honeycatch-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
