/* Influencer signup — Profile Details step */

.isd-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  margin-bottom: 24px;
  overflow: visible;
}

.isd-col-left,
.isd-col-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: visible;
}

.isd-hidden-native {
  display: none !important;
}

.isd-field--highlight {
  outline: 2px solid #ee3e96;
  outline-offset: 4px;
  border-radius: 12px;
  animation: isd-highlight-pulse 0.6s ease 2;
}

@keyframes isd-highlight-pulse {
  0%,
  100% {
    outline-color: #ee3e96;
  }
  50% {
    outline-color: #ff6eb4;
  }
}

/* Hide duplicate native React city field when custom city dropdown is active */
.space-y-5[data-isd-layout="1"] > .space-y-1\.5:has(input[placeholder="e.g. Mumbai"]:not(.isd-combo-input)) {
  display: none !important;
}

.isd-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 8px;
}

.isd-req {
  color: #ee3e96;
}

.isd-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #64748b;
  font-size: 12px;
}

.isd-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.isd-field:has(.isd-combo--open) {
  z-index: 2;
}

.isd-field--disabled .isd-combo-input,
.isd-field--disabled .isd-combo-toggle {
  opacity: 0.55;
  cursor: not-allowed;
  background: #e2e8f0;
}

.isd-field--disabled .isd-combo-input:disabled {
  color: #64748b;
}

.isd-field-error {
  margin: 0;
  font-size: 12px;
  color: #f87171;
}

.isd-input,
.isd-combo-input {
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.isd-input:focus,
.isd-combo-input:focus {
  outline: none;
  border-color: #ee3e96;
  box-shadow: 0 0 0 3px rgba(238, 62, 150, 0.15);
}

.isd-combo {
  position: relative;
}

.isd-combo-input {
  padding-right: 42px;
}

.isd-combo-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.isd-combo-toggle:hover {
  background: #f1f5f9;
  color: #ee3e96;
}

.isd-combo--open .isd-combo-toggle {
  color: #ee3e96;
}

.isd-combo-hint {
  margin: 0;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
}

.isd-combo-list {
  position: absolute;
  z-index: 100;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 220px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.isd-combo-list--floating {
  position: fixed !important;
  right: auto !important;
  top: auto !important;
  background: #fff !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.9) !important;
  z-index: 20050 !important;
  pointer-events: auto !important;
}

.isd-profile-card {
  overflow: visible !important;
}

.isd-field--dropdown-open {
  z-index: 2;
}

.isd-combo-list li {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #334155;
  cursor: pointer;
}

.isd-combo-list li:hover {
  background: #fdf2f8;
  color: #be185d;
}

.isd-combo-list li.isd-combo-empty {
  color: #94a3b8;
  cursor: default;
  font-size: 13px;
}

.isd-city-select {
  appearance: auto;
  -webkit-appearance: menulist;
  cursor: pointer;
  padding-right: 36px;
}

.isd-city-select:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.isd-field--err .isd-city-select {
  border-color: #f87171;
}
.isd-photo-block {
  text-align: center;
}

.isd-photo-sub {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
}

.isd-photo-hint {
  margin: 0 0 14px;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
}

.isd-photo-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
}

.isd-photo-drop:focus-visible .isd-photo-preview {
  box-shadow: 0 0 0 3px rgba(238, 62, 150, 0.35);
}

.isd-photo-drop--drag .isd-photo-preview {
  border-color: #ee3e96;
  background: rgba(238, 62, 150, 0.08);
}

.isd-photo-preview {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  border: 2px dashed #475569;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.15s;
}

.isd-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.isd-photo-preview--filled {
  border-style: solid;
  border-color: #ee3e96;
}

.isd-photo-icon {
  font-size: 32px;
  color: #64748b;
  font-weight: 300;
  line-height: 1;
}

.isd-photo-overlay {
  position: absolute;
  bottom: 4px;
  right: calc(50% - 60px + 4px);
  background: linear-gradient(135deg, #ee3e96, #f26e59);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(238, 62, 150, 0.35);
  pointer-events: none;
}

.isd-photo-status {
  margin: 10px 0 0;
  font-size: 11px;
  color: #94a3b8;
}

.isd-photo-status--ok {
  color: #4ade80;
}

/* Gender segments */
.isd-segments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.isd-segment {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  border-radius: 12px;
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.isd-segment:hover {
  border-color: #f9a8d4;
}

.isd-segment--on {
  background: linear-gradient(135deg, rgba(238, 62, 150, 0.15), rgba(242, 110, 89, 0.1));
  border-color: #ee3e96;
  color: #ee3e96;
}

/* Languages */
.isd-lang-section {
  margin-top: 4px;
}

.isd-lang-hint {
  margin: 0 0 10px;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}

.isd-lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.isd-lang-chip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}

.isd-lang-chip:hover {
  border-color: rgba(238, 62, 150, 0.45);
  color: #f1f5f9;
}

.isd-lang-chip--on {
  background: linear-gradient(135deg, rgba(238, 62, 150, 0.22), rgba(242, 110, 89, 0.14));
  border-color: #ee3e96;
  color: #fce7f3;
  box-shadow: 0 0 0 1px rgba(238, 62, 150, 0.25);
}

.isd-lang-chip--on::before {
  content: "✓ ";
  font-size: 11px;
}

/* Username on profile step — light inputs in dark card */
.isd-col-left .infl-signup-username-wrap {
  margin: 0;
}

.isd-col-left .infl-signup-username-row {
  background: #f8fafc;
  border-color: #e2e8f0;
  border-radius: 16px;
}

.isd-col-left .infl-signup-username-row input {
  color: #0f172a;
  background: transparent;
}

.isd-col-left .infl-signup-username-label {
  color: #94a3b8;
}

.isd-col-left .infl-signup-username-hint {
  color: #94a3b8;
}

@media (max-width: 768px) {
  .isd-grid {
    grid-template-columns: 1fr;
  }

  .isd-col-right {
    order: -1;
  }

  .isd-photo-block {
    margin-bottom: 8px;
  }

  .isd-segments {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 400px) {
  .isd-segments {
    grid-template-columns: 1fr;
  }
}
