
.bes-grid,.bes-admin-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.bes-card,.bes-downloads,.bes-admin-card{background:#fff;border:1px solid #ddd;border-radius:12px;padding:16px}
.bes-card h3,.bes-card h4{margin-top:0}
.bes-btn{display:inline-block;background:#2271b1;color:#fff!important;text-decoration:none;padding:10px 14px;border-radius:8px;border:0;cursor:pointer}
.bes-checkout-form select,.bes-checkout-form input[type="email"],.bes-downloads input[type="email"]{padding:10px;max-width:360px;width:100%}
.bes-status{display:inline-block;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:600}
.bes-status-pending{background:#fff3cd;color:#7a5a00}
.bes-status-paid{background:#d4edda;color:#155724}
.bes-status-failed{background:#f8d7da;color:#721c24}

.bes-downloads ul,.bes-downloads ol,.wrap ul,.wrap ol{padding-left:20px}

.bes-admin-panel{background:#fff;border:1px solid #ddd;border-radius:12px;padding:16px}
.bes-store-card{display:flex;flex-direction:column;justify-content:space-between}
.bes-store-footer{margin-top:auto;padding-top:10px}
.bes-downloads p:first-of-type{margin-top:0}

.bes-store-tools{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px 0}
.bes-store-tools input[type="text"],.bes-store-tools select{padding:10px;min-width:180px}
.bes-featured-badge{display:inline-block;background:#2271b1;color:#fff;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;margin-bottom:10px}

.notice.notice-success{padding:10px 12px}

.bes-downloads code{display:inline-block;padding:2px 6px;border:1px solid #ddd;border-radius:6px;background:#f6f7f7}

.bes-card code{display:inline-block;margin-top:6px}

.bes-admin-panel ul{padding-left:20px}

.bes-checkout-form label input[type="checkbox"]{margin-right:6px}

.bes-downloads textarea{padding:10px;border:1px solid #ddd;border-radius:8px}

.bes-downloads code{word-break:break-all}

.bes-downloads select{padding:10px;border:1px solid #ddd;border-radius:8px}

.bes-card small{display:block;margin-top:8px;color:#666}
.bes-downloads select{padding:10px;border:1px solid #ddd;border-radius:8px}

.bes-card strong{display:block}

.bes-btn + .bes-btn{margin-left:8px}

.bes-downloads input[type="email"], .bes-downloads input[type="text"], .bes-downloads input[type="number"], .bes-downloads textarea{padding:10px;border:1px solid #ddd;border-radius:8px;max-width:520px;width:100%}

.bes-desc p:first-child{margin-top:0}

.bes-card h4{margin-bottom:8px}

code{word-break:break-all}

del{color:#888}

.bes-admin-panel h4,.bes-admin-panel h5{margin-bottom:10px}

.bes-admin-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}
.bes-admin-card{background:#fff;border:1px solid #ddd;border-radius:12px;padding:16px}

.bes-admin-panel table.widefat td{vertical-align:top}

.bes-admin-panel table td form{margin:0}

.bes-downloads select{padding:10px;border:1px solid #ddd;border-radius:8px;max-width:520px;width:100%}

.bes-admin-panel code{word-break:break-all}

.bes-admin-panel select{padding:10px;border:1px solid #ddd;border-radius:8px;max-width:520px;width:100%}

.wrap code{word-break:break-all}

.bes-unified-dashboard .bes-unified-section{margin-top:24px;padding-top:8px;border-top:1px solid #e5e5e5}
.bes-unified-dashboard .bes-unified-section h4{margin:0 0 12px}

.bes-visual-builder .bes-card{min-height:140px}
.bes-visual-builder .bes-card p{margin:8px 0}


/* v23 full clean polish */
.bes-admin-panel{
    background:#fff;
    border:1px solid #dcdcde;
    border-radius:12px;
    padding:18px;
    box-sizing:border-box;
}
.bes-admin-panel + .bes-admin-panel{margin-top:24px}
.bes-admin-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:16px;
}
.bes-admin-card,
.bes-card{
    background:#fff;
    border:1px solid #dcdcde;
    border-radius:12px;
    padding:14px;
    box-sizing:border-box;
}
.bes-downloads{
    max-width:1200px;
}
.bes-downloads h3,
.bes-downloads h4,
.bes-downloads h5{
    margin-top:0;
}
.bes-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
}
.bes-btn,
.bes-downloads button,
.bes-downloads input[type=submit]{
    display:inline-block;
    padding:10px 14px;
    border-radius:8px;
    border:1px solid #2271b1;
    background:#2271b1;
    color:#fff;
    text-decoration:none;
    cursor:pointer;
}
.bes-downloads input[type=text],
.bes-downloads input[type=email],
.bes-downloads input[type=number],
.bes-downloads textarea,
.bes-downloads select{
    width:100%;
    max-width:700px;
    padding:10px;
    border:1px solid #c3c4c7;
    border-radius:8px;
    box-sizing:border-box;
}
.bes-status{
    display:inline-block;
    padding:4px 8px;
    border-radius:999px;
    font-size:12px;
}
.bes-status-paid{
    background:#ecf7ed;
    color:#176b2c;
}
.bes-status-pending{
    background:#fff6e5;
    color:#8a5a00;
}
code{
    word-break:break-word;
    white-space:normal;
}

.form-table th{width:220px}

.bes-admin-panel table.widefat code{font-size:12px}

.bes-card code{display:inline-block;margin-top:8px}

.bes-admin-panel input[type=file]{margin-top:10px}
.bes-downloads .widefat{margin-top:12px}

.bes-admin-cards .bes-admin-card br{line-height:1.8}

.bes-admin-panel .bes-card strong{display:block;margin-bottom:6px}

.bes-admin-panel ul li{margin:6px 0}

.bes-admin-panel h3{margin-top:20px}

.bes-card pre{margin:0;font-size:12px}

.bes-admin-panel table.widefat td code{font-size:12px}

.bes-admin-panel .widefat th,.bes-admin-panel .widefat td{vertical-align:top}

.bes-admin-panel .button{margin-right:8px;margin-bottom:8px}

.bes-admin-panel input.regular-text{max-width:700px;width:100%}

.bes-downloads .bes-card form{margin-top:10px}

.bes-admin-panel select{min-width:320px}

.bes-admin-panel select{max-width:700px}

.bes-admin-panel .widefat td,.bes-admin-panel .widefat th{vertical-align:top}

.bes-downloads img{display:block}

.bes-admin-panel .widefat td code{font-size:12px;word-break:break-all}

.bes-admin-panel .button.button-primary{margin-right:6px}


.bes-auth-wrap{margin:20px 0}
.bes-auth-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.bes-auth-card{background:#fff;border:1px solid #dcdcde;border-radius:14px;padding:24px;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.bes-auth-card h3{margin-top:0;margin-bottom:16px;font-size:24px}
.bes-auth-card label{display:block;font-weight:600;margin-bottom:6px}
.bes-auth-card input[type=text],.bes-auth-card input[type=email],.bes-auth-card input[type=password]{width:100%;padding:12px 14px;border:1px solid #c3c4c7;border-radius:10px;background:#fff}
.bes-btn{display:inline-block;background:#2271b1;color:#fff!important;text-decoration:none;padding:10px 14px;border-radius:8px;border:0;cursor:pointer}
.bes-admin-panel{background:#fff;border:1px solid #ddd;border-radius:14px;padding:18px;box-shadow:0 8px 24px rgba(0,0,0,.05)}


.bes-pricing-cta .bes-card{text-align:center}
.bes-store-card h4{margin-top:0}
.bes-auth-wrap{margin:20px 0}
.bes-auth-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.bes-auth-card{background:#fff;border:1px solid #dcdcde;border-radius:14px;padding:24px;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.bes-auth-card h3{margin-top:0;margin-bottom:16px;font-size:24px}
.bes-auth-card label{display:block;font-weight:600;margin-bottom:6px}
.bes-auth-card input[type=text],.bes-auth-card input[type=email],.bes-auth-card input[type=password]{width:100%;padding:12px 14px;border:1px solid #c3c4c7;border-radius:10px;background:#fff}


.bes-admin-panel ul ul{margin-top:8px}
.bes-admin-panel ul li{margin-bottom:6px}
