.purchase-return-page{--rt-primary:#2457d6;--rt-primary-soft:#eef3ff;--rt-green:#16805b;--rt-orange:#d97706;--rt-border:#e3e8ef;--rt-text:#172033;--rt-muted:#687386;max-width:1800px;margin:auto;color:var(--rt-text)}
.return-hero{background:linear-gradient(135deg,#fff 0%,#f4f7ff 100%);border:1px solid #dfe7fb;border-radius:20px;padding:24px 26px;box-shadow:0 12px 35px rgba(31,55,102,.08)}
.return-hero-icon{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#2457d6,#153c9e);color:#fff;font-size:1.6rem;box-shadow:0 10px 24px rgba(36,87,214,.25)}
.return-kicker{font-size:.78rem;font-weight:800;color:var(--rt-primary);letter-spacing:.06em;margin-bottom:4px}.return-status-wrap{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:110px}.return-status{padding:7px 18px;border-radius:999px;font-weight:800;font-size:.82rem}.return-status.draft{background:#edf1f5;color:#536174}.return-status.posted{background:#def7ec;color:#08734e}
.return-card{border:1px solid var(--rt-border)!important;border-radius:18px!important;overflow:hidden}.return-card .card-header{padding:16px 20px;font-size:1rem;border-bottom:1px solid var(--rt-border);color:#26334a}.return-card .card-body{padding:22px}.purchase-return-page .form-label{font-size:.85rem;font-weight:700;color:#48556a}.purchase-return-page .form-control{min-height:44px;border-color:#dce2ea;border-radius:10px}.purchase-return-page .form-control[readonly]{background:#f6f8fb;color:#344159}.purchase-return-page .form-control:focus{border-color:var(--rt-primary);box-shadow:0 0 0 3px rgba(36,87,214,.12)}
#linesTable{font-size:.86rem}#linesTable thead th{padding:13px 10px;background:#26334a;color:#fff;border:0;white-space:nowrap;font-weight:700}#linesTable tbody td{padding:10px;border-color:#edf0f4;white-space:nowrap}#linesTable tbody tr:hover{background:#f8faff}#linesTable input{min-width:100px;height:36px;font-weight:800;color:var(--rt-primary)}
.return-summary{padding:17px;border-radius:14px;border:1px solid var(--rt-border);height:100%;background:#fafbfd}.return-summary small{display:block;color:var(--rt-muted);font-weight:700;margin-bottom:6px}.return-summary h5{margin:0;font-size:1.45rem;font-weight:800}.return-summary.items{background:#f2f6ff;color:#2457d6}.return-summary.quantity{background:#effbf7;color:#16805b}.return-summary.amount{background:#fff7ed;color:#b35c05}
.return-actions-card{position:sticky;bottom:14px;z-index:20;border:1px solid #dfe5ed!important;border-radius:16px!important;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);box-shadow:0 12px 35px rgba(23,32,51,.14)}.return-actions-card .btn{min-height:42px;border-radius:10px;font-weight:700}
.return-messages{position:fixed;left:24px;bottom:24px;z-index:1090;display:flex;flex-direction:column;gap:10px;width:min(390px,calc(100vw - 48px))}.return-message{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:13px;color:#fff;box-shadow:0 14px 35px rgba(0,0,0,.2);animation:returnToastIn .25s ease}.return-message.success{background:#147a58}.return-message.error{background:#c23b47}.return-message.warning{background:#b96808}.return-message.info{background:#2858b8}.return-message .message-body{flex:1}.return-message strong{display:block;margin-bottom:2px}.return-message button{border:0;background:transparent;color:#fff;font-size:1.2rem;line-height:1}@keyframes returnToastIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:768px){.return-hero{padding:18px}.return-actions-card{bottom:6px}.return-actions-card .btn{flex:1}.return-messages{left:12px;bottom:12px;width:calc(100vw - 24px)}}
