.sales-dashboard{margin-bottom:30px;padding:27px;border:1px solid #dae3ee;border-radius:18px;background:linear-gradient(135deg,#fff 55%,#f0f5ff)}
.sales-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}.sales-heading h2{font-size:26px;letter-spacing:-.7px;margin:7px 0}.sales-heading p{font-size:13px;color:#60718b;margin:5px 0}.sales-total{font-size:12px;white-space:nowrap;background:#eaf1fc;color:#2458a4;padding:10px 14px;border-radius:30px;font-weight:700}
.sales-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:17px;background:#f4f7fc;border:1px solid #e1e8f2;border-radius:12px;margin-bottom:20px}.sales-filters label{display:flex;flex-direction:column;gap:7px;flex:1;min-width:135px;font-size:11px;font-weight:700;color:#4e6380}.sales-filters select,.sales-record-filters input,.sales-record-filters select{width:100%;min-height:40px;background:#fff;border:1px solid #cbd8e9;border-radius:8px;padding:9px 11px;color:#263d5b;font:inherit}.sales-filters button{min-height:40px;font-size:12px}
.sales-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.sales-card{position:relative;border:1px solid #d6e3f9;border-radius:13px;padding:19px 17px;text-align:left;background:#f2f7ff;color:#20344f;cursor:pointer;transition:transform .15s,box-shadow .15s;min-width:0}.sales-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px #152d4612}.sales-card:focus-visible,.sales-filters select:focus-visible,.sales-record-filters input:focus-visible,.sales-record-filters select:focus-visible{outline:3px solid #2563eb;outline-offset:3px}.sales-card>span{display:block;font-size:12px;font-weight:700}.sales-card>strong{display:block;font-size:36px;line-height:1.4;color:#2563ce;margin:10px 0}.sales-card>strong small{font-size:20px}.sales-card>small{font-size:10px;line-height:1.5;display:block;max-width:90%;color:#60718b;min-height:30px}.sales-card>b{position:absolute;bottom:16px;right:13px;font-size:15px}.sales-card.amber{background:#fff8e9;border-color:#efdfbb}.sales-card.amber strong{color:#996116}.sales-card.purple{background:#f6f2ff;border-color:#e2d8f7}.sales-card.purple strong{color:#7750b0}.sales-card.green{background:#ebf8f2;border-color:#cee8dc}.sales-card.green strong{color:#177359}.sales-card.dark{background:#192f51;border-color:#192f51;color:#fff}.sales-card.dark strong{color:#b8e4ff}.sales-card.dark>small{color:#c3d3e8}.sales-footnote{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:17px;font-size:11px;color:#536780}.sales-footnote strong{color:#263d5b}.sales-method{font-size:11px;line-height:1.7;color:#64758b;margin:13px 0 0}.sales-record-filters{display:flex;gap:12px;flex-wrap:wrap}.sales-record-filters label{display:flex;flex:1;min-width:170px;flex-direction:column;gap:7px;font-size:12px;color:#4e6380}.sales-record-count{font-size:11px;color:#65758a}.sales-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid #e1e8f2;font-size:12px}.sales-pagination button:disabled{opacity:.45;cursor:default}#modal-body:has(.sales-records){max-height:72vh;overflow:auto;padding-right:8px}.sales-contact h3{overflow-wrap:anywhere}.sales-contact>div:first-child{min-width:0}.sales-contact p{overflow-wrap:anywhere}
@media(max-width:1250px){.sales-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.sales-dashboard{padding:18px}.sales-heading{align-items:flex-start;flex-direction:column}.sales-heading h2{font-size:23px}.sales-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-card:last-child{grid-column:1/-1}.sales-filters{padding:12px}.sales-footnote{flex-direction:column}}@media(max-width:380px){.sales-cards{grid-template-columns:1fr}.sales-filters label{min-width:100%}}
