/* SSF Onderzoeken - front-end beheer */
.ssf-frontend-admin-wrap,
.ssf-frontend-admin-wrap *{box-sizing:border-box}

.ssf-frontend-admin-wrap{
    width:100%;
    max-width:1280px;
    margin:0 auto 56px;
    padding:0;
    color:#181830;
}

.ssf-frontend-admin-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:32px;
    margin:0 0 28px;
}
.ssf-frontend-admin-head>div:first-child{min-width:0;flex:1 1 auto}
.ssf-frontend-admin-head h2{margin:0 0 10px!important;color:#181830}
.ssf-frontend-admin-head p{margin:0!important;color:#4d4d57;max-width:760px;line-height:1.6}
.ssf-frontend-admin-eyebrow{
    display:block;
    margin:0 0 8px;
    color:#EB5E1C;
    font-weight:800;
    font-size:13px;
    line-height:1.2;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.ssf-frontend-admin-head-actions,
.ssf-frontend-admin-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}
.ssf-frontend-admin-head-actions{justify-content:flex-end;flex:0 0 auto}
.ssf-frontend-admin-wrap .btn-cta{white-space:nowrap}
.ssf-frontend-admin-secondary{background:#181830!important;color:#fff!important}
.ssf-frontend-admin-secondary:hover{filter:brightness(1.12)}

.ssf-frontend-form{display:grid;gap:24px;width:100%;margin:0!important}
.ssf-frontend-form-card{
    width:100%;
    margin:0;
    background:#fff;
    border:1px solid #e4e4e8;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(24,24,48,.06);
}
.ssf-frontend-form-card__head{
    display:flex;
    align-items:center;
    min-height:54px;
    background:#181830;
    padding:13px 24px;
    border-bottom:4px solid #EB5E1C;
}
.ssf-frontend-form-card__head h3{
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-size:22px!important;
    line-height:1.2!important;
    font-weight:800!important;
}
.ssf-frontend-form-card__body{padding:26px 24px 28px;width:100%}

.ssf-frontend-form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px 24px;
    width:100%;
}
.ssf-frontend-form-grid--content{grid-template-columns:1fr}
.ssf-frontend-form-grid--meta{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
    margin-top:24px;
    padding-top:24px;
    border-top:1px solid #ececf0;
}
.ssf-frontend-field{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    min-width:0;
    width:100%;
    margin:0!important;
    padding:0!important;
}
.ssf-frontend-field--full{grid-column:1/-1}
.ssf-frontend-field label{
    display:block!important;
    width:100%!important;
    margin:0 0 7px!important;
    padding:0!important;
    font-weight:800!important;
    line-height:1.35!important;
    color:#181830!important;
}
.ssf-frontend-field input[type=text],
.ssf-frontend-field input[type=url],
.ssf-frontend-field select,
.ssf-frontend-field textarea{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    float:none!important;
    clear:both!important;
    box-sizing:border-box!important;
    margin:0!important;
    border:1px solid #cfd0d7!important;
    border-radius:10px!important;
    background:#fff!important;
    padding:11px 13px!important;
    font:inherit!important;
    color:#181830!important;
    box-shadow:none!important;
}
.ssf-frontend-field input[type=text],
.ssf-frontend-field input[type=url],
.ssf-frontend-field select{height:48px!important;min-height:48px!important}
.ssf-frontend-field textarea{min-height:130px!important;resize:vertical;line-height:1.55!important}
.ssf-frontend-field #ssf_frontend_content{min-height:280px!important}
.ssf-frontend-field input:focus,
.ssf-frontend-field select:focus,
.ssf-frontend-field textarea:focus{
    outline:3px solid rgba(235,94,28,.18)!important;
    border-color:#EB5E1C!important;
}
.ssf-frontend-help{
    display:block!important;
    width:100%;
    margin:7px 0 0!important;
    color:#666673!important;
    font-size:14px!important;
    line-height:1.45!important;
}

.ssf-frontend-checkbox-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px 12px;
    width:100%;
}
.ssf-frontend-checkbox{
    display:flex!important;
    align-items:flex-start!important;
    gap:9px;
    width:100%;
    margin:0!important;
    padding:11px 12px!important;
    border:1px solid #e2e2e7;
    border-radius:10px;
    background:#fafafa;
    cursor:pointer;
    line-height:1.35;
}
.ssf-frontend-checkbox:hover{border-color:#EB5E1C;background:#fff8f4}
.ssf-frontend-checkbox input{flex:0 0 auto;margin:3px 0 0!important}

.ssf-frontend-form-card__body--media{grid-template-columns:1fr}
.ssf-frontend-field input[type=file]{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:14px!important;
    border:1px dashed #b8bac4!important;
    border-radius:10px!important;
    background:#f8f8fa!important;
}
.ssf-frontend-media-picker{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:12px;
    flex-wrap:wrap;
    padding-top:2px!important;
}
.ssf-frontend-media-preview{font-size:14px;color:#555563;line-height:1.4}

.ssf-frontend-form-submit{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:14px;
    flex-wrap:wrap;
    padding:4px 0 0;
}
.ssf-frontend-form-submit span{color:#666673;font-size:14px;line-height:1.45}
.ssf-frontend-form-submit .btn-cta{min-width:190px}

.ssf-frontend-notice{border-radius:18px;padding:20px 22px;margin:0 0 24px;border:1px solid transparent}
.ssf-frontend-notice h2{margin-top:0!important}
.ssf-frontend-notice--error{background:#fff4f1;border-color:#f0b9aa}
.ssf-frontend-notice--error strong{color:#9c2d16}
.ssf-frontend-notice--success{background:#f3f8f2;border-color:#b8d4b3}
.ssf-frontend-notice--success h2{margin:0 0 10px!important}
.ssf-frontend-notice ul{margin-bottom:0}

@media(max-width:1100px){
    .ssf-frontend-admin-wrap{padding:0 20px}
    .ssf-frontend-admin-head{flex-direction:column;gap:18px}
    .ssf-frontend-admin-head-actions{justify-content:flex-start}
    .ssf-frontend-form-grid--meta{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ssf-frontend-checkbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
    .ssf-frontend-admin-wrap{padding:0 16px;margin-bottom:40px}
    .ssf-frontend-admin-head-actions,.ssf-frontend-admin-actions{width:100%;align-items:stretch;flex-direction:column}
    .ssf-frontend-admin-head-actions .btn-cta,.ssf-frontend-admin-actions .btn-cta{justify-content:center;text-align:center;width:100%;box-sizing:border-box}
    .ssf-frontend-form-card__head{padding:13px 18px}
    .ssf-frontend-form-card__body{padding:20px 18px 22px}
    .ssf-frontend-form-grid,.ssf-frontend-form-grid--meta{grid-template-columns:1fr}
    .ssf-frontend-form-grid--meta{gap:16px}
    .ssf-frontend-checkbox-grid{grid-template-columns:1fr}
    .ssf-frontend-form-submit{align-items:stretch;flex-direction:column}
    .ssf-frontend-form-submit .btn-cta{width:100%;justify-content:center;text-align:center}
    .ssf-frontend-media-picker{align-items:stretch!important;flex-direction:column!important}
    .ssf-frontend-media-picker .btn-cta{width:100%;justify-content:center;text-align:center}
}
