.profile-wrapper {
  max-width: 1200px;
  margin: 120px auto 60px;
  padding: 0 5%;
  display: flex;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.profile-sidebar {
  width: 300px;
  padding: 2rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.avatar-container {
  text-align: center;
  position: relative;
}

.avatar-glow {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
}

.avatar-glow img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--text-color, #fff);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.avatar-glow::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    #ffd54a 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: rotate-glow 4s linear infinite;
  z-index: 1;
}

.avatar-glow:hover::before {
  opacity: 1;
}

@keyframes rotate-glow {
  100% {
    transform: rotate(360deg);
  }
}

.user-name {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.user-role {
  font-size: 0.9rem;
  opacity: 0.7;
}

.profile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-nav li a {
  display: block;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.profile-nav li a:hover,
.profile-nav li a.active {
  opacity: 1;
  background: rgba(255, 213, 74, 0.05);
}

.profile-nav li a.active::before,
.profile-nav li a:hover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 4px;
  background: #ffd54a;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 10px #ffd54a;
}

.profile-content {
  flex: 1;
  padding: 2rem;
  border-radius: 16px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #ffd54a;
  box-shadow: 0 0 8px #ffd54a;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.info-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

[data-theme="light"] .info-box {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

.info-box:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 213, 74, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-label {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.info-value {
  font-size: 1.1rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .profile-wrapper {
    flex-direction: column;
    margin-top: 100px;
  }
  .profile-sidebar {
    width: 100%;
  }
}
