.profile-modal {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.profile-modal-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 22px;
}

.profile-modal-title {
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}

.profile-modal-subtitle {
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.92rem;
}

.profile-modal-body {
  padding: 22px;
}

.profile-modal-label {
  font-weight: 650;
  color: #111827;
}

.profile-username-row {
  display: flex;
  gap: 10px;
}

.profile-username-row .form-control {
  min-height: 44px;
  border-radius: 10px;
}

.profile-username-row .btn {
  border-radius: 10px;
  padding-inline: 18px;
  font-weight: 650;
}

.profile-modal-help {
  margin-top: 8px;
  color: #6b7280;
  font-size: 0.86rem;
}

@media (max-width: 575.98px) {
  .profile-username-row {
    flex-direction: column;
  }

  .profile-username-row .btn {
    width: 100%;
  }
}

.profile-toast-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 7010;
}

.profile-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(360px, calc(100vw - 32px));
  padding: 14px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.profile-toast-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #111827;
  flex-shrink: 0;
}

.profile-toast.is-success .profile-toast-icon {
  background: #ecfdf5;
  color: #047857;
}

.profile-toast.is-error .profile-toast-icon {
  background: #fef2f2;
  color: #b91c1c;
}

.profile-toast-copy {
  flex: 1;
  min-width: 0;
}

.profile-toast-title {
  font-weight: 750;
  line-height: 1.2;
}

.profile-toast-text {
  margin-top: 2px;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.35;
}

.profile-toast-close {
  border: 0;
  background: transparent;
  color: #6b7280;
  padding: 4px;
  line-height: 1;
}

.profile-toast-close:hover {
  color: #111827;
}

@media (max-width: 575.98px) {
  .profile-toast-wrap {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .profile-toast {
    width: 100%;
  }
}

.profile-modal-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 22px 0;
}

.profile-idv-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-idv-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.profile-idv-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-idv-title {
  font-weight: 750;
  color: #111827;
}

.profile-idv-subtitle {
  margin-top: 2px;
  color: #6b7280;
  font-size: 0.9rem;
}

.profile-modal-idv-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  background: #f9fafb;
}

.seller-profile-idv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #e5e7eb;
  color: #374151;
}

.seller-profile-idv-badge.is-ready {
  background: #eff6ff;
  color: #1d4ed8;
}

.seller-profile-idv-badge.is-verified {
  background: #ecfdf5;
  color: #047857;
}

.seller-profile-idv-title {
  margin-top: 12px;
  font-weight: 750;
  color: #111827;
}

.seller-profile-idv-copy {
  margin-top: 5px;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.45;
}

.seller-profile-idv-actions {
  margin-top: 14px;
}

.seller-profile-idv-primary-btn {
  border: 0;
  border-radius: 10px;
  background: #111827;
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.seller-profile-idv-primary-btn:hover {
  background: #1f2937;
}

.seller-profile-idv-hint {
  margin-top: 8px;
  color: #6b7280;
  font-size: 0.85rem;
}

.profile-modal-body {
  padding: 22px;
  background: #f9fafb;
}

.profile-modal-section {
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
}

.profile-modal-section-spaced {
  margin-top: 16px;
}

.profile-section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.profile-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-section-title {
  font-weight: 750;
  color: #111827;
  line-height: 1.2;
}

.profile-section-subtitle {
  margin-top: 3px;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.4;
}

.profile-username-row .form-control {
  background: #ffffff;
  border-color: #d1d5db;
}

.profile-modal-help {
  margin-top: 9px;
  color: #6b7280;
  font-size: 0.84rem;
}

.profile-modal-divider,
.profile-idv-head,
.profile-idv-icon,
.profile-idv-title,
.profile-idv-subtitle {
  display: contents;
}

.profile-modal-idv-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  background: #f9fafb;
}

.seller-profile-idv-main {
  padding-bottom: 2px;
}

.seller-profile-idv-actions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.seller-profile-idv-primary-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 575.98px) {
  .profile-modal-body {
    padding: 16px;
  }

  .profile-modal-section {
    padding: 16px;
  }
}