.orders-cards{display:grid;gap:20px}.order-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px}.order-card-head,.fund-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.order-card-head h2{margin:0 0 3px}.order-card-head small{color:var(--muted)}.order-card-head>div:last-child{display:flex;align-items:center;gap:12px}.order-card-head>div:last-child b{font-size:18px}.timeline.compact{display:flex;border-left:0;margin:18px 0;padding:0;gap:4px}.timeline.compact div{flex:1;margin:0;padding-top:22px;text-align:center;font-size:12px}.timeline.compact div:before{left:50%;top:0;transform:translateX(-50%)}.timeline.compact div:after{content:"";position:absolute;top:4px;left:0;width:100%;height:2px;background:#dfe6ef;z-index:0}.timeline.compact div:first-child:after{left:50%;width:50%}.timeline.compact div:last-child:after{width:50%}.timeline.compact div.done:after{background:var(--blue)}.timeline.compact div:before{z-index:1}.order-actions{display:flex;gap:10px}.order-funds{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.fund-title h3{margin:0;font-size:15px}.fund-title .secondary{padding:6px 10px;font-size:12px}.order-funds .fund-summary{grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.order-funds .fund-summary span{padding:8px;font-size:11px}.order-funds .fund-summary b{font-size:12px}.drawer-funds{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-top:10px}.drawer-funds .fund-card{background:#f7f9fc;border-radius:8px;padding:9px;gap:6px}.drawer-funds h4{margin:0;font-size:12px}.drawer-funds input,.drawer-funds select{height:34px;padding:6px 8px;font-size:12px}.drawer-funds button{min-height:32px;padding:6px 8px;font-size:12px}.close-order{color:#c94035;border-color:#efc2bd}.order-funds>h4{font-size:12px;margin:12px 0 6px}.order-funds .fund-log{max-height:110px;padding:9px;font-size:11px}@media(max-width:800px){.drawer-funds{grid-template-columns:repeat(2,minmax(0,1fr))}.order-funds .fund-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.timeline.compact{display:block}.timeline.compact div{text-align:left;padding:0 0 0 20px;margin:12px}.timeline.compact div:after{display:none}}@media(max-width:520px){.order-card{padding:14px}.drawer-funds{grid-template-columns:repeat(2,minmax(0,1fr))}.order-funds .fund-summary{grid-template-columns:1fr}}
.fund-action-bar{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.fund-action-bar button{border:0;border-radius:8px;min-height:34px;padding:7px 13px;font-size:12px;cursor:pointer}.fund-action-bar .secondary{border:1px solid var(--line);background:#fff}.fund-action-bar .danger-button{background:#c94035;color:#fff}.fund-history{margin-top:12px;font-size:12px;color:var(--muted)}.fund-history summary{cursor:pointer;width:max-content}.fund-history .fund-log{margin-top:7px}
.status-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 18px}.status-tab{position:relative;flex:0 0 auto;min-width:96px;border:1px solid var(--line);background:#fff;color:#536176;border-radius:10px;padding:11px 34px 11px 18px;white-space:nowrap;cursor:pointer}.status-tab:hover{border-color:#9ec4f8;color:var(--blue)}.status-tab.active{border-color:var(--blue);background:var(--blue-soft);color:var(--blue);font-weight:600}.status-tab span{position:absolute;right:7px;top:5px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#edf1f6;color:#627086;font-size:10px}.status-tab.active span{background:var(--blue);color:#fff}@media(max-width:700px){.status-tab{min-width:88px;padding-left:14px;padding-right:31px}}
.status-tab.billing-tab.unpaid,.status-tab.billing-tab.paid,.status-tab.renewal-tab{border-color:var(--line);background:#fff;color:#536176;font-weight:400}.status-tab.billing-tab.unpaid span,.status-tab.billing-tab.paid span,.status-tab.renewal-tab span{background:#edf1f6;color:#627086}.status-tab.billing-tab.unpaid.active,.status-tab.billing-tab.paid.active,.status-tab.renewal-tab.active{border-color:var(--blue);background:var(--blue-soft);color:var(--blue);font-weight:600}.status-tab.billing-tab.unpaid.active span,.status-tab.billing-tab.paid.active span,.status-tab.renewal-tab.active span{background:var(--blue);color:#fff}
