* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  background: linear-gradient(-45deg, #007bff, #00c6ff, #0099ff, #0056b3);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #003366;
}

@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 {
  text-decoration:none;
  background: rgba(255,255,255,0.7);
  padding:8px 16px;
  border-radius:20px;
  font-weight:600;
  color:#004080;
  border:none;
  transition:.3s;
  cursor:pointer;
}
.nav-btn:hover {
  background:linear-gradient(90deg,#007bff,#00c6ff);
  color:white;
}

/* Card */
.settings-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 420px;
  text-align: center;
  margin-top: 50px;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

.settings-card h2 {
  color: #0047b3;
  margin-bottom: 20px;
}

/* Profile Pic */
.profile-pic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 15px;
  border: 4px solid #007bff;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#uploadPhoto {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Form Inputs */
.input-group {
  text-align: left;
  margin-bottom: 15px;
}
.input-group label {
  display: block;
  font-weight: 600;
  color: #004080;
  margin-bottom: 6px;
}
.input-group input, .input-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: .3s;
}
.input-group input:focus, .input-group select:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0,123,255,0.4);
}

.save-btn {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  border: none;
  padding: 10px 16px;
  color: white;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.save-btn:hover { transform: scale(1.05); }
/* ✅ Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


footer {
  margin-top: auto;
  text-align: center;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  padding: 12px;
  border-radius: 20px 20px 0 0;
  width: 100%;
  font-size: 0.9rem;
}
