.bdgg-recent-orders{position:relative;width:100%;overflow:hidden;background:#fff;border:1px solid #e4e8ee;border-radius:18px;box-shadow:0 8px 24px rgba(15,23,42,.055),0 1px 4px rgba(15,23,42,.025);font-family:inherit;color:#1e293b}.bdgg-recent-orders::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;z-index:3;background:linear-gradient(90deg,#1e293b 0,#1e293b 58%,#ffb000 58%,#ffb000 78%,#16a34a 78%,#16a34a 100%)}.bdgg-ro-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:86px;padding:18px 17px 16px;background:linear-gradient(105deg,#fff 0,#fff 62%,#f8fafc 100%);border-bottom:1px solid #e8edf2}.bdgg-ro-header::after{content:"";position:absolute;left:18px;bottom:-1px;width:72px;height:3px;border-radius:999px 999px 0 0;background:#ffb000}.bdgg-ro-heading{display:flex;align-items:center;gap:12px;min-width:0}.bdgg-ro-main-icon{width:48px;height:48px;min-width:48px;display:flex;align-items:center;justify-content:center;color:#16a34a;background:linear-gradient(145deg,#f0fdf4,#ecfdf3);border:1px solid #bbf7d0;border-radius:13px;box-shadow:0 4px 12px rgba(22,163,74,.08)}.bdgg-ro-main-icon svg{display:block}.bdgg-ro-heading-text{min-width:0}.bdgg-ro-title{margin:0;color:#111827;font-size:20px;line-height:1.25;font-weight:800;letter-spacing:-.2px}.bdgg-ro-meta{display:flex;align-items:center;gap:6px;margin-top:5px;min-width:0;color:#64748b;font-size:11px;line-height:1.3;font-weight:600}.bdgg-ro-live-dot{width:8px;height:8px;min-width:8px;display:inline-block;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.1)}.bdgg-ro-wave{display:flex;align-items:center;margin-left:2px;color:#16a34a}.bdgg-ro-wave svg{display:block}.bdgg-ro-refresh{width:44px;height:44px;min-width:44px;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0;margin:0;cursor:pointer;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:50%;box-shadow:0 2px 7px rgba(15,23,42,.035);appearance:none;-webkit-appearance:none;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}.bdgg-ro-refresh svg{width:21px;height:21px;display:block}.bdgg-ro-refresh:hover{color:#475569;background:#fff;border-color:#cbd5e1;box-shadow:0 3px 10px rgba(15,23,42,.06)}.bdgg-ro-refresh:active{transform:scale(.95)}.bdgg-ro-refresh:focus-visible{outline:2px solid #cbd5e1;outline-offset:2px}.bdgg-ro-refresh:disabled{cursor:wait;opacity:.72}.bdgg-ro-refresh.is-loading svg{animation:bdgg_ro_refresh_spin .7s linear infinite}@keyframes bdgg_ro_refresh_spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.bdgg-ro-list{position:relative;background:#fff}.bdgg-ro-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:69px;padding:12px 17px;background:#fff;border-bottom:1px solid #edf0f3;transition:background .18s ease}.bdgg-ro-item:last-child{border-bottom:0}.bdgg-ro-item:hover{background:#fafbfc}.bdgg-ro-customer{display:flex;align-items:center;gap:11px;flex:1;min-width:0}.bdgg-ro-avatar{width:42px;height:42px;min-width:42px;display:flex;align-items:center;justify-content:center;color:#1e293b;background:linear-gradient(145deg,#f8fafc,#e8edf3);border:1px solid #d8dee7;border-radius:12px;font-size:14px;line-height:1;font-weight:800;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.bdgg-ro-info{flex:1;min-width:0}.bdgg-ro-name{color:#1e293b;font-size:14.5px;line-height:1.32;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bdgg-ro-product{max-width:265px;margin-top:3px;color:#64748b;font-size:10.5px;line-height:1.35;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bdgg-ro-status{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;min-height:29px;padding:5px 10px;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;font-size:10px;line-height:1;font-weight:700;white-space:nowrap}.bdgg-status-completed{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}.bdgg-ro-status-icon{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:#16a34a;border-radius:50%;font-size:9px;font-weight:900}.bdgg-status-processing{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.bdgg-status-on-hold,.bdgg-status-pending{color:#b45309;background:#fffbeb;border-color:#fde68a}.bdgg-status-failed,.bdgg-status-cancelled{color:#dc2626;background:#fef2f2;border-color:#fecaca}.bdgg-status-refunded{color:#7c3aed;background:#f5f3ff;border-color:#ddd6fe}.bdgg-status-likes-running{color:#0369a1;background:#f0f9ff;border-color:#bae6fd}.bdgg-status-level-up-pass{color:#7c3aed;background:#f5f3ff;border-color:#ddd6fe}.bdgg-status-amount-mismatch{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.bdgg-ro-empty-row{display:flex;align-items:center;gap:11px;padding:18px;color:#64748b}.bdgg-ro-empty-icon{width:38px;height:38px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:11px;font-weight:800}.bdgg-ro-empty-row strong{display:block;color:#1e293b;font-size:13px}.bdgg-ro-empty-row span{display:block;margin-top:2px;font-size:11px}.bdgg-ro-feedback{height:0;overflow:hidden;text-align:right;font-size:10px;font-weight:600;transition:height .2s ease,padding .2s ease}.bdgg-ro-feedback-ok,.bdgg-ro-feedback-error{display:none}.bdgg-recent-orders.is-refresh-success .bdgg-ro-feedback{height:25px;padding:5px 14px 7px}.bdgg-recent-orders.is-refresh-success .bdgg-ro-feedback-ok{display:inline;color:#16a34a}.bdgg-recent-orders.is-refresh-error .bdgg-ro-feedback{height:25px;padding:5px 14px 7px}.bdgg-recent-orders.is-refresh-error .bdgg-ro-feedback-error{display:inline;color:#dc2626}.bdgg-recent-orders.is-refresh-success .bdgg-ro-list{animation:bdgg_ro_list_flash .5s ease}@keyframes bdgg_ro_list_flash{0%{background:#f0fdf4}100%{background:#fff}}@media(max-width:480px){.bdgg-recent-orders{border-radius:16px}.bdgg-ro-header{min-height:78px;padding:16px 13px 14px}.bdgg-ro-header::after{left:14px;width:58px}.bdgg-ro-heading{gap:9px}.bdgg-ro-main-icon{width:42px;height:42px;min-width:42px;border-radius:11px}.bdgg-ro-main-icon svg{width:21px;height:21px}.bdgg-ro-title{font-size:17px}.bdgg-ro-meta{gap:5px;margin-top:4px;font-size:9.5px}.bdgg-ro-wave svg{width:25px;height:10px}.bdgg-ro-refresh{width:40px;height:40px;min-width:40px}.bdgg-ro-refresh svg{width:20px;height:20px}.bdgg-ro-item{min-height:63px;gap:8px;padding:11px 13px}.bdgg-ro-customer{gap:9px}.bdgg-ro-avatar{width:38px;height:38px;min-width:38px;border-radius:10px;font-size:13px}.bdgg-ro-name{font-size:13px}.bdgg-ro-product{max-width:145px;font-size:9.5px}.bdgg-ro-status{min-height:27px;padding:5px 8px;font-size:9px}.bdgg-ro-status-icon{width:14px;height:14px;font-size:8px}}@media(max-width:360px){.bdgg-ro-subtitle{max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bdgg-ro-wave{display:none}.bdgg-ro-product{max-width:105px}}@media(prefers-reduced-motion:reduce){.bdgg-ro-refresh.is-loading svg,.bdgg-recent-orders.is-refresh-success .bdgg-ro-list{animation:none!important}}

/* v1.1.1: serial feed insertion — only the newest row is introduced per update. */
.bdgg-ro-item-new {
	animation: bdggRoSlideIn .45s ease both;
}
@keyframes bdggRoSlideIn {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}


/* v1.1.3: extend 25px on both sides on mobile. */
@media(max-width:767px){
  .bdgg-recent-orders{
    width:calc(100% + 50px);
    max-width:none;
    margin-left:-25px;
    margin-right:-25px;
  }
}
@media(max-width:480px){
  .bdgg-ro-header{padding-left:10px;padding-right:10px}
  .bdgg-ro-item{padding-left:10px;padding-right:10px}
}
