/* =========================================================
   LIFTERLMS — BON DE RÉDUCTION
   Moderne • Sobre • Responsive
   ========================================================= */

.llms-voucher-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    column-gap: 14px !important;
    align-items: end !important;

    /*width: 100% !important;*/
    max-width: 720px !important;

    margin-left: 0 !important;
    margin-right: auto !important;

    padding: 0 !important;
    box-sizing: border-box !important;
    justify-self: start !important;
}

/* Tous les éléments */
.llms-voucher-form *,
.llms-voucher-form *::before,
.llms-voucher-form *::after {
    box-sizing: border-box !important;
}

/* =========================================================
   BLOC DU CHAMP
   ========================================================= */

.llms-voucher-form > .llms-form-fields {
    grid-column: 1 !important;
    grid-row: 1 !important;

    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    gap: 14px !important;
    justify-content: flex-start !important;
}

/* Champ */
.llms-voucher-form > .llms-form-fields > .llms-form-field {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;

    float: none !important;
    clear: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   LABEL
   ========================================================= */

.llms-voucher-form .llms-form-field > label {
    display: block !important;

    width: 100% !important;

    margin: 0 0 7px 0 !important;
    padding: 0 !important;

    color: #222 !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;

    text-align: left !important;
}

/* =========================================================
   CHAMP CODE
   ========================================================= */

.llms-voucher-form #llms-voucher-code {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    height: 46px !important;
    min-height: 46px !important;

    margin: 0 !important;
    padding: 0 14px !important;

    border: 1px solid #d5d8dc !important;
    border-radius: 8px !important;

    background: #fff !important;
    color: #222 !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 46px !important;

    text-align: left !important;

    outline: none !important;
    box-shadow: none !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease !important;
}

/* Placeholder */
.llms-voucher-form #llms-voucher-code::placeholder {
    color: #969ba1 !important;
    opacity: 1 !important;
}

/* Hover */
.llms-voucher-form #llms-voucher-code:hover {
    border-color: #b7bbc0 !important;
}

/* Focus */
.llms-voucher-form #llms-voucher-code:focus {
    border-color: #777 !important;
    background: #fff !important;

    outline: none !important;

    box-shadow: 0 0 0 3px rgba(0, 0, 0, .06) !important;
}

/* =========================================================
   FOOTER / BOUTON
   ========================================================= */

.llms-voucher-form > footer.llms-form-fields {
    grid-column: 2 !important;
    grid-row: 1 !important;

    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Conteneur du bouton */
.llms-voucher-form footer .llms-form-field.type-submit {
    width: auto !important;
    max-width: none !important;

    float: none !important;
    clear: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   BOUTON ENVOYER
   ========================================================= */

.llms-voucher-form #llms-redeem-voucher-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 110px !important;

    height: 46px !important;
    min-height: 46px !important;

    margin: 0 !important;
    padding: 0 22px !important;

    border: 1px solid #242424 !important;
    border-radius: 8px !important;

    background: #242424 !important;
    color: #fff !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    text-align: center !important;

    cursor: pointer !important;

    outline: none !important;
    box-shadow: none !important;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .15s ease,
        box-shadow .2s ease !important;
}

/* Hover */
.llms-voucher-form #llms-redeem-voucher-submit:hover {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;

    transform: translateY(-1px) !important;

    box-shadow: 0 4px 10px rgba(0, 0, 0, .12) !important;
}

/* Active */
.llms-voucher-form #llms-redeem-voucher-submit:active {
    transform: translateY(0) !important;
    box-shadow: none !important;
}

/* Focus */
.llms-voucher-form #llms-redeem-voucher-submit:focus {
    color: #fff !important;
    outline: none !important;

    box-shadow: 0 0 0 3px rgba(0, 0, 0, .08) !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .llms-voucher-form {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Champ */
    .llms-voucher-form > .llms-form-fields {
        display: block !important;

        width: 100% !important;

        margin: 0 0 12px 0 !important;
        padding: 0 !important;
    }

    .llms-voucher-form > .llms-form-fields > .llms-form-field {
        width: 100% !important;
    }

    /* Footer */
    .llms-voucher-form > footer.llms-form-fields {
        display: block !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .llms-voucher-form footer .llms-form-field.type-submit {
        width: 100% !important;
    }

    /* Bouton pleine largeur */
    .llms-voucher-form #llms-redeem-voucher-submit {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* =========================================================
   PETITS TÉLÉPHONES
   ========================================================= */

@media (max-width: 400px) {

    .llms-voucher-form #llms-voucher-code {
        height: 44px !important;
        min-height: 44px !important;

        font-size: 14px !important;
    }

    .llms-voucher-form #llms-redeem-voucher-submit {
        height: 44px !important;
        min-height: 44px !important;
    }

    .llms-voucher-form .llms-form-field > label {
        font-size: 13px !important;
    }
}