/* TrustDyne Turnstile Widget Styles */

.turnstile-container {
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #f9f9f9;
}

.cf-turnstile {
    display: inline-block !important;    /* ширина подстраивается, высота берётся у iframe */
    width: 100% !important;
    overflow: hidden !important;         /* прячем всё, что выходит наружу */
}

.cf-turnstile iframe {
    width: 100% !important;
    border: none !important;   /* всё остальное оставляем по умолчанию Cloudflare */
}
.cf-turnstile > div:not(:last-child) {
    display: none !important; /* скрываем все placeholder DIV, оставляем только финальный с iframe */
}

/* Стили для контейнера в форме */
.input-wrap .turnstile-container,
.form-col .turnstile-container {
    overflow: visible !important;
    margin: 15px 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    /* для маленьких экранов Cloudflare сам сделает compact, поэтому ограничение не нужно */
} 