 body {
      margin: 0;
      min-height: 100vh;
      font-family: 'Inter', Arial, sans-serif;
      background: url("../images/Background.png") no-repeat center center fixed;
      background-size: cover;
      color: #222;
      overflow: hidden;
      /* ✅ background fixed */
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 2rem;
    }

    .blob {
      position: absolute;
      border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
      z-index: -1;
      opacity: 0.22;
    }

    .blob1 {
      width: 300px;
      height: 280px;
      background: #fa3c65;
      top: -80px;
      left: -100px;
      transform: rotate(25deg);
    }

    .blob2 {
      width: 240px;
      height: 260px;
      background: #000;
      bottom: -100px;
      right: -60px;
      transform: rotate(-15deg);
    }

    .blob3 {
      width: 200px;
      height: 200px;
      background: #555;
      top: 40%;
      left: -70px;
      transform: rotate(40deg);
    }

    .blob4 {
      width: 150px;
      height: 180px;
      background: #999;
      bottom: 20%;
      right: 30%;
      transform: rotate(70deg);
    }

    .circle-top-right {
      width: 240px;
      height: 240px;
      background: #fa3c65;
      position: absolute;
      top: -100px;
      right: -100px;
      border-radius: 50%;
      z-index: -1;
      opacity: 0.35;
    }

    .profile-card {
      background: rgba(255, 255, 255, 0.42);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-radius: 1.4rem;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
      padding: 2rem;
      padding-bottom: 3.5rem;
      /* ✅ extra space at bottom */
      max-width: 600px;
      width: 100%;
      text-align: center;
      max-height: 80vh;
      /* ✅ shorter card */
      overflow-y: auto;
      margin-bottom: 2rem;
      /* ✅ guaranteed space below */
    }


    /* Optional: style scroll bar */
    .profile-card::-webkit-scrollbar {
      width: 8px;
    }

    .profile-card::-webkit-scrollbar-thumb {
      background: #fa3c65;
      border-radius: 4px;
    }

    .profile-title {
      font-family: 'Montserrat', Arial, sans-serif;
      font-weight: 900;
      font-size: 1.8rem;
      margin-bottom: 1.5rem;
    }

    .profile-title span {
      color: #fa3c65;
    }

    /* ✅ Profile picture with pencil overlay */
    .profile-pic-wrapper {
      position: relative;
      display: inline-block;
      margin-bottom: 1.5rem;
    }

    .profile-pic {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #fa3c65;
      display: block;

    }

    .profile-pic-input {
      display: none;
    }

    .edit-icon {
      position: absolute;
      bottom: 0;
      right: 0;
      background: #fff;
      border-radius: 50%;
      width: 40px;
      /* adjust circle size */
      height: 40px;
      border: 2px solid #fa3c65;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      /* makes sure image stays inside circle */
    }

    .edit-icon img {
      width: 100%;
      /* image fills circle */
      height: 100%;
      object-fit: contain;
      /* or cover, depending on your PNG */
    }


    .input-field {
      position: relative;
      margin-bottom: 1.4rem;
      text-align: left;
    }

    .input-field label {
      font-size: 0.9rem;
      font-weight: 600;
      color: #333;
      display: block;
      margin-bottom: 0.3rem;
    }

    .input-field input,
    .input-field textarea {
      width: 100%;
      padding: 0.6rem 0.8rem;
      border: 2px solid transparent;
      /* invisible border initially */
      border-bottom: 2px solid #fa3c65;
      /* pink underline */
      font-size: 1rem;
      font-family: inherit;
      outline: none;
      background: transparent;
      transition: all 0.3s ease;
      resize: vertical;
      box-sizing: border-box;
      /* ✅ prevents overflow */
      border-radius: 0.6rem;
    }

    /* On focus, show full pink box */
    .input-field input:focus,
    .input-field textarea:focus {
      border: 2px solid #fa3c65;
      background: rgba(250, 60, 101, 0.05);
      /* optional subtle bg */
    }

    .error-message {
      font-size: 0.8rem;
      color: red;
      display: none;
      margin-top: 0.2rem;
    }

    .save-btn {
      padding: 1rem;
      font-size: 1rem;
      font-weight: 700;
      background: #111827;
      color: #fff;
      border: none;
      border-radius: 2rem;
      cursor: pointer;
      width: 100%;
      margin-top: 0.8rem;
      transition: background 0.2s ease;
    }

    .save-btn:hover {
      background: #232323;
    }