.fm-consent{
    position:fixed;
    z-index:25000;
    inset:0;
    display:grid;
    place-items:center;
    padding:20px;
}

.fm-consent[hidden]{
    display:none;
}

.fm-consent-backdrop{
    position:absolute;
    inset:0;
    background:rgba(4,8,11,.72);
    backdrop-filter:blur(6px);
}

.fm-consent-dialog{
    position:relative;
    z-index:1;
    width:min(590px,100%);
    padding:25px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:15px;
    background:#11171b;
    color:#fff;
    box-shadow:0 28px 90px rgba(0,0,0,.4);
}

.fm-consent-brand{
    margin-bottom:12px;
    color:#d52d94;
    font-size:11px;
    font-weight:900;
    letter-spacing:.12em;
}

.fm-consent-dialog h2{
    margin:0;
    font-size:24px;
}

.fm-consent-dialog>p{
    margin:12px 0 20px;
    color:#b5bdc3;
    font-size:13px;
    line-height:1.6;
}

.fm-consent-settings{
    margin-bottom:18px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:9px;
    overflow:hidden;
}

.fm-consent-settings[hidden]{
    display:none;
}

.fm-consent-option{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:14px;
    border-bottom:1px solid rgba(255,255,255,.08);
    cursor:pointer;
}

.fm-consent-option:last-child{
    border-bottom:0;
}

.fm-consent-option span,
.fm-consent-option strong,
.fm-consent-option small{
    display:block;
}

.fm-consent-option strong{
    font-size:12px;
}

.fm-consent-option small{
    margin-top:3px;
    color:#9ba5ac;
    font-size:11px;
    line-height:1.4;
}

.fm-consent-option input{
    width:18px;
    height:18px;
    accent-color:#d52d94;
}

.fm-consent-actions{
    display:flex;
    justify-content:flex-end;
    gap:7px;
    flex-wrap:wrap;
}

.fm-consent-actions button,
.fm-consent-dialog footer button{
    min-height:38px;
    padding:0 13px;
    border-radius:7px;
    font:inherit;
    font-size:11px;
    font-weight:700;
    cursor:pointer;
}

.fm-consent-actions .secondary{
    border:1px solid rgba(255,255,255,.16);
    background:transparent;
    color:#d8dde0;
}

.fm-consent-actions .primary,
.fm-consent-dialog footer button{
    border:1px solid #d52d94;
    background:#d52d94;
    color:#fff;
}

.fm-consent-dialog footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-top:18px;
    padding-top:15px;
    border-top:1px solid rgba(255,255,255,.08);
}

.fm-consent-dialog footer a{
    color:#aeb7bd;
    font-size:10px;
}

.fm-privacy-settings{
    position:fixed;
    z-index:9000;
    left:12px;
    bottom:12px;
    padding:6px 8px;
    border:1px solid rgba(127,127,127,.25);
    border-radius:5px;
    background:rgba(20,25,29,.82);
    color:#aeb6bc;
    font:inherit;
    font-size:9px;
    cursor:pointer;
}

@media(max-width:600px){
    .fm-consent-dialog{
        padding:20px;
    }

    .fm-consent-actions{
        display:grid;
        grid-template-columns:1fr;
    }

    .fm-consent-actions button{
        width:100%;
    }
}
