.profile-page { background: #070f1d; }
.profile-card {
  background: #0b1628;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 28px;
}
.profile-card-sm {
  background: #0b1628;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 20px;
}
.profile-hero-card {
  background: linear-gradient(135deg, #0b1f3a 0%, #0e1c30 70%, #081424 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.profile-ptab {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 9px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  font-family: inherit;
}
.profile-ptab:hover { color: rgba(255, 255, 255, 0.7); }
.profile-ptab.active {
  background: rgba(128, 101, 248, 0.15);
  border-color: rgba(128, 101, 248, 0.3);
  color: #a78bfa;
}
.profile-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.profile-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
  display: block;
}
.profile-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: #e2e8f0;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.profile-input:focus {
  border-color: #8065f8;
  box-shadow: 0 0 0 3px rgba(128, 101, 248, 0.12);
}
.profile-input::placeholder { color: rgba(255, 255, 255, 0.22); }
.profile-input:disabled { opacity: 0.5; cursor: not-allowed; }
textarea.profile-input { resize: vertical; min-height: 90px; }
select.profile-input { cursor: pointer; color-scheme: dark; }
select.profile-input option { background: #0b1628; }
.profile-toggle { position: relative; display: inline-block; width: 40px; height: 22px; cursor: pointer; flex-shrink: 0; }
.profile-toggle input { display: none; }
.profile-toggle-track {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s;
}
.profile-toggle input:checked ~ .profile-toggle-track {
  background: linear-gradient(135deg, #8065f8, #4490d3);
  border-color: transparent;
}
.profile-toggle-thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.profile-toggle input:checked ~ .profile-toggle-thumb { transform: translateX(18px); }
.profile-strength-bar { height: 4px; border-radius: 2px; transition: all 0.3s; }
.profile-activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}
.profile-int-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-avatar-wrap { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.profile-avatar-overlay {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  cursor: pointer;
}
.profile-avatar-wrap:hover .profile-avatar-overlay { opacity: 1; }
.profile-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #0f1e35;
  border: 1px solid rgba(128, 101, 248, 0.3);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.82rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s;
  z-index: 999;
  pointer-events: none;
}
.profile-toast.show { transform: translateY(0); opacity: 1; }
.profile-tab-panel.hidden { display: none; }
