/* =========================================================
   EBADI APP V2 — APP-WIDE PAGE DESIGN SYSTEM
   Approved Home visual language applied to every app page.
   Shared chrome is owned only by app-chrome-v2.css.
========================================================= */
:root{
  --eb-page-max:560px;
  --eb-page-x:12px;
  --eb-card-radius:16px;
  --eb-control-radius:12px;
  --eb-card-border:#ebe5da;
  --eb-card-shadow:0 6px 18px rgba(73,58,33,.045);
  --eb-gold:#c88b2c;
  --eb-gold-dark:#a86f1e;
  --eb-gold-soft:#f5ead6;
  --eb-warm:#faf3e8;
  --eb-soft:#f7f7f7;
  --eb-text:#171b20;
  --eb-muted:#77716a;
  --eb-faint:#a7a19a;
  --eb-success:#55a875;
  --eb-danger:#c85a54;
}
html{background:#fff!important;color-scheme:light!important}
body.ebadi-ui-v2-page{margin:0!important;background:#fff!important;color:var(--eb-text)!important;font-family:Peyda,Tahoma,Arial,sans-serif!important;overflow-x:hidden!important}
body.ebadi-ui-v2-page *{box-sizing:border-box}
body.ebadi-ui-v2-page button,body.ebadi-ui-v2-page input,body.ebadi-ui-v2-page select,body.ebadi-ui-v2-page textarea{font-family:inherit!important}
body.ebadi-ui-v2-page a{text-underline-offset:2px}

/* --------- COMMON PAGE CANVAS --------- */
body.ebadi-ui-v2-page :where(.account-app,.feature-app,.branches-app,.branch-detail-app,.financial-app,.wallet-app,.wallet-result-app,.notifications-app,.logout-app,.social-reward-app,.inquiries-app,.club-app,.reminders-app,.repairs-app,.vehicle-editor-app,.repair-editor-app,.profile-editor-app,.profile-route,.booking-app-shell,.inspection-list,.inspection-report,.inspection-review-app){
  width:min(var(--eb-page-max),100%)!important;max-width:var(--eb-page-max)!important;min-height:calc(100svh - 150px)!important;
  margin:0 auto!important;padding:2px var(--eb-page-x) calc(90px + env(safe-area-inset-bottom))!important;
  background:#fff!important;color:var(--eb-text)!important;box-shadow:none!important;border:0!important;
}
body.ebadi-ui-v2-page :where(.mobile-app.profile-editor-app,.mobile-app.profile-page){background:#fff!important;color:var(--eb-text)!important}
body.ebadi-ui-v2-page :where(.account-app,.feature-app,.club-app,.reminders-app,.repairs-app,.vehicle-editor-app,.repair-editor-app,.profile-editor-app,.inquiries-app) > *{max-width:100%}

/* --------- PAGE TITLE / LOCAL HEADER --------- */
body.ebadi-ui-v2-page :where(.account-page-header,.reminders-header,.repairs-page-header,.vehicle-editor-header,.repair-wizard-header,.notifications-header,.inquiries-page-header,.club-header,.inspection-page-head,.feature-app__header,.profile-editor__header,.ebadi-crud-header){
  position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
  min-height:58px!important;margin:0!important;padding:6px 2px 12px!important;border:0!important;border-radius:0!important;
  background:#fff!important;color:var(--eb-text)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.ebadi-ui-v2-page :where(.account-page-header,.reminders-header,.repairs-page-header,.vehicle-editor-header,.repair-wizard-header,.notifications-header,.inquiries-page-header,.club-header,.inspection-page-head,.feature-app__header,.profile-editor__header,.ebadi-crud-header) > div{
  min-width:0!important;flex:1 1 auto!important;text-align:right!important;
}
body.ebadi-ui-v2-page :where(.account-page-header,.reminders-header,.repairs-page-header,.vehicle-editor-header,.repair-wizard-header,.notifications-header,.inquiries-page-header,.club-header,.inspection-page-head,.feature-app__header,.profile-editor__header,.ebadi-crud-header) h1{
  margin:0!important;color:var(--eb-text)!important;font-size:var(--eb-fs-page)!important;font-weight:900!important;line-height:1.35!important;letter-spacing:-.35px!important;
}
body.ebadi-ui-v2-page :where(.account-page-header,.reminders-header,.repairs-page-header,.vehicle-editor-header,.repair-wizard-header,.notifications-header,.inquiries-page-header,.club-header,.inspection-page-head,.feature-app__header,.profile-editor__header,.ebadi-crud-header) :where(p,small){
  margin:2px 0 0!important;color:var(--eb-muted)!important;font-size:var(--eb-fs-caption)!important;font-weight:600!important;line-height:1.55!important;
}
body.ebadi-ui-v2-page :is([data-app-back],[data-profile-back],.booking-app-back,.vehicle-editor-back,.ui-v2-back,.notifications-header__back){display:none!important}
/* Profile completion is a required onboarding step. Keep any legacy local
 * exit/back control out of the title row; account logout remains available
 * explicitly from the main menu as «خروج از حساب». */
body.ebadi-ui-v2-page .profile-editor__header > :is([data-profile-back],[href*="/logout/"]){display:none!important;pointer-events:none!important}


/* --------- COMMON SURFACES --------- */
body.ebadi-ui-v2-page :where(
  .account-card,.settings-card,.wallet-balance,.wallet-overview,.wallet-settlement,.wallet-settlement-history,.wallet-topup,.wallet-history,
  .notifications-overview,.notification-list,.notification-item,.logout-card,.social-reward-balance,.social-submissions,
  .financial-summary,.financial-transactions,.financial-activity-log,.financial-row,
  .branch-hero,.branch-info-panel,.branch-gallery,.branch-reviews,.branch-card,.branch-card-grid article,
  .feature-form,.feature-list article,.inspection-hero,.inspection-cards article,.inspection-approved-reviews article,
  .club-score-card,.club-earn,.club-history,.club-spend,
  .reminder-form-section,.reminder-quick-vehicle,.reminders-list article,
  .repair-summary,.repair-chart-card,.repair-tools,.repair-records article,.repair-form-step,
  .ebadi-crud-section,.vehicle-form-section,.profile-onboarding-card,.profile-completion-card,.profile-editor-card,
  .profile-summary-card,.profile-status-strip,.profile-garage,.profile-insights,.profile-reminder-list,.profile-quick-access,.profile-activity,.profile-settings,
  .wallet-result-card,.feature-app__content,.empty-state
){
  border:1px solid var(--eb-card-border)!important;border-radius:var(--eb-card-radius)!important;background:#fff!important;color:var(--eb-text)!important;
  box-shadow:var(--eb-card-shadow)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}

/* Headings inside surfaces */
body.ebadi-ui-v2-page :where(.account-app,.feature-app,.club-app,.reminders-app,.repairs-app,.vehicle-editor-app,.repair-editor-app,.profile-editor-app,.profile-route,.inquiries-app) h2{
  color:var(--eb-text)!important;font-weight:900!important;letter-spacing:-.2px!important;
}
body.ebadi-ui-v2-page :where(.account-app,.feature-app,.club-app,.reminders-app,.repairs-app,.vehicle-editor-app,.repair-editor-app,.profile-editor-app,.profile-route,.inquiries-app) :where(p,small){color:var(--eb-muted)}

/* --------- INPUTS / FORM CONTROLS --------- */
body.ebadi-ui-v2-page :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea){
  width:100%!important;min-height:44px!important;margin:0!important;padding:10px 12px!important;
  border:1px solid #e5ded3!important;border-radius:var(--eb-control-radius)!important;background:#fff!important;color:var(--eb-text)!important;
  box-shadow:none!important;outline:none!important;font-size:var(--eb-fs-body)!important;font-weight:600!important;line-height:1.5!important;
}
body.ebadi-ui-v2-page textarea{min-height:104px!important;resize:vertical!important}
body.ebadi-ui-v2-page :where(input,select,textarea):focus{border-color:#d5b271!important;box-shadow:0 0 0 3px rgba(200,139,44,.09)!important}
body.ebadi-ui-v2-page label{color:#343638!important;font-size:var(--eb-fs-caption)!important;font-weight:800!important}
body.ebadi-ui-v2-page :where(.field-hint,.form-hint,.profile-field-hint,.vehicle-field-hint){color:var(--eb-muted)!important;font-size:var(--eb-fs-micro)!important}

/* --------- BUTTONS / CTAs --------- */
body.ebadi-ui-v2-page :where(.button,.btn,.primary-button,.submit-button,.reminders-header-add,.repair-add-button,.profile-editor-submit,.wallet-topup button,.feature-form button[type="submit"],.social-reward-app button[type="submit"],.ebadi-crud-editor button[type="submit"],.vehicle-form-actions button,.reminder-form-actions button,.repair-footer-actions button){
  min-height:42px!important;padding:0 16px!important;border:0!important;border-radius:13px!important;background:linear-gradient(145deg,#d99c38,#c27d25)!important;
  color:#fff!important;font-size:var(--eb-fs-label)!important;font-weight:850!important;line-height:1!important;text-decoration:none!important;
  box-shadow:0 7px 16px rgba(196,126,34,.18)!important;
}
body.ebadi-ui-v2-page :where(.secondary-button,.outline-button,.feature-tabs button,.financial-tabs button,.inquiry-tabs button,.settings-tabs button){
  min-height:38px!important;padding:0 13px!important;border:1px solid var(--eb-card-border)!important;border-radius:12px!important;background:#fff!important;
  color:#45484d!important;font-size:var(--eb-fs-caption)!important;font-weight:800!important;box-shadow:none!important;
}
body.ebadi-ui-v2-page :where(.feature-tabs button.is-active,.financial-tabs button.is-active,.inquiry-tabs button.is-active,.settings-tabs button.is-active){
  border-color:#ecd9b4!important;background:var(--eb-gold-soft)!important;color:#a66f20!important;
}

/* --------- TABS / FILTERS / CHIPS --------- */
body.ebadi-ui-v2-page :where(.feature-tabs,.financial-tabs,.inquiry-tabs,.reminders-tabs,.repair-filters,.inspection-filters){
  display:flex!important;gap:7px!important;overflow-x:auto!important;margin:0 0 12px!important;padding:2px 0 5px!important;scrollbar-width:none!important;
}
body.ebadi-ui-v2-page :where(.feature-tabs,.financial-tabs,.inquiry-tabs,.reminders-tabs,.repair-filters,.inspection-filters)::-webkit-scrollbar{display:none!important}
body.ebadi-ui-v2-page :where(.feature-tabs,.financial-tabs,.inquiry-tabs,.reminders-tabs,.repair-filters,.inspection-filters) :where(button,a){
  flex:0 0 auto!important;min-height:36px!important;padding:0 13px!important;border:1px solid var(--eb-card-border)!important;border-radius:999px!important;
  background:#fff!important;color:#50545a!important;font-size:var(--eb-fs-caption)!important;font-weight:800!important;text-decoration:none!important;
}
body.ebadi-ui-v2-page :where(.feature-tabs,.financial-tabs,.inquiry-tabs,.reminders-tabs,.repair-filters,.inspection-filters) :where(button.is-active,a.is-active){
  border-color:#e6c98e!important;background:var(--eb-gold-soft)!important;color:#a87020!important;
}

/* --------- EMPTY / NOTICE / STATUS --------- */
body.ebadi-ui-v2-page :where(.account-empty,.empty-state,.feature-empty,.reminders-empty,.repairs-empty){
  padding:28px 18px!important;border:1px dashed #ddd4c5!important;border-radius:16px!important;background:#fbfaf8!important;text-align:center!important;box-shadow:none!important;
}
body.ebadi-ui-v2-page :where(.account-empty,.empty-state,.feature-empty,.reminders-empty,.repairs-empty) h2{margin:0 0 5px!important;font-size:var(--eb-fs-emphasis)!important}
body.ebadi-ui-v2-page :where(.account-empty,.empty-state,.feature-empty,.reminders-empty,.repairs-empty) p{margin:0!important;color:var(--eb-muted)!important;font-size:var(--eb-fs-caption)!important}
body.ebadi-ui-v2-page :where(.notice,.success-notice,.error-notice,.profile-notice,.vehicle-notice,.reminder-notice,.repair-notice){
  border:1px solid #eadfcf!important;border-radius:13px!important;background:#fff9ef!important;color:#6d572f!important;box-shadow:none!important;
}

/* --------- VEHICLES --------- */
body.ebadi-vehicles-v2 .vehicles-app{background:#fff!important}
body.ebadi-ui-v2-page .vehicles-v2-add{border-color:#ecd8b0!important;background:linear-gradient(135deg,#fff9ef,#f8ead1)!important}
body.ebadi-ui-v2-page .vehicle-v2-card{border-color:var(--eb-card-border)!important;background:#fff!important;box-shadow:var(--eb-card-shadow)!important}
body.ebadi-ui-v2-page .vehicle-v2-card__quick a{background:#fafafa!important;border-top:1px solid #eee8df!important;color:#32353a!important}

/* --------- REMINDERS --------- */
body.ebadi-ui-v2-page .reminders-app{background:#fff!important}
body.ebadi-ui-v2-page .reminders-list{display:grid!important;gap:10px!important}
body.ebadi-ui-v2-page .reminders-list article{margin:0!important;padding:14px!important}
body.ebadi-ui-v2-page .reminder-form-section{margin:0 0 10px!important;padding:14px!important}
body.ebadi-ui-v2-page .reminder-form-section>header{display:flex!important;align-items:center!important;gap:10px!important;margin-bottom:12px!important}
body.ebadi-ui-v2-page .reminder-form-section>header>span{display:grid!important;width:28px!important;height:28px!important;place-items:center!important;border-radius:9px!important;background:var(--eb-gold-soft)!important;color:#a67223!important;font-weight:900!important}

/* --------- REPAIRS / EXPENSES --------- */
body.ebadi-ui-v2-page .repairs-app,body.ebadi-ui-v2-page .repair-editor-app{background:#fff!important}
body.ebadi-ui-v2-page .repair-summary{padding:14px!important;background:linear-gradient(135deg,#fffaf2,#f9edd8)!important;border-color:#edd8b2!important}
body.ebadi-ui-v2-page .repair-chart-card,body.ebadi-ui-v2-page .repair-tools,body.ebadi-ui-v2-page .repair-records article{padding:14px!important}
body.ebadi-ui-v2-page .repair-form-step{margin:0 0 10px!important;padding:14px!important}

/* --------- FINANCIAL HISTORY --------- */
body.ebadi-ui-v2-page .financial-app{background:#fff!important}
body.ebadi-ui-v2-page .financial-summary{padding:14px!important;background:linear-gradient(135deg,#fffaf2,#f9edd8)!important;border-color:#ecd4a8!important}
body.ebadi-ui-v2-page .financial-transactions{padding:14px!important;margin-top:10px!important}
body.ebadi-ui-v2-page .financial-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 10px!important;margin:8px 0!important;padding:12px!important;background:#fff!important}
body.ebadi-ui-v2-page .financial-row__copy{min-width:0!important}
body.ebadi-ui-v2-page .financial-row__copy strong{color:var(--eb-text)!important;font-size:var(--eb-fs-label)!important}
body.ebadi-ui-v2-page .financial-row__copy small,body.ebadi-ui-v2-page .financial-row time{color:var(--eb-muted)!important;font-size:var(--eb-fs-micro)!important}
body.ebadi-ui-v2-page .financial-row__amount{color:#2d3136!important;font-size:var(--eb-fs-caption)!important;font-weight:850!important}

/* --------- PROFILE --------- */
body.ebadi-ui-v2-page .profile-route,body.ebadi-ui-v2-page .profile-page{background:#fff!important}
body.ebadi-ui-v2-page .profile-dashboard{padding-top:4px!important}
body.ebadi-ui-v2-page .profile-summary-card{padding:14px!important;background:linear-gradient(135deg,#fffaf2,#f9edd8)!important;border-color:#ecd8b3!important}
body.ebadi-ui-v2-page .profile-status-strip{margin:10px 0!important;padding:8px!important}
body.ebadi-ui-v2-page .profile-garage,body.ebadi-ui-v2-page .profile-insights,body.ebadi-ui-v2-page .profile-reminder-list,body.ebadi-ui-v2-page .profile-quick-access,body.ebadi-ui-v2-page .profile-activity,body.ebadi-ui-v2-page .profile-settings{margin-top:10px!important;padding:14px!important}
body.ebadi-ui-v2-page .profile-garage__card,body.ebadi-ui-v2-page .profile-insight-card,body.ebadi-ui-v2-page .profile-quick-access a,body.ebadi-ui-v2-page .profile-settings a{border:1px solid #eee7dc!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}

/* --------- COMPLETE PROFILE --------- */
body.ebadi-ui-v2-page .profile-editor-app{background:#fff!important}
body.ebadi-ui-v2-page .profile-onboarding-card{margin:0 0 10px!important;padding:13px!important;background:linear-gradient(135deg,#fffaf2,#f8ead1)!important;border-color:#ecd4a7!important}
body.ebadi-ui-v2-page .profile-completion-card,body.ebadi-ui-v2-page .profile-editor-card{margin:0 0 10px!important;padding:14px!important}

/* --------- SETTINGS --------- */
body.ebadi-ui-v2-page .settings-card{margin:0 0 10px!important;padding:14px!important}
body.ebadi-ui-v2-page .settings-row{border-color:#eee7dd!important;color:var(--eb-text)!important}

/* --------- NOTIFICATIONS --------- */
body.ebadi-ui-v2-page .notifications-app{background:#fff!important}
body.ebadi-ui-v2-page .notifications-overview{margin-bottom:10px!important;padding:14px!important;background:linear-gradient(135deg,#fffaf2,#f8ead1)!important;border-color:#ecd5aa!important}
body.ebadi-ui-v2-page .notification-list{padding:10px!important}
body.ebadi-ui-v2-page .notification-item{margin:0 0 8px!important;padding:12px!important}
body.ebadi-ui-v2-page .notification-item.is-unread{border-color:#e6c98e!important;background:#fffaf1!important}

/* --------- WALLET --------- */
body.ebadi-ui-v2-page .wallet-app,body.ebadi-ui-v2-page .wallet-result-app{background:#fff!important}
body.ebadi-ui-v2-page .wallet-balance{padding:16px!important;background:linear-gradient(145deg,#d49b37,#b87523)!important;color:#fff!important;border:0!important}
body.ebadi-ui-v2-page .wallet-balance *{color:#fff!important}
body.ebadi-ui-v2-page :where(.wallet-overview,.wallet-settlement,.wallet-settlement-history,.wallet-topup,.wallet-history){margin-top:10px!important;padding:14px!important}
body.ebadi-ui-v2-page .wallet-result-card{margin-top:16px!important;padding:20px 16px!important;text-align:center!important}

/* --------- CUSTOMER CLUB / REWARDS --------- */
body.ebadi-ui-v2-page .club-app{background:#fff!important}
body.ebadi-ui-v2-page .club-score-card{padding:16px!important;background:linear-gradient(145deg,#fff8ed,#f4dfba)!important;border-color:#e7c889!important}
body.ebadi-ui-v2-page :where(.club-earn,.club-history,.club-spend){margin-top:10px!important;padding:14px!important}
body.ebadi-ui-v2-page .social-reward-balance,body.ebadi-ui-v2-page .social-submissions{margin-top:10px!important;padding:14px!important}

/* --------- BRANCHES --------- */
body.ebadi-ui-v2-page .branches-app,body.ebadi-ui-v2-page .branch-detail-app{background:#fff!important}
body.ebadi-ui-v2-page .branch-card-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
body.ebadi-ui-v2-page .branch-card-grid article,body.ebadi-ui-v2-page .branch-card{padding:0!important;overflow:hidden!important}
body.ebadi-ui-v2-page .branch-hero{overflow:hidden!important;margin-bottom:10px!important}
body.ebadi-ui-v2-page .branch-info-panel,body.ebadi-ui-v2-page .branch-gallery,body.ebadi-ui-v2-page .branch-reviews{margin-top:10px!important;padding:14px!important}
body.ebadi-ui-v2-page .branch-phone-link,body.ebadi-ui-v2-page .branch-call-button{background:var(--eb-gold)!important;color:#fff!important;border-radius:12px!important}

/* --------- SERVICES / INSPECTIONS / REVIEWS --------- */
body.ebadi-ui-v2-page .feature-app,body.ebadi-ui-v2-page .inspection-list,body.ebadi-ui-v2-page .inspection-review-app{background:#fff!important}
body.ebadi-ui-v2-page .feature-list{display:grid!important;gap:9px!important}
body.ebadi-ui-v2-page .feature-list article{padding:13px!important}
body.ebadi-ui-v2-page .inspection-hero{padding:15px!important;background:linear-gradient(135deg,#fffaf2,#f8ead1)!important;border-color:#ecd4a7!important}
body.ebadi-ui-v2-page .inspection-cards{display:grid!important;gap:10px!important}
body.ebadi-ui-v2-page .inspection-cards article{padding:14px!important}
body.ebadi-ui-v2-page .inspection-approved-reviews{margin-top:12px!important}
body.ebadi-ui-v2-page .inspection-approved-reviews article{margin-bottom:8px!important;padding:12px!important}

/* --------- VEHICLE EDITOR --------- */
body.ebadi-ui-v2-page .vehicle-editor-app{background:#fff!important}
body.ebadi-ui-v2-page .ebadi-crud-section{margin:0 0 10px!important;padding:14px!important}
body.ebadi-ui-v2-page .ebadi-crud-section>header{display:flex!important;align-items:center!important;gap:10px!important;margin-bottom:12px!important}
body.ebadi-ui-v2-page .ebadi-crud-section>header>span{display:grid!important;width:28px!important;height:28px!important;place-items:center!important;border-radius:9px!important;background:var(--eb-gold-soft)!important;color:#a67223!important;font-weight:900!important}

/* --------- BOOKING --------- */
body.ebadi-ui-v2-page .booking-app-shell{background:#fff!important;padding-inline:0!important}
body.ebadi-ui-v2-page .booking-app-shell .phone{background:#fff!important;box-shadow:none!important;border-radius:0!important}
body.ebadi-ui-v2-page .booking-app-shell :where(.card,.step-card,.form-card){border-color:var(--eb-card-border)!important;background:#fff!important;border-radius:16px!important;box-shadow:var(--eb-card-shadow)!important}
body.ebadi-ui-v2-page .booking-app-shell :where(button,.next-btn,.submit-btn){border-radius:12px!important}
body.ebadi-ui-v2-page .booking-app-back,body.ebadi-ui-v2-page .booking-theme-toggle{border-color:var(--eb-card-border)!important;background:#fff!important;color:var(--eb-text)!important;box-shadow:var(--eb-card-shadow)!important}

/* --------- LOGOUT --------- */
body.ebadi-ui-v2-page .logout-app{display:grid!important;place-items:center!important;background:#fff!important}
body.ebadi-ui-v2-page .logout-card{width:min(100%,420px)!important;padding:22px 16px!important;text-align:center!important}

/* --------- LOGIN / LEGAL COLORS (public screens keep own structure) --------- */
body.ebadi-login-page{background:#fff!important;color:var(--eb-text)!important}
body.ebadi-login-page .auth-card{border-color:var(--eb-card-border)!important;background:#fff!important;box-shadow:var(--eb-card-shadow)!important}
body.ebadi-login-page .auth-submit{background:linear-gradient(145deg,#d99c38,#c27d25)!important}
body.ebadi-legal-page{background:#fff!important;color:var(--eb-text)!important}

/* --------- SAFETY AGAINST LEGACY DARK RULES --------- */
body.ebadi-ui-v2-page :where(.account-app,.feature-app,.club-app,.reminders-app,.repairs-app,.vehicle-editor-app,.repair-editor-app,.profile-editor-app,.profile-route,.inquiries-app) :where(h1,h2,h3,h4,strong,b){text-shadow:none!important}
body.ebadi-ui-v2-page :where(.account-app,.feature-app,.club-app,.reminders-app,.repairs-app,.vehicle-editor-app,.repair-editor-app,.profile-editor-app,.profile-route,.inquiries-app) :where(article,section,div){--tw-bg-opacity:1}
body.ebadi-ui-v2-page .call-button{display:none!important}

/* --------- RESPONSIVE --------- */
@media(max-width:390px){
  :root{--eb-page-x:10px}
  body.ebadi-ui-v2-page :where(.account-page-header,.reminders-header,.repairs-page-header,.vehicle-editor-header,.repair-wizard-header,.notifications-header,.inquiries-page-header,.club-header,.inspection-page-head,.feature-app__header,.profile-editor__header,.ebadi-crud-header) h1{font-size:var(--eb-fs-subtitle)!important}
  body.ebadi-ui-v2-page :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea){font-size:var(--eb-fs-label)!important}
  body.ebadi-ui-v2-page :where(.account-app,.feature-app,.branches-app,.branch-detail-app,.financial-app,.wallet-app,.wallet-result-app,.notifications-app,.logout-app,.social-reward-app,.inquiries-app,.club-app,.reminders-app,.repairs-app,.vehicle-editor-app,.repair-editor-app,.profile-editor-app,.profile-route,.booking-app-shell,.inspection-list,.inspection-report,.inspection-review-app){padding-inline:10px!important}
}
@media(max-width:340px){
  body.ebadi-ui-v2-page :where(.account-page-header,.reminders-header,.repairs-page-header,.vehicle-editor-header,.repair-wizard-header,.notifications-header,.inquiries-page-header,.club-header,.inspection-page-head,.feature-app__header,.profile-editor__header,.ebadi-crud-header) h1{font-size:var(--eb-fs-section-strong)!important}
}

/* --------- AUTH SCREEN — same palette, public layout --------- */
body.ebadi-login-page .auth-app{min-height:100svh!important;padding:calc(env(safe-area-inset-top) + 24px) 14px calc(30px + env(safe-area-inset-bottom))!important;background:#fff!important;color:var(--eb-text)!important}
body.ebadi-login-page .auth-app__glow{display:none!important}
body.ebadi-login-page .auth-brand{margin:0 auto 18px!important;color:var(--eb-text)!important}
body.ebadi-login-page .auth-brand img{filter:none!important}
body.ebadi-login-page .auth-eyebrow{color:var(--eb-gold-dark)!important}
body.ebadi-login-page .auth-description{color:var(--eb-muted)!important}
body.ebadi-login-page .auth-card{padding:18px 15px!important;border:1px solid var(--eb-card-border)!important;border-radius:18px!important;background:#fff!important;color:var(--eb-text)!important;box-shadow:var(--eb-card-shadow)!important}
body.ebadi-login-page .auth-field input,body.ebadi-login-page .auth-otp__cells input{border-color:#e5ded3!important;background:#fff!important;color:var(--eb-text)!important;border-radius:12px!important;box-shadow:none!important}
body.ebadi-login-page .auth-submit{min-height:44px!important;border:0!important;border-radius:13px!important;background:linear-gradient(145deg,#d99c38,#c27d25)!important;color:#fff!important;box-shadow:0 7px 16px rgba(196,126,34,.18)!important}
body.ebadi-login-page .auth-inline-back,body.ebadi-login-page .auth-resend{color:var(--eb-gold-dark)!important}
body.ebadi-login-page .auth-legal{color:var(--eb-muted)!important}
body.ebadi-login-page .auth-legal a{color:var(--eb-gold-dark)!important}

/* Inquiry inline legacy dark states */
body.ebadi-ui-v2-page .inquiries-category-empty{display:grid!important;min-height:180px!important;padding:24px 16px!important;border:1px dashed #ddd4c5!important;border-radius:16px!important;background:#fbfaf8!important;text-align:center!important;place-content:center!important}
body.ebadi-ui-v2-page .inquiries-category-empty span{display:grid!important;width:52px!important;height:52px!important;margin:0 auto 10px!important;border-radius:15px!important;background:var(--eb-gold-soft)!important;color:var(--eb-gold-dark)!important;place-items:center!important}
body.ebadi-ui-v2-page .inquiries-category-empty h3{color:var(--eb-text)!important}
body.ebadi-ui-v2-page .inquiries-category-empty p{color:var(--eb-muted)!important}

/* --------- 404 --------- */
body.ebadi-error-page{background:#fff!important;color:var(--eb-text)!important}
body.ebadi-error-page .error-app{display:grid!important;min-height:100svh!important;padding:24px 14px!important;background:#fff!important;place-items:center!important}
body.ebadi-error-page .error-app__glow{display:none!important}
body.ebadi-error-page .error-card{width:min(100%,420px)!important;padding:24px 18px!important;border:1px solid var(--eb-card-border)!important;border-radius:20px!important;background:#fff!important;color:var(--eb-text)!important;box-shadow:var(--eb-card-shadow)!important;text-align:center!important}
body.ebadi-error-page .error-card__eyebrow{color:var(--eb-gold-dark)!important}
body.ebadi-error-page .error-card p{color:var(--eb-muted)!important}
body.ebadi-error-page .error-card__primary{background:linear-gradient(145deg,#d99c38,#c27d25)!important;color:#fff!important;border-radius:13px!important}


/* =========================================================
   UI V2 — COMPLETE PROFILE FIELD LAYOUT
   Canonical two-row field structure: label above value/control.
   Keeps legacy profile-edit.css from overlapping labels/values.
========================================================= */
body.ebadi-ui-v2-page .profile-editor-app .profile-fields{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field{
  position:relative!important;
  display:grid!important;
  grid-template-columns:62px minmax(0,1fr)!important;
  grid-template-rows:auto minmax(46px,auto)!important;
  min-height:92px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #e6e2dc!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(43,39,31,.025)!important;
  direction:rtl!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field__icon{
  grid-column:1!important;
  grid-row:1 / 3!important;
  display:grid!important;
  place-items:center!important;
  align-self:stretch!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  padding:0!important;
  border:0!important;
  border-left:1px solid #ece8e2!important;
  background:#fbfbfa!important;
  color:#ad7020!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field__icon svg{
  width:25px!important;
  height:25px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field__label{
  position:static!important;
  z-index:auto!important;
  grid-column:2!important;
  grid-row:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  min-width:0!important;
  min-height:34px!important;
  margin:0!important;
  padding:11px 15px 0!important;
  color:#3f4449!important;
  font-size:var(--eb-fs-body)!important;
  font-weight:800!important;
  line-height:1.35!important;
  pointer-events:none!important;
  white-space:normal!important;
  text-align:right!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field__label i{
  display:inline-flex!important;
  align-items:center!important;
  min-height:18px!important;
  padding:1px 7px!important;
  border-radius:999px!important;
  background:#fbf1dd!important;
  color:#a66f1d!important;
  font-size:var(--eb-fs-micro)!important;
  font-style:normal!important;
  font-weight:800!important;
  line-height:1!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field__label small{
  margin:0!important;
  color:#92979c!important;
  font-size:var(--eb-fs-caption)!important;
  font-weight:500!important;
  line-height:1.3!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field :is(input,select,textarea){
  position:static!important;
  grid-column:2!important;
  grid-row:2!important;
  align-self:start!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#171b20!important;
  -webkit-text-fill-color:#171b20!important;
  font-family:inherit!important;
  font-size:var(--eb-fs-section)!important;
  font-weight:750!important;
  line-height:1.45!important;
  text-align:right!important;
  unicode-bidi:plaintext!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field input{
  height:48px!important;
  min-height:48px!important;
  padding:2px 15px 11px!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field select{
  height:48px!important;
  min-height:48px!important;
  padding:2px 15px 11px 34px!important;
  appearance:auto!important;
  -webkit-appearance:menulist!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field textarea{
  min-height:72px!important;
  resize:vertical!important;
  padding:3px 15px 13px!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field input::placeholder,
body.ebadi-ui-v2-page .profile-editor-app .profile-field textarea::placeholder{
  color:#a0a4a8!important;
  -webkit-text-fill-color:#a0a4a8!important;
  font-size:var(--eb-fs-body)!important;
  font-weight:500!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field--locked{
  opacity:1!important;
  border-style:dashed!important;
  background:#fafafa!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field--locked .profile-field__icon{
  color:#7e858b!important;
  background:#f6f7f7!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field--locked input{
  color:#777e84!important;
  -webkit-text-fill-color:#777e84!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field--address{
  grid-column:1!important;
  min-height:116px!important;
}

body.ebadi-ui-v2-page .profile-editor-app .profile-field[data-error="1"]::after{
  right:77px!important;
  bottom:3px!important;
}

@media (max-width:390px){
  body.ebadi-ui-v2-page .profile-editor-app .profile-field{
    grid-template-columns:56px minmax(0,1fr)!important;
    min-height:88px!important;
  }
  body.ebadi-ui-v2-page .profile-editor-app .profile-field__label{
    padding-inline:12px!important;
    font-size:var(--eb-fs-label)!important;
  }
  body.ebadi-ui-v2-page .profile-editor-app .profile-field :is(input,select,textarea){
    font-size:var(--eb-fs-emphasis)!important;
  }
  body.ebadi-ui-v2-page .profile-editor-app .profile-field input{
    padding-inline:12px!important;
  }
  body.ebadi-ui-v2-page .profile-editor-app .profile-field select{
    padding-right:12px!important;
  }
  body.ebadi-ui-v2-page .profile-editor-app .profile-field textarea{
    padding-inline:12px!important;
  }
}

/* =========================================================
   UI V2 — MY INSPECTIONS PAGE FINISH
   Header stack + warm empty state aligned with approved design system.
========================================================= */
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-list{
  width:min(100%,760px)!important;
  padding-top:14px!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-page-head{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:10px!important;
  margin:0 0 14px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-page-head__copy{
  display:block!important;
  min-width:0!important;
  width:100%!important;
  text-align:right!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-page-head__copy>small{
  display:block!important;
  margin:0 0 3px!important;
  color:#858078!important;
  font-size:var(--eb-fs-micro)!important;
  font-weight:700!important;
  letter-spacing:.13em!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-page-head h1{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#171b20!important;
  font-size:clamp(22px,6.1vw,27px)!important;
  font-weight:950!important;
  line-height:1.25!important;
  letter-spacing:-.035em!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-page-head p{
  display:block!important;
  margin:4px 0 0!important;
  color:#7d7972!important;
  font-size:var(--eb-fs-caption)!important;
  line-height:1.6!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-head-create{
  display:flex!important;
  position:static!important;
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0 16px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:1px solid #d89a37!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#dfa63f,#bd7925)!important;
  box-shadow:0 8px 18px rgba(183,119,35,.14)!important;
  color:#171b20!important;
  text-decoration:none!important;
  font-size:var(--eb-fs-body)!important;
  font-weight:900!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-head-create span{
  display:inline-grid!important;
  place-items:center!important;
  width:22px!important;
  height:22px!important;
  color:#171b20!important;
  font-size:var(--eb-fs-page)!important;
  font-weight:500!important;
  line-height:1!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-head-create b{
  color:inherit!important;
  font:inherit!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-empty{
  display:grid!important;
  justify-items:center!important;
  min-height:250px!important;
  padding:34px 20px!important;
  border:1px solid #ecd4a7!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#fffaf2,#f8ead1)!important;
  box-shadow:none!important;
  color:#171b20!important;
  text-align:center!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-empty__icon{
  display:grid!important;
  width:68px!important;
  height:68px!important;
  margin:0!important;
  place-items:center!important;
  border:1px solid #e5c993!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.58)!important;
  color:#171b20!important;
  box-shadow:0 8px 20px rgba(111,83,39,.07)!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-empty__icon svg{
  width:38px!important;
  height:38px!important;
  fill:none!important;
  stroke:#171b20!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-empty h2{
  margin:14px 0 5px!important;
  color:#171b20!important;
  font-size:var(--eb-fs-section-strong)!important;
  font-weight:900!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-empty p{
  max-width:330px!important;
  margin:0!important;
  color:#77716a!important;
  font-size:var(--eb-fs-caption)!important;
  line-height:1.9!important;
}
body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-empty a{
  display:inline-flex!important;
  min-height:42px!important;
  margin-top:16px!important;
  padding:0 16px!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #d89a37!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#dfa63f,#bd7925)!important;
  color:#171b20!important;
  text-decoration:none!important;
  font-size:var(--eb-fs-caption)!important;
  font-weight:900!important;
}
@media(max-width:360px){
  body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-page-head h1{font-size:var(--eb-fs-page-strong)!important}
  body.ebadi-ui-v2-page.ebadi-inspections-page .inspection-head-create{height:46px!important;min-height:46px!important}
}

/* =========================================================
   UI V2 — INSPECTIONS CANONICAL LAYOUT FIX 08
   Structural fallback independent of legacy body-class assumptions.
========================================================= */
.ebadi-inspections-page .inspection-list{
  width:min(100%,760px)!important;
  padding-top:14px!important;
}
.ebadi-inspections-page .inspection-page-head{
  display:block!important;
  width:100%!important;
  margin:0 0 10px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.ebadi-inspections-page .inspection-page-head__copy{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  text-align:right!important;
}
.ebadi-inspections-page .inspection-page-head__copy>small{
  display:block!important;
  margin:0 0 3px!important;
  color:#858078!important;
  font-size:var(--eb-fs-micro)!important;
  font-weight:700!important;
  letter-spacing:.13em!important;
}
.ebadi-inspections-page .inspection-page-head h1{
  display:block!important;
  width:100%!important;
  margin:0!important;
  color:#171b20!important;
  font-size:clamp(22px,6.1vw,27px)!important;
  font-weight:950!important;
  line-height:1.25!important;
  letter-spacing:-.035em!important;
  white-space:nowrap!important;
}
.ebadi-inspections-page .inspection-page-head p{
  display:block!important;
  margin:4px 0 0!important;
  color:#7d7972!important;
  font-size:var(--eb-fs-caption)!important;
  line-height:1.6!important;
}
.ebadi-inspections-page .inspection-create-row{
  display:block!important;
  width:100%!important;
  margin:0 0 14px!important;
}
.ebadi-inspections-page .inspection-create-row .inspection-head-create{
  display:flex!important;
  position:static!important;
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0 16px!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:1px solid #d89a37!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#dfa63f,#bd7925)!important;
  box-shadow:0 8px 18px rgba(183,119,35,.14)!important;
  color:#171b20!important;
  text-decoration:none!important;
  font-size:var(--eb-fs-body)!important;
  font-weight:900!important;
}
.ebadi-inspections-page .inspection-create-row .inspection-head-create span{
  display:inline-grid!important;
  width:22px!important;
  height:22px!important;
  place-items:center!important;
  color:#171b20!important;
  font-size:var(--eb-fs-page)!important;
  line-height:1!important;
}
.ebadi-inspections-page .inspection-create-row .inspection-head-create b{
  color:inherit!important;
  font:inherit!important;
}

/* Replace the legacy black empty-state with the same warm surface language as the hero card. */
.ebadi-inspections-page .inspection-cards .inspection-empty{
  display:grid!important;
  justify-items:center!important;
  min-height:250px!important;
  padding:34px 20px!important;
  border:1px solid #ecd4a7!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#fffaf2 0%,#f8ead1 100%)!important;
  box-shadow:none!important;
  color:#171b20!important;
  text-align:center!important;
}
.ebadi-inspections-page .inspection-cards .inspection-empty__icon{
  display:grid!important;
  width:68px!important;
  height:68px!important;
  margin:0!important;
  border:1px solid #e5c993!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.62)!important;
  color:#171b20!important;
  place-items:center!important;
  box-shadow:0 8px 20px rgba(111,83,39,.07)!important;
}
.ebadi-inspections-page .inspection-cards .inspection-empty__icon svg{
  width:38px!important;
  height:38px!important;
  fill:none!important;
  stroke:#171b20!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.ebadi-inspections-page .inspection-cards .inspection-empty h2{
  margin:14px 0 5px!important;
  color:#171b20!important;
}
.ebadi-inspections-page .inspection-cards .inspection-empty p{
  color:#77716a!important;
}

@media(max-width:360px){
  .ebadi-inspections-page .inspection-page-head h1{font-size:var(--eb-fs-page-strong)!important}
  .ebadi-inspections-page .inspection-create-row .inspection-head-create{height:46px!important;min-height:46px!important;font-size:var(--eb-fs-label)!important}
}


/* =========================================================
   INSPECTIONS — RESERVE BUTTON TRUE VERTICAL CENTER
========================================================= */
body.ebadi-ui-v2-page.ebadi-inspections-page
.inspection-create-row .inspection-head-create{
  display:flex!important;
  align-items:center!important;
  align-content:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  line-height:1!important;
  text-align:center!important;
}

body.ebadi-ui-v2-page.ebadi-inspections-page
.inspection-create-row .inspection-head-create b,
body.ebadi-ui-v2-page.ebadi-inspections-page
.inspection-create-row .inspection-head-create span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  vertical-align:middle!important;
}

body.ebadi-ui-v2-page.ebadi-inspections-page
.inspection-create-row .inspection-head-create b{
  min-height:100%!important;
}


/* =========================================================
   INSPECTIONS — RESERVE BUTTON OPTICAL CENTER (FINAL)
   Isolated inner layer avoids legacy span/b rules and Peyda
   font-metric offset. The label is positioned from the exact
   physical center of the button.
========================================================= */
body.ebadi-ui-v2-page.ebadi-inspections-page
.inspection-create-row .inspection-head-create{
  position:relative!important;
  display:block!important;
  height:48px!important;
  min-height:48px!important;
  padding:0!important;
  line-height:48px!important;
  text-align:center!important;
}

body.ebadi-ui-v2-page.ebadi-inspections-page
.inspection-create-row .inspection-head-create__inner{
  position:absolute!important;
  top:50%!important;
  left:50%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:max-content!important;
  max-width:calc(100% - 24px)!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  font:inherit!important;
  font-style:normal!important;
  line-height:1!important;
  white-space:nowrap!important;
  transform:translate(-50%,calc(-50% + 2px))!important;
}

body.ebadi-ui-v2-page.ebadi-inspections-page
.inspection-create-row .inspection-head-create__inner::before{
  content:"＋";
  display:block;
  flex:0 0 auto;
  margin:0;
  padding:0;
  color:inherit;
  font-size:20px;
  font-weight:500;
  line-height:1;
}

@media(max-width:360px){
  body.ebadi-ui-v2-page.ebadi-inspections-page
  .inspection-create-row .inspection-head-create{
    height:46px!important;
    min-height:46px!important;
    line-height:46px!important;
  }
}
