// Profile View Styles
.profile-container {
  background: #f8f9fb;
  border-radius: 20px;
  padding: 24px;
  margin: 24px 0;
}
.profile-header {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  padding-bottom: 32px;
  min-height: 220px;
}
.profile-cover {
  background: linear-gradient(90deg, #5f5dcf 0%, #6e6edb 100%);
  height: 80px;
  width: 100%;
}
.profile-avatar-wrapper {
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.profile-info {
  margin-top: 60px;
  text-align: center;
}
.profile-info h2 {
  margin: 16px 0 8px 0;
  font-size: 1.5rem;
  font-weight: 600;
}
.profile-summary {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  margin-top: 16px;
}
.profile-summary > div {
  min-width: 160px;
}
.profile-label {
  color: #b0b3c6;
  font-size: 0.95rem;
  margin-top: 4px;
}
.divider {
  width: 1px;
  background: #e0e0e0;
  height: 40px;
  align-self: center;
}
.profile-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
}
.profile-actions .update-btn {
  background: linear-gradient(90deg, #5f5dcf 0%, #6e6edb 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.08rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(95,93,207,0.08);
  transition: background 0.2s, transform 0.1s;
}
.profile-actions .update-btn:hover {
  background: linear-gradient(90deg, #4b4bb7 0%, #5f5dcf 100%);
  transform: translateY(-2px) scale(1.04);
}
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px 24px 28px;
  min-width: 340px;
  max-width: 95vw;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  position: relative;
  animation: modalIn 0.18s cubic-bezier(.4,2,.6,1) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #b0b3c6;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}
.modal-close:hover {
  color: #5f5dcf;
}
.avatar-pencil {
  position: absolute;
  right: -8px;
  bottom: 8px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #5f5dcf;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(95,93,207,0.08);
  transition: background 0.2s, color 0.2s;
}
.avatar-pencil:hover {
  background: #f0f0ff;
  color: #4b4bb7;
}
// Profile Edit Styles
.profile-edit-container {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  margin: 32px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.profile-edit-container h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.profile-edit-subtitle {
  color: #b0b3c6;
  margin-bottom: 24px;
}
.profile-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #333;
}
.form-group input {
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  background: #f8f9fb;
  outline: none;
  transition: border 0.2s;
}
.form-group input:focus {
  border: 1.5px solid #5f5dcf;
}
.profile-edit-actions {
  display: flex;
  justify-content: flex-end;
}
.update-btn {
  background: #5f5dcf;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 36px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.update-btn:hover {
  background: #4b4bb7;
}
@media (max-width: 900px) {
  .profile-edit-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .profile-edit-grid {
    grid-template-columns: 1fr;
  }
  .profile-edit-container {
    padding: 16px;
  }
}
// Avatar Upload Styles
.avatar-upload-container {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  margin: 32px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  max-width: 400px;
  text-align: center;
}
.avatar-upload-container h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.avatar-preview {
  margin-bottom: 20px;
}
.avatar-preview img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #f8f9fb;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.avatar-input {
  display: block;
  margin: 0 auto 20px auto;
}
.avatar-upload-actions {
  display: flex;
  justify-content: center;
}
.upload-btn {
  background: #5f5dcf;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 36px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.upload-btn:hover {
  background: #4b4bb7;
}
// Change Password Styles
.change-password-container {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  margin: 32px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  max-width: 400px;
}
.change-password-container h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #333;
}
.form-group input {
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  background: #f8f9fb;
  outline: none;
  transition: border 0.2s;
}
.form-group input:focus {
  border: 1.5px solid #5f5dcf;
}
.change-password-actions {
  display: flex;
  justify-content: flex-end;
}
.update-btn {
  background: #5f5dcf;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 36px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.update-btn:hover {
  background: #4b4bb7;
} 