/* Shared create/manage visual system for vehicles, reminders and expenses. */
:root{--crud-bg:#FFFFFF;--crud-panel:#141617;--crud-panel-2:#191b1d;--crud-border:#2d3034;--crud-border-soft:#25282b;--crud-text:#f1f2f3;--crud-muted:#8d9297;--crud-accent:#d99a43;--crud-accent-2:#b87322;--crud-danger:#e67b77;--crud-success:#79d29b;--crud-radius:15px;--crud-shadow:0 8px 24px rgba(0,0,0,.24)}
body.ebadi-crud-page{min-height:100svh;margin:0;background:var(--crud-bg)!important;color:var(--crud-text)!important;font-family:Peyda,Tahoma,Arial,sans-serif}
body.ebadi-crud-page *{box-sizing:border-box}
body.ebadi-crud-page .ebadi-crud-app{width:min(560px,100%)!important;min-height:100svh!important;margin:0 auto!important;padding:calc(14px + env(safe-area-inset-top)) 14px calc(96px + env(safe-area-inset-bottom))!important;background:#FFFFFF!important;font-family:inherit!important}
body.ebadi-crud-page .ebadi-crud-header,body.ebadi-crud-page .reminders-header{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-height:58px!important;margin:0 0 14px!important;padding:0!important;text-align:right!important;direction:rtl!important}
body.ebadi-crud-page .ebadi-crud-header>a[data-app-back],body.ebadi-crud-page .reminders-header>a[data-app-back]{position:static!important;grid-column:1!important;grid-row:1!important;display:grid!important;width:40px!important;height:40px!important;padding:0!important;border:1px solid var(--crud-border)!important;border-radius:12px!important;background:var(--crud-panel)!important;color:#d5d8da!important;place-items:center!important;box-shadow:none!important}
body.ebadi-crud-page .ebadi-crud-header>a[data-app-back] svg,body.ebadi-crud-page .reminders-header>a[data-app-back] svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
body.ebadi-crud-page .ebadi-crud-header>div,body.ebadi-crud-page .reminders-header>div{grid-column:2!important;grid-row:1!important;min-width:0!important;text-align:right!important}
body.ebadi-crud-page .ebadi-crud-header h1,body.ebadi-crud-page .reminders-header h1{margin:0!important;color:var(--crud-text)!important;font-size:var(--eb-fs-subheading)!important;font-weight:900!important;line-height:1.45!important;text-align:right!important}
body.ebadi-crud-page .ebadi-crud-header p,body.ebadi-crud-page .reminders-header p{margin:2px 0 0!important;color:var(--crud-muted)!important;font-size:var(--eb-fs-caption)!important;line-height:1.7!important;text-align:right!important}
body.ebadi-crud-page .ebadi-crud-header>span,body.ebadi-crud-page .reminders-header>span{grid-column:3!important;grid-row:1!important;width:auto!important;height:auto!important;padding:5px 9px!important;border:1px solid rgba(217,154,67,.28)!important;border-radius:99px!important;background:rgba(217,154,67,.1)!important;color:#dca550!important;font-size:var(--eb-fs-micro)!important;white-space:nowrap!important}

/* Editor pages */
body.ebadi-crud-editor-page .ebadi-crud-form,body.ebadi-crud-editor-page .reminder-form{display:grid!important;gap:11px!important;width:100%!important;padding:0!important;border:0!important;background:transparent!important}
body.ebadi-crud-editor-page .ebadi-crud-section,body.ebadi-crud-editor-page .reminder-form-section{display:grid!important;gap:9px!important;margin:0!important;padding:12px!important;border:1px solid var(--crud-border-soft)!important;border-radius:var(--crud-radius)!important;background:linear-gradient(145deg,#121415,#0f1112)!important;box-shadow:var(--crud-shadow)!important}
body.ebadi-crud-editor-page .ebadi-crud-section>header,body.ebadi-crud-editor-page .reminder-form-section>header{display:flex!important;align-items:center!important;gap:9px!important;min-height:38px!important;margin:0!important;padding:0 0 9px!important;border-bottom:1px solid rgba(255,255,255,.06)!important}
body.ebadi-crud-editor-page .ebadi-crud-section>header>span,body.ebadi-crud-editor-page .reminder-form-section>header>span{display:grid!important;width:29px!important;height:29px!important;flex:0 0 29px!important;border:0!important;border-radius:9px!important;background:rgba(217,154,67,.13)!important;color:#171b20!important;font-size:var(--eb-fs-caption)!important;font-weight:900!important;place-items:center!important}
body.ebadi-crud-editor-page .ebadi-crud-section>header h2,body.ebadi-crud-editor-page .reminder-form-section>header h2,body.ebadi-crud-editor-page .repair-step-heading h2{margin:0!important;color:var(--crud-text)!important;font-size:var(--eb-fs-card)!important;font-weight:900!important;line-height:1.5!important}
body.ebadi-crud-editor-page .ebadi-crud-section>header p,body.ebadi-crud-editor-page .reminder-form-section>header p,body.ebadi-crud-editor-page .repair-step-heading p{margin:1px 0 0!important;color:#777d82!important;font-size:var(--eb-fs-micro)!important;line-height:1.7!important}
body.ebadi-crud-editor-page .vehicle-form-grid,body.ebadi-crud-editor-page .repair-wizard-fields{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
body.ebadi-crud-editor-page .vehicle-input,body.ebadi-crud-editor-page .reminder-field,body.ebadi-crud-editor-page .repair-wizard-field{width:100%!important;min-height:64px!important;margin:0!important;border:1px solid var(--crud-border)!important;border-radius:12px!important;background:var(--crud-panel-2)!important;box-shadow:none!important;transition:border-color .18s,box-shadow .18s!important}
body.ebadi-crud-editor-page .vehicle-input:focus-within,body.ebadi-crud-editor-page .reminder-field:focus-within,body.ebadi-crud-editor-page .repair-wizard-field:focus-within{border-color:#a97029!important;box-shadow:0 0 0 3px rgba(217,154,67,.07)!important}
body.ebadi-crud-editor-page .vehicle-input{grid-template-columns:48px minmax(0,1fr)!important;overflow:hidden!important}
body.ebadi-crud-editor-page .vehicle-input__icon{border-left:1px solid var(--crud-border-soft)!important;background:#17191b!important;color:#969ba0!important}
body.ebadi-crud-editor-page .vehicle-input__icon svg,body.ebadi-crud-editor-page .repair-wizard-field>span:first-child svg{width:21px!important;height:21px!important}
body.ebadi-crud-editor-page .vehicle-input>span:last-child{padding:7px 11px!important}
body.ebadi-crud-editor-page .vehicle-input b,body.ebadi-crud-editor-page .reminder-field>span,body.ebadi-crud-editor-page .repair-wizard-field small{color:#c4c8cb!important;font-size:var(--eb-fs-caption)!important;font-weight:700!important}
body.ebadi-crud-editor-page .vehicle-input input,body.ebadi-crud-editor-page .vehicle-input>span:last-child>select,body.ebadi-crud-editor-page .reminder-field input,body.ebadi-crud-editor-page .reminder-field select,body.ebadi-crud-editor-page .reminder-field textarea,body.ebadi-crud-editor-page .repair-wizard-field input,body.ebadi-crud-editor-page .repair-wizard-field select,body.ebadi-crud-editor-page .repair-wizard-field textarea{min-height:32px!important;border:0!important;outline:0!important;background:transparent!important;color:var(--crud-text)!important;font:500 var(--eb-fs-card) Peyda,Arial,sans-serif!important}
body.ebadi-crud-editor-page .reminder-field{padding:9px 11px!important}
body.ebadi-crud-editor-page .repair-wizard-field{grid-template-columns:43px minmax(0,1fr)!important;padding:7px 10px!important}
body.ebadi-crud-editor-page .repair-step-heading{margin:0 0 10px!important;padding:0 2px!important;text-align:right!important}
body.ebadi-crud-editor-page .repair-form-step{padding:12px!important;border:1px solid var(--crud-border-soft)!important;border-radius:var(--crud-radius)!important;background:linear-gradient(145deg,#121415,#0f1112)!important;box-shadow:var(--crud-shadow)!important}
body.ebadi-crud-editor-page .repair-wizard-progress{margin:5px 0 15px!important}
body.ebadi-crud-editor-page .repair-wizard-progress b{width:29px!important;height:29px!important;background:#131516!important}
body.ebadi-crud-editor-page .repair-type-picker>div{gap:6px!important}
body.ebadi-crud-editor-page .repair-type-picker label>span{height:72px!important;border-color:var(--crud-border)!important;border-radius:12px!important;background:var(--crud-panel-2)!important}
body.ebadi-crud-editor-page .reminder-channels{gap:6px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.ebadi-crud-editor-page .reminder-channels label>span{min-height:64px!important;border-color:var(--crud-border)!important;border-radius:12px!important;background:var(--crud-panel-2)!important}
body.ebadi-crud-editor-page .repair-upload{min-height:122px!important;border-color:var(--crud-border)!important;border-radius:12px!important;background:var(--crud-panel-2)!important}
body.ebadi-crud-editor-page .vehicle-default-toggle{min-height:54px!important;margin:0!important;padding:10px 12px!important;border-color:var(--crud-border)!important;border-radius:12px!important;background:var(--crud-panel)!important}
body.ebadi-crud-editor-page .vehicle-default-toggle b{font-size:var(--eb-fs-caption)!important}
body.ebadi-crud-editor-page .vehicle-form-hint,body.ebadi-crud-editor-page .reminder-delivery-note{margin:0!important;padding:10px 12px!important;border:1px solid rgba(217,154,67,.2)!important;border-radius:12px!important;background:rgba(217,154,67,.07)!important;color:#caa672!important;font-size:var(--eb-fs-card)!important;line-height:1.9!important}
body.ebadi-crud-editor-page .vehicle-editor-notice,body.ebadi-crud-editor-page .reminder-notice,body.ebadi-crud-editor-page .repair-editor-notice{margin:0 0 10px!important;padding:11px 12px!important;border-radius:12px!important;font-size:var(--eb-fs-caption)!important}
body.ebadi-crud-editor-page .vehicle-form-actions,body.ebadi-crud-editor-page .reminder-form-actions,body.ebadi-crud-editor-page .repair-wizard-actions{position:static!important;display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;gap:8px!important;width:100%!important;margin:11px 0 0!important;padding:10px 0 0!important;background:transparent!important;translate:none!important}
body.ebadi-crud-editor-page .vehicle-form-actions button,body.ebadi-crud-editor-page .vehicle-form-actions a,body.ebadi-crud-editor-page .reminder-form-actions button,body.ebadi-crud-editor-page .reminder-form-actions a,body.ebadi-crud-editor-page .repair-wizard-actions button,body.ebadi-crud-editor-page .repair-wizard-actions a{display:grid!important;width:100%!important;height:48px!important;margin:0!important;padding:0 10px!important;border-radius:12px!important;font:800 var(--eb-fs-label) Peyda,Arial,sans-serif!important;text-decoration:none!important;place-items:center!important}
body.ebadi-crud-editor-page .vehicle-form-actions button[type=submit],body.ebadi-crud-editor-page .reminder-form-actions button,body.ebadi-crud-editor-page .repair-wizard-actions button:not(.is-secondary){border:1px solid #dda954!important;background:linear-gradient(135deg,var(--crud-accent),var(--crud-accent-2))!important;color:#17110a!important}
body.ebadi-crud-editor-page .vehicle-form-actions a,body.ebadi-crud-editor-page .reminder-form-actions a,body.ebadi-crud-editor-page .repair-wizard-actions .is-secondary{border:1px solid var(--crud-border)!important;background:var(--crud-panel)!important;color:#c6c9cc!important}

/* Management pages */
body.ebadi-crud-management-page .ebadi-crud-create,body.ebadi-crud-management-page .vehicles-add{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;align-items:center!important;gap:11px!important;min-height:70px!important;margin:0 0 14px!important;padding:10px 12px!important;border:1px solid #4a3923!important;border-radius:var(--crud-radius)!important;background:linear-gradient(135deg,rgba(217,154,67,.12),rgba(20,22,23,.96))!important;color:var(--crud-text)!important;text-align:right!important;text-decoration:none!important;box-shadow:var(--crud-shadow)!important;direction:rtl!important}
body.ebadi-crud-management-page .ebadi-crud-create__icon,body.ebadi-crud-management-page .vehicles-add__icon{grid-column:1!important;grid-row:1!important;display:grid!important;width:42px!important;height:42px!important;border:1px solid var(--crud-accent)!important;border-radius:12px!important;background:rgba(217,154,67,.1)!important;color:#171b20!important;place-items:center!important}
body.ebadi-crud-management-page .ebadi-crud-create__icon svg,body.ebadi-crud-management-page .vehicles-add__icon svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important}
body.ebadi-crud-management-page .ebadi-crud-create>span:last-child,body.ebadi-crud-management-page .vehicles-add>span:nth-child(2){grid-column:2!important;grid-row:1!important;display:flex!important;min-width:0!important;flex-direction:column!important}
body.ebadi-crud-management-page .ebadi-crud-create strong,body.ebadi-crud-management-page .vehicles-add strong{font-size:var(--eb-fs-body)!important;font-weight:900!important}
body.ebadi-crud-management-page .ebadi-crud-create small,body.ebadi-crud-management-page .vehicles-add small{margin-top:3px!important;color:var(--crud-muted)!important;font-size:var(--eb-fs-micro)!important}
body.ebadi-crud-management-page .reminders-header-add{display:none!important}
body.ebadi-crud-management-page .reminder-filters,body.ebadi-crud-management-page .repair-tools{margin:0 0 11px!important;border-color:var(--crud-border-soft)!important;border-radius:12px!important;background:#111314!important}
body.ebadi-crud-management-page .reminder-filters button{border-radius:9px!important;font-size:var(--eb-fs-caption)!important}
body.ebadi-crud-management-page .reminder-filters button.is-active{background:linear-gradient(135deg,var(--crud-accent),var(--crud-accent-2))!important;color:#17110a!important}
body.ebadi-crud-management-page .vehicle-list-card,body.ebadi-crud-management-page .reminder-list-card,body.ebadi-crud-management-page .repair-record{overflow:hidden!important;border:1px solid var(--crud-border)!important;border-radius:var(--crud-radius)!important;background:linear-gradient(145deg,#181a1c,#111314)!important;box-shadow:var(--crud-shadow)!important}
body.ebadi-crud-management-page .vehicle-list-card__actions,body.ebadi-crud-management-page .repair-record__actions{border-color:var(--crud-border-soft)!important}
body.ebadi-crud-management-page .vehicle-list-card__actions a,body.ebadi-crud-management-page .vehicle-list-card__actions button,body.ebadi-crud-management-page .reminder-list-card__actions a,body.ebadi-crud-management-page .reminder-list-card__actions button,body.ebadi-crud-management-page .repair-record__actions a,body.ebadi-crud-management-page .repair-record__actions button{border-color:var(--crud-border)!important;border-radius:9px!important;background:#1b1e20!important;color:#c99145!important}
body.ebadi-crud-management-page .repair-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-bottom:11px!important}
body.ebadi-crud-management-page .repair-summary article{min-height:88px!important;border-color:var(--crud-border)!important;border-radius:var(--crud-radius)!important;background:linear-gradient(145deg,#181a1c,#111314)!important;box-shadow:var(--crud-shadow)!important}
body.ebadi-crud-management-page .repair-summary strong{font-size:var(--eb-fs-emphasis)!important;line-height:22px!important}
body.ebadi-crud-management-page .repair-chart-card{border-color:var(--crud-border)!important;border-radius:var(--crud-radius)!important;background:var(--crud-panel)!important;box-shadow:var(--crud-shadow)!important}
body.ebadi-crud-management-page .repair-tools{grid-template-columns:minmax(0,1fr) 118px!important;padding:5px!important}
body.ebadi-crud-management-page .repair-tools label,body.ebadi-crud-management-page .repair-tools select{height:38px!important;border:0!important;background:var(--crud-panel-2)!important}
body.ebadi-crud-management-page .vehicles-list__head,body.ebadi-crud-management-page .repair-chart-card__head{margin-bottom:9px!important}
body.ebadi-crud-management-page .vehicles-list__head h2,body.ebadi-crud-management-page .repair-chart-card__head h2{color:var(--crud-text)!important;font-size:var(--eb-fs-body)!important}
body.ebadi-crud-management-page .vehicles-empty,body.ebadi-crud-management-page .reminders-empty,body.ebadi-crud-management-page .repair-empty{min-height:190px!important;border:1px dashed rgba(217,154,67,.38)!important;border-radius:var(--crud-radius)!important;background:rgba(217,154,67,.05)!important;color:var(--crud-text)!important}
body.ebadi-crud-management-page .reminders-add{display:none!important}
body.ebadi-crud-management-page .repair-footer-actions{position:static!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:13px!important;padding:0!important;background:transparent!important}
body.ebadi-crud-management-page .repair-footer-actions .repair-create{display:none!important}
body.ebadi-crud-management-page .repair-footer-actions button,body.ebadi-crud-management-page .repair-footer-actions a{height:44px!important;border-color:var(--crud-border)!important;border-radius:11px!important;background:var(--crud-panel)!important;color:#d2d5d7!important;font-size:var(--eb-fs-micro)!important}

/* Reminder filter navigation has five primary items. Keep icons and labels readable. */
body.ebadi-crud-management-page.ebadi-reminders-page .reminder-filters{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;margin:0 0 11px!important;padding:0!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important}
body.ebadi-crud-management-page.ebadi-reminders-page .reminder-filters button{display:flex!important;min-width:0!important;height:68px!important;padding:6px 2px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;border:1px solid var(--crud-border)!important;border-radius:12px!important;background:var(--crud-panel)!important;color:#171b20!important;box-shadow:0 5px 14px rgba(0,0,0,.16)!important}
body.ebadi-crud-management-page.ebadi-reminders-page .reminder-filters button svg{display:block!important;width:23px!important;height:23px!important;flex:0 0 23px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important}
body.ebadi-crud-management-page.ebadi-reminders-page .reminder-filters button span{display:block!important;overflow:hidden!important;width:100%!important;color:#d5d7d9!important;font-size:var(--eb-fs-micro)!important;font-weight:700!important;line-height:13px!important;text-align:center!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.ebadi-crud-management-page.ebadi-reminders-page .reminder-filters button.is-active{border-color:rgba(217,154,67,.52)!important;background:rgba(217,154,67,.13)!important;color:#e2a34d!important}
body.ebadi-crud-management-page.ebadi-reminders-page .reminder-filters button.is-active span{color:#efbd73!important}
body.ebadi-crud-management-page.ebadi-reminders-page .reminder-filters button span{height:26px!important;white-space:normal!important;text-overflow:clip!important}
body.ebadi-crud-management-page.ebadi-reminders-page .reminder-more-filters{margin:-2px 0 11px!important;padding:6px!important;overflow-x:auto!important;border:1px solid var(--crud-border)!important;border-radius:12px!important;background:#111314!important;scrollbar-width:none!important}
body.ebadi-crud-management-page.ebadi-reminders-page .reminder-more-filters::-webkit-scrollbar{display:none!important}
body.ebadi-crud-management-page.ebadi-reminders-page .reminder-more-filters button{min-height:38px!important;border:1px solid var(--crud-border-soft)!important;background:var(--crud-panel-2)!important;color:#c5c8ca!important}

@media(max-width:390px){body.ebadi-crud-page .ebadi-crud-app{padding-inline:10px!important}body.ebadi-crud-page .ebadi-crud-header,body.ebadi-crud-page .reminders-header{grid-template-columns:40px minmax(0,1fr) auto!important;gap:7px!important}body.ebadi-crud-page .ebadi-crud-header h1,body.ebadi-crud-page .reminders-header h1{font-size:var(--eb-fs-section-strong)!important}body.ebadi-crud-editor-page .vehicle-form-actions,body.ebadi-crud-editor-page .reminder-form-actions,body.ebadi-crud-editor-page .repair-wizard-actions{grid-template-columns:1fr!important}body.ebadi-crud-editor-page .vehicle-form-actions a,body.ebadi-crud-editor-page .reminder-form-actions a,body.ebadi-crud-editor-page .repair-wizard-actions .is-secondary{height:42px!important}body.ebadi-crud-management-page .repair-tools{grid-template-columns:1fr!important}body.ebadi-crud-management-page.ebadi-reminders-page .reminder-filters{gap:4px!important}body.ebadi-crud-management-page.ebadi-reminders-page .reminder-filters button{height:64px!important;padding-inline:1px!important}body.ebadi-crud-management-page.ebadi-reminders-page .reminder-filters button svg{width:21px!important;height:21px!important;flex-basis:21px!important}body.ebadi-crud-management-page.ebadi-reminders-page .reminder-filters button span{font-size:var(--eb-fs-micro)!important}}

