.seller-dashboard-page {
  margin: 0;
  min-height: 100vh;
  background: #f8fafc;
  color: #0f172a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.seller-dashboard-page * {
  box-sizing: border-box;
}

.contact-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  text-align: left;
}

input.contact-ltr {
  display: block;
  width: 100%;
}

.seller-shell {
  min-height: 100vh;
  background: #f8fafc;
}

.seller-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  height: 76px;
  max-height: 88px;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.96);
  padding: 0 28px;
  backdrop-filter: blur(16px);
}

.seller-brand-nav,
.seller-actions,
.seller-nav {
  display: flex;
  align-items: center;
}

.seller-brand-nav {
  min-width: 0;
  gap: 28px;
}

.seller-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.seller-dashboard-page .seller-logo .iraqcars-logo-img,
.seller-dashboard-page .seller-topbar .iraqcars-logo-img {
  display: block !important;
  width: 150px !important;
  max-width: 150px !important;
  height: auto !important;
  max-height: 58px !important;
  object-fit: contain !important;
  flex-shrink: 0;
}

.seller-logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  color: #fff;
}

.seller-nav {
  gap: 18px;
}

.seller-nav a,
.seller-sidebar a {
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.seller-nav a:hover,
.seller-sidebar a:hover {
  color: #2563eb;
}

.seller-actions {
  gap: 12px;
  margin-left: auto;
}

.seller-icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
}

.seller-language,
.language-wrapper.seller-language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: 0;
  color: #0f172a;
}

.seller-language select {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  outline: none;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 0 12px;
}

.language-dropdown {
  min-width: 148px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.language-dropdown button {
  display: block;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 0 14px;
  text-align: left;
}

.language-dropdown button:last-child {
  border-bottom: 0;
}

.language-dropdown button:hover {
  background: #f8fafc;
  color: #2563eb;
}

.seller-user {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.seller-avatar,
.seller-avatar-fallback {
  display: block;
  width: 34px;
  max-width: 34px;
  height: 34px;
  max-height: 34px;
  flex: 0 0 34px;
  border-radius: 999px;
  object-fit: cover;
  overflow: hidden;
}

.seller-avatar-fallback {
  display: inline-grid;
  place-items: center;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 900;
}

.seller-profile-photo-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.seller-profile-preview {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #eff6ff;
}

.seller-profile-preview .seller-avatar,
.seller-profile-preview .seller-avatar-fallback {
  width: 58px;
  max-width: 58px;
  height: 58px;
  max-height: 58px;
  flex-basis: 58px;
  font-size: 20px;
}

.seller-dashboard-page img.seller-avatar,
.seller-dashboard-page .seller-user img,
.seller-dashboard-page .seller-profile-preview img {
  object-fit: cover;
  border-radius: 999px;
}

.seller-dashboard-page .seller-user img {
  width: 34px;
  max-width: 34px;
  height: 34px;
  max-height: 34px;
}

.seller-dashboard-page .seller-profile-preview img {
  width: 58px;
  max-width: 58px;
  height: 58px;
  max-height: 58px;
}

.dashboard-avatar,
.user-avatar,
.profile-avatar,
.navbar-avatar,
.seller-dashboard-page img.seller-avatar,
.seller-dashboard-page .seller-user img {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: cover !important;
  border-radius: 9999px !important;
  display: block;
  flex-shrink: 0;
}

.dashboard-profile-image,
.seller-dashboard-page .seller-profile-preview img,
.seller-profile-preview .seller-avatar {
  width: 96px;
  height: 96px;
  max-width: 96px;
  max-height: 96px;
  object-fit: cover;
  border-radius: 9999px;
}

.seller-dashboard-page img {
  max-width: 100%;
}

.seller-car-image,
.dashboard-car-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
  background: #eaf4ff;
}

.seller-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 0 16px;
  text-decoration: none;
  white-space: nowrap;
}

.seller-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: calc(100vh - 72px);
}

.seller-sidebar {
  border-right: 1px solid #e2e8f0;
  background: #fff;
  padding: 24px 16px;
}

.seller-sidebar-title {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}

.seller-sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}

.seller-dashboard-page .seller-sidebar-brand .iraqcars-logo-img {
  display: block !important;
  width: 116px !important;
  max-width: 116px !important;
  height: auto !important;
  max-height: 44px !important;
  object-fit: contain !important;
  flex-shrink: 0;
}

.seller-sidebar-brand .seller-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 12px;
}

.seller-sidebar nav {
  display: grid;
  gap: 8px;
}

.seller-sidebar a {
  border-radius: 10px;
  padding: 11px 12px;
}

.seller-sidebar a[aria-current="page"] {
  background: #eff6ff;
  color: #1d4ed8;
}

.seller-main {
  min-width: 0;
  padding: 32px;
}

.seller-page-title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: 0;
}

.seller-page-subtitle {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 15px;
}

.seller-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 30px;
}

.seller-stat {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 20px;
}

.seller-stat span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.seller-stat strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 30px;
  line-height: 1;
}

.seller-credit-stat {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.seller-credit-panel {
  display: grid;
  gap: 16px;
  margin: 0 0 28px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.seller-credit-panel h2 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 20px;
}

.seller-credit-panel p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.seller-credit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.seller-credit-grid span {
  display: grid;
  gap: 5px;
  min-height: 74px;
  align-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  padding: 10px;
}

.seller-credit-grid strong {
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
}

.seller-credit-warning {
  border: 1px solid #fed7aa;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 14px;
  font-weight: 900;
  padding: 12px;
}

.seller-section-heading {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 900;
}

.seller-listings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.seller-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.seller-card-media {
  position: relative;
  height: 220px;
  background: #e2e8f0;
}

.seller-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seller-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  color: #1e3a8a;
  font-weight: 900;
}

.seller-status {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e2e8f0;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.seller-status-active {
  background: #dcfce7;
  color: #166534;
}

.seller-status-pending {
  background: #ffedd5;
  color: #9a3412;
}

.seller-status-sold {
  background: #e0e7ff;
  color: #3730a3;
}

.seller-status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.seller-card-body {
  padding: 16px;
}

.seller-card-title {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.seller-card-meta {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
}

.seller-card-price {
  margin: 12px 0 0;
  color: #2563eb;
  font-size: 20px;
  font-weight: 900;
}

.seller-card-actions {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
}

.seller-card-actions a,
.seller-card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 0 10px;
  text-decoration: none;
}

.seller-card-actions button:last-child {
  color: #dc2626;
}

.seller-card-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.seller-card-actions .seller-action-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.seller-empty,
.seller-error,
.seller-loading {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #64748b;
  padding: 28px;
  text-align: center;
}

.seller-error {
  border-color: #fecaca;
  color: #991b1b;
}

.seller-panel {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.seller-panel-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 22px 24px;
}

.seller-panel-title {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
}

.seller-panel-subtitle {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 14px;
}

.seller-panel-body {
  padding: 24px;
}

.seller-form {
  display: grid;
  gap: 18px;
  max-width: 680px;
}

.seller-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.seller-field {
  display: grid;
  gap: 7px;
}

.seller-field label {
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.seller-field input,
.seller-field select,
.seller-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  padding: 10px 12px;
  outline: none;
}

.seller-field textarea {
  min-height: 120px;
  resize: vertical;
}

.seller-field input:focus,
.seller-field select:focus,
.seller-field textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.seller-form-note {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.seller-upload-section {
  display: grid;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 16px;
}

.seller-plate-section {
  display: grid;
  gap: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 16px;
}

.seller-checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: end;
  min-height: 44px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.seller-checkbox-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.seller-permanent-plate-field.hidden {
  display: none;
}

.seller-plate-preview-wrap {
  display: grid;
  gap: 8px;
}

.seller-plate-preview-title {
  margin: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.seller-plate {
  --plate-strip: #ffffff;
  --plate-accent: #020617;
  display: inline-grid;
  grid-template-columns: 42px minmax(230px, 1fr);
  overflow: hidden;
  width: min(100%, 390px);
  min-height: 82px;
  border: 3px solid var(--plate-accent);
  border-radius: 8px;
  background: #fff;
  color: var(--plate-accent);
  font-family: Impact, "Arial Black", Inter, sans-serif;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  direction: ltr;
  unicode-bidi: isolate;
}

.seller-plate,
.seller-plate * {
  direction: ltr;
  unicode-bidi: isolate;
}

.seller-plate-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-right: 3px solid var(--plate-accent);
  background: var(--plate-strip);
  color: #020617;
  font-size: 18px;
  font-weight: 900;
}

.seller-plate-strip span:last-child {
  font-size: 13px;
}

.seller-plate-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
  min-width: 0;
  padding: 8px 18px;
  color: var(--plate-accent);
  font-size: clamp(36px, 8vw, 58px);
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.seller-plate-seal {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 12px;
  height: 12px;
  border: 2px solid #60a5fa;
  border-radius: 3px;
  background: #dbeafe;
}

.seller-plate-temporary {
  border-color: #dc2626;
  color: #dc2626;
}

.seller-plate-temporary .seller-plate-strip {
  border-color: #dc2626;
  color: #dc2626;
}

.seller-plate-temporary .seller-plate-body {
  flex-direction: column;
  gap: 8px;
  align-items: center;
  color: #dc2626;
  font-size: clamp(30px, 7vw, 42px);
}

.seller-plate-temp-number {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 900;
}

.seller-plate-temp-digits {
  font-size: clamp(30px, 7vw, 42px);
}

.seller-paint-section {
  display: grid;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 16px;
}

.seller-body-diagram {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr repeat(4, minmax(90px, 1fr)) 0.78fr;
  grid-template-rows: auto minmax(46px, auto) minmax(82px, auto) minmax(46px, auto) auto;
  gap: 10px;
  overflow: hidden;
  min-height: 340px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 18px;
}

.seller-car-outline {
  position: absolute;
  inset: 55px 5% 46px;
  width: 90%;
  height: calc(100% - 102px);
  pointer-events: none;
}

.seller-diagram-label {
  position: relative;
  z-index: 1;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.seller-diagram-passenger {
  grid-column: 2 / 6;
  grid-row: 1;
  text-align: center;
}

.seller-diagram-driver {
  grid-column: 2 / 6;
  grid-row: 5;
  align-self: end;
  text-align: center;
}

.seller-diagram-front {
  grid-column: 1;
  grid-row: 3;
  align-self: center;
}

.seller-diagram-rear {
  grid-column: 6;
  grid-row: 3;
  align-self: center;
  justify-self: end;
}

.seller-paint-part {
  position: relative;
  z-index: 2;
  min-height: 42px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #1e3a8a;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.08);
}

.seller-paint-part:hover {
  border-color: #2563eb;
  transform: translateY(-1px);
}

.seller-paint-part.is-selected {
  border-color: #1d4ed8;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.26);
}

.seller-paint-front_bumper {
  grid-column: 1;
  grid-row: 3;
}

.seller-paint-hood {
  grid-column: 2;
  grid-row: 3;
}

.seller-paint-roof {
  grid-column: 3 / 5;
  grid-row: 3;
}

.seller-paint-trunk {
  grid-column: 5;
  grid-row: 3;
}

.seller-paint-rear_bumper {
  grid-column: 6;
  grid-row: 3;
}

.seller-paint-passenger_front_fender {
  grid-column: 2;
  grid-row: 2;
}

.seller-paint-passenger_front_door {
  grid-column: 3;
  grid-row: 2;
}

.seller-paint-passenger_rear_door {
  grid-column: 4;
  grid-row: 2;
}

.seller-paint-passenger_rear_quarter {
  grid-column: 5;
  grid-row: 2;
}

.seller-paint-driver_front_fender {
  grid-column: 2;
  grid-row: 4;
}

.seller-paint-driver_front_door {
  grid-column: 3;
  grid-row: 4;
}

.seller-paint-driver_rear_door {
  grid-column: 4;
  grid-row: 4;
}

.seller-paint-driver_rear_quarter {
  grid-column: 5;
  grid-row: 4;
}

.seller-paint-map {
  display: block;
  min-height: 0;
  aspect-ratio: 900 / 620;
  padding: 0;
  background: #dbeafe;
}

.seller-paint-map .seller-car-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.seller-car-outline-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.seller-paint-overlay {
  z-index: 2;
}

.seller-paint-region {
  fill: rgba(37, 99, 235, 0);
  stroke: rgba(37, 99, 235, 0);
  stroke-width: 5;
  cursor: pointer;
  pointer-events: all;
  outline: none;
  transition: fill 160ms ease, stroke 160ms ease, filter 160ms ease;
}

.seller-paint-region:hover,
.seller-paint-region:focus-visible {
  fill: rgba(37, 99, 235, 0.2);
  stroke: rgba(37, 99, 235, 0.85);
  filter: drop-shadow(0 6px 12px rgba(37, 99, 235, 0.22));
}

.seller-paint-region.is-selected {
  fill: rgba(37, 99, 235, 0.48);
  stroke: #1d4ed8;
  filter: drop-shadow(0 7px 14px rgba(37, 99, 235, 0.26));
}

.seller-paint-map .seller-diagram-label {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 5px 10px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.seller-paint-map .seller-diagram-passenger {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.seller-paint-map .seller-diagram-driver {
  right: 50%;
  bottom: 10px;
  transform: translateX(50%);
}

.seller-paint-map .seller-diagram-front {
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.seller-paint-map .seller-diagram-rear {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.seller-painted-selected {
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  padding: 10px 12px;
}

.seller-painted-empty {
  border-color: #e2e8f0;
  background: #fff;
  color: #64748b;
}

.seller-upload-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.seller-upload-heading label {
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

.seller-required,
.seller-upload-limit {
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 8px;
  white-space: nowrap;
}

.seller-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.seller-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  padding: 0 14px;
}

.seller-upload-button:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.seller-cover-preview {
  min-height: 160px;
}

.seller-cover-empty,
.seller-preview-empty {
  display: grid;
  min-height: 92px;
  place-items: center;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.seller-cover-empty {
  min-height: 160px;
}

.seller-preview-item {
  position: relative;
  overflow: hidden;
  width: 112px;
  height: 84px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #e2e8f0;
}

.seller-preview-cover {
  width: 100%;
  max-width: 320px;
  height: 180px;
}

.seller-preview-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-preview-remove {
  position: absolute;
  right: 6px;
  bottom: 6px;
  min-height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.86);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 0 9px;
}

.seller-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.seller-save-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  padding: 0 18px;
}

.seller-save-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.seller-inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 0 12px;
}

.seller-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seller-message {
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.seller-message-success {
  color: #166534;
}

.seller-message-error {
  color: #991b1b;
}

.seller-sell-form-wrap .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.seller-sell-form-wrap .text-center,
.seller-sell-form-wrap .grid.grid-cols-1.md\:grid-cols-3 {
  display: none;
}

.seller-sell-form-wrap > .rounded-\[1\.25rem\] {
  border-radius: 12px;
  box-shadow: none;
}

.seller-sell-form-wrap form {
  max-width: none;
}

.seller-sell-form-wrap #submitBtn {
  background: #2563eb;
  box-shadow: none;
}

@media (max-width: 1100px) {
  .seller-listings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .seller-topbar {
    height: auto;
    max-height: none;
    align-items: stretch;
    flex-direction: column;
    padding: 14px 18px;
  }

  .seller-dashboard-page .seller-logo .iraqcars-logo-img,
  .seller-dashboard-page .seller-topbar .iraqcars-logo-img {
    width: 122px !important;
    max-width: 122px !important;
    max-height: 52px !important;
  }

  .seller-dashboard-page .seller-sidebar-brand .iraqcars-logo-img {
    width: 108px !important;
    max-width: 108px !important;
    max-height: 42px !important;
  }

  .seller-brand-nav,
  .seller-actions {
    width: 100%;
    justify-content: space-between;
  }

  .seller-layout {
    grid-template-columns: 1fr;
  }

  .seller-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 18px;
  }

  .seller-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seller-main {
    padding: 22px 18px;
  }

  .seller-stats,
  .seller-listings,
  .seller-form-grid,
  .seller-credit-grid {
    grid-template-columns: 1fr;
  }

  .seller-body-diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    min-height: 0;
  }

  .seller-car-outline,
  .seller-diagram-front,
  .seller-diagram-rear {
    display: none;
  }

  .seller-diagram-passenger,
  .seller-diagram-driver {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .seller-paint-front_bumper,
  .seller-paint-hood,
  .seller-paint-roof,
  .seller-paint-trunk,
  .seller-paint-rear_bumper,
  .seller-paint-passenger_front_fender,
  .seller-paint-passenger_front_door,
  .seller-paint-passenger_rear_door,
  .seller-paint-passenger_rear_quarter,
  .seller-paint-driver_front_fender,
  .seller-paint-driver_front_door,
  .seller-paint-driver_rear_door,
  .seller-paint-driver_rear_quarter {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .seller-nav {
    gap: 12px;
  }

  .seller-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .seller-card-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .seller-paint-map {
    display: block;
    grid-template-columns: none;
    grid-template-rows: none;
    aspect-ratio: 900 / 620;
  }

  .seller-paint-map .seller-car-outline,
  .seller-paint-map .seller-diagram-front,
  .seller-paint-map .seller-diagram-rear {
    display: block;
  }

  .seller-paint-map .seller-diagram-passenger,
  .seller-paint-map .seller-diagram-driver {
    grid-column: auto;
    grid-row: auto;
  }

  .seller-paint-map .seller-diagram-label {
    font-size: 10px;
    padding: 4px 7px;
  }
}
