.add-cart-button { width: 100%; margin: -4px 0 14px; }
.client-cart { border: 1px solid #29333e; background: #0b1016; border-radius: 8px; margin-bottom: 15px; max-height: 220px; overflow-y: auto; }
.cart-empty { color: #65727e; font-size: 9px; text-align: center; padding: 20px; margin: 0; }
.cart-line { display: grid; grid-template-columns: 1fr auto 28px; gap: 10px; align-items: center; padding: 10px 11px; border-bottom: 1px solid #202831; }
.cart-line:last-child { border-bottom: 0; }
.cart-line-info { min-width: 0; }
.cart-line-info strong, .cart-line-info small, .cart-line-price strong, .cart-line-price small { display: block; }
.cart-line-info strong { font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-line-info small, .cart-line-price small { font-size: 8px; color: #687582; margin-top: 3px; }
.cart-line-price { text-align: right; }
.cart-line-price strong { font-size: 9px; }
.cart-remove { width: 27px; height: 27px; border: 1px solid #4a252b; background: #271619; color: #e7686f; border-radius: 6px; cursor: pointer; }
.cart-remove:hover { background: #461b20; }
.portal-submit:disabled { opacity: .4; cursor: not-allowed; }
.client-card-actions.has-delete { grid-template-columns: 1fr 1fr; }
.client-delete-action { width: 100% !important; font-size: 9px !important; }
.suspension-action { color: #e7a24a !important; border-color: #5a4326 !important; background: #241d14 !important; }
.suspension-action.reactivate { color: #55d69a !important; border-color: #285840 !important; background: #14251e !important; }
.history-items { display: block; color: #8b6d72; font-size: 8px; margin-top: 5px; line-height: 1.45; }
.history-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.history-action { border: 1px solid #303a44; background: #172029; color: #aeb7c0; border-radius: 5px; padding: 5px 8px; font-size: 8px; cursor: pointer; }
.history-action:hover { color: #fff; border-color: #4a5662; }
.history-action.cancel { color: #ec747a; border-color: #57262c; background: #27171a; }
.history-action.invoice { color: #65d7a3; border-color: #28533f; background: #14231d; }
.order-actions { display: flex; gap: 5px; align-items: center; white-space: nowrap; }
.invoice-action { border-color: #28533f !important; color: #65d7a3 !important; }
.invoice-modal { width: min(760px, 100%); }
.invoice-document { margin: 22px; padding: 28px; background: #f7f7f5; color: #171a1d; border-radius: 8px; max-height: 62vh; overflow-y: auto; }
.invoice-top { display: flex; justify-content: space-between; gap: 25px; padding-bottom: 20px; border-bottom: 2px solid #d71923; }
.invoice-top h3 { margin: 0 0 5px; font: 700 20px 'Space Grotesk'; color: #d71923; }
.invoice-logo { display: block; width: 250px; height: 80px; object-fit: contain; border-radius: 5px; margin-bottom: 7px; }
.invoice-top p, .invoice-meta p { margin: 3px 0; font-size: 9px; color: #5b6268; }
.invoice-meta { text-align: right; }
.invoice-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0; }
.invoice-parties small { display: block; color: #83898e; font-size: 8px; margin-bottom: 5px; }
.invoice-parties strong { font-size: 11px; }
.invoice-table { width: 100%; min-width: 0; color: #24282c; }
.invoice-table th { color: #777e84; border-color: #dfe1e2; padding: 9px 7px; }
.invoice-table td { color: #33383d; border-color: #e3e5e6; padding: 10px 7px; font-size: 9px; }
.invoice-total { display: flex; justify-content: flex-end; align-items: center; gap: 20px; margin-top: 18px; padding-top: 15px; border-top: 1px solid #d8dbdd; }
.invoice-total span { color: #6c7379; font-size: 10px; }
.invoice-total strong { font: 700 19px 'Space Grotesk'; color: #d71923; }
.invoice-total-breakdown { text-align: right; }
.invoice-total-breakdown span { display: block; margin: 4px 0; }
.invoice-modal-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; padding: 0 22px 22px; }
.status.canceled { color: #ef7279; background: #35171a; }
.status.canceled:before { background: #ef7279; }
@media(max-width: 600px) { .invoice-document { margin: 12px; padding: 17px; } .invoice-parties { grid-template-columns: 1fr; } .invoice-modal-actions button { flex: 1 1 100%; } }
.delivery-minimum-note { display: block; color: #8b6d72; font-size: 8px; margin: -8px 0 15px; }
.order-summary { display: block; }
.order-summary>div { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; }
.order-summary>div>strong { font-size: 11px; }
.order-summary .order-grand-total { border-top: 1px solid #422027; margin-top: 5px; padding-top: 11px; }
.order-summary .order-grand-total strong { font-size: 20px; }
.delivery-fee-action.disabled-fee { color: #55d69a !important; border-color: #285840 !important; background: #14251e !important; }
.invoice-unavailable { opacity: .45; cursor: not-allowed !important; }
.product-edit-button { border-color: #552129 !important; color: #ef777d !important; background: #251619 !important; }
.order-details-modal { width: min(820px, 100%); }
.order-details-content { padding: 22px; max-height: 70vh; overflow-y: auto; }
.order-detail-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 17px; }
.order-detail-box { padding: 12px; border: 1px solid #29333e; background: #0c1218; border-radius: 8px; }
.order-detail-box small, .order-detail-section>small { display: block; color: #64717e; font-size: 8px; font-weight: 700; letter-spacing: .5px; margin-bottom: 5px; }
.order-detail-box strong { display: block; font-size: 10px; line-height: 1.45; }
.order-detail-section { margin-top: 16px; }
.order-detail-table { min-width: 0; }
.order-detail-table th, .order-detail-table td { padding: 11px 9px; }
.order-detail-totals { margin-left: auto; width: min(280px, 100%); padding-top: 12px; }
.order-detail-totals div { display: flex; justify-content: space-between; padding: 5px 0; color: #8d99a4; font-size: 9px; }
.order-detail-totals div:last-child { border-top: 1px solid #343e48; margin-top: 5px; padding-top: 10px; color: #fff; font-weight: 700; font-size: 12px; }
.order-detail-notes { padding: 13px; background: #151b22; border-left: 3px solid var(--orange); border-radius: 5px; color: #a8b1ba; font-size: 9px; line-height: 1.55; }
@media(max-width: 650px) { .order-detail-summary { grid-template-columns: 1fr 1fr; } }
.fleet-edit-button { width: 100%; margin-top: 15px; }
.fleet-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.form-grid select { display: block; width: 100%; margin-top: 7px; background: #0c1117; border: 1px solid #29333e; border-radius: 7px; padding: 11px; color: #eef1f4; outline: 0; }
.vehicle-photo-upload { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 7px; padding: 10px; border: 1px dashed #3a4652; border-radius: 8px; background: #0c1117; cursor: pointer; }
.vehicle-photo-upload:hover { border-color: var(--orange); }
.vehicle-photo-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0 !important; }
.vehicle-photo-preview { width: 98px; height: 70px; display: grid; place-items: center; flex: none; border-radius: 7px; overflow: hidden; background: #171d24; color: #75818c; }
.vehicle-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-photo-preview b { font-size: 8px; }
.vehicle-photo-upload strong, .vehicle-photo-upload small { display: block; }
.vehicle-photo-upload strong { color: #d4d9de; font-size: 9px; }
.vehicle-photo-upload small { color: #66737f; font-size: 8px; margin-top: 4px; }
.vehicle-visual.has-photo { aspect-ratio: 350 / 250; height: auto; margin: -20px -20px 12px; overflow: hidden; display: block; }
.vehicle-visual.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.employee-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 15px; }
.employee-stats article { padding: 16px 18px; border: 1px solid var(--line); background: linear-gradient(145deg,#121920,#0f151b); border-radius: 9px; }
.employee-stats small { display: block; color: #667482; font-size: 8px; font-weight: 700; letter-spacing: .7px; }
.employee-stats strong { display: block; margin-top: 6px; font: 600 19px 'Space Grotesk'; }
.employee-identity { display: flex; align-items: center; gap: 10px; }
.employee-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: #30171a; color: #f06a70; font-weight: 700; }
.employee-identity strong, .employee-identity small { display: block; }
.employee-role { display: inline-block; padding: 5px 8px; border-radius: 12px; color: #aeb8c2; background: #202832; font-size: 8px; font-weight: 700; }
.employee-actions { display: flex; gap: 5px; white-space: nowrap; }
@media(max-width: 650px) { .employee-stats { grid-template-columns: 1fr; } }
.finance-stats { display: grid; grid-template-columns: repeat(5,1fr); gap: 13px; margin-bottom: 15px; }
.finance-stats article { padding: 16px 18px; border: 1px solid var(--line); background: linear-gradient(145deg,#121920,#0f151b); border-radius: 9px; }
.finance-stats small { display: block; color: #667482; font-size: 8px; font-weight: 700; letter-spacing: .7px; }
.finance-stats strong { display: block; margin-top: 7px; font: 600 19px 'Space Grotesk'; }
.finance-layout { display: grid; grid-template-columns: 1.6fr .8fr; gap: 15px; margin-bottom: 23px; }
.finance-chart { height: 230px; display: flex; align-items: flex-end; justify-content: space-around; gap: 10px; padding: 25px 22px 18px; }
.finance-day { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; }
.finance-bars { height: 170px; display: flex; align-items: flex-end; gap: 4px; }
.finance-bars i { display: block; width: 10px; min-height: 2px; border-radius: 3px 3px 0 0; }
.finance-bars i:first-child { background: var(--green); }.finance-bars i:last-child { background: var(--orange); }
.finance-day small { color: #687582; font-size: 8px; }
.finance-legend { color: #697684; font-size: 8px; }.finance-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--green); margin: 0 4px 0 8px; }.finance-legend i:nth-child(2) { background: var(--orange); }
.finance-breakdown { padding: 15px 18px; }
.breakdown-row { margin: 11px 0; }.breakdown-label { display: flex; justify-content: space-between; color: #929da7; font-size: 8px; margin-bottom: 6px; }.breakdown-bar { height: 5px; background: #222b34; border-radius: 4px; overflow: hidden; }.breakdown-bar i { display: block; height: 100%; background: var(--orange); border-radius: 4px; }
.finance-table-toolbar { margin-top: 0; }.finance-filter { border: 0; background: transparent; color: #74808c; padding: 7px 12px; border-radius: 5px; font-size: 9px; font-weight: 700; cursor: pointer; }.finance-filter.active { background: #26303a; color: #fff; }
.finance-amount.income { color: var(--green); }.finance-amount.expense { color: #ef7279; }.finance-type { font-size: 8px; font-weight: 700; }.finance-type.income { color: var(--green); }.finance-type.expense { color: #ef7279; }
.cash-counter-card { border-color: #594522 !important; background: linear-gradient(145deg,#211b12,#14130f) !important; }.cash-counter-card strong { color: #e8b95d; }.cash-deposit-button { border-color: #594522; color: #e8b95d; }.cash-deposit-button:disabled { opacity: .35; cursor: not-allowed; }.status.partial { color: #c397ff; background: #291d3b; }.status.partial:before { background: #a975ef; }.status.cash-waiting { color: #e8b95d; background: #302613; }.status.cash-waiting:before { background: #e8b95d; }
@media(max-width: 950px) { .finance-stats { grid-template-columns: 1fr 1fr; } .finance-layout { grid-template-columns: 1fr; } }
