.pfl-ad-editor{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.pfl-editor-section{
    background:#fff;
    border:1px solid #ececec;
    border-radius:16px;
    padding:24px;
    display:flex;
    flex-direction:column;
    gap:16px;
}

.pfl-editor-section h3{
    margin:0;
    font-size:20px;
    font-weight:700;
    color:#111;
}

.pfl-editor-progress{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.pfl-progress{
    width:100%;
    height:8px;
    background:#ececec;
    border-radius:999px;
    overflow:hidden;
}

.pfl-progress__bar{
    width:0%;
    height:100%;
    background:#ff6b00;
    transition:width .3s ease;
}

.pfl-progress__text{
    margin:0;
    font-size:14px;
    font-weight:600;
    color:#666;
}

.pfl-input,
.pfl-select,
.pfl-textarea{
    width:100%;
    padding:14px 16px;
    border:1px solid #dcdcdc;
    border-radius:12px;
    background:#fff;
    font-size:15px;
    box-sizing:border-box;
    transition:.2s;
}

.pfl-input:focus,
.pfl-select:focus,
.pfl-textarea:focus{
    outline:none;
    border-color:#ff6b00;
    box-shadow:0 0 0 3px rgba(255,107,0,.15);
}

.pfl-textarea{
    resize:vertical;
    min-height:180px;
}

.pfl-editor-section label{
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    font-size:15px;
}

.pfl-editor-section input[type="radio"]{
    margin:0;
}

.pfl-editor-actions{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    padding-top:10px;
}

.pfl-editor-actions .pfl-button{
    min-width:170px;
}

.pfl-button--secondary{
    background:#f3f3f3;
    color:#333;
}

.pfl-button--secondary:hover{
    background:#e7e7e7;
}

@media (max-width:768px){

    .pfl-editor-section{
        padding:18px;
    }

    .pfl-editor-actions{
        position:sticky;
        bottom:0;
        left:0;
        background:#fff;
        padding:16px 0 calc(16px + env(safe-area-inset-bottom));
        display:grid;
        grid-template-columns:1fr;
        gap:10px;
        border-top:1px solid #ececec;
    }

    .pfl-editor-actions .pfl-button{
        width:100%;
        min-width:0;
    }

}