* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(-45deg, #007bff, #00c6ff, #0099ff, #0056b3);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  min-height: 100vh;
  color: #003366;
  display: flex;
  flex-direction: column;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Navbar */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  padding: 12px 28px;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo img { width: 42px; height: 42px; }
.logo h1 { font-size: 1.4rem; color: #007bff; font-weight: 600; }

.nav-right { display: flex; gap: 12px; align-items: center; }
.nav-btn {
  background: rgba(255,255,255,0.7);
  color: #004080;
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.nav-btn:hover {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: white;
}

/* Profile Section */
.profile-section {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
}

.profile-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  padding: 30px 25px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Profile Picture */
.profile-pic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #007bff;
  margin: 0 auto 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h2 { color: #0047b3; margin-bottom: 4px; }
#userEmail { color: #333; margin-bottom: 15px; font-size: 0.95rem; }

/* Info Box */
.info-box {
  background: rgba(255,255,255,0.7);
  border-radius: 15px;
  padding: 15px;
  margin-top: 10px;
  text-align: left;
}
.info-box h3 {
  color: #007bff;
  margin-bottom: 8px;
  font-size: 1rem;
}
.info-box p {
  margin-bottom: 6px;
  color: #333;
  font-size: 0.95rem;
}

/* Buttons */
.profile-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}
.profile-actions button {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.profile-actions button:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  padding: 12px;
  border-radius: 20px 20px 0 0;
  font-size: 0.85rem;
}
