/* SDML ACADEMY — Correctif catalogue v2 — UTF-8 sans BOM */

.formation-card-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    flex-wrap:wrap;
}

.copy-formation-link-btn{
    min-height:44px;
    padding:0 14px;
    border:1px solid #d8dfeb;
    border-radius:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    color:#173575;
    background:#fff;
    font:inherit;
    font-size:10.5px;
    font-weight:850;
    cursor:pointer;
    transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease;
}

.copy-formation-link-btn:hover{
    border-color:#bfcbe1;
    background:#f6f8fc;
    transform:translateY(-1px);
}

.copy-formation-link-btn:focus-visible{
    outline:3px solid rgba(31,60,136,.18);
    outline-offset:2px;
}

.copy-formation-link-btn svg{
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.copy-formation-link-btn.is-copied{
    border-color:#b7d8c1;
    color:#176533;
    background:#f2fbf5;
}

.formation-card-shared{
    scroll-margin-top:96px;
    border-color:rgba(31,60,136,.28);
    box-shadow:0 20px 52px rgba(18,38,90,.11);
}

@media(max-width:1000px){
    .formation-card-footer{
        align-items:center;
    }
    .formation-card-actions{
        max-width:270px;
    }
}

@media(max-width:650px){
    .formation-card-footer{
        align-items:flex-start;
        flex-direction:column;
    }
    .formation-card-actions{
        width:100%;
        max-width:none;
        display:grid;
        grid-template-columns:1fr 1fr;
    }
    .choose-formation-btn,
    .copy-formation-link-btn{
        width:100%;
        justify-content:center;
    }
}

@media(max-width:390px){
    .formation-card-actions{
        grid-template-columns:1fr;
    }
}
