.opcf-frontend-box{
    margin:22px 0;
    padding:18px;
    border:1px solid #e8e8e8;
    border-radius:14px;
    background:#fff;
    box-shadow:0 6px 22px rgba(0,0,0,.05);
}
.opcf-frontend-title{
    font-size:18px;
    font-weight:700;
    margin-bottom:14px;
}
.opcf-frontend-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}
.opcf-field{
    min-width:0;
}
.opcf-field.opcf-full{
    grid-column:1/-1;
}
.opcf-field>label{
    display:block;
    font-size:14px;
    font-weight:600;
    margin-bottom:7px;
}
.opcf-field .required{
    color:#d63638;
}
.opcf-field input[type="text"],
.opcf-field input[type="number"],
.opcf-field input[type="email"],
.opcf-field input[type="date"],
.opcf-field input[type="time"],
.opcf-field input[type="file"],
.opcf-field textarea,
.opcf-field select{
    width:100%;
    min-height:46px;
    padding:10px 12px;
    border:1px solid #d9d9d9;
    border-radius:9px;
    background:#fff;
    box-sizing:border-box;
    outline:none;
    transition:border-color .2s, box-shadow .2s;
}
.opcf-field textarea{
    min-height:100px;
    resize:vertical;
}
.opcf-field input:focus,
.opcf-field textarea:focus,
.opcf-field select:focus{
    border-color:#7662d9;
    box-shadow:0 0 0 3px rgba(118,98,217,.12);
}
.opcf-choice-group{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.opcf-choice{
    display:flex!important;
    align-items:center;
    gap:7px;
    padding:9px 12px;
    border:1px solid #e2e2e2;
    border-radius:8px;
    cursor:pointer;
    font-weight:500!important;
}
.opcf-choice input{
    width:auto!important;
    min-height:auto!important;
    margin:0;
}
.opcf-file-note{
    display:block;
    margin-top:6px;
    color:#777;
    font-size:12px;
}
@media(max-width:767px){
    .opcf-frontend-grid{
        grid-template-columns:1fr;
    }
    .opcf-field.opcf-full{
        grid-column:auto;
    }
}

.opcf-file-list{
    margin-top:8px;
    padding:8px 10px;
    background:#f7f7f7;
    border-radius:8px;
    font-size:12px;
    line-height:1.6;
}
.opcf-file-list:empty{display:none;}
.opcf-file-list span{display:block;word-break:break-word;}
