.failed-page{display:grid;gap:18px}.failed-heading,.failed-pagination,.failed-actions,.failed-filter-actions,.failed-form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.failed-heading p{margin:4px 0 0;color:#69748a}.failed-banner{border:1px solid #efc97c;background:#fff7e5;border-radius:10px;padding:14px 17px;color:#684a16;line-height:1.5}.failed-banner strong{display:block}.failed-filter{display:grid;grid-template-columns:minmax(220px,1fr) 210px auto;align-items:end;gap:14px}.failed-filter .field,.failed-create .field{margin:0}.failed-filter-actions{justify-content:flex-end}.failed-table{min-width:1050px}.failed-table td{vertical-align:top}.failed-table td small{display:block;margin-top:4px;max-width:210px;color:#667189;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.failed-status{display:inline-block;border-radius:100px;padding:4px 9px;font-size:12px;font-weight:700;white-space:nowrap}.failed-failed{background:#ffebeb;color:#a22f2f}.failed-unavailable{background:#fff2d5;color:#8a5b03}.failed-actions{justify-content:flex-start;flex-wrap:wrap}.failed-pagination{margin-top:15px;color:#647084;font-size:13px}.failed-pagination>div{display:flex;align-items:center;gap:8px}.failed-pagination .select{width:70px;margin-left:5px}.failed-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.failed-detail-grid>div{border:1px solid #e6eaf1;border-radius:9px;padding:13px}.failed-detail-grid span{display:block;color:#69748a;font-size:12px}.failed-detail-grid strong{display:block;margin:5px 0}.failed-detail-grid p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.failed-detail h3{font-size:15px;margin:16px 0 9px}.failed-create{display:grid;gap:14px}.failed-hint{margin:0;color:#6f7380;font-size:13px}.failed-case-search{display:flex;align-items:end;gap:9px}.failed-case-search .field{flex:1}.failed-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.failed-wide,.failed-form-actions{grid-column:1/-1}.failed-create textarea{min-height:78px}.failed-form-actions{justify-content:flex-end}.failed-form-error{color:#b5273b;font-size:13px}.failed-list .panel-heading{margin-bottom:13px}@media(max-width:850px){.failed-heading,.failed-pagination{align-items:flex-start;flex-direction:column}.failed-filter,.failed-create-grid,.failed-detail-grid{grid-template-columns:1fr}.failed-filter-actions{justify-content:flex-start}.failed-wide,.failed-form-actions{grid-column:auto}}@media(max-width:500px){.failed-case-search{align-items:stretch;flex-direction:column}.failed-pagination>div{flex-wrap:wrap}}

/* EGESOFT dashboard treatment for unsuccessful orders. */
.failed-dashboard{gap:13px;min-width:0;color:#344d59}
.failed-dashboard .failed-page-heading{min-height:78px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:3px 2px 1px}
.failed-dashboard .failed-kicker,.failed-dashboard .failed-section-kicker{display:flex;align-items:center;gap:7px;color:#789097;font-size:8px;font-weight:700;letter-spacing:.13em}
.failed-dashboard .failed-kicker i,.failed-dashboard .failed-table-hint i{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:#3caaa0;box-shadow:0 0 0 3px #e4f4f1}
.failed-dashboard .failed-kicker b{color:#c0cccf;font-size:8px}
.failed-dashboard .failed-page-heading h1{margin:7px 0 3px;color:#142f3f;font-size:25px;font-weight:650;letter-spacing:-.04em}
.failed-dashboard .failed-page-heading p{margin:0;color:#778b93;font-size:11px;line-height:1.6}
.failed-dashboard .failed-page-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:7px}
.failed-dashboard .failed-page-actions .btn,.failed-dashboard .failed-filter-actions .btn{min-height:32px;padding:0 10px;border:1px solid #dfe8e9;border-radius:7px;color:#60777e;background:#fff;font-size:9px}
.failed-dashboard .failed-page-actions .btn:hover,.failed-dashboard .failed-filter-actions .btn:hover{border-color:#b8d8d4;color:#176f70;background:#f3f9f8}
.failed-dashboard .failed-page-actions .btn.primary,.failed-dashboard .failed-filter-actions .btn.primary{border-color:#16837e;color:#fff;background:#168b84}
.failed-dashboard .failed-page-actions .btn.primary:hover,.failed-dashboard .failed-filter-actions .btn.primary:hover{border-color:#116f6b;background:#117872}
.failed-dashboard .failed-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;min-width:0}
.failed-dashboard .failed-metric{--failed-color:#168b84;position:relative;min-width:0;min-height:89px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:9px 1fr auto;grid-template-areas:"marker action" "label count" "hint count";align-items:center;gap:5px 8px;padding:10px 12px;overflow:hidden;border:1px solid #e5ecee;border-radius:11px;color:#193746;background:linear-gradient(155deg,#fff,#f9fbfb);text-align:left;box-shadow:0 2px 6px rgb(28 57 69 / 2%);cursor:pointer;transition:all .16s ease}
.failed-dashboard .failed-metric-error{--failed-color:#c35a58}.failed-dashboard .failed-metric-offline{--failed-color:#c08a36}.failed-dashboard .failed-metric-attempts{--failed-color:#527caa;cursor:default}
.failed-dashboard .failed-metric::after{position:absolute;right:-34px;bottom:-54px;z-index:0;width:90px;height:90px;border:1px solid color-mix(in srgb,var(--failed-color) 13%,white);border-radius:50%;box-shadow:0 0 0 13px color-mix(in srgb,var(--failed-color) 4%,white);content:"";pointer-events:none}
.failed-dashboard .failed-metric>*{position:relative;z-index:1}.failed-dashboard button.failed-metric:hover{border-color:#a8d8d4;background:#f5fbfa;box-shadow:0 7px 16px rgb(33 116 112 / 8%);transform:translateY(-1px)}
.failed-dashboard .failed-metric:focus-visible{outline:2px solid #53b8b0;outline-offset:2px}.failed-dashboard .failed-metric.active{border-color:#123a48;color:#fff;background:linear-gradient(145deg,#103342,#0c2937);box-shadow:0 8px 18px rgb(13 48 64 / 17%)}
.failed-dashboard .failed-metric>i{grid-area:marker;width:7px;height:7px;border-radius:50%;background:var(--failed-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--failed-color) 13%,white)}
.failed-dashboard .failed-metric>span{grid-area:label;min-width:0;overflow:hidden;color:#506772;font-size:9px;font-weight:650;line-height:1.35;text-overflow:ellipsis}
.failed-dashboard .failed-metric strong{grid-area:count;z-index:1;color:var(--failed-color);font-size:24px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}
.failed-dashboard .failed-metric small{grid-area:hint;overflow:hidden;color:#94a4ab;font-size:8px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.failed-dashboard .failed-metric.active>span{color:#e6f2f3}.failed-dashboard .failed-metric.active strong{color:#9af0e3}.failed-dashboard .failed-metric.active small{color:#94b8bd}
.failed-dashboard .failed-metric.active::after{border-color:rgb(154 240 227 / 22%);box-shadow:0 0 0 13px rgb(154 240 227 / 5%)}
.failed-dashboard .failed-banner{padding:10px 14px;border:1px solid #f1dfbd;border-radius:9px;color:#806333;background:#fffaf1;font-size:10px;line-height:1.5}.failed-dashboard .failed-banner strong{display:inline;margin-right:4px;color:#70501f}
.failed-dashboard .failed-panel{min-width:0;overflow:hidden;border:1px solid #e3eaec;border-radius:13px;background:#fff;box-shadow:0 6px 22px rgb(25 49 62 / 4%)}
.failed-dashboard .failed-filter-panel{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(155px,.8fr) auto;align-items:end;gap:12px;margin:0;padding:0}
.failed-dashboard .failed-panel-heading{grid-column:1/-1;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 17px;border-bottom:1px solid #e7edef}
.failed-dashboard .failed-panel-heading h2,.failed-dashboard .failed-list-heading h2{margin:3px 0 0;color:#1b3948;font-size:13px;font-weight:650}
.failed-dashboard .failed-panel-heading p,.failed-dashboard .failed-list-heading p{margin:4px 0 0;color:#81939a;font-size:8px;line-height:1.5}
.failed-dashboard .failed-match-count{display:inline-flex;align-items:baseline;gap:5px;padding:6px 9px;border:1px solid #e4eded;border-radius:999px;color:#3c626a;background:#f7fbfa;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.failed-dashboard .failed-match-count small{color:#8a9c9f;font-size:8px;font-weight:550}
.failed-dashboard .failed-filter-panel>.field{min-width:0;margin:0 0 14px 17px}.failed-dashboard .failed-filter-panel>label:nth-of-type(2){margin-left:0}
.failed-dashboard .failed-filter-panel>.field>span{display:block;margin-bottom:4px;color:#627880;font-size:9px;font-weight:650}
.failed-dashboard .failed-filter-panel .input,.failed-dashboard .failed-filter-panel .select{min-width:0;min-height:34px;border-color:#dce6e8;border-radius:7px;font-size:10px}
.failed-dashboard .failed-filter-panel .input:focus,.failed-dashboard .failed-filter-panel .select:focus{border-color:#69bdb6;box-shadow:0 0 0 3px rgb(76 190 183 / 11%)}
.failed-dashboard .failed-filter-actions{justify-content:flex-end;gap:7px;margin:0 17px 14px 0}
.failed-dashboard .failed-list-heading{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 17px;border-bottom:1px solid #e7edef}
.failed-dashboard .failed-table-hint{min-height:33px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 17px;border-bottom:1px solid #edf2f3;color:#84969c;background:#fbfdfd;font-size:8px}.failed-dashboard .failed-table-hint span:first-child{display:inline-flex;align-items:center;gap:7px}
.failed-dashboard .failed-table-scroll{max-height:min(58vh,620px);overflow:auto;scrollbar-color:#b7cccf #f3f7f7;scrollbar-width:thin}
.failed-dashboard .failed-table{width:100%;min-width:1050px;border-collapse:separate;border-spacing:0;color:#344d59;font-size:9px}
.failed-dashboard .failed-table thead th{position:sticky;top:0;z-index:1;height:40px;padding:0 11px;border-bottom:1px solid #e7edef;color:#72868e;background:#f7fafa;font-size:8px;font-weight:700;letter-spacing:.045em;text-align:left;text-transform:uppercase;white-space:nowrap}
.failed-dashboard .failed-table tbody tr{background:#fff;transition:background-color .12s ease}.failed-dashboard .failed-table tbody tr:nth-child(even){background:#fbfcfc}.failed-dashboard .failed-table tbody tr:hover{background:#eff8f7}
.failed-dashboard .failed-table td{height:53px;padding:8px 11px;border-bottom:1px solid #eef2f3;color:#526772;font-size:9px;line-height:1.45;vertical-align:middle}.failed-dashboard .failed-table tbody tr:last-child td{border-bottom-color:transparent}
.failed-dashboard .failed-table td a{color:#267976;font-weight:700;text-decoration:none}.failed-dashboard .failed-table td a:hover{color:#145b5d;text-decoration:underline}.failed-dashboard .failed-table td small{color:#84969c;font-size:8px}
.failed-dashboard .failed-status{padding:4px 8px;border-radius:999px;font-size:8px;font-weight:650}.failed-dashboard .failed-failed{color:#9d5665;background:#f9e9ec}.failed-dashboard .failed-unavailable{color:#946824;background:#fcf3e2}
.failed-dashboard .failed-table .btn,.failed-dashboard .failed-pagination .btn{min-height:28px;padding:0 9px;border:1px solid #e0e8e9;border-radius:7px;color:#60777e;background:#fff;font-size:8px}.failed-dashboard .failed-table .btn:hover,.failed-dashboard .failed-pagination .btn:hover{border-color:#b8d8d4;color:#176f70;background:#f3f9f8}
.failed-dashboard .failed-table .btn:disabled,.failed-dashboard .failed-pagination .btn:disabled{opacity:.48;cursor:not-allowed}
.failed-dashboard .failed-pagination{min-height:49px;margin:0;padding:8px 16px;border-top:1px solid #edf2f3;color:#819198;background:#fbfcfc;font-size:9px}.failed-dashboard .failed-pagination>div{gap:6px}.failed-dashboard .failed-pagination .select{height:28px;border-color:#e0e8e9;border-radius:7px;font-size:9px}
.failed-dashboard .failed-create,.failed-dashboard .failed-detail{padding:16px;border-radius:13px;border-color:#e3eaec;box-shadow:0 6px 22px rgb(25 49 62 / 4%)}.failed-dashboard .failed-create .panel-heading,.failed-dashboard .failed-detail .panel-heading{margin-bottom:10px}
.failed-dashboard .failed-create h2,.failed-dashboard .failed-detail h2{color:#1b3948;font-size:14px}.failed-dashboard .failed-hint{color:#81939a;font-size:10px}.failed-dashboard .failed-detail-grid>div{border-color:#e3eaec;border-radius:9px;background:#fbfdfd}.failed-dashboard .failed-detail h3{color:#1b3948}
.failed-dashboard .empty-state{height:130px;color:#86999f;text-align:center}
@media(max-width:1100px){.failed-dashboard .failed-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.failed-dashboard .failed-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.failed-dashboard .failed-filter-actions{grid-column:1/-1;justify-content:flex-start;margin-left:17px}}
@media(max-width:760px){.failed-dashboard .failed-page-heading{align-items:flex-start;flex-direction:column;gap:12px}.failed-dashboard .failed-page-actions{width:100%;justify-content:flex-end}.failed-dashboard .failed-panel-heading,.failed-dashboard .failed-list-heading{padding-inline:13px}.failed-dashboard .failed-table-hint{align-items:flex-start;flex-direction:column;justify-content:center;gap:4px;padding:7px 12px}.failed-dashboard .failed-filter-panel>.field{margin-left:13px}.failed-dashboard .failed-filter-actions{margin-left:13px}}
@media(max-width:540px){.failed-dashboard .failed-metrics,.failed-dashboard .failed-filter-panel{grid-template-columns:1fr}.failed-dashboard .failed-page-actions .btn{flex:1}.failed-dashboard .failed-filter-panel>.field{margin:0 13px}.failed-dashboard .failed-filter-actions{grid-column:auto;justify-content:stretch;margin:0 13px 13px}.failed-dashboard .failed-filter-actions .btn{flex:1}.failed-dashboard .failed-panel-heading{grid-column:auto}.failed-dashboard .failed-pagination{align-items:flex-start;flex-direction:column}.failed-dashboard .failed-pagination>div{width:100%;flex-wrap:wrap}.failed-dashboard .failed-pagination>div .btn{flex:1}}
