/* Find My Tattoo Artist — isolated styles (does not modify global.css) */

.fa-page {
  padding-top: 110px;
  padding-bottom: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.fa-hero-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.fa-artist-cta {
  flex-shrink: 0;
  font-size: 15px;
  padding: 12px 20px;
}

@media (max-width: 768px) {
  .fa-artist-cta {
    width: 100%;
    text-align: center;
  }
}

.fa-hero-title {
  margin-bottom: 8px;
}

.fa-hero-sub {
  color: var(--text-dim);
  margin-bottom: 24px;
}

.fa-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.fa-search-grid {
  display: grid;
  gap: 16px;
}

.fa-upload-zone {
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.fa-upload-zone:hover,
.fa-upload-zone.is-dragover {
  border-color: var(--accent-primary, #7c5cff);
}

.fa-upload-preview {
  max-width: 180px;
  max-height: 180px;
  border-radius: 8px;
  margin-top: 12px;
  display: none;
}

.fa-upload-preview.is-visible {
  display: block;
}

.fa-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 768px) {
  .fa-row-2 {
    grid-template-columns: 1fr;
  }
}

.fa-style-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.fa-style-chip {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.14);
  color: #d1fae5;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.fa-style-chip:hover {
  border-color: var(--neon-green);
  background: rgba(16, 185, 129, 0.26);
  color: #fff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.fa-style-chip.is-added,
.fa-style-chip:disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.fa-style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 8px;
}

.fa-style-tags-empty {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
}

.fa-style-tags-hint {
  margin: 0 0 8px;
  font-size: 12px;
}

.fa-style-tags-intro {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.fa-style-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.18);
  color: #d1fae5;
  font-size: 13px;
  font-weight: 600;
}

.fa-style-tag-remove {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.55);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.fa-style-tag-remove:hover {
  background: rgba(239, 68, 68, 0.85);
}

.fa-remove-photo-btn {
  display: block;
  margin: 10px auto 0;
  border: none;
  background: none;
  color: var(--text-dim);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}

.fa-remove-photo-btn:hover {
  color: #fca5a5;
}

.fa-danger-zone {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(239, 68, 68, 0.25);
}

.fa-danger-zone-title {
  margin: 0 0 6px;
  color: #fca5a5;
  font-size: 14px;
  font-weight: 600;
}

.fa-btn-danger {
  color: #fecaca !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
}

.fa-btn-danger:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: #f87171 !important;
}

.fa-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.fa-results-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.fa-artist-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.05);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.fa-artist-list-item:hover {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.1);
  transform: translateX(2px);
}

.fa-artist-list-avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.fa-artist-list-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(16, 185, 129, 0.45);
  background: rgba(255, 255, 255, 0.06);
  display: block;
}

.fa-artist-list-avatar.is-fallback,
.fa-artist-list-avatar:not([src]) {
  display: none;
}

.fa-artist-list-avatar-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.18);
  color: #a7f3d0;
  font-size: 20px;
  font-weight: 700;
}

.fa-artist-list-avatar.is-fallback + .fa-artist-list-avatar-fallback,
.fa-artist-list-avatar-wrap.is-empty .fa-artist-list-avatar-fallback {
  display: flex;
}

.fa-artist-list-body {
  flex: 1;
  min-width: 0;
}

.fa-artist-list-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.fa-artist-list-name {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
}

.fa-artist-list-distance {
  font-size: 12px;
  color: #6ee7b7;
  white-space: nowrap;
  flex-shrink: 0;
}

.fa-artist-list-meta {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.fa-artist-list-summary {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #cbd5e1;
}

.fa-artist-list-tags {
  margin-top: 8px;
}

.fa-artist-list-previews {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.fa-artist-list-preview {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.fa-artist-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s;
}

.fa-artist-card:hover {
  transform: translateY(-2px);
}

.fa-artist-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.fa-artist-meta {
  font-size: 13px;
  color: var(--text-dim);
}

.fa-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  margin: 2px 4px 0 0;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.15);
  color: #c4b5fd;
}

.fa-feedback {
  margin-top: 12px;
  font-size: 14px;
  display: none;
}

.fa-feedback.is-error {
  color: #ff6b6b;
  display: block;
}

.fa-feedback.is-success {
  color: #6bffb8;
  display: block;
}

.fa-profile-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.fa-profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.fa-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.fa-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.fa-inquiry-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.fa-inquiry-item {
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
}

.fa-inquiry-item.is-unread {
  border-color: rgba(124, 92, 255, 0.45);
}

.fa-muted {
  color: var(--text-dim);
  font-size: 13px;
}

.fa-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-dim);
}

/* ── Signup form fields ── */
.fa-field label,
.fa-field-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.fa-label-optional {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 12px;
}

.fa-input,
.fa-textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: block;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
}

.fa-select-native {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.fa-custom-select {
  position: relative;
}

.fa-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(16, 185, 129, 0.11), rgba(16, 185, 129, 0.04)),
    rgba(9, 14, 24, 0.72);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  padding: 12px 16px;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 24px rgba(6, 24, 18, 0.28);
}

.fa-select-trigger:hover {
  border-color: rgba(16, 185, 129, 0.45);
  background:
    linear-gradient(180deg, rgba(16, 185, 129, 0.14), rgba(16, 185, 129, 0.06)),
    rgba(255, 255, 255, 0.05);
}

.fa-select-trigger:focus {
  outline: none;
  border-color: var(--neon-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15), 0 8px 24px rgba(6, 24, 18, 0.28);
}

.fa-select-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--neon-green);
  border-bottom: 2px solid var(--neon-green);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s;
  flex-shrink: 0;
  margin-right: 4px;
}

.fa-custom-select.open .fa-select-arrow {
  transform: rotate(-135deg) translateY(-1px);
}

.fa-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(8, 18, 30, 0.98), rgba(6, 14, 24, 0.98));
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(16, 185, 129, 0.08) inset;
  padding: 8px;
  display: none;
  z-index: 40;
  backdrop-filter: blur(16px);
}

.fa-custom-select.open .fa-select-menu {
  display: block;
}

.fa-select-option {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.fa-select-option:hover,
.fa-select-option:focus {
  outline: none;
  background: rgba(16, 185, 129, 0.14);
  color: #d1fae5;
}

.fa-select-option.is-selected {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(34, 197, 94, 0.14));
  color: #ecfdf5;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.24);
}

.fa-textarea {
  resize: vertical;
  min-height: 96px;
}

.fa-section-title {
  font-size: 15px;
  font-weight: 600;
  margin: 4px 0 8px;
  color: rgba(255, 255, 255, 0.9);
}

.fa-location-hint {
  margin: 0 0 10px;
}

.fa-gps-btn.is-active {
  background: rgba(16, 185, 129, 0.16);
  color: #ecfdf5;
  border-color: var(--neon-green);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}

.fa-location-status,
.fa-gps-status {
  font-size: 13px;
  color: var(--neon-green);
  margin-top: 6px;
}

.fa-location-status.is-error,
.fa-gps-status.is-error {
  color: #fca5a5;
}

.fa-file-wrap {
  position: relative;
}

/* Gallery picker — hidden input, opened only via JS (+ button or upload zone) */
.fa-gallery-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.fa-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.fa-file-zone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px dashed rgba(16, 185, 129, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.06);
  transition: border-color 0.2s, background 0.2s;
  pointer-events: none;
}

.fa-file-wrap:hover .fa-file-zone,
.fa-file-wrap:focus-within .fa-file-zone,
.fa-file-wrap.is-dragover .fa-file-zone {
  border-color: var(--neon-green);
  background: rgba(16, 185, 129, 0.12);
}

.fa-file-zone-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-green);
  flex-shrink: 0;
}

.fa-file-zone-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fa-file-zone-label {
  font-size: 14px;
  font-weight: 600;
  color: #ecfdf5;
}

.fa-file-zone-hint {
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fa-file-zone-hint.has-file {
  color: #a7f3d0;
}

.fa-profile-existing {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  margin-top: 10px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.fa-profile-existing.is-visible {
  display: block;
}

.fa-contact-block {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

/* ── Profile edit page (Instagram-style) ── */
.fa-profile-edit-page {
  max-width: 640px;
}

@media (min-width: 900px) {
  .fa-profile-edit-page {
    max-width: 1040px;
  }

  #fa-edit-content {
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .fa-profile-edit-hero {
    position: sticky;
    top: 96px;
    margin-bottom: 0;
    padding: 32px 24px;
  }

  .fa-profile-edit-page .fa-profile-edit-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    align-content: start;
    padding: 28px 32px;
  }

  .fa-profile-edit-page .fa-profile-edit-form > .fa-field {
    grid-column: 1 / -1;
  }

  .fa-profile-edit-page .fa-profile-edit-form > .fa-field:first-of-type,
  .fa-profile-edit-page .fa-profile-edit-form > .fa-field:nth-of-type(2) {
    grid-column: auto;
  }

  .fa-profile-edit-page .fa-profile-edit-form > #fa-edit-gallery-section,
  .fa-profile-edit-page .fa-profile-edit-form > .fa-contact-block,
  .fa-profile-edit-page .fa-profile-edit-form > button[type="submit"],
  .fa-profile-edit-page .fa-profile-edit-form > .fa-feedback,
  .fa-profile-edit-page .fa-profile-edit-form > .fa-muted,
  .fa-profile-edit-page .fa-profile-edit-form > .fa-danger-zone {
    grid-column: 1 / -1;
  }

  .fa-gallery-upload-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  .fa-signup-page {
    max-width: 1040px;
  }

  .fa-signup-page #fa-signup-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    align-content: start;
    padding: 28px 32px;
  }

  .fa-signup-page #fa-signup-form > .fa-field {
    grid-column: 1 / -1;
  }

  .fa-signup-page #fa-signup-form > .fa-field:first-of-type,
  .fa-signup-page #fa-signup-form > .fa-field:nth-of-type(2) {
    grid-column: auto;
  }

  .fa-signup-page #fa-signup-form > #fa-profile-pic-section,
  .fa-signup-page #fa-signup-form > #fa-gallery-section,
  .fa-signup-page #fa-signup-form > .fa-contact-block,
  .fa-signup-page #fa-signup-form > button[type="submit"],
  .fa-signup-page #fa-signup-form > .fa-feedback,
  .fa-signup-page #fa-signup-form > .fa-muted {
    grid-column: 1 / -1;
  }
}

.fa-view-public-btn {
  margin-top: 12px;
  font-size: 14px;
  padding: 10px 18px;
}

.fa-view-public-btn[hidden] {
  display: none !important;
}

.fa-dash-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.fa-profile-edit-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  margin-bottom: 16px;
}

.fa-avatar-wrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-bottom: 16px;
}

.fa-avatar-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.fa-avatar-circle {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.2);
  background: rgba(255, 255, 255, 0.06);
  display: block;
}

.fa-avatar-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.55);
  color: #ecfdf5;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.fa-avatar-wrap:hover .fa-avatar-overlay {
  opacity: 1;
}

.fa-edit-name {
  font-size: 1.6rem;
  margin: 0 0 4px;
}

.fa-edit-shop {
  color: var(--text-dim);
  margin: 0 0 6px;
  font-size: 15px;
}

.fa-status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: 8px;
}

.fa-status-badge.is-live {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.fa-status-badge.is-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.fa-profile-edit-form {
  margin-top: 0;
}

.fa-edit-gallery-grid {
  margin-top: 8px;
}

/* ── Portfolio gallery grid with + add tile ── */
.fa-gallery-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.fa-gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.fa-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fa-gallery-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.75);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fa-gallery-add {
  aspect-ratio: 1;
  min-height: 96px;
  border: 2px dashed rgba(16, 185, 129, 0.5);
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.08);
  color: #a7f3d0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}

.fa-gallery-add:hover {
  border-color: var(--neon-green);
  background: rgba(16, 185, 129, 0.14);
}

.fa-gallery-add-icon {
  font-size: 30px;
  line-height: 1;
  color: var(--neon-green);
  font-weight: 400;
}

.fa-gallery-pick-zone {
  cursor: pointer;
}

.fa-profile-pick-zone {
  cursor: pointer;
}

.fa-file-wrap.fa-gallery-pick-zone.fa-gallery-zone-hidden {
  display: none;
}

/* ── Admin: approve artist profiles (owner only) ── */
.fa-admin-page {
  max-width: 820px;
}

.fa-admin-pending-banner {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fde68a;
  font-size: 14px;
  font-weight: 600;
}

.fa-admin-section-title {
  margin: 24px 0 12px;
  font-size: 1rem;
  color: #a7f3d0;
}

.fa-admin-artist-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fa-admin-artist-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fa-admin-artist-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.fa-admin-artist-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(16, 185, 129, 0.35);
  flex-shrink: 0;
}

.fa-admin-artist-name {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.fa-admin-artist-details {
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 13px;
}

.fa-admin-artist-details > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
}

.fa-admin-artist-details dt {
  margin: 0;
  color: var(--text-dim);
}

.fa-admin-artist-details dd {
  margin: 0;
  color: #ecfdf5;
  word-break: break-word;
}

.fa-admin-artist-gallery {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fa-admin-artist-gallery img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.fa-admin-artist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ── Mobile: prevent form fields spilling outside card ── */
@media (max-width: 768px) {
  .fa-page.container {
    padding-left: 12px;
    padding-right: 12px;
    overflow-x: hidden;
  }

  .fa-card {
    padding: 16px;
    overflow: hidden;
    max-width: 100%;
  }

  .fa-search-grid,
  .fa-field,
  .fa-contact-block,
  .fa-row-2,
  .fa-file-wrap,
  .fa-custom-select {
    min-width: 0;
    max-width: 100%;
  }

  .fa-row-2 > * {
    min-width: 0;
    max-width: 100%;
  }

  .fa-file-zone {
    min-width: 0;
    overflow: hidden;
  }

  .fa-file-zone-hint {
    white-space: normal;
    word-break: break-word;
  }

  .fa-style-suggestions {
    max-width: 100%;
  }

  .fa-select-trigger {
    max-width: 100%;
    min-width: 0;
  }
}

/* ── Profile photo crop modal (Instagram / LinkedIn style) ── */
body.fa-crop-open {
  overflow: hidden;
}

.fa-crop-modal[hidden] {
  display: none !important;
}

.fa-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.fa-crop-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(6px);
}

.fa-crop-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: linear-gradient(180deg, rgba(8, 18, 30, 0.98), rgba(6, 14, 24, 0.98));
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.fa-crop-title {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.fa-crop-sub {
  margin: 0 0 16px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.45;
}

.fa-crop-workspace {
  display: grid;
  gap: 16px;
}

@media (min-width: 520px) {
  .fa-crop-workspace {
    grid-template-columns: 1fr 140px;
    align-items: start;
  }
}

.fa-crop-editor {
  width: 100%;
  max-height: 340px;
  background: #020617;
  border-radius: 12px;
  overflow: hidden;
}

.fa-crop-editor img {
  display: block;
  max-width: 100%;
}

.fa-crop-public-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.fa-crop-preview-label {
  margin: 0;
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fa-crop-preview-ring {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--neon-green);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.fa-crop-preview-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fa-crop-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.fa-crop-actions .btn {
  min-width: 100px;
}

.fa-signup-avatar-preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.fa-signup-avatar-preview-wrap[hidden] {
  display: none !important;
}

.fa-signup-avatar-preview-label {
  font-size: 12px;
  color: var(--text-dim);
}

.fa-signup-avatar-preview {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

/* Cropper.js — circular crop mask (standard pattern) */
.fa-crop-editor .cropper-view-box,
.fa-crop-editor .cropper-face {
  border-radius: 50%;
}

.fa-crop-editor .cropper-view-box {
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.65);
  outline: none;
}

/* ── Public artist profile ── */
.fa-public-profile-page {
  max-width: 900px;
}

.fa-preview-banner {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
  text-align: center;
}

.fa-preview-banner[hidden] {
  display: none !important;
}

.fa-public-hero {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .fa-public-hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

.fa-public-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.fa-public-hero-body h1 {
  margin: 0 0 6px;
  font-size: 1.75rem;
}

.fa-public-shop {
  margin: 0 0 4px;
  color: var(--text-dim);
  font-size: 15px;
}

.fa-public-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.fa-public-tags .fa-tag {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #d1fae5;
}

.fa-public-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.fa-public-bio-card h2,
.fa-public-gallery-card h2,
.fa-inquiry-card h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.fa-public-bio-card {
  margin-bottom: 20px;
}

.fa-public-bio-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-dim);
  white-space: pre-wrap;
}

.fa-public-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.fa-public-gallery-item {
  border: none;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  aspect-ratio: 1;
  transition: transform 0.15s, box-shadow 0.15s;
}

.fa-public-gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.fa-public-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fa-inquiry-card {
  margin-top: 20px;
}

.fa-inquiry-design-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.fa-inquiry-design-banner[hidden] {
  display: none !important;
}

.fa-inquiry-design-banner img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

.fa-inquiry-design-clear {
  margin-left: auto;
  border: none;
  background: none;
  color: var(--text-dim);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}

.fa-inquiry-design-clear:hover {
  color: #fca5a5;
}

.fa-inquiry-design-preview-wrap {
  margin-top: 12px;
}

.fa-inquiry-design-preview-wrap[hidden] {
  display: none !important;
}

.fa-inquiry-design-preview-tile {
  position: relative;
  display: inline-block;
  max-width: 240px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.fa-inquiry-design-preview-tile img {
  display: block;
  max-width: 240px;
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.fa-inquiry-design-filename {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #a7f3d0;
}

.fa-inquiry-wa-notice {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(37, 211, 102, 0.45);
  background: rgba(37, 211, 102, 0.1);
  color: #d1fae5;
  font-size: 13px;
  line-height: 1.5;
}

.fa-inquiry-wa-notice[hidden] {
  display: none !important;
}

.fa-inquiry-contact-via {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.fa-inquiry-via-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.08);
  cursor: pointer;
  font-size: 14px;
}

.fa-inquiry-via-option:has(input:checked) {
  border-color: var(--neon-green);
  background: rgba(16, 185, 129, 0.22);
}

.fa-inquiry-via-option input {
  accent-color: var(--neon-green);
}

/* Lightbox */
.fa-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: rgba(2, 6, 23, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.fa-lightbox[hidden] {
  display: none !important;
}

.fa-lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.fa-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.fa-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ── Messages inbox ── */
.msg-unread-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
  z-index: 5;
}

.fa-msg-inbox {
  display: flex;
  gap: 0;
  height: 400px;
  max-height: min(400px, 50vh);
  min-height: 300px;
  overflow: hidden;
}

.fa-msg-thread-list {
  flex: 0 0 220px;
  width: 220px;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  -webkit-overflow-scrolling: touch;
}

.fa-msg-thread-item {
  text-align: left;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
}

.fa-msg-thread-item.is-active,
.fa-msg-thread-item:hover {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.08);
}

.fa-msg-thread-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fa-msg-unread-pill {
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.fa-msg-thread-item strong {
  font-size: 0.88rem;
  font-weight: 600;
}

.fa-msg-thread-preview {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fa-msg-thread-time {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.fa-msg-chat-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 1rem;
  text-align: center;
}

.fa-msg-chat-panel {
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.fa-msg-chat-header {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--glass-border);
}

.fa-msg-chat-header h3 {
  margin: 0 0 2px;
  font-size: 0.95rem;
}

.fa-msg-chat-header--compact {
  padding: 8px 12px;
  min-height: 0;
}

.fa-msg-chat-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
  width: 100%;
}

.fa-msg-chat-title-row h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
}

.fa-msg-style-pill {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: #86efac;
  text-transform: lowercase;
}

.fa-msg-chat-email {
  flex: 1;
  min-width: 0;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fa-msg-chat-email:hover {
  color: #fff;
  text-decoration: underline;
}

.fa-msg-design-link {
  flex-shrink: 0;
  margin-left: auto;
}

.fa-msg-design-thumb {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

#fa-msg-reply-feedback:empty {
  display: none;
}

.fa-msg-chat-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  -webkit-overflow-scrolling: touch;
}

.fa-msg-bubble {
  max-width: 85%;
  align-self: flex-start;
  padding: 10px 12px;
  border-radius: 12px 12px 12px 4px;
  background: rgba(255, 255, 255, 0.08);
}

.fa-msg-bubble.is-mine {
  align-self: flex-end;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 12px 12px 4px 12px;
}

.fa-msg-bubble-time {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.fa-msg-reply-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--glass-border);
  align-items: flex-end;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.2);
}

.fa-msg-reply-form .fa-textarea {
  flex: 1;
  margin: 0;
  min-height: 40px;
  max-height: 88px;
  resize: none;
}

.fa-msg-send-btn {
  flex-shrink: 0;
  min-width: 72px;
  padding: 10px 16px;
}

.account-guest-msg-mode #profile-view > div:first-child,
.account-guest-msg-mode #account-security,
.account-guest-msg-mode #billing {
  display: none !important;
}

.account-guest-msg-mode #my-messages {
  width: 100%;
}

@media (max-width: 768px) {
  .fa-msg-inbox {
    flex-direction: column;
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .fa-msg-thread-list {
    flex: none;
    width: 100%;
    height: 140px;
    max-height: 140px;
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }

  .fa-msg-chat-panel {
    height: 340px;
    max-height: min(340px, 45vh);
  }
}

/* ── Professional inbox hub (account + dashboard) ── */
.fa-msg-hub {
  padding: 0;
  overflow: hidden;
}

.fa-msg-hub-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--glass-border);
}

.fa-msg-hub-header h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.fa-msg-hub-sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: 36rem;
}

.fa-msg-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
}

.fa-msg-tab {
  position: relative;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.fa-msg-tab.is-active {
  background: rgba(16, 185, 129, 0.18);
  color: #ecfdf5;
}

.fa-msg-tab:hover:not(.is-active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.fa-msg-other-tab-hint {
  margin: 0 1.25rem 0.75rem;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.fa-msg-inbox--pro {
  height: 400px;
  max-height: min(400px, 50vh);
  min-height: 300px;
  padding: 0;
  margin: 0;
  gap: 0;
  overflow: hidden;
}

.fa-msg-inbox--pro .fa-msg-thread-list {
  flex: 0 0 220px;
  width: 220px;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding: 8px;
  border-right: 1px solid var(--glass-border);
}

.fa-msg-inbox--pro .fa-msg-chat-panel {
  border: none;
  border-radius: 0;
  background: transparent;
  min-height: 0;
  height: 100%;
}

.fa-msg-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  height: 280px;
  max-height: min(280px, 38vh);
}

.fa-msg-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: rgba(16, 185, 129, 0.85);
}

.fa-msg-empty-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.fa-msg-empty-hint {
  margin: 0 0 1.25rem;
  max-width: 22rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.fa-msg-empty-cta {
  min-width: 160px;
}

.fa-msg-chat-header-main h3 {
  margin: 0 0 2px;
  font-size: 1rem;
}

.fa-msg-chat-meta {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.fa-msg-bubble-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 92%;
}

.fa-msg-bubble-row.is-mine {
  align-self: flex-end;
  flex-direction: row-reverse;
  margin-left: auto;
}

.fa-msg-avatar {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fa-msg-bubble-row.is-mine .fa-msg-avatar {
  background: rgba(16, 185, 129, 0.25);
  color: #a7f3d0;
}

.fa-msg-bubble-row .fa-msg-bubble {
  max-width: 100%;
}

.fa-msg-bubble-body {
  font-size: 0.92rem;
  line-height: 1.45;
  word-break: break-word;
}

.fa-msg-design-link {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .fa-msg-inbox--pro {
    height: auto;
    max-height: none;
  }

  .fa-msg-inbox--pro .fa-msg-thread-list {
    flex: none;
    width: 100%;
    height: 140px;
    max-height: 140px;
    padding: 8px;
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }

  .fa-msg-inbox--pro .fa-msg-chat-panel {
    height: 340px;
    max-height: min(340px, 45vh);
  }

  .fa-msg-hub-header {
    padding: 1rem 1rem 0.5rem;
  }

  .fa-msg-tabs {
    width: 100%;
    justify-content: stretch;
  }

  .fa-msg-tab {
    flex: 1;
    text-align: center;
  }
}
