/**
* 2007-2026 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* 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.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2026 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/* ---------------------------------------------------------------
   fmmfraudprotector — front captcha widget alignment.
   Adds breathing room between the form and the captcha and aligns
   the captcha block with the input column on the Classic theme grid
   (used by login, register and contact templates).
   --------------------------------------------------------------- */
.fmm-fp-captcha-widget {
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
    clear: both;
}

.fmm-fp-captcha-widget .g-recaptcha {
    display: inline-block;
    max-width: 100%;
}

.fmm-fp-captcha-widget .g-recaptcha > div {
    max-width: 100%;
}

/* Mobile / narrow screens: keep the captcha tidy and centred. */
@media (max-width: 767.98px) {
    .fmm-fp-captcha-widget {
        text-align: center;
    }
}

/* Desktop / tablet: align the captcha with the input column.
   PrestaShop Classic uses a 3/9 (login) or 3/6 (register, contact) grid
   where labels sit in col-md-3 (~25%). Mirroring that offset visually
   lines the captcha up under the inputs. */
@media (min-width: 768px) {
    .fmm-fp-captcha-widget {
        padding-left: 25%;
    }
}

/* Forms that don't use the Classic 3/x grid (e.g. checkout login, theme
   variants) — fall back to a centred captcha by clearing the offset. */
.no-account .fmm-fp-captcha-widget,
#checkout .fmm-fp-captcha-widget,
.checkout-step .fmm-fp-captcha-widget {
    padding-left: 0;
    text-align: center;
}
