/* Material UI Inspired Reset */
    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
      background: #f5f5f5;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      min-height: 100vh;
      padding: 40px 20px;
      color: #212121;
    }

    .container {
      background: #fff;
      width: 100%;
      max-width: 650px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
      padding: 30px 40px 40px;
    }

    h1 {
      font-weight: 500;
      font-size: 1.8rem;
      margin-bottom: 24px;
      color: #009688;
      text-align: center;
      letter-spacing: 0.02em;
    }

    /* Search Bar */
    form {
      display: flex;
      margin-bottom: 32px;
    }

    input[type="text"] {
      flex-grow: 1;
      padding: 12px 16px;
      border: 1.5px solid #cfd8dc;
      border-radius: 4px 0 0 4px;
      font-size: 1rem;
      outline-offset: 2px;
      transition: border-color 0.3s;
    }
    input[type="text"]:focus {
      border-color: #009688;
      box-shadow: 0 0 6px rgba(25, 118, 210, 0.5);
    }

    button {
      background-color: #009688;
      border: none;
      color: #fff;
      font-weight: 600;
      padding: 0 24px;
      border-radius: 0 4px 4px 0;
      cursor: pointer;
      font-size: 1rem;
      transition: background-color 0.3s;
      user-select: none;
    }

    button:hover {
      background-color: #115293;
    }

    /* Profile Card */
    .profile {
      display: none; /* hidden initially */
      box-shadow: 0 1px 3px rgb(0 0 0 / 0.2);
      border-radius: 8px;
      padding: 24px;
      background: #fafafa;
    }

    .profile.active {
      display: block;
    }

    .profile-header {
      display: flex;
      align-items: center;
      margin-bottom: 24px;
    }

    .avatar {
      width: 96px;
      height: 96px;
      border-radius: 50%;
      margin-right: 24px;
      border: 2px solid #009688;
      box-shadow: 0 0 8px rgba(25, 118, 210, 0.4);
      object-fit: cover;
    }

    .user-info h2 {
      font-weight: 600;
      font-size: 1.5rem;
      margin-bottom: 6px;
      color: #0d47a1;
    }

    .user-info p {
      font-size: 1rem;
      color: #424242;
      line-height: 1.4;
    }

    /* Stats */
    .stats {
      display: flex;
      justify-content: space-between;
      margin-bottom: 24px;
      text-align: center;
    }

    .stat {
      flex: 1;
      background: #e3f2fd;
      margin: 0 6px;
      border-radius: 8px;
      padding: 16px 12px;
      box-shadow: inset 0 0 5px #bbdefb;
      transition: background-color 0.3s;
    }

    .stat:hover {
      background-color: #bbdefb;
    }

    .stat h3 {
      margin-bottom: 6px;
      color: #0d47a1;
      font-weight: 700;
      font-size: 1.25rem;
    }

    .stat p {
      color: #009688;
      font-weight: 600;
      font-size: 0.9rem;
    }

    /* Info List */
    .info-list {
      list-style: none;
      padding-left: 0;
      color: #424242;
      font-size: 0.95rem;
    }

    .info-list li {
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .info-list li svg {
      fill: #009688;
      min-width: 20px;
      min-height: 20px;
    }

    /* Links */
    .info-list li a {
      color: #1565c0;
      text-decoration: none;
      transition: color 0.3s;
    }

    .info-list li a:hover {
      color: #0d47a1;
      text-decoration: underline;
    }

    /* Error message */
    .error {
      text-align: center;
      color: #d32f2f;
      font-weight: 600;
      margin-top: 20px;
      display: none;
    }

    .error.active {
      display: block;
    }

    /* Responsive */
    @media (max-width: 480px) {
      .container {
        padding: 20px 25px 30px;
      }

      .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .avatar {
        margin-bottom: 15px;
        margin-right: 0;
      }

      .stats {
        flex-direction: column;
      }

      .stat {
        margin: 6px 0;
      }
    }

    .info-list li svg {
  fill: #009688;
  width: 20px;   /* fixed width */
  height: 20px;  /* fixed height */
  min-width: 20px;
  min-height: 20px;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link h2,
.card-link button {
  text-decoration: none;
  color: inherit;
}

.card-link button {
  all: unset;
  padding: 12px 24px;
  background: #1976d2;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  transition: background 0.3s ease;
}

.card-link button:hover {
  background: #115293;
}

 