/* Hồ sơ & Cài đặt — shell user-simple (profile-v2 class names giữ JS cũ) */

.profile-v2 {
  max-width: 960px;
}

.profile-v2__breadcrumb {
  font-size: 12px;
  color: #8e95b8;
  margin-bottom: 12px;
}

.profile-v2__breadcrumb a {
  color: #aeb6da;
  text-decoration: none;
}

.profile-v2__breadcrumb a:hover {
  color: #e7ebff;
  text-decoration: underline;
}

.profile-v2__breadcrumb-sep {
  margin: 0 6px;
  color: #5a6288;
  user-select: none;
}

.profile-v2__breadcrumb-current {
  color: #c7cceb;
}

.profile-v2__hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14) 0%, rgba(23, 27, 49, 0.95) 55%, rgba(14, 17, 29, 0.98) 100%);
  border: 1px solid #2a2f48;
  border-radius: 10px;
  margin-bottom: 18px;
}

.profile-v2__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #6366f1 0%, #4f46e5 100%);
  border: 2px solid rgba(129, 140, 248, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.25);
}

.profile-v2__hero-text {
  min-width: 0;
}

.profile-v2__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  color: #f0f2ff;
}

.profile-v2__lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #97a0c8;
  max-width: 40rem;
}

.profile-v2__subtitle {
  margin: 0;
  font-size: 13px;
  color: #aeb6da;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-v2__layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 720px) {
  .profile-v2__layout {
    grid-template-columns: 1fr;
  }
}

.profile-v2__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: #141a2e;
  border: 1px solid #2a2f48;
  border-radius: 10px;
}

.profile-v2__nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #9ca3af;
  font-size: 0.9375rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}

.profile-v2__nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #e7ebff;
}

.profile-v2__nav-item--active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.25), rgba(99, 102, 241, 0.08));
  color: #ffffff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.35);
}

.profile-v2__nav-icon {
  flex-shrink: 0;
  opacity: 0.92;
}

.profile-v2__main {
  min-height: 200px;
}

.profile-v2__panel {
  display: none;
}

.profile-v2__panel--active {
  display: block;
}

.profile-v2__panel-inner {
  padding: 1.25rem 1.35rem;
  background: #171b31;
  border: 1px solid #2a2f48;
  border-radius: 10px;
}

.profile-v2__panel-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #e7ebff;
}

.profile-v2__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-v2__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.profile-v2__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #aeb6da;
}

.profile-v2__input {
  width: 100%;
  max-width: 400px;
  padding: 10px 12px;
  background: #101428;
  border: 1px solid #303656;
  border-radius: 6px;
  color: #e8edff;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.profile-v2__input::placeholder {
  color: #6b7194;
}

.profile-v2__input:hover {
  border-color: #4f5a7a;
}

.profile-v2__input:focus {
  outline: none;
  border-color: #818cf8;
  box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.35);
}

.profile-v2__hint {
  font-size: 0.8125rem;
  color: #8e95b8;
  margin: -0.25rem 0 0.75rem;
  line-height: 1.5;
}

.profile-v2__btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  align-self: flex-start;
}

.profile-v2__btn--primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #fff;
  border: 1px solid rgba(129, 140, 248, 0.45);
}

.profile-v2__btn--primary:hover {
  background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}
