.admin-page { background: linear-gradient(180deg, rgba(160,0,90,.05), transparent 300px), var(--canvas); }
.admin-locked .admin-topbar, .admin-locked .admin-shell { display: none; }.mmp-login { display: none; min-height: 100vh; padding: 24px; place-items: center; background: radial-gradient(circle at 8% 12%, #f5e4ed, transparent 28%), radial-gradient(circle at 92% 88%, #fff0d5, transparent 30%), #fcf9fb; }.admin-locked .mmp-login { display: grid; }.mmp-login-card { width: min(874px,100%); overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 28px 70px rgba(34,20,40,.14); }.mmp-login-card header { height: 158px; display: flex; align-items: center; justify-content: center; gap: 118px; padding: 0 70px; background: linear-gradient(105deg,#800047,#ce006d); color: #fff; }.mmp-login-card header h1 { margin: 0; font-size: 43px; }.mmp-login-card header img { width: 142px; height: 72px; object-fit: contain; }.mmp-login-fields { display: grid; gap: 22px; padding: 28px 52px 78px; }.mmp-login-fields label { color: #080d26; font-size: 18px; font-weight: 900; }.mmp-login-card input { min-height: 78px; padding: 0 23px; border: 1px solid #e8e0ea; border-radius: 17px; color: #08112b; font: 800 18px "Museo700", "GE SS Two", sans-serif; direction: ltr; }.mmp-login-card input:focus { border-color: var(--brand); outline: 0; }.mmp-login-card .admin-primary { min-height: 78px; border-radius: 18px; font-size: 19px; }.mmp-login-card #mmpLoginStatus { min-height: 20px; margin: 0; color: var(--brand); font-weight: 800; text-align: center; } @media (max-width: 600px) { .mmp-login-card header { height: 128px; gap: 30px; padding: 0 24px; }.mmp-login-card header h1 { font-size: 30px; }.mmp-login-card header img { width: 104px; }.mmp-login-fields { padding: 24px 22px 45px; } }
.admin-topbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px max(18px, calc((100vw - 1360px) / 2)); background: linear-gradient(135deg, var(--brand-dark), var(--brand) 58%, var(--brand-light)); box-shadow: 0 8px 34px rgba(112,0,63,.16); }.admin-brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-size: 16px; font-weight: 900; }.admin-brand img { width: 112px; height: 54px; object-fit: contain; }.admin-back { padding: 9px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; text-decoration: none; font-size: 11px; font-weight: 800; }.admin-shell { width: min(1100px, calc(100% - 36px)); margin: 0 auto; padding: 28px 0 46px; }.admin-hero { padding: 26px 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }.admin-hero span { color: var(--gold); font-size: 11px; font-weight: 900; }.admin-hero h1 { margin: 8px 0 6px; color: var(--brand-dark); font-size: clamp(24px,4vw,34px); }.admin-hero p, .panel-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }.admin-stat { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }.admin-stat span { color: var(--muted); font-size: 10px; font-weight: 800; }.admin-stat strong { display: block; margin-top: 6px; color: var(--brand); font-family: var(--number-font); font-size: 25px; }.admin-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 20px 0 14px; padding-bottom: 2px; }.admin-tabs button { flex: 1; min-width: 142px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 900; }.admin-tabs button.active { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 10px 22px rgba(160,0,90,.18); }.admin-panel { display: none; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }.admin-panel.active { display: block; }.panel-heading { margin-bottom: 20px; }.panel-heading h2 { margin: 0 0 6px; color: var(--ink); font-size: 20px; }.admin-form { display: grid; align-items: end; gap: 14px; }.admin-form.three-fields { grid-template-columns: repeat(3, 1fr); }.admin-form label { display: grid; gap: 7px; }.admin-form label span { color: var(--muted); font-size: 11px; font-weight: 800; }.admin-form input, .admin-form select { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; outline-color: var(--brand); background: #fff; color: var(--ink); font: inherit; }.admin-form input[type="number"] { direction: ltr; font-family: var(--number-font); }.admin-primary { min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-light)); color: #fff; cursor: pointer; font-weight: 900; box-shadow: 0 10px 22px rgba(160,0,90,.18); }.add-vehicle-form { grid-template-columns: 1fr 2fr auto; }.damage-form { grid-template-columns: 1.2fr 2fr 1fr 1fr auto; }.admin-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 22px; }.vehicle-chip { display: flex; justify-content: space-between; gap: 8px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fcfbfd; color: var(--ink); font-size: 10px; }.vehicle-chip button { border: 0; background: transparent; color: #dc2626; cursor: pointer; font-size: 10px; }.admin-footer-actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; }.admin-footer-actions p { flex: 1; margin: 0; color: #059669; font-size: 11px; font-weight: 800; }.admin-outline, .admin-danger { min-height: 40px; padding: 0 13px; border-radius: 10px; cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }.admin-outline { border: 1px solid var(--line); background: #fff; color: var(--brand); }.admin-danger { border: 1px solid #fecaca; background: #fff; color: #dc2626; }
@media (max-width: 850px) { .admin-stats { grid-template-columns: 1fr 1fr; }.admin-form.three-fields, .add-vehicle-form, .damage-form { grid-template-columns: 1fr 1fr; }.admin-primary { grid-column: span 2; }.admin-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .admin-topbar { padding: 12px 16px; }.admin-brand span { display: none; }.admin-shell { width: min(100% - 24px,1100px); padding-top: 16px; }.admin-hero,.admin-panel { padding: 18px; }.admin-form.three-fields, .add-vehicle-form, .damage-form, .admin-list { grid-template-columns: 1fr; }.admin-primary { grid-column: auto; }.admin-footer-actions { align-items: stretch; flex-direction: column; }.admin-footer-actions p { min-height: 20px; }.admin-footer-actions button { min-height: 44px; } }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.review-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fcfbfd; }.review-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }.review-head h3, .review-vehicles h3 { margin: 0; color: var(--brand-dark); font-size: 15px; }.review-head label { min-width: 180px; display: grid; gap: 6px; }.review-head span, .review-search span { color: var(--muted); font-size: 10px; font-weight: 800; }.review-head select, .review-search input { min-height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }.review-search { display: grid; gap: 6px; margin: 14px 0; }.review-table-wrap { max-height: 470px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }.review-table-wrap table { width: 100%; min-width: 0; border-collapse: collapse; }.review-table-wrap th, .review-table-wrap td { padding: 10px; border-bottom: 1px solid var(--line); text-align: right; font-size: 10px; }.review-table-wrap th { position: sticky; top: 0; z-index: 1; background: var(--soft); color: var(--brand-dark); }.review-table-wrap td:last-child { color: var(--brand); font-family: var(--number-font); direction: ltr; text-align: left; }.review-table-wrap tr:last-child td { border-bottom: 0; }.review-vehicles { grid-column: 1 / -1; margin-top: 16px; }.review-vehicle-groups { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 14px; }.review-vehicle-group { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }.review-vehicle-group strong { color: var(--brand); font-size: 12px; }.review-vehicle-group p { margin: 9px 0 0; color: var(--ink); font-size: 10px; line-height: 1.9; }.empty-admin { margin: 0; padding: 16px; color: var(--muted); font-size: 11px; text-align: center; }
@media (max-width: 850px) { .review-grid { grid-template-columns: 1fr; }.review-vehicle-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .review-head { align-items: stretch; flex-direction: column; }.review-head label { min-width: 0; }.review-vehicle-groups { grid-template-columns: 1fr; } }
.existing-damages { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }.existing-damages-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }.existing-damages-head h3 { margin: 0; color: var(--brand-dark); font-size: 14px; }.existing-damages-head input { min-height: 38px; width: min(310px,100%); padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; outline-color: var(--brand); font: inherit; }.damage-group { margin-top: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }.damage-group summary { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; color: var(--brand); cursor: pointer; font-size: 12px; font-weight: 900; }.damage-group summary span { color: var(--muted); font-family: var(--number-font); }.damage-description { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--ink); font-size: 11px; }.damage-description button { border: 0; background: transparent; color: #dc2626; cursor: pointer; font-size: 10px; font-weight: 800; }
@media (max-width: 560px) { .existing-damages-head { align-items: stretch; flex-direction: column; }.existing-damages-head input { width: 100%; } }
.catalog-filter { display: grid; gap: 7px; margin: 0 0 12px; }.catalog-filter span { color: var(--muted); font-size: 11px; font-weight: 800; }.catalog-filter select, .catalog-price { min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font: inherit; }.catalog-price { width: 120px; color: var(--brand); font-family: var(--number-font); direction: ltr; }.catalog-save { min-height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; cursor: pointer; font-size: 10px; font-weight: 800; }
.vehicle-chip { align-items: center; }.vehicle-chip input { min-width: 0; width: 100%; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--ink); font: inherit; font-size: 10px; }.vehicle-chip input:focus { border-color: var(--brand); background: #fff; outline: 0; }.vehicle-chip .vehicle-save { border: 0; background: transparent; color: var(--brand); cursor: pointer; font-size: 10px; font-weight: 800; white-space: nowrap; }
.category-name { width: min(280px, 100%); color: var(--ink); font-family: "GE SS Two", Cairo, Tahoma, Arial, sans-serif; direction: rtl; }
.admin-page input, .admin-page select, .admin-stat strong, .review-table-wrap td:last-child, .vehicle-chip input { font-family: "MuseoDigits", "GE SS Two", Cairo, Tahoma, Arial, sans-serif; font-variant-numeric: tabular-nums; }
.admin-page input[type="number"], .catalog-price { direction: ltr; unicode-bidi: isolate; font-family: "Museo700", "Museo 700", sans-serif !important; }
.admin-stat strong, .review-table-wrap td:last-child, .damage-group summary span, .catalog-price, .admin-page input[type="number"] { font-family: "Museo700", "Museo 700", sans-serif !important; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.admin-number { font-family: "Museo700", "Museo 700", sans-serif !important; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.category-name { font-family: "GE SS Two", Cairo, Tahoma, Arial, sans-serif !important; direction: rtl; }
.add-category-form { grid-template-columns: minmax(260px, 2fr) auto; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
#vehicles .part-catalog { margin-top: 28px; }
#vehicles .review-table-wrap { max-height: 560px; }
#vehicles .review-table-wrap table { min-width: 760px; table-layout: fixed; }
#vehicles .review-table-wrap th:nth-child(1), #vehicles .review-table-wrap td:nth-child(1) { width: 46%; }
#vehicles .review-table-wrap th:nth-child(2), #vehicles .review-table-wrap td:nth-child(2) { width: 31%; }
#vehicles .review-table-wrap th:nth-child(3), #vehicles .review-table-wrap td:nth-child(3) { width: 23%; text-align: left; }
#vehicles .review-table-wrap td { padding: 13px 12px; vertical-align: middle; }
#vehicles .review-table-wrap td:last-child { direction: rtl; }
#vehicles .catalog-price, #vehicles .review-table-wrap select, #vehicles .review-table-wrap select option { box-sizing: border-box; width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); font-family: "Museo700", "MuseoLatin", "MuseoDigits", "GE SS Two", Cairo, Tahoma, Arial, sans-serif !important; font-size: 12px; font-weight: 700; direction: rtl; }
#vehicles .catalog-price { padding: 0 13px; color: var(--brand); }
#vehicles .review-table-wrap select { padding: 0 12px; cursor: pointer; outline-color: var(--brand); }
#vehicles .vehicle-actions { display: flex; justify-content: flex-start; align-items: center; gap: 8px; }
#vehicles .catalog-save, #vehicles .vehicle-delete { min-width: 58px; min-height: 38px; padding: 0 12px; border-radius: 9px; cursor: pointer; font-size: 11px; font-weight: 800; }
#vehicles .vehicle-delete { border: 1px solid #fecaca; background: #fff; color: #c52222; }
@media (max-width: 560px) { #vehicles .review-table-wrap table { min-width: 640px; } #vehicles .review-table-wrap { margin-inline: -2px; } }
@media (max-width: 850px) { .add-category-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .add-category-form { grid-template-columns: 1fr; } }
#part-prices .vehicle-actions { display: flex; align-items: center; gap: 7px; }
#part-prices .vehicle-delete { min-width: 58px; min-height: 38px; padding: 0 12px; border: 1px solid #fecaca !important; border-radius: 9px; background: #fff !important; color: #c52222 !important; cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
#vehicles .category-catalog .vehicle-delete { min-width: 58px; min-height: 38px; padding: 0 12px; border: 1px solid #fecaca !important; border-radius: 9px; background: #fff !important; color: #c52222 !important; cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
