/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License version 3.0
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 */

.zw-captcha-block {
    display: flex;
    align-items: center;
    gap: 0.5em;
    flex-wrap: nowrap;
}

.zw-captcha-refresh-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.zw-captcha-refresh-btn:focus,
.zw-captcha-refresh-btn:active {
    outline: none;
    box-shadow: none;
}

.zw-captcha-refresh-btn:hover .zw-captcha-refresh {
    color: #0056b3;
}

.zw-captcha-refresh {
    font-size: 24px;
    transition: color 0.3s ease;
}

.zw-captcha-block i,
.zw-captcha-image {
    align-self: center;
}

.zw-captcha-image {
    width: 8em;
    height: auto;
}

.zw-captcha-input {
    flex: 1 1 auto;
    max-width: 100%;
    min-width: 0 !important;
    box-sizing: border-box;
}

.zw-captcha-fields-registration-form {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.zw-captcha-bottom-row {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

@media (min-width: 768px) {
    .contact-form .offset-md-3 .zw-captcha-title {
        margin-left: -25%;
    }
}

@media (max-width: 576px) {
    .zw-captcha-block {
        flex-wrap: wrap;
    }

    .zw-captcha-input {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 5em;
        margin-top: 0.5em;
    }
}