/**
 * Numex AI - Profil Düzenle
 */
#n-profile {
  position: absolute;
  inset: 0;
  z-index: 435;
  display: flex;
  flex-direction: column;
  background: var(--n-bg, #09090B);
  overflow: hidden;
}

.n-prf-header {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--n-bd);
}
.n-prf-header .n-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--n-s2);
  border: 1px solid var(--n-bd);
  color: var(--n-t2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.n-prf-header h2 { flex: 1; font-size: 15px; font-weight: 600; margin: 0; text-align: center; }
.n-prf-header .save-btn {
  padding: 7px 14px;
  border-radius: 9px;
  background: var(--n-acs);
  border: 1px solid rgba(196,169,98,0.15);
  color: var(--n-ac);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.n-prf-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 0 32px;
  -webkit-overflow-scrolling: touch;
}

.n-prf-avatar-wrap {
  padding: 28px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.n-prf-avatar-rel {
  position: relative;
  margin-bottom: 14px;
}
.n-prf-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--n-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  color: #09090B;
  box-shadow: 0 6px 28px var(--n-acg);
}
.n-prf-avatar-cam {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--n-ac);
  border: 3px solid var(--n-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.n-prf-name { font-size: 18px; font-weight: 700; }
.n-prf-plan { font-size: 12px; color: var(--n-ac); font-weight: 500; margin-top: 2px; }
.n-prf-bio { font-size: 12px; color: var(--n-tm); margin-top: 4px; }

.n-prf-section { padding: 0 18px; }
.n-prf-section-title {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--n-tm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.n-prf-section-title.danger { color: #F87171; }
.n-prf-field { margin-bottom: 14px; }
.n-prf-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--n-t2);
  margin-bottom: 6px;
  display: block;
}
.n-prf-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 12px;
  color: var(--n-t);
  font-size: 14px;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}
.n-prf-input::placeholder { color: var(--n-tm); }
.n-prf-field-rel { position: relative; }
.n-prf-verified {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(74,222,128,0.08);
  font-size: 10px;
  font-weight: 600;
  color: var(--n-grn);
}
.n-prf-char-count { text-align: right; font-size: 10px; color: var(--n-tm); margin-top: 3px; }

.n-prf-card {
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}
.n-prf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--n-bd);
  -webkit-tap-highlight-color: transparent;
}
.n-prf-row:last-child { border-bottom: none; }
.n-prf-row.no-click { cursor: default; }
.n-prf-row-left { display: flex; align-items: center; gap: 10px; }
.n-prf-row-icon { font-size: 16px; }
.n-prf-row-title { font-size: 13.5px; font-weight: 500; }
.n-prf-row-desc { font-size: 11px; color: var(--n-tm); }
.n-prf-row-desc.grn { color: var(--n-grn); }
.n-prf-row-chevron { flex-shrink: 0; }
.n-prf-acc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--n-s2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.n-prf-acc-btn {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.n-prf-acc-btn.connect { background: var(--n-acs); border: 1px solid rgba(196,169,98,0.12); color: var(--n-ac); }
.n-prf-acc-btn.remove { background: rgba(248,113,113,0.06); border: 1px solid rgba(248,113,113,0.12); color: #F87171; }
.n-prf-acc-btn.disabled { background: var(--n-s2); color: var(--n-tm); border: 1px solid var(--n-bd); cursor: not-allowed; opacity: 0.8; }

.n-prf-toggle {
  width: 44px;
  height: 26px;
  border-radius: 13px;
  cursor: pointer;
  padding: 3px;
  transition: background 0.25s;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.n-prf-toggle.off { background: var(--n-s3); }
.n-prf-toggle.on { background: var(--n-ac); }
.n-prf-toggle-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.n-prf-toggle.off .n-prf-toggle-dot { transform: translateX(0); }
.n-prf-toggle.on .n-prf-toggle-dot { transform: translateX(18px); }

.n-prf-danger-btn {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  background: rgba(248,113,113,0.04);
  border: 1px solid rgba(248,113,113,0.1);
  color: #F87171;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  -webkit-tap-highlight-color: transparent;
}

/* Delete confirmation */
.n-prf-delete-modal {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  gap: 20px;
  text-align: center;
}
.n-prf-delete-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.n-prf-delete-modal h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.n-prf-delete-modal p { font-size: 13.5px; color: var(--n-t2); line-height: 1.5; max-width: 280px; }
.n-prf-delete-btns { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.n-prf-delete-yes {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.15);
  color: #F87171;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.n-prf-delete-no {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: var(--n-s2);
  border: 1px solid var(--n-bd);
  color: var(--n-t);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.n-prf-toast {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 9px 18px;
  background: var(--n-s3);
  border: 1px solid var(--n-bds);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  z-index: 200;
  box-shadow: 0 6px 28px rgba(0,0,0,0.35);
  white-space: nowrap;
}
