
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
  --primary-1: #6a11cb;
  --primary-2: #2575fc;
  --muted: #6c757d;
  --nav-bg: #ffffff;
  --nav-text: #222;
  --nav-shadow: rgba(37, 53, 77, 0.06);
}
/* Base page styles */
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 60%);
  color: #222;
  -webkit-font-smoothing: antialiased;
}

/* -----------------------------
   Profile banner & card
   ----------------------------- */
.profile-banner {
  background: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-2) 100%);
  padding: 56px 0;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  box-shadow: 0 10px 30px rgba(37, 117, 252, 0.12);
}

.profile-card {
  border-radius: 12px;
  overflow: visible;
}

/* Avatar: perfect circle and good object-fit */
.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-sizing: border-box;
  border: 5px solid #fff;
  box-shadow: 0 14px 32px rgba(38, 53, 77, 0.12);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}

.profile-avatar.avatar-updated {
  transform: scale(1.06) rotate(-3deg);
}

.profile-card .btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.profile-card .btn-danger {
  background: #ff6b6b;
  border: none;
  color: #fff;
}

/* Stats */
.card.text-center.p-3 {
  border-radius: 10px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.card.text-center.p-3:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(38, 53, 77, 0.08);
}

.display-6 {
  font-weight: 600;
  color: var(--primary-2);
}

/* Form and inputs */
.card.shadow.mb-4 {
  border-radius: 12px;
}

input.form-control:focus {
  box-shadow: 0 6px 18px rgba(37, 117, 252, 0.12);
  border-color: var(--primary-2);
}

/* Responsive tweaks */
@media (max-width:576px) {
  .profile-banner {
    padding: 36px 0;
  }

  .profile-avatar {
    width: 72px !important;
    height: 72px !important;
  }
}

/* small helpers */
.lead {
  opacity: .95;
}

.text-primary {
  color: black;
}