.elrp-approval,.elrp-account{box-sizing:border-box;color:var(--elrp-text,#1d2939)}
.elrp-approval *,.elrp-account *{box-sizing:border-box}

.elrp-request-status{display:grid;gap:16px;width:100%;padding:18px;border:1px solid var(--elrp-border,#e4e7ec);border-radius:var(--elrp-radius,12px);background:var(--elrp-surface,#fff);box-shadow:0 8px 28px rgba(16,24,40,.05)}
.elrp-request-status--compact{gap:12px}
.elrp-request-status__head,.elrp-request-status__total{display:flex;align-items:center;justify-content:space-between;gap:12px}
.elrp-request-status__head{padding-bottom:13px;border-bottom:1px solid var(--elrp-border,#e4e7ec)}
.elrp-request-status__head strong{font-size:15px;line-height:1.8;color:var(--elrp-text,#1d2939)}
.elrp-request-status__head>span{display:inline-flex;align-items:center;min-height:30px;padding:var(--elrp-counter-pad-y,4px) var(--elrp-counter-pad-x,10px);border:1px solid var(--elrp-counter-border,var(--elrp-subtle,#f8fafc));border-radius:var(--elrp-counter-radius,999px);background:var(--elrp-counter-bg,var(--elrp-subtle,#f8fafc));color:var(--elrp-counter-text,var(--elrp-muted,#667085));font-size:var(--elrp-counter-font-size,12px);font-weight:var(--elrp-counter-font-weight,400);line-height:1.7}
.elrp-request-status__vendors{display:grid;gap:10px}
.elrp-request-status__vendor{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 14px;align-items:center;padding:12px 13px;border:1px solid var(--elrp-border,#e4e7ec);border-radius:calc(var(--elrp-radius,12px) - 3px);background:var(--elrp-subtle,#f8fafc)}
.elrp-request-status__vendor>div{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.elrp-request-status__vendor>div strong{color:var(--elrp-text,#1d2939);font-size:13px}
.elrp-request-status__vendor>div span{display:inline-flex;align-items:center;min-height:26px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.7;background:var(--elrp-surface,#fff);border:1px solid currentColor}
.elrp-request-status__vendor .is-approved{color:var(--elrp-success,#087a32)}
.elrp-request-status__vendor .is-rejected{color:var(--elrp-error,#b42318)}
.elrp-request-status__vendor .is-pending{color:var(--elrp-warning,#9a6700)}
.elrp-request-status__vendor>b{white-space:nowrap;color:var(--elrp-text,#1d2939)}
.elrp-request-status__time{grid-column:1/-1;color:var(--elrp-muted,#667085);font-size:11px;line-height:1.8}
.elrp-request-status__reason{grid-column:1/-1;margin:0;padding:8px 10px;border-radius:8px;background:var(--elrp-surface,#fff);color:var(--elrp-error,#b42318);font-size:12px;line-height:1.9}
.elrp-request-status__total{padding:13px 14px;border-radius:calc(var(--elrp-radius,12px) - 3px);background:var(--elrp-subtle,#f8fafc)}
.elrp-request-status__total span{color:var(--elrp-muted,#667085)}
.elrp-request-status__total strong{font-size:15px;color:var(--elrp-text,#1d2939)}
.elrp-request-status__feedback{display:grid;gap:10px}
.elrp-request-status__message{position:relative;margin:0;padding:12px 14px 12px 14px;border:1px solid var(--elrp-border,#e4e7ec);border-radius:calc(var(--elrp-radius,12px) - 3px);background:var(--elrp-subtle,#f8fafc);color:var(--elrp-text,#1d2939);font-size:13px;line-height:2}
.elrp-request-status__message:before{content:"";display:inline-block;width:8px;height:8px;margin-inline-end:8px;border-radius:50%;vertical-align:1px;background:var(--elrp-accent,#2563eb)}
.elrp-request-status__message.is-info{border-color:var(--elrp-accent,#2563eb);background:var(--elrp-subtle,#f8fafc);color:var(--elrp-text,#1d2939)}
.elrp-request-status__message.is-info:before{background:var(--elrp-accent,#2563eb)}
.elrp-request-status__message.is-success{border-color:var(--elrp-success,#087a32);background:var(--elrp-subtle,#f8fafc);color:var(--elrp-success,#087a32)}
.elrp-request-status__message.is-success:before{background:var(--elrp-success,#087a32)}
.elrp-request-status__message.is-warning{border-color:var(--elrp-warning,#9a6700);background:var(--elrp-subtle,#f8fafc);color:var(--elrp-warning,#9a6700)}
.elrp-request-status__message.is-warning:before{background:var(--elrp-warning,#9a6700)}
.elrp-request-status__message.is-error{border-color:var(--elrp-error,#b42318);background:var(--elrp-subtle,#f8fafc);color:var(--elrp-error,#b42318)}
.elrp-request-status__message.is-error:before{background:var(--elrp-error,#b42318)}
.elrp-request-status__actions,.elrp-request-status__action-row{display:flex;align-items:center;gap:var(--elrp-actions-gap,10px);flex-wrap:wrap}
.elrp-request-status__action-row{justify-content:flex-start}
.elrp-approval__checkout,.elrp-request-status__cancel .button{min-height:42px!important;line-height:1.8!important;text-decoration:none!important;box-shadow:none!important;transition:transform .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease!important}
.elrp-approval__checkout{width:var(--elrp-checkout-width,auto);padding:var(--elrp-checkout-pad-y,9px) var(--elrp-checkout-pad-x,18px)!important;border:1px solid var(--elrp-checkout-border,#2563eb)!important;border-radius:var(--elrp-checkout-radius,8px)!important;background:var(--elrp-checkout-bg,#2563eb)!important;color:var(--elrp-checkout-text,#fff)!important;font-size:var(--elrp-checkout-font-size,14px)!important;font-weight:var(--elrp-checkout-font-weight,700)!important;text-align:center}
.elrp-approval__checkout:hover{transform:translateY(-1px);background:var(--elrp-checkout-hover-bg,#1d4ed8)!important;border-color:var(--elrp-checkout-hover-border,#1d4ed8)!important;color:var(--elrp-checkout-hover-text,#fff)!important}
.elrp-request-status__cancel{width:var(--elrp-cancel-width,auto);margin:0;padding:0}
.elrp-request-status__cancel .button{width:100%;padding:var(--elrp-cancel-pad-y,9px) var(--elrp-cancel-pad-x,18px)!important;border:1px solid var(--elrp-cancel-border,#b42318)!important;border-radius:var(--elrp-cancel-radius,8px)!important;background:var(--elrp-cancel-bg,#fff)!important;color:var(--elrp-cancel-text,#b42318)!important;font-size:var(--elrp-cancel-font-size,14px)!important;font-weight:var(--elrp-cancel-font-weight,700)!important;cursor:pointer!important}
.elrp-request-status__cancel .button:hover{transform:translateY(-1px);background:var(--elrp-cancel-hover-bg,#f8fafc)!important;border-color:var(--elrp-cancel-hover-border,#b42318)!important;color:var(--elrp-cancel-hover-text,#b42318)!important}

/* The page builder owns the visual design of the external submit button. The plugin only
   controls workflow availability/loading and never overrides its normal style. */
.electrolotus-role-order-submit.elrp-trigger-is-hidden{display:none!important}
.electrolotus-role-order-submit.elrp-trigger-is-loading{pointer-events:none!important;opacity:.6!important;cursor:wait!important}

.elrp-account{display:grid;gap:14px}
.elrp-account>h2{margin:0 0 4px;color:var(--elrp-text,#1d2939)}

@media(max-width:700px){
    .elrp-request-status{gap:13px;padding:14px}
    .elrp-request-status__head,.elrp-request-status__total{align-items:flex-start;flex-direction:column}
    .elrp-request-status__vendor{grid-template-columns:1fr}
    .elrp-request-status__vendor>b{justify-self:start}
    .elrp-request-status__actions,.elrp-request-status__action-row{width:100%}
    .elrp-request-status__action-row{align-items:stretch}
    .elrp-request-status__action-row .elrp-approval__checkout,.elrp-request-status__action-row .elrp-request-status__cancel{flex:1 1 160px;max-width:100%}
    .elrp-request-status__action-row .elrp-request-status__cancel .button{width:100%}
    .elrp-request-status__actions .elrp-approval__checkout{width:100%;text-align:center}
}
