/* Manual SBP order status, bank details and receipt review. */
#modal-content .order-view{
  display:flex;
  flex:1;
  flex-direction:column;
  min-width:0;
  min-height:0;
  overflow:hidden;
}
.deposit-sheet[data-deposit-screen="order"] .dep-header{
  min-height:73px;
  padding-bottom:18px;
}
#modal-content .order-view .dep-header h2{
  font-size:18px;
  line-height:1.3;
  letter-spacing:-.3px;
}
.order-main{
  flex:1;
  min-width:0;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  padding:2px 20px calc(24px + env(safe-area-inset-bottom));
  scrollbar-width:thin;
  scrollbar-color:#414860 transparent;
}
.order-main::-webkit-scrollbar{width:4px}
.order-main::-webkit-scrollbar-thumb{border-radius:4px;background:#414860}
.order-hero{
  display:flex;
  align-items:center;
  flex-direction:column;
  padding:9px 8px 1px;
  text-align:center;
}
.order-mark{
  position:relative;
  display:grid;
  place-items:center;
  flex-shrink:0;
  width:66px;
  height:66px;
  margin-bottom:21px;
  border-radius:50%;
  background:#25273e;
}
.order-mark>svg,.order-mark>.dep-icon{display:block;width:64px;height:64px;stroke:none;fill:none;border-radius:50%}
.order-mark>.order-bank-icon{width:32px;height:32px;color:#a4c5f6;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;border-radius:0}
.order-status-badge{
  position:absolute;
  top:-2px;
  right:-3px;
  display:grid;
  place-items:center;
  width:23px;
  height:23px;
  border:3px solid #0e0f23;
  border-radius:50%;
  background:#f2b64d;
  color:#342713;
}
.order-status-badge.pending{background:#e8b54e;color:#352b15}
.order-status-badge.approved{background:#4bb991;color:#102c24}
.order-status-badge.rejected{background:#d97585;color:#371b23}
.order-status-badge>svg{width:12px;height:12px;stroke-width:2}
.order-amount{
  max-width:100%;
  color:#edf1fc;
  font-size:31px;
  font-weight:600;
  line-height:1.22;
  letter-spacing:-.9px;
  overflow-wrap:anywhere;
  font-variant-numeric:lining-nums tabular-nums;
}
.order-subtitle{margin-top:7px;color:#8d98b4;font-size:13px;line-height:1.6;letter-spacing:-.1px}
.order-adjustment{
  margin:23px 0 16px;
  padding:17px 18px;
  border:1px solid #405b82;
  border-radius:18px;
  background:#1b2941;
}
#modal-content .order-adjustment h3{margin:0;color:#d2e3ff;font-size:16px;font-weight:600;line-height:1.45;letter-spacing:-.2px}
.order-adjustment-amounts{display:grid;gap:10px;margin:16px 0 0}
.order-adjustment-amounts>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;min-width:0}
.order-adjustment-amounts dt{min-width:0;color:#a6b6d0;font-size:13px;line-height:1.5}
.order-adjustment-amounts dd{min-width:0;max-width:56%;margin:0;color:#c1cfe3;font-size:15px;font-weight:500;line-height:1.5;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.order-adjustment-amounts>div:last-child dt{color:#d2e3ff;font-weight:500}
.order-adjustment-amounts>div:last-child dd{color:#edf4ff;font-size:20px;font-weight:600;letter-spacing:-.35px}
.order-adjustment p{margin:15px 0 0;padding-top:14px;border-top:1px solid #91b8ef24;color:#b3c3dd;font-size:13px;line-height:1.65}
.order-adjustment+.order-status-card{margin-top:16px}
.order-status-card{
  margin:23px 0 16px;
  padding:18px;
  border:1px solid #30334b;
  border-radius:18px;
  background:#191c31;
}
.order-status-top{display:flex;align-items:flex-start;gap:11px;min-width:0}
.order-status-top>div{flex:1;min-width:0}
#modal-content .order-status-card h3{margin:0;color:#e6ebf8;font-size:16px;font-weight:500;line-height:1.4;letter-spacing:-.2px}
.order-status-card p{margin-top:8px;color:#97a1bb;font-size:13px;line-height:1.65;letter-spacing:-.1px}
.order-status-card>p:first-child{margin-top:0}
.order-spinner{
  display:block;
  flex-shrink:0;
  width:17px;
  height:17px;
  margin-top:3px;
  border:2px solid #30496f;
  border-top-color:#70aaff;
  border-right-color:#70aaff;
  border-radius:50%;
  animation:order-spin .9s linear infinite;
}
.order-status-dot{display:block;flex-shrink:0;width:8px;height:8px;margin:7px 4px 0;border-radius:50%;background:#77a6f0}
.order-status-dot.approved{background:#64c6a4}
.order-status-dot.rejected{background:#dc8594}
.order-details-card{
  margin:14px 0;
  padding:0 16px;
  border:1px solid #2d324a;
  border-radius:17px;
  background:#202237;
}
dl.order-details-card,.order-details-card dl{margin-top:14px;margin-bottom:14px}
.order-details-card dl{margin:0}
.order-details-card>div,.order-details-card>dl>div,.order-details-card .order-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:17px;
  min-width:0;
  padding:14px 0;
  border-bottom:1px solid #ffffff08;
}
.order-details-card>div:last-child,.order-details-card>dl>div:last-child,.order-details-card .order-row:last-child{border-bottom:0}
.order-details-card dt{flex:1;min-width:0;color:#919bb6;font-size:13px;font-weight:400;line-height:1.5;letter-spacing:-.1px}
.order-details-card dd{display:flex;align-items:center;justify-content:flex-end;gap:7px;max-width:64%;min-width:0;margin:0;color:#e0e7f7;font-size:14px;font-weight:500;line-height:1.45;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.order-details-card dd>span{min-width:0;overflow-wrap:anywhere}
.order-copy{display:grid;place-items:center;flex-shrink:0;width:29px;height:29px;margin:-4px -5px -4px 0;padding:0;border-radius:8px;color:#8ea6cc}
.order-copy>svg{width:17px;height:17px;stroke-width:1.7}
.order-bank-details{margin:18px 0 16px;padding:17px 18px;border:1px solid #384766;border-radius:17px;background:#1b263e}
.order-bank-details h3{margin:0 0 16px;color:#c8d9f6;font-size:14px;font-weight:500;line-height:1.5;letter-spacing:-.1px}
.order-detail-label{display:block;color:#a0aec8;font-size:13px;line-height:1.5}
.order-detail-number-row{display:flex;align-items:flex-start;gap:10px;min-width:0;margin:5px 0 16px}
.order-detail-number{display:block;flex:1;min-width:0;color:#edf2ff;font-size:21px;font-weight:500;line-height:1.45;letter-spacing:.3px;overflow-wrap:anywhere;font-variant-numeric:lining-nums tabular-nums}
.order-detail-number.order-detail-number-long{font-size:18px;line-height:1.6;letter-spacing:.1px}
.order-detail-number-row>.order-copy{margin:1px -4px 0 0}
.order-bank-fields{display:grid;gap:10px;margin:0;padding:15px 0 0;border-top:1px solid #91b8ef24}
.order-bank-fields:empty{display:none}
.order-bank-fields>div{display:grid;grid-template-columns:minmax(70px,.7fr) minmax(0,1.3fr);align-items:baseline;gap:12px;min-width:0}
.order-bank-fields dt{min-width:0;color:#a0aec8;font-size:13px;font-weight:400;line-height:1.6}
.order-bank-fields dd{min-width:0;margin:0;color:#d5e1f5;font-size:14px;line-height:1.55;text-align:right;overflow-wrap:anywhere}
.order-bank-details .order-bank-payable{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:16px 0 0;padding-top:14px;border-top:1px solid #91b8ef24;color:#b7c9e6;font-size:13px;line-height:1.6}
.order-bank-payable strong{min-width:0;color:#f0f5ff;font-size:18px;font-weight:600;line-height:1.5;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.order-requisites{color:#c4cfe4;font-size:14px;line-height:1.75;white-space:pre-line;overflow-wrap:anywhere}
.order-upload{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:9px;
  width:100%;
  min-height:112px;
  margin:17px 0 14px;
  padding:18px 16px;
  border:1px dashed #5378ad;
  border-radius:15px;
  background:#182942;
  color:#bdd7ff;
  font-size:14px;
  font-weight:500;
  line-height:1.45;
  text-align:center;
  cursor:pointer;
}
.order-upload>svg{width:27px;height:27px;color:#8cb7f5;stroke-width:1.6}
.order-upload small{display:block;max-width:100%;color:#859bbf;font-size:12px;font-weight:400;line-height:1.5}
.order-upload input[type="file"],.order-file-input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.order-upload:focus-within,.order-upload:focus-visible,.order-file-input:focus-visible+.order-upload{outline:2px solid #8bb9ff;outline-offset:3px}
.order-file-name{display:block;max-width:100%;min-width:0;margin:8px 0 13px;color:#a7c8f7;font-size:13px;line-height:1.5;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.order-receipt-preview{display:block;width:100%;max-height:190px;margin:12px 0;border:1px solid #3a4763;border-radius:12px;background:#131a2b;object-fit:contain}
.order-action{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:47px;margin-top:14px;padding:13px 16px;border:0;border-radius:12px;background:#4389f4;color:#fff;font-size:14px;font-weight:600;line-height:1.4;letter-spacing:-.1px}
.order-action>svg{width:18px;height:18px}
.order-action:disabled{background:#30364d;color:#7f8ba8;cursor:default;opacity:1}
.order-error{margin:13px 0;padding:12px 14px;border:1px solid #754552;border-radius:12px;background:#36202e;color:#e4a1af;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.order-error:empty{display:none}
.order-refresh{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;margin:8px auto 0;padding:8px 13px;border-radius:10px;color:#91b7f3;font-size:13px;font-weight:500;line-height:1.4;letter-spacing:-.1px}
.order-refresh>svg{width:15px;height:15px;stroke-width:1.7}
.order-meta dt{font-size:11px;line-height:1.6}
.order-meta dd{font-size:12px;line-height:1.5;font-weight:400;color:#aab7d1}
.order-success{color:#85d2b4}
.order-status-card.approved{border-color:#315a50;background:#192c2c}
.order-status-card.approved h3{color:#b7e6d5}
.order-status-card.rejected{border-color:#63414f;background:#2b1f30}
.order-status-card.rejected h3{color:#e6b2bf}
.order-status-icon{display:block;flex-shrink:0;width:19px;height:19px;margin-top:1px;color:#8db6f2;stroke-width:1.8}
.order-status-card.approved .order-status-icon{color:#79cbaa}
.order-status-card.rejected .order-status-icon{color:#d790a1}
@keyframes order-spin{to{transform:rotate(360deg)}}
@media(hover:hover) and (pointer:fine){
  .order-copy:hover,.order-refresh:hover{background:#293750;color:#c2d9ff}
  .order-upload:hover{border-color:#83b1f1;background:#1d3150}
  .order-action:not(:disabled):hover{background:#5496fa}
}
@media(max-width:350px){
  .order-main{padding-right:16px;padding-left:16px}
  #modal-content .order-view .dep-header h2{font-size:17px}
  .order-amount{font-size:28px}
  .order-status-card{padding:16px}
  .order-adjustment{padding:16px}
  .order-details-card{padding-right:13px;padding-left:13px}
  .order-details-card>div,.order-details-card>dl>div,.order-details-card .order-row{gap:12px}
  .order-details-card dd{font-size:13px;max-width:62%}
  .order-bank-details{padding:15px}
  .order-detail-number{font-size:19px}
  .order-detail-number.order-detail-number-long{font-size:17px}
}
@media(max-height:650px){
  .deposit-sheet[data-deposit-screen="order"] .dep-header{min-height:62px;padding-bottom:13px}
  .order-hero{padding-top:3px}
  .order-mark{width:56px;height:56px;margin-bottom:15px}
  .order-mark>svg,.order-mark>.dep-icon{width:54px;height:54px}
  .order-amount{font-size:28px}
  .order-status-card{margin-top:19px}
}
@media(prefers-reduced-motion:reduce){
  .order-spinner{animation:none}
  .order-view *{scroll-behavior:auto!important}
}

/* Server-backed wallet history and administrator controls. */
.sbp-transaction{display:flex;align-items:center;gap:11px;width:100%;min-height:78px;padding:15px 16px;text-align:left;border-bottom:1px solid #34384c}
.sbp-transaction:last-child{border-bottom:0}
.sbp-transaction-icon{display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;border-radius:12px;background:#25344e;color:#8cb6f0}
.sbp-transaction-icon svg{width:19px;height:19px}
.sbp-transaction-title{display:block;flex:1;min-width:0;color:#dbe3f6;font-size:13px;font-weight:500;line-height:1.5}
.sbp-transaction-title small{display:block;margin-top:4px;color:#8a96b1;font-size:11px;line-height:1.5;font-weight:400}
.sbp-transaction-amount{flex-shrink:0;max-width:42%;font-size:13px;line-height:1.5;overflow-wrap:anywhere;text-align:right;font-variant-numeric:tabular-nums;color:#a5b2ca}
.sbp-transaction-amount.credited{color:#88d0b2}
.sbp-admin-settings{margin-top:20px;padding:16px;border:1px solid #35415b;border-radius:14px;background:#171f34}
.sbp-admin-settings>span{font-size:14px;font-weight:500;color:#d0dcf2}
.sbp-admin-settings>p{margin:7px 0 14px;font-size:12px;line-height:1.6;color:#93a4c2}
.sbp-admin-settings .secondary-button{min-height:42px}
@media(max-width:350px){.sbp-transaction{padding-left:12px;padding-right:12px;gap:8px}.sbp-transaction-icon{width:31px;height:31px}.sbp-transaction-amount{font-size:12px}}
