/**
 * Agillia
 *
 * @author    Agillia <contact@agillia.fr>
 * @copyright Copyright (c) Agillia
 * @license   Commercial / Proprietary
 *
 * @website   https://www.agillia.fr
 * MODULE COMMERCIAL - TOUS DROITS RÉSERVÉS / COMMERCIAL MODULE - ALL RIGHTS RESERVED
 * Support : support.prestashop@agillia.fr
 */
#module-agretractation-withdrawal #content-wrapper, #module-agretractation-success #content-wrapper{
    margin: 0 auto;
    max-width: 90%;
    width: 900px;
}
#module-agretractation-success .btn.btn-outline-primary.btn-with-icon{
    font-size: 14px;
    margin-top: 4px;
}
.agretractation-button-wrapper {
    margin: 10px 0;
}

.agretractation-button {
    display: inline-block;
    padding: 8px 16px;

    text-decoration: none;
    border: 1px solid currentColor;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

/* Survol : léger fond neutre, indépendant du thème, sans masquer le texte. */
.agretractation-button:hover {
    background-color: rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

/* Focus clavier visible (accessibilité). */
.agretractation-button:focus,
.agretractation-button:focus-visible {
    outline: 0px solid currentColor;
    outline-offset: 0px;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

/* Repli « vignette » de l'espace client (hook displayCustomerAccount). Reproduit, à faible
   spécificité, la mise en forme d'une vignette de compte pour les thèmes tiers qui ne stylent
   ni « .links a .link-item » (classic) ni « .customer-link__link » (thèmes récents). On ne pose
   que des propriétés déjà fournies par ces thèmes standard : leur sélecteur, de spécificité
   supérieure, l'emporte — donc AUCUN effet sur classic/hummingbird, uniquement un secours
   ailleurs (pas de bordure ni de fond que le thème n'aurait pas, pour ne rien faire « fuir »). */
.agretractation-account-link {
    display: block;
    text-align: center;
    text-decoration: none;
}

.agretractation-account-link .link-item {
    display: block;
    height: 100%;
    padding: 1rem;
    background: var(--bs-gray-100);
}

.agretractation-account-link .material-icons {
    display: block;
}

.agretractation-form .form-group {
    margin-bottom: 15px;
}

.agretractation-hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* Texte d'aide sous un champ (référence de commande, etc.). */
.agretractation-help {
    display: block;
    margin-top: 4px;
    font-size: 0.85em;
    opacity: 0.8;
}

/* Ligne produit non éligible : grisée et non sélectionnable. */
.agretractation-products .agretractation-excluded {
    opacity: 0.6;
    background-color: rgba(0, 0, 0, 0.03);
}

/* Badge « Non éligible » à côté du nom du produit. */
.agretractation-badge-excluded {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #8a6d3b;
    background-color: #fcf3d6;
    border: 1px solid #e6d3a3;
    vertical-align: middle;
}

/* Raison de l'exclusion : visible, sous le nom du produit. */
.agretractation-exclusion-reason {
    margin-top: 4px;
    font-size: 0.9em;
    color: #8a6d3b;
}

/* Quantité non applicable pour une ligne exclue. */
.agretractation-na {
    font-style: italic;
    opacity: 0.7;
}

/* Accessibilité : contenu réservé aux lecteurs d'écran (si le thème ne le fournit pas). */
.agretractation-form .sr-only,
.agretractation-confirm .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
