/* =========================================================
   PAGE PRESTATIONS
========================================================= */

.page-prestations .mdcf-prestations-tabs {
    margin: var(--mdcf-space-xl, 48px) 0;
}

.mdcf-prestations-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--mdcf-space-sm, 12px);
    margin-bottom: var(--mdcf-space-lg, 32px);
}

.mdcf-prestations-tabs__button {
    border: 1px solid var(--mdcf-color-border);
    border-radius: var(--mdcf-radius-md);
    background: var(--mdcf-color-white);
    color: var(--mdcf-color-primary);
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mdcf-prestations-tabs__button:hover,
.mdcf-prestations-tabs__button.is-active {
    background: var(--mdcf-color-primary);
    border-color: var(--mdcf-color-primary);
    color: var(--mdcf-color-white);
}

.mdcf-prestations-tabs__panels {
    position: relative;
    overflow: hidden;
    transition: height 0.3s ease;
}

.mdcf-prestations-tabs__panel {
    display: none;
}

.mdcf-prestations-tabs__panel.is-active {
    display: block;
    animation: mdcf-tab-enter 0.4s ease-out both;
}

.mdcf-prestations-tabs__panel.is-leaving {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    animation: mdcf-tab-leave 0.2s ease-in both;
}

@keyframes mdcf-tab-enter {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes mdcf-tab-leave {
    from { opacity: 1; }
    to   { opacity: 0; }
}

.mdcf-prestation-row .mdcf-domain-formation-row__link {
    text-decoration: none;
}
