/* Coqpit Opening hours - structural styles (typography/colours/spacing come from Elementor controls) */

.coqpit-oh {
    --coqpit-oh-gap: 11px;

    display: flex;
    flex-direction: column;
    gap: 0;
    box-sizing: border-box;
    width: 268px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Manrope', sans-serif;
}

.coqpit-oh__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 20px;
    margin: 0;
    padding: 0;
}

/* The line sits between two rows, with the same gap on both sides */
.coqpit-oh__row + .coqpit-oh__row {
    margin-top: var(--coqpit-oh-gap);
    padding-top: var(--coqpit-oh-gap);
    border-top: 0 solid transparent;
}

.coqpit-oh--lines .coqpit-oh__row + .coqpit-oh__row {
    border-top-width: 1px;
    border-top-color: rgba(234, 249, 254, 0.06);
}

.coqpit-oh__label {
    color: #eaf9fe;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}

.coqpit-oh__hours {
    text-align: right;
    color: #eaf9fe;
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    white-space: nowrap;
}

.coqpit-oh__badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 20px;
    padding: 0 10px;
    border-radius: 2px;
    background-color: #fff;
    color: #e10b17;
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Button under the list (e.g. "Voir les horaires par créneaux"), same width as the list */
.coqpit-oh__button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 268px;
    max-width: 100%;
    margin-top: 20px;
    padding: 11px 16px;
    border: 1px solid rgba(234, 249, 254, 0.2);
    border-radius: 3px;
    background-color: transparent;
    color: #eaf9fe;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: normal;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.coqpit-oh__button:hover,
.coqpit-oh__button:focus-visible {
    border-color: #f90c1a;
    background-color: #f90c1a;
    color: #fff;
}
