body {
    margin: 0!important;
    padding: 0!important;
}



/* =========================================================
   PAGE DE PAIEMENT
   ========================================================= */

.payment-page {
    width: 100%;
    min-height: calc(100vh - 100px);
    padding: 70px 20px;

    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    background: #f5f5f5;
}


/* =========================================================
   CARTE
   ========================================================= */

.payment-card {
    width: 100%;
    max-width: 720px;

    padding: 50px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e3e3e3;
    border-radius: 4px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.07);
}


/* =========================================================
   HEADER DE LA CARTE
   ========================================================= */

.payment-card__header {
    margin-bottom: 38px;
}

.payment-card__eyebrow {
    margin: 0 0 8px;

    color: #e1262f;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;

    text-transform: uppercase;
}

.payment-card__header h1 {
    margin: 0 0 14px;

    color: #1f1f1f;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.payment-card__header > p:not(.payment-card__eyebrow) {
    margin: 0;

    color: #5f5f5f;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   FORMULAIRE
   ========================================================= */

.payment-form {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 24px;
}

.payment-form__field {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 8px;
}

.payment-form__field label {
    color: #1f1f1f;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.payment-form__field input {
    width: 100%;
    height: 50px;

    padding: 0 15px;

    box-sizing: border-box;

    border: 1px solid #cfcfcf;
    border-radius: 3px;

    background: #ffffff;

    color: #1f1f1f;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.payment-form__field input:focus {
    border-color: #e1262f;

    box-shadow:
        0 0 0 3px rgba(225, 38, 47, 0.10);
}


/* =========================================================
   MONTANT
   ========================================================= */

.payment-form__amount {
    width: 100%;

    display: flex;
    align-items: stretch;
}

.payment-form__amount input {
    flex: 1;

    border-radius: 3px 0 0 3px;
}

.payment-form__amount span {
    min-width: 70px;

    padding: 0 15px;

    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid #cfcfcf;
    border-left: 0;

    border-radius: 0 3px 3px 0;

    background: #f1f1f1;

    color: #424242;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   BOUTON
   ========================================================= */

.payment-form__submit {
    width: 100%;
    min-height: 54px;

    margin-top: 5px;

    padding: 15px 25px;

    border: 0;
    border-radius: 3px;

    background: #e1262f;

    color: #ffffff;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
}

.payment-form__submit:hover {
    background: #c91f27;
}

.payment-form__submit:active {
    transform: translateY(1px);
}


/* =========================================================
   TEXTE SÉCURITÉ
   ========================================================= */

.payment-form__security {
    margin: 0;

    color: #777777;

    text-align: center;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .payment-page {
        padding: 35px 15px;
    }

    .payment-card {
        padding: 30px 22px;
    }

    .payment-card__header h1 {
        font-size: 29px;
    }

}



/* =========================================================
   CONFIRMATION DE PAIEMENT
   ========================================================= */

.payment-confirmation {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: #fff;
}


/* =========================================================
   HEADER
   ========================================================= */

.payment-confirmation__top {
    display: flex;
    height: 127px;
    padding: 26px 146px 26px 147px;
    box-sizing: border-box;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    width: 100%;

    background: #424242;
}

.payment-confirmation__top-logo {
    display: block;

    width: 243px;
    height: 59px;

    object-fit: contain;
}


/* =========================================================
   CONTENU PRINCIPAL
   ========================================================= */

.receipt {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
    padding: 46px 60px 55px;

    box-sizing: border-box;
}


/* =========================================================
   EN-TÊTE DU REÇU
   ========================================================= */

.receipt__header {
    text-align: center;
    margin-bottom: 46px;
}

.receipt__invoice {
    margin: 0 0 13px;

    color: #ff2929;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
}

.receipt__header h1 {
    margin: 0;

    color: #111;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 38px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;

    text-transform: uppercase;
}

.receipt__company {
    margin: 16px 0 0;

    color: #111;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;

    text-transform: uppercase;
}


/* =========================================================
   BOÎTE CONFIRMATION
   ========================================================= */

.receipt__box {
    width: 100%;

    padding: 44px 40px 38px;

    box-sizing: border-box;

    border: 1px solid #424242;

    background: #fff;
}

.receipt__box h2 {
    margin: 0;

    text-align: center;

    color: #111;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.3;

    text-transform: uppercase;
}

.receipt__confirmation-number {
    margin: 10px 0 35px;

    text-align: center;

    color: #111;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
}

.receipt__confirmation-number strong {
    font-weight: 800;
}

.receipt__box hr {
    width: 100%;
    height: 1px;

    margin: 0 0 27px;

    border: 0;

    background: #e4e4e4;
}


/* =========================================================
   LIGNES DU REÇU
   ========================================================= */

.receipt__row {
    display: flex;
    width: 100%;

    justify-content: space-between;
    align-items: center;

    gap: 25px;

    margin: 0 0 17px;

    color: #111;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
}

.receipt__row--secondary {
    color: #8b8b8b;

    font-size: 15px;
    font-weight: 400;
}

.receipt__row--total {
    margin-top: 5px;

    font-size: 19px;
    font-weight: 800;
}


/* =========================================================
   REMERCIEMENT
   ========================================================= */

.receipt__thanks {
    width: 100%;

    max-width: 850px;

    margin: 52px auto 0;

    text-align: center;
}

.receipt__thanks h3 {
    margin: 0 0 17px;

    color: #ff2929;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
}

.receipt__thanks p {
    margin: 0;

    color: #111;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.65;
}


/* =========================================================
   FOOTER LOGO
   ========================================================= */

.payment-confirmation__footer {
    width: 100%;
}

.payment-confirmation__footer-logo {
    display: flex;

    padding: 15px 216px;

    flex-direction: column;
    align-items: center;

    gap: 10px;

    box-sizing: border-box;

    width: 100%;

    background: #1f1f1f;
}

.payment-confirmation__footer-logo img {
    display: block;

    width: 243px;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   FOOTER INFORMATIONS
   ========================================================= */

.payment-confirmation__footer-info {
    display: flex;

    padding: 10px 100px;

    flex-direction: column;
    align-items: center;

    gap: 2px;

    box-sizing: border-box;

    width: 100%;

    background: #424242;

    color: #fff;

    text-align: center;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 15px;
}

.payment-confirmation__footer-info p {
    margin: 0;
}

.payment-confirmation__footer-info a {
    color: #fff;
    text-decoration: underline;
}

.payment-confirmation__footer-info span {
    margin: 0 4px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .payment-confirmation__top {
        height: auto;

        padding: 25px 30px;
    }

    .receipt {
        padding: 40px 30px 50px;
    }

    .receipt__box {
        padding: 35px 30px;
    }

    .payment-confirmation__footer-logo {
        padding: 18px 30px;
    }

    .payment-confirmation__footer-info {
        padding: 12px 30px;
    }
}


@media (max-width: 600px) {

    .payment-confirmation__top-logo {
        width: 200px;
        height: auto;
    }

    .receipt {
        padding: 32px 18px 40px;
    }

    .receipt__header {
        margin-bottom: 32px;
    }

    .receipt__header h1 {
        font-size: 30px;
    }

    .receipt__box {
        padding: 30px 20px;
    }

    .receipt__box h2 {
        font-size: 21px;
    }

    .receipt__row {
        font-size: 16px;
    }

    .receipt__row--secondary {
        font-size: 13px;
    }

    .receipt__row--total {
        font-size: 17px;
    }

    .receipt__thanks {
        margin-top: 40px;
    }

    .payment-confirmation__footer-logo img {
        width: 200px;
    }

    .payment-confirmation__footer-info {
        padding: 12px 18px;
    }

    .payment-confirmation__footer-info span {
        display: none;
    }
}