.boarding-pass-wrapper {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 20px;
}

.boarding-pass {
    max-width: 550px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    position: relative;
    color: #333;
}

/* Bande supérieure divisée en deux */
.top-band {
    display: flex;
    flex-direction: row;
    background-color: #53C7B7;
    color: #fff;
    position: relative;
}

.top-left {
    flex: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 10px 10px;
}

.top-right {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px 10px 0px;
}

.top-left h1,
.top-right {
    margin: 0;
    font-size: 24px;
    text-transform: uppercase;
}

.right-section img.logo {
    height: 100px;
    margin-bottom: -5px;
    margin-top: -10px;
}

.content-section {
    display: flex;
    flex-direction: row;
    position: relative;
}

.left-section {
    flex: 3;
    padding: 10px 0;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flight-info {
    width: 100%;
    text-align: center;
}

.flight-info h2 {
    font-size: 16px;
    margin-bottom: 5px;
    text-transform: uppercase;
    padding: 5px 10px;
    background-color: #D8C580;
    color: #fff;
    border-radius: 5px;
    width: 245px;
    margin: 5px auto 10px;
}

.details {
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
}

.details p {
    margin: 0;
}

.details .route {
    font-size: 23px;
    font-weight: bold;
}

.details .route img {
    height: 25px;
    vertical-align: middle;
    margin: 0 5px;
    filter: invert(43%) sepia(30%) saturate(558%) hue-rotate(15deg) brightness(93%) contrast(89%);
}

.details .time {
    margin-top: 3px;
    display: flex;
    justify-content: space-between;
    width: 140px;
    margin: 0 auto;
}

/* Style pour "Escale ..." plus petit */
.details .escale {
    font-size: 12px;
    margin-top: 0;
}

.right-section {
    flex: 2;
    padding-bottom: 15px;
    color: #333;
    text-align: center;
}

.confirmation p {
    margin: 0;
    font-size: 16px;
    color: #53C7B7;
    font-weight: bold;
    margin-top: 25px;
    text-align: center;
}

/* Pointillés pour la séparation */
.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(100% * 3 / 5);
    width: 1px;
    border-left: 1px dashed #ccc;
}

/* Extension des pointillés dans la bande supérieure */
.top-band::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(100% * 3 / 5);
    width: 1px;
    border-left: 1px dashed #ccc;
}

/* Effet ticket */
.boarding-pass::before,
.boarding-pass::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 10px;
}

.boarding-pass::before {
    top: calc(50% - 20px);
    left: -10px;
}

.boarding-pass::after {
    top: calc(50% - 20px);
    right: -10px;
}

/* Centrer le logo valise avec le texte */
.bagage {
    display: flex;
}

.bagage p {
    margin: 13px 0px 0px 25px;
}

.bagage-soute {
    text-align: center;
    font-weight: bold;
    margin: 0 25px;
}

.bagage-soute img {
    height: 70px;
    margin: 0 -20px -18px;
}

.bagage-main {
    text-align: center;
    font-weight: bold;
    margin-top: 17px;
}

.bagage-main img {
    height: 50px;
    margin: 0 -15px -15px;
}

/* Responsive */
@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
    }

    .top-band {
        flex-direction: column;
    }

    .top-left,
    .top-right {
        width: 100%;
        justify-content: center;
    }

    .left-section,
    .right-section {
        padding: 10px;
        align-items: center;
    }

    .details .time {
        width: 100px;
    }

    .content-section::before,
    .top-band::after {
        display: none;
    }
}
