/* --------------------------
   PROFILE PAGE
--------------------------- */
#profilePage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 100px; /* extra space for navbar */
  text-align: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f8f8, #e8ebef);
  color: #1F1F1F;
  font-family: 'Inter', sans-serif;
  transition: background 0.3s ease;
}

/* Header */
#profilePage h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 35px;
  letter-spacing: 1px;
  color: #001A23;
  text-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Profile Picture */
.profile-picture {
  position: relative;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}
.profile-picture:hover {
  transform: scale(1.05);
}
.profile-picture img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #EB9486;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.profile-picture img:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}
.profile-picture button {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #EB9486;
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.profile-picture button:hover {
  background: #ffb39c;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.profile-picture button:active {
  transform: scale(0.92);
  background: #d97b6c;
}

/* Username */
.username {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #001A23;
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Bio */
.bio {
  max-width: 450px;
  margin-bottom: 35px;
  color: #6B717E;
  line-height: 1.6;
  font-size: 1rem;
}
.bio button {
  background: #C4D6B0;
  border: none;
  padding: 8px 16px;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.bio button:hover {
  background: #bfe0a7;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.bio button:active {
  transform: scale(0.92);
  background: #b0c69c;
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}
.stat:hover {
  transform: translateY(-4px);
}
.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #001A23;
}
.stat-label {
  font-size: 0.95rem;
  color: #6B717E;
  margin-top: 4px;
}

/* Action Buttons */
.actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.actions button {
  padding: 14px 28px;
  border-radius: 20px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
#editProfileBtn {
  background: #001A23;
  color: white;
}
#editProfileBtn:hover {
  background: #002933;
}
#editProfileBtn:active {
  transform: scale(0.92);
  background: #000000;
}
#logoutBtn {
  background: #EB9486;
  color: white;
}
#logoutBtn:hover {
  background: #f7a18d;
}
#logoutBtn:active {
  transform: scale(0.92);
  background: #d97b6c;
}
.profile-picture{
  width: 130px;
  height: 130px;
  margin: 0 auto 25px;       /* centers the whole container horizontally */
  display: flex;             /* centers child perfectly */
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform .3s ease;
}
.profile-picture:hover {
  transform: scale(1.05);
}

/* Profile Image */
.profile-picture img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #EB9486;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.profile-picture img:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Initial Circle */
.initial-circle{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;            /* KEEP this — avoids subtle vertical offsets */
  margin: 0;                 /* remove stray margins */
  padding: 0;                /* remove stray padding */
  box-sizing: border-box;
  text-transform: uppercase;
}