

.listing-page {
  padding-top: 20px;
  padding-bottom: 32px;
}

.listing-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.back-btn:hover {
  color: var(--text);
  border-color: var(--border-light);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--text);
}

.bc-sep {
  color: var(--border-light);
}

.bc-current {
  color: var(--text);
  font-weight: 600;
}

.listing-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-top: 20px;
  padding-bottom: 32px;
}

.left-col {
  flex: 1.25;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.right-col {
  flex: 0.75;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}

.main-image-wrap {
  position: relative;
  aspect-ratio: 3 / 2;
  cursor: pointer;
}

.main-image-wrap .badge-new {
  top: 16px;
  left: 16px;
  z-index: 2;
}

.main-viewer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-counter {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  z-index: 3;
}

.gallery-expand {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  z-index: 3;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.75);
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-nav.hidden { display: none !important; }

.thumb-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 12px;
  padding-bottom: 4px;
}

.thumb-btn {
  flex-shrink: 0;
  width: 84px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s;
}

.thumb-btn.active,
.thumb-btn:hover {
  border-color: var(--accent);
}

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

.viewer-card,
.details-card,
.description-card,
.seller-card,
.specs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.specs-card {
  margin-bottom: 8px;
}

.description-card {
  margin-bottom: 8px;
}

.details-card {
  position: relative;
}

.detail-heart {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}

.detail-heart:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.detail-heart svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.2s;
}

.detail-heart.is-active {
  color: var(--accent);
}

.detail-heart.is-active svg {
  fill: currentColor;
}

.listing-title {
  margin: 0 0 6px 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.listing-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.listing-price {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
}

.listing-currency {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.listing-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.meta-dot {
  color: var(--border-light);
}

.details-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.listing-posted-date {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.details-card-header .save-listing-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  margin-top: 2px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.details-card-header .save-listing-btn:hover {
  color: var(--accent);
}

.listing-btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-seller-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-seller-btn:hover {
  background: var(--accent-hover);
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.spec-row .spec-icon {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.spec-row .spec-icon svg {
  width: 100%;
  height: 100%;
}

.spec-row .spec-label {
  color: var(--text-secondary);
  min-width: 90px;
}

.spec-row .spec-value {
  font-weight: 600;
  color: var(--text);
}

.specs-card h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 48px;
  margin-top: 20px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.spec-item-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
  flex-shrink: 0;
}

.spec-item-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: right;
}

.specs-vin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.specs-vin .spec-item-value {
  display: flex;
  align-items: center;
  gap: 10px;
}

.specs-vin-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  word-break: break-all;
}

.vin-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: var(--input-bg);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  height: 32px;
}

.vin-copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.vin-copy-btn.is-copied {
  border-color: var(--low);
  color: var(--low);
}

.vin-copy-btn svg {
  width: 14px;
  height: 14px;
}

.description-content {
  margin-top: 16px;
  max-width: 600px;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.description-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.view-count {
  font-size: 13px;
  color: var(--text-secondary);
}

.report-link {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.report-link:hover {
  color: var(--accent);
}

.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.location-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.location-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--input-bg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.location-block-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.location-block-primary {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.location-block-secondary {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.3;
}

.location-block-helper {
  margin: 0;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
  padding: 10px 12px;
  background: var(--input-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.spec-value {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.spec-label {
  font-size: 11px;
  color: var(--text-secondary);
}

.listing-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.listing-disclaimer svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-secondary);
}

.contact-modal-list {
  text-align: left;
}
.contact-modal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.contact-modal-item:last-child {
  border-bottom: none;
}
.contact-modal-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-modal-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.contact-modal-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.contact-modal-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.contact-modal-value:hover {
  color: var(--accent);
}
.contact-modal-empty {
  text-align: center;
  color: var(--text-secondary);
  padding: 20px 0;
}

.seller-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.seller-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.seller-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--input-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.seller-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seller-name {
  font-size: 14px;
  font-weight: 600;
}

.seller-verified {
  color: #4a9eff;
}

.seller-type {
  font-size: 12px;
  color: var(--text-secondary);
}

.seller-since {
  font-size: 12px;
  color: var(--text-secondary);
}

.seller-activity {
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.seller-activity-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.seller-activity-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.view-seller-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.view-seller-btn:hover {
  background: var(--input-bg);
  border-color: var(--border-light);
}

.seller-map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 7;
}

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

.seller-location-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.seller-location-note {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.listing-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-top: 4px;
  margin-bottom: 20px;
}

.listing-tabs button {
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}

.listing-tabs button:hover {
  color: var(--text);
}

.listing-tabs button.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content {
  font-size: 14px;
  line-height: 1.65;
}

.description-text {
  color: var(--text-secondary);
}

.description-text p {
  margin: 0 0 10px;
}

.description-text p:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: var(--text);
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.description-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

.views-count {
  font-size: 12px;
  color: var(--text-secondary);
}

.report-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  transition: color 0.2s;
}

.report-btn:hover {
  color: var(--accent);
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.similar-cars {
  margin-top: 32px;
  padding-bottom: 32px;
}

.similar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.similar-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.similar-header a {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.similar-header a:hover {
  text-decoration: underline;
}

.similar-wrap {
  position: relative;
}

.similar-viewport {
  display: flex;
  gap: 16px;
  overflow: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  position: relative;
}

.similar-viewport .card {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  min-width: 0;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  padding: 0;
  pointer-events: auto;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}

.similar-wrap:hover .carousel-arrow,
.similar-wrap:focus-within .carousel-arrow {
  opacity: 1;
}

.carousel-arrow.prev { left: 8px; }
.carousel-arrow.next { right: 8px; }

.carousel-arrow:disabled {
  opacity: 0 !important;
  cursor: default;
  pointer-events: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  display: block;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-top: 20px;
}

.page-head h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
}

.form-card hr {
  width: 100%;
  margin: 8px 0;
  border: none;
  border-top: 1px solid var(--border);
}

.admin-form {
  gap: 22px;
}

.admin-form-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.admin-form-grid {
  display: grid;
  gap: 14px;
}

.admin-form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-wrap input,
.field-wrap select,
.field-wrap textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}

.field-wrap input:focus,
.field-wrap select:focus,
.field-wrap textarea:focus {
  border-color: var(--accent);
}

.field-wrap input::placeholder,
.field-wrap textarea::placeholder {
  color: #555;
}

.field-wrap select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.field-wrap textarea {
  height: auto;
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.field-error {
  color: var(--high);
  font-size: 13px;
}

.has-error {
  border-color: var(--high) !important;
}

.form-errors {
  background: rgba(201, 122, 114, 0.08);
  border: 1px solid rgba(201, 122, 114, 0.25);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.form-errors p {
  margin: 0 0 8px;
  color: var(--high);
  font-weight: 600;
}

.form-errors ul {
  margin: 0;
  padding-left: 18px;
  color: var(--high);
  font-size: 14px;
}

.form-errors li {
  margin-bottom: 4px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.form-actions button[type="submit"] {
  height: 46px;
  padding: 0 24px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.form-actions button[type="submit"]:hover {
  background: var(--accent-hover);
}

.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.drop-zone:hover,
.drop-zone.dragover {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--text);
}

.drop-zone input[type="file"] {
  display: none;
}

.img-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.img-thumb-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: grab;
  background: var(--surface-2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  touch-action: none;
}

.img-thumb-card.dragging {
  opacity: 0.55;
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: scale(1.02);
}

.img-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.img-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: #dc3545;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.15s ease;
}

.img-remove-btn:hover {
  background: #b02a37;
}

.img-main-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-text);
  pointer-events: none;
}

.error-text {
  color: var(--high);
  font-size: 14px;
  margin: 8px 0 0;
}
.success-text {
  color: var(--low);
  font-size: 14px;
  margin: 8px 0 0;
}

.sell-page {
  width: 100%;
  padding-top: 32px;
  padding-bottom: 80px;
}

.sell-container {
  max-width: 900px;
  margin: 0 auto;
}

.sell-title {
  text-align: center;
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step-wizard {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--border);
  color: var(--muted);
  background: var(--surface);
  transition: 0.2s ease;
}

.step-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: 0.2s ease;
  white-space: nowrap;
}

.step-item.active .step-num {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.step-item.active .step-label {
  color: var(--accent);
  font-weight: 600;
}

.step-item.completed .step-num {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.step-item.completed .step-label {
  color: var(--text);
}

.step-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  position: relative;
  top: -10px;
}

.step-item.completed + .step-connector {
  background: var(--accent);
}

.step-panel {
  display: none;
  animation: step-panel-in 0.25s ease;
}

.step-panel.active {
  display: block;
}

@keyframes step-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sell-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
}

.sell-section-head {
  margin-bottom: 20px;
}

.sell-section-head h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
}

.sell-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.sell-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.sell-form-grid:last-child {
  margin-bottom: 0;
}

.sell-form-grid .field-wrap {
  margin-bottom: 0;
}

.req {
  color: var(--accent);
  font-weight: 600;
}

.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.step-back,
.step-next {
  height: 48px;
  padding: 0 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  border: none;
}

.step-back {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.step-back:hover:not(:disabled) {
  color: var(--text);
  border-color: var(--border-light);
}

.step-back:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.step-next {
  background: var(--accent);
  color: #fff;
}

.step-next:hover {
  background: var(--accent-hover);
}

.step-next:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sell-form.is-submitting {
  cursor: wait;
}

.sell-form.is-submitting .step-next {
  position: relative;
  color: transparent;
}

.sell-form.is-submitting .step-next::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sell-spin 0.8s linear infinite;
}

@keyframes sell-spin {
  to { transform: rotate(360deg); }
}

.vin-row {
  display: flex;
  gap: 10px;
}

.vin-row input {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vin-decode-btn {
  height: 48px;
  padding: 0 18px;
  background: var(--surface-hover);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.vin-decode-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.label-optional {
  color: var(--muted);
  font-weight: 400;
}

.vin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.vin-modal-overlay.active {
  display: flex;
}
.vin-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  position: relative;
}
.vin-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
}
.vin-modal h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}
.vin-modal p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.vin-modal-loading {
  text-align: center;
  padding: 20px 0;
}
.vin-modal-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-light);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: vin-spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes vin-spin {
  to { transform: rotate(360deg); }
}
.vin-modal-vehicle {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  padding: 12px;
  background: var(--input-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}
.vin-modal-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.vin-modal-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.vin-modal-detail-label {
  color: var(--text-secondary);
}
.vin-modal-detail-value {
  font-weight: 600;
  color: var(--text);
  text-align: right;
}
.vin-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}
.vin-modal-btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vin-modal-btn:hover {
  background: var(--surface-hover);
}
.vin-modal-btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}
.vin-modal-btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.vin-modal-unsupported h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}
.vin-modal-unsupported p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.vehicle-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--input-bg);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  margin-left: 6px;
  vertical-align: middle;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.vehicle-help-btn:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  color: var(--accent);
}
.vehicle-help-btn svg {
  display: block;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.support-form .field-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.support-form .field-wrap label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.support-form .field-wrap input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  background: var(--input-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  outline: none;
}
.support-form .field-wrap input:focus {
  border-color: var(--accent);
}
.support-decode-error {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--accent);
  line-height: 1.4;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.photo-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: grab;
  background: var(--surface-2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  touch-action: none;
}

.photo-card.is-main {
  border-color: var(--accent);
}

.photo-card.dragging {
  opacity: 0.55;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: scale(1.02);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: #dc3545;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.15s ease;
}

.photo-remove:hover {
  background: #b02a37;
}

.photo-main-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

.preview-wrapper {
  max-width: 360px;
}

.preview-listing-card .card-media {
  aspect-ratio: 16 / 10;
}

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

.preview-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-listing-card .favorite-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.sell-card .field-wrap input[readonly] {
  background: var(--surface-2);
  color: var(--muted);
  cursor: default;
}

.edit-page {
  width: 100%;
  padding-top: 32px;
  padding-bottom: 80px;
}

.edit-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

.edit-main {
  min-width: 0;
}

.edit-sidebar {
  min-width: 0;
  position: sticky;
  top: 92px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.edit-header {
  margin-bottom: 24px;
}

.edit-header h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.edit-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.edit-status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.edit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
}

.edit-card + .edit-card {
  margin-top: 16px;
}

.edit-section-head {
  margin-bottom: 20px;
}

.edit-section-head h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}

.edit-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.edit-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.edit-form-grid:last-child {
  margin-bottom: 0;
}

.edit-form-grid .field-wrap {
  margin-bottom: 0;
}

.edit-form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.edit-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.edit-actions-bar button {
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease;
}

.edit-actions-bar button:hover {
  background: var(--surface-hover);
}

.edit-actions-bar .btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

.edit-actions-bar .btn-primary:hover {
  background: var(--accent-hover);
}

.edit-actions-bar .btn-sold {
  background: rgba(192, 57, 43, 0.08);
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.25);
}

.edit-actions-bar .btn-sold:hover {
  background: rgba(192, 57, 43, 0.15);
}

.edit-actions-bar .btn-danger {
  background: rgba(192, 57, 43, 0.08);
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.25);
}

.edit-actions-bar .btn-danger:hover {
  background: rgba(192, 57, 43, 0.15);
}

.edit-actions-bar a {
  color: var(--text-secondary);
  font-size: 14px;
  margin-left: 8px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-badge.active {
  background: rgba(111, 155, 118, 0.15);
  color: #6f9b76;
}

.status-badge.pending {
  background: rgba(212, 167, 106, 0.15);
  color: #d4a76a;
}

.status-badge.rejected {
  background: rgba(184, 106, 99, 0.15);
  color: #b86a63;
}

.status-badge.sold {
  background: rgba(160, 160, 160, 0.15);
  color: var(--text-secondary);
}

.status-badge.draft {
  background: rgba(160, 160, 160, 0.12);
  color: var(--text-secondary);
}

.status-badge.archived {
  background: rgba(160, 160, 160, 0.12);
  color: var(--text-secondary);
}

.edit-preview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.edit-preview-card .preview-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 14px;
}

.edit-preview-card .preview-media img,
.edit-preview-card .preview-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edit-preview-card .preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}

.edit-preview-card .preview-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.edit-preview-card .preview-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 6px;
}

.edit-preview-card .preview-location {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 10px;
}

.edit-preview-card .preview-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.edit-preview-card .preview-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.edit-meta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.edit-meta-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
}

.edit-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.edit-meta-row:last-child {
  border-bottom: none;
}

.edit-meta-row span:first-child {
  color: var(--text-secondary);
}

.edit-meta-row span:last-child {
  color: var(--text);
  font-weight: 500;
}

.edit-meta-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.edit-meta-actions form {
  margin: 0;
}

.edit-meta-actions button {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease;
}

.edit-meta-actions button:hover {
  background: var(--surface-hover);
}

.edit-meta-actions .btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

.edit-meta-actions .btn-primary:hover {
  background: var(--accent-hover);
}

.edit-meta-actions .btn-sold {
  background: rgba(192, 57, 43, 0.08);
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.25);
}

.edit-meta-actions .btn-sold:hover {
  background: rgba(192, 57, 43, 0.15);
}

.edit-meta-actions .btn-danger {
  background: rgba(192, 57, 43, 0.08);
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.25);
}

.edit-meta-actions .btn-danger:hover {
  background: rgba(192, 57, 43, 0.15);
}

.seller-page {
  padding-top: 24px;
  padding-bottom: 48px;
}

.profile-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.profile-header-main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-hover);
  border: 2px solid var(--border);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-header-info {
  min-width: 0;
  flex: 1;
}

.profile-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--low);
  color: #fff;
  flex-shrink: 0;
}

.verified-badge svg {
  width: 14px;
  height: 14px;
}

.profile-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.profile-type {
  color: var(--text);
  font-weight: 500;
}

.dot-sep {
  color: var(--border-light);
}

.profile-bio {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: 0.2s;
  white-space: nowrap;
}

.profile-action-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.profile-action-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.profile-listings {
  margin-top: 0;
}

.profile-listings-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-listings-count {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

.profile-layout {
  display: flex;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 60px;
}

.profile-sidebar {
  flex: 0 0 230px;
  min-width: 0;
}

.profile-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 100px;
}

.profile-sidebar-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.profile-sidebar-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.profile-sidebar-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.profile-sidebar-type {
  font-size: 13px;
  color: var(--muted);
}

.profile-sidebar-nav {
  display: flex;
  flex-direction: column;
}

.profile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-nav-group + .profile-nav-group {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.profile-nav-group-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 0 12px 4px;
}

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
}

.profile-nav-item:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.profile-nav-item.active {
  background: rgba(192, 57, 43, 0.12);
  color: var(--text);
}

.profile-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.profile-main {
  flex: 1;
  min-width: 0;
  container-type: inline-size;
  container-name: listing-area;
}

.profile-section {
  display: none;
}

.profile-section.active {
  display: block;
}

.profile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.profile-section-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.profile-section-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.profile-add-btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
  flex-shrink: 0;
}

.profile-add-btn:hover {
  background: var(--accent-hover);
}

.profile-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.profile-tab {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

.profile-tab:hover {
  border-color: var(--border-light);
  color: var(--text);
}

.profile-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.profile-listing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.profile-listing-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.profile-listing-card-body {
  padding: 14px;
}

.profile-listing-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}

.profile-listing-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.profile-listing-meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}

.profile-status-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.status-published {
  color: var(--low);
  border: 1px solid var(--low);
}

.status-pending {
  color: var(--medium);
  border: 1px solid var(--medium);
}

.status-rejected {
  color: var(--high);
  border: 1px solid var(--high);
}

.status-archived {
  color: var(--muted);
  border: 1px solid var(--border-light);
}

.archived-banner,
.demo-banner,
.sold-banner {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
.archived-banner {
  background: rgba(184, 106, 99, 0.1);
  color: #b86a63;
  border: 1px solid rgba(184, 106, 99, 0.2);
}
.demo-banner {
  background: rgba(212, 167, 106, 0.1);
  color: #d4a76a;
  border: 1px solid rgba(212, 167, 106, 0.2);
}
.sold-banner {
  background: rgba(111, 155, 118, 0.1);
  color: #6f9b76;
  border: 1px solid rgba(111, 155, 118, 0.2);
}

.profile-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
}

.profile-btn-primary:hover {
  background: var(--accent-hover);
}

.profile-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
}

.profile-btn-secondary:hover {
  border-color: var(--border-light);
}

.profile-settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.profile-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.profile-field {
  display: flex;
  flex-direction: column;
}

.profile-field.full-width {
  grid-column: 1 / -1;
}

.profile-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.profile-field input,
.profile-field textarea {
  height: 46px;
  background: var(--input-bg);
  border: 1px solid #333333;
  border-radius: 10px;
  padding: 0 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.profile-field input:focus,
.profile-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.profile-field textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
  height: auto;
}

.profile-segmented {
  display: flex;
  gap: 0;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.profile-segment {
  flex: 1;
  height: 42px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}

.profile-segment.active {
  background: var(--accent);
  color: #fff;
}

.profile-settings-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.profile-mobile-header {
  display: none;
}

.profile-mobile-tabs {
  display: none;
}

.auth-box {
  width: 100%;
  max-width: 460px;
  margin: 50px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.auth-box-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}

.auth-box h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.auth-links {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.auth-links a {
  color: var(--accent);
  text-decoration: none;
}

.error-text {
  margin: 0 0 12px;
  color: var(--high);
}
.success-text {
  margin: 0 0 12px;
  color: var(--low);
}

.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--surface);
  color: var(--low);
  border: 1px solid rgba(111, 155, 118, 0.25);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast-notification svg {
  flex-shrink: 0;
  color: var(--low);
}

.profile-tablet-nav {
  display: none;
}

.profile-tabs-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.profile-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}

.profile-tab-btn.active {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

.profile-tab-panel {
  display: none;
}

.profile-tab-panel.active {
  display: block;
}

.profile-filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.profile-filter-wrap {
  min-width: 200px;
  max-width: 280px;
}

.support-page {
  padding-top: 32px;
  padding-bottom: 60px;
}

.support-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 32px;
  letter-spacing: -0.02em;
}

.support-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.support-main {
  flex: 1;
  min-width: 0;
}

.support-sidebar {
  flex: 0 0 320px;
  min-width: 0;
}

.support-sidebar .support-section {
  margin-bottom: 24px;
}

.support-section {
  margin-bottom: 40px;
}

.support-section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
}

.faq-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-header:hover {
  background: var(--surface-hover);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 20px;
}

.faq-item.is-open .faq-body {
  max-height: 300px;
  padding: 0 20px 16px;
}

.faq-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-body a {
  color: var(--accent);
  text-decoration: none;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-row svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted);
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.contact-value:hover {
  color: var(--accent);
}

.legal-links {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.legal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.legal-link:last-child {
  border-bottom: none;
}

.legal-link:hover {
  background: var(--surface-hover);
}

.legal-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
}

.legal-page {
  padding-top: 32px;
  padding-bottom: 60px;
}

.legal-page h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  width: 100%;
}

.legal-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-last-updated {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.legal-card ul,
.legal-card ol {
  margin: 0 0 16px;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-card li {
  margin-bottom: 6px;
}

.legal-card li:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: var(--accent);
  text-decoration: none;
}

.legal-card a:hover {
  text-decoration: underline;
}

.manage-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

.manage-header {
  margin-bottom: 20px;
}

.manage-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.manage-back svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.manage-back:hover {
  color: var(--text);
}

.manage-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.manage-status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  border: 1px solid;
}

.manage-status-banner.status-draft {
  background: rgba(160, 160, 160, 0.08);
  color: var(--text-secondary);
  border-color: rgba(160, 160, 160, 0.2);
}

.manage-status-banner.status-pending {
  background: rgba(212, 167, 106, 0.1);
  color: #b88a4a;
  border-color: rgba(212, 167, 106, 0.25);
}

.manage-status-banner.status-active {
  background: rgba(111, 155, 118, 0.1);
  color: #6f9b76;
  border-color: rgba(111, 155, 118, 0.25);
}

.manage-status-banner.status-rejected {
  background: rgba(184, 106, 99, 0.1);
  color: #b86a63;
  border-color: rgba(184, 106, 99, 0.25);
}

.manage-status-banner.status-sold {
  background: rgba(111, 155, 118, 0.1);
  color: #6f9b76;
  border-color: rgba(111, 155, 118, 0.25);
}

.manage-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: var(--surface);
}

.manage-status-text {
  font-weight: 500;
}

.manage-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.manage-tabs::-webkit-scrollbar {
  display: none;
}

.manage-tab {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.manage-tab:hover {
  color: var(--text);
}

.manage-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.manage-panel {
  display: none;
}

.manage-panel.active {
  display: block;
}

.manage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.manage-card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px;
}

.manage-overview-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}

@media (max-width: 767px) {
  .manage-overview-grid {
    grid-template-columns: 1fr;
  }
}

.manage-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.manage-info-row:last-child {
  border-bottom: none;
}

.manage-info-label {
  color: var(--text-secondary);
}

.manage-info-value {
  font-weight: 500;
  text-align: right;
}

.manage-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.manage-status-pill.status-draft {
  background: rgba(160, 160, 160, 0.12);
  color: var(--text-secondary);
}

.manage-status-pill.status-pending {
  background: rgba(212, 167, 106, 0.15);
  color: #b88a4a;
}

.manage-status-pill.status-active {
  background: rgba(111, 155, 118, 0.15);
  color: #6f9b76;
}

.manage-status-pill.status-rejected {
  background: rgba(184, 106, 99, 0.15);
  color: #b86a63;
}

.manage-status-pill.status-sold {
  background: rgba(111, 155, 118, 0.15);
  color: #6f9b76;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-pill.active {
  background: #e8f5e9;
  color: #4a9b6f;
}
.status-pill.pending {
  background: #fff3e0;
  color: #b88a4a;
}
.status-pill.rejected {
  background: #ffebee;
  color: #b86a63;
}
.status-pill.draft {
  background: #f5f5f5;
  color: var(--text-secondary);
}
.status-pill.sold {
  background: #e8f5e9;
  color: #6f9b76;
}
.status-pill.archived {
  background: #e8eaf6;
  color: #6478a0;
}
.status-pill.demo {
  background: #fff8e1;
  color: #d4a76a;
}
.status-pill.update {
  background: #e3f2fd;
  color: #4a8ec2;
}
.status-pill.new {
  background: #ffebee;
  color: #c62828;
}

.manage-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.manage-quick-actions form {
  display: inline;
}

.manage-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 1023px) {
  .manage-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .manage-form-grid {
    grid-template-columns: 1fr;
  }
}

.manage-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.manage-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.manage-input,
.manage-select,
.manage-textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  width: 100%;
  transition: border-color 0.2s;
}

.manage-input:focus,
.manage-select:focus,
.manage-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.manage-textarea {
  resize: vertical;
  min-height: 200px;
  line-height: 1.6;
}

.manage-error {
  font-size: 12px;
  color: #b86a63;
}

.manage-hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 8px 0 0;
}

.photo-drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-top: 16px;
}

.photo-drop-zone:hover {
  border-color: var(--accent);
  background: rgba(212, 167, 106, 0.04);
}

.photo-drop-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}

.photo-drop-hint {
  font-size: 12px;
  color: var(--text-secondary);
  opacity: 0.7;
}

.manage-save-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 24px;
}

.manage-save-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.manage-save-hint {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.manage-save-bar .btn-primary {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .manage-save-bar {
    padding: 14px 16px;
    margin-top: 24px;
    border-radius: var(--radius-sm);
  }

  .manage-save-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .manage-save-hint {
    text-align: center;
  }

  .manage-save-bar .btn-primary {
    width: 100%;
  }
}

.manage-action-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.manage-action-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.manage-action-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.manage-action-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.manage-action-item form {
  flex-shrink: 0;
}

.manage-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 767px) {
  .manage-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.manage-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 8px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.manage-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.manage-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: help;
  transition: color 0.2s;
}

.info-icon:hover {
  color: var(--accent);
}

.manage-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 4px 0 0;
}

.status-card {
  padding: 20px;
}

.status-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.status-card-visibility {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.status-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-card-text {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.status-card .view-btn-gold {
  align-self: flex-start;
}

.status-card.status-card-draft {
  border-left: 4px solid var(--text-secondary);
}

.status-card.status-card-pending {
  border-left: 4px solid #d4a76a;
}

.status-card.status-card-active {
  border-left: 4px solid #6f9b76;
}

.status-card.status-card-rejected {
  border-left: 4px solid #b86a63;
}

.status-card.status-card-sold {
  border-left: 4px solid #6f9b76;
}

.manage-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.manage-mobile-nav-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
  padding: 0 4px;
}

.manage-mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.manage-mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.manage-mobile-nav-item:hover {
  border-color: var(--accent);
}

.manage-mobile-nav-item.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

.manage-mobile-nav-item.active svg {
  color: var(--accent-text);
}

.manage-mobile-nav-item svg {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.logbook-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 20px;
}

.logbook-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border-light);
}

.logbook-timeline-compact {
  gap: 12px;
}

.logbook-entry {
  position: relative;
  display: flex;
  gap: 12px;
}

.logbook-dot {
  position: absolute;
  left: -20px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface);
}

.logbook-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logbook-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.logbook-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.logbook-detail-item {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 14px;
}

.logbook-detail-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.logbook-private {
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.logbook-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logbook-time {
  font-size: 12px;
  color: var(--text-secondary);
}

.logbook-visibility {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--bg);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.manage-tab-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.logbook-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.logbook-card h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.logbook-helper {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.recent-logbook-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.recent-logbook-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

.recent-logbook-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.recent-logbook-link:hover {
  text-decoration: underline;
}

.recent-logbook-empty {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  padding: 8px 0;
}

.card-empty-state {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  padding: 12px 0;
}

.similar-empty {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  padding: 24px 0;
}

.logbook-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

.logbook-page-header {
  margin-bottom: 24px;
}

.logbook-page-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
}

.logbook-page-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.logbook-page-subtitle a {
  color: var(--accent);
  text-decoration: none;
}

.logbook-page-subtitle a:hover {
  text-decoration: underline;
}

.logbook-timeline-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.logbook-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

.logbook-listing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.logbook-listing-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--text);
}

.logbook-listing-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.logbook-listing-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.logbook-listing-location {
  font-size: 13px;
  color: var(--text-secondary);
}

.logbook-listing-location::before {
  content: '·';
  margin-right: 10px;
  color: var(--text-secondary);
}

.logbook-timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.logbook-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-secondary);
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

@media (max-width: 767px) {
  .logbook-listing-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .logbook-listing-card .btn-primary {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .manage-tabs {
    display: none;
  }

  .manage-mobile-nav {
    display: flex;
  }

  .manage-page {
    padding-bottom: 100px;
  }
}

@media (min-width: 768px) {
  .manage-mobile-nav {
    display: none;
  }
}

.notfound-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.notfound-card {
  text-align: center;
  max-width: 420px;
}

.notfound-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--accent);
  opacity: 0.9;
}

.notfound-icon svg {
  width: 100%;
  height: 100%;
}

.notfound-code {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 12px;
  color: var(--text);
  letter-spacing: -2px;
}

.notfound-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.notfound-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 28px;
}

.notfound-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 480px) {
  .notfound-code {
    font-size: 56px;
  }
  .notfound-title {
    font-size: 20px;
  }
  .notfound-icon {
    width: 52px;
    height: 52px;
  }
}

.account-hub {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 0 40px;
}

.account-hub-user {
  display: none;
  text-align: center;
  padding: 24px 0 8px;
}

.account-hub-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface-hover);
  color: var(--text-secondary);
  font-size: 32px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.account-hub-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.account-hub-type {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: capitalize;
}

.account-hub-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.account-hub-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 28px;
}

.account-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.section-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.section-card:hover {
  background: var(--surface-hover);
  border-color: var(--border);
  transform: translateY(-1px);
}

.section-card-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.section-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: var(--surface-hover);
  flex-shrink: 0;
}

.section-card-body {
  min-width: 0;
}

.section-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.section-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.section-card-badge {
  background: var(--surface-hover);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.section-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.section-card-arrow {
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-left: 12px;
}

.account-hub-logout {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.account-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.account-logout-btn:hover {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--border-light);
}

@media (min-width: 1024px) {
  .account-hub {
    max-width: 100%;
    padding: 24px 0 40px;
  }
  .account-sections {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .account-sections {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1023px) {
  .account-hub-user {
    display: block;
  }
  .account-hub-title {
    text-align: center;
  }
  .account-hub-subtitle {
    text-align: center;
    margin-bottom: 24px;
  }
}